answer
stringlengths
17
10.2M
package org.mtransit.parser.us_anchorage_people_mover_bus; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Locale; import java.util.regex.Pattern; import org.apache.commons.lang3.StringUtils; import org.mtransit.parser.Clea...
package com.bitzl.open.data.distance.heatmap.gather.service; import com.bitzl.open.data.distance.heatmap.core.model.location.Coordinate; import com.bitzl.open.data.distance.heatmap.gather.apis.GoogleDistanceApi; import org.junit.Before; import org.junit.Test; import java.util.List; import static java.util.Arrays.asList...
package com.mattunderscore.tcproxy.selector.server; import java.util.ArrayList; import java.util.List; /** * Settings to configure how to accept new connections. * @author Matt Champion on 09/11/2015 */ public final class AcceptSettings { private final List<Integer> listenOn; public AcceptSettings(List<Integ...
package tlc2.util; /** * A <code>BufferedRandomAccessFile</code> is like a * <code>RandomAccessFile</code>, but it uses a private buffer * so that most operations do not require a disk access.<P> * * Note: The operations on this class are unmonitored. * The code was written by Allan Heydon */ import java.io.File...
package com.rultor.base; import com.google.common.collect.ImmutableMap; import com.jcabi.aspects.Immutable; import com.jcabi.aspects.Loggable; import com.jcabi.aspects.Tv; import com.jcabi.log.Logger; import com.rultor.spi.Instance; import com.rultor.spi.Signal; import com.rultor.spi.Time; import com.rultor.spi.Work; i...
package org.pathvisio.kegg; import java.io.File; import java.io.IOException; import java.rmi.RemoteException; import java.util.List; import javax.xml.rpc.ServiceException; import keggapi.KEGGLocator; import keggapi.KEGGPortType; import org.jdom.Document; import org.jdom.Element; import org.jdom.JDOMException; import or...
package simulation; import java.io.BufferedReader; import java.io.File; import java.io.InputStreamReader; import java.io.PrintWriter; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.ListIterator; import org.jacop.con...
package bisq.seednode; import bisq.core.app.TorSetup; import bisq.core.app.misc.ExecutableForAppWithP2p; import bisq.core.app.misc.ModuleForAppWithP2p; import bisq.network.p2p.P2PService; import bisq.network.p2p.P2PServiceListener; import bisq.network.p2p.peers.PeerManager; import bisq.common.Timer; import bisq.common....
package com.cloud.vm; import java.util.ArrayList; import java.util.Collection; import java.util.Date; import java.util.Enumeration; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.UUID; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; i...
package net.fourbytes.shadow; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.PrintStream; import java.lang.Thread.UncaughtExceptionHandler; import java.net.URLDecoder; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java....
package com.eyekabob; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; import java.sql.SQLException; import java.util.Properties; import javax.servlet.http.HttpServletRequest; import net.sf.json.JSONArray; import net.sf.json.JSONException; import net.sf.js...
// This file is part of the Kaltura Collaborative Media Suite which allows users // to do with audio, video, and animation what Wiki platforms allow them to do with // text. // This program is free software: you can redistribute it and/or modify // published by the Free Software Foundation, either version 3 of the // T...
// This file is part of the Kaltura Collaborative Media Suite which allows users // to do with audio, video, and animation what Wiki platfroms allow them to do with // text. // This program is free software: you can redistribute it and/or modify // published by the Free Software Foundation, either version 3 of the // T...
// This file is part of the Kaltura Collaborative Media Suite which allows users // to do with audio, video, and animation what Wiki platfroms allow them to do with // text. // This program is free software: you can redistribute it and/or modify // published by the Free Software Foundation, either version 3 of the // T...
// This file is part of the Kaltura Collaborative Media Suite which allows users // to do with audio, video, and animation what Wiki platfroms allow them to do with // text. // This program is free software: you can redistribute it and/or modify // published by the Free Software Foundation, either version 3 of the // T...
// This file is part of the Kaltura Collaborative Media Suite which allows users // to do with audio, video, and animation what Wiki platfroms allow them to do with // text. // This program is free software: you can redistribute it and/or modify // published by the Free Software Foundation, either version 3 of the // T...
// This file is part of the Kaltura Collaborative Media Suite which allows users // to do with audio, video, and animation what Wiki platforms allow them to do with // text. // This program is free software: you can redistribute it and/or modify // published by the Free Software Foundation, either version 3 of the // T...
// This file is part of the Kaltura Collaborative Media Suite which allows users // to do with audio, video, and animation what Wiki platfroms allow them to do with // text. // This program is free software: you can redistribute it and/or modify // published by the Free Software Foundation, either version 3 of the // T...
// This file is part of the Kaltura Collaborative Media Suite which allows users // to do with audio, video, and animation what Wiki platforms allow them to do with // text. // This program is free software: you can redistribute it and/or modify // published by the Free Software Foundation, either version 3 of the // T...
// This file is part of the Kaltura Collaborative Media Suite which allows users // to do with audio, video, and animation what Wiki platforms allow them to do with // text. // This program is free software: you can redistribute it and/or modify // published by the Free Software Foundation, either version 3 of the // T...
// This file is part of the Kaltura Collaborative Media Suite which allows users // to do with audio, video, and animation what Wiki platfroms allow them to do with // text. // This program is free software: you can redistribute it and/or modify // published by the Free Software Foundation, either version 3 of the // T...
// This file is part of the Kaltura Collaborative Media Suite which allows users // to do with audio, video, and animation what Wiki platfroms allow them to do with // text. // This program is free software: you can redistribute it and/or modify // published by the Free Software Foundation, either version 3 of the // T...
package com.plattysoft.leonids; import java.util.ArrayList; import java.util.List; import java.util.Random; import java.util.Timer; import java.util.TimerTask; import com.plattysoft.leonids.initializers.AccelerationInitializer; import com.plattysoft.leonids.initializers.ParticleInitializer; import com.plattysoft.leonid...
package tpe.fruh_razzaq_jando.pue1; /** * Diese Klasse implementiert einen Bruch * * @author TPE_UIB_01 */ public class Bruch { // Properties private long nenner, zaehler, ganze; // Constructors Bruch(long zaehler, long nenner) { if (nenner == 0) throw new RuntimeException( ...
package jscenegraph.database.inventor.nodes; import java.nio.Buffer; import java.nio.FloatBuffer; import java.nio.IntBuffer; import com.jogamp.opengl.GL2; import com.jogamp.opengl.GL3; import jscenegraph.database.inventor.SbBox3f; import jscenegraph.database.inventor.SbVec3f; import jscenegraph.database.inventor.SbVec4...
package io.tetrapod.core; import static io.tetrapod.protocol.core.Core.UNADDRESSED; import io.netty.channel.EventLoopGroup; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.SocketChannel; import io.tetrapod.core.rpc.*; import io.tetrapod.core.rpc.Error; import io.tetrapod.core.utils.*; impo...
import org.apache.commons.io.FileUtils; import java.io.File; import java.util.regex.Pattern; /** * @author kalle * @since 2013-10-10 07:06 */ public class Build { public static void main(String[] args) throws Exception { Runtime runtime = Runtime.getRuntime(); File carto = new File("/usr/bin/carto"); i...
package SW9.controllers; import SW9.abstractions.Component; import SW9.abstractions.Edge; import SW9.abstractions.Location; import SW9.abstractions.Nail; import SW9.presentations.CanvasPresentation; import SW9.presentations.EdgePresentation; import SW9.presentations.LocationPresentation; import SW9.utility.UndoRedoStac...
package at.pria.koza.harmonic; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import at.pria.koza.harmonic.proto.HarmonicP.StateP; import at.pria.koza.polybuf.PolybufConfig; import at.pria.koza.polybuf.PolybufException; import at.pria.koza.polybuf.PolybufIO; import at.pr...
package br.edu.utfpr.singleton; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; /** * * @author Rafael * */ public class ConnectionDB { private static EntityManagerFactory emf; private static EntityManager em; public EntityMana...
package com.adyen.model.recurring; import java.util.Objects; import com.google.gson.annotations.SerializedName; /** * Recurring */ public class Recurring { /** * how the recurring detail will be used, multiple values allowed as comma separated */ public enum ContractEnum { @SerializedName("ONECLICK") ...
package com.almasb.fxgl.app; import com.almasb.fxgl.event.*; import com.almasb.fxgl.gameplay.AchievementManager; import com.almasb.fxgl.gameplay.GameWorld; import com.almasb.fxgl.input.*; import com.almasb.fxgl.physics.PhysicsWorld; import com.almasb.fxgl.scene.*; import com.almasb.fxgl.settings.ReadOnlyGameSettings; i...
package com.bwfcwalshy.flarebot; import com.bwfcwalshy.flarebot.music.MusicManager; import com.google.gson.JsonParseException; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import sx.blah.discord.handle.obj.IChannel; import sx.blah.discord.handle.obj.IMessage; import sx.blah.d...
package com.chrisdmilner.webapp; import net.dean.jraw.RedditClient; import net.dean.jraw.http.OkHttpNetworkAdapter; import net.dean.jraw.http.UserAgent; import net.dean.jraw.models.Account; import net.dean.jraw.models.Comment; import net.dean.jraw.models.PublicContribution; import net.dean.jraw.models.UserHistorySort; ...
package com.dailystudio.app.utils; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.File; import java.io.FileFilter; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.IOException; import java.io...
package com.eternity.common.message; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.Map; import com.google.gson.Gson; import com.google.gson.JsonSyntaxException; public class R...
package com.github.onsdigital.api.data; import com.github.davidcarboni.restolino.framework.Api; import com.github.onsdigital.bean.CdidRequest; import com.github.onsdigital.configuration.Configuration; import com.github.onsdigital.content.page.statistics.data.timeseries.TimeSeries; import com.github.onsdigital.content.u...
package com.github.onsdigital.generator; import java.io.File; import java.io.IOException; import java.io.Reader; import java.util.Calendar; import java.util.HashSet; import java.util.Set; import org.apache.commons.io.FileUtils; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.StringUtils; imp...
package com.github.oohira.intercom; import com.github.oohira.intercom.model.Company; import com.github.oohira.intercom.model.ErrorResponse; import com.github.oohira.intercom.model.Event; import com.github.oohira.intercom.model.Impression; import com.github.oohira.intercom.model.Note; import com.github.oohira.intercom.m...
package com.heynt.permutation.utils; import java.util.List; import java.util.Map; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import com.google.common.collect.UnmodifiableListIterator; public class Encrypt { public String EncryptString(final String plaintext, Map<Characte...
package com.jamesloyd.foldergenutility; import javafx.stage.FileChooser; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; import java.io.File; import java.io.IOException; public class Fo...
package com.klaster.webstore.domain; import javax.persistence.*; import java.math.BigDecimal; @Entity public class Product { @Id @GeneratedValue(strategy = GenerationType.AUTO) private long productId; private String name; @Transient private BigDecimal unitPrice; @Transient private String...
package com.librato.metrics; import com.codahale.metrics.*; import com.codahale.metrics.Timer; import com.ning.http.client.AsyncHttpClientConfig; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.*; import java.util.concurrent.TimeUnit; import java.util.regex.Pattern; public class LibratoReporte...
package com.minespaceships.util; import java.util.List; import java.util.Random; import akka.japi.Effect; import com.minespaceships.mod.overhead.PhaserEffect; import com.minespaceships.mod.spaceship.ShipInformation; import com.minespaceships.mod.spaceship.Shipyard; import com.minespaceships.mod.spaceship.Spaceship; imp...
package com.notnoop.apns; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.InputStream; import java.net.InetSocketAddress; import java.net.Proxy; import java.net.Socket; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import javax.net.ssl.SSLContex...
package com.sun.tools.xjc.addon.krasa; import java.lang.reflect.Field; import java.math.BigInteger; import com.sun.codemodel.JFieldVar; import com.sun.codemodel.JType; /** * @author Vojtech Krasa */ public class Utils { public static final String[] NUMBERS = new String[]{"BigDecimal", "BigInteger", "String", "byt...
package com.urbanairship.datacube; import java.io.Serializable; import java.util.List; import java.util.Objects; /** * Describes a high-level dimension of the hypercube. For example, "time", "location", * and "color" would be possible dimensions. * * @param <F> the type of the coordinates for this dimension. For ex...
package cronapi.pushnotification; import java.util.concurrent.CompletableFuture; import java.util.concurrent.ExecutionException; import org.springframework.http.HttpEntity; import com.google.gson.JsonObject; import cronapi.CronapiMetaData; import cronapi.ParamMetaData; import cronapi.Var; import cronapi.CronapiMetaData...
package de.cronn.jira.sync.domain; public enum JiraField { SUMMARY("summary"), STATUS("status"), ISSUE_TYPE("issuetype"), DESCRIPTION("description"), PRIORITY("priority"), PROJECT("project"), RESOLUTION("resolution"), LABELS("labels"), VERSIONS("versions"), FIX_VERSIONS("fixVersi...
package de.ddb.pdc.metadata; import org.springframework.web.client.RestClientException; import org.springframework.web.client.RestTemplate; /** * Implementation of the {@link MetaFetcher} interface. */ public class MetaFetcherImpl implements MetaFetcher { private static final String URL = "https: private Rest...
package edu.jhu.srl; import static org.junit.Assert.*; import java.io.InputStream; import java.util.Arrays; import java.util.List; import org.junit.Test; import edu.jhu.data.DepTree; import edu.jhu.data.conll.CoNLL09FileReader; import edu.jhu.data.conll.CoNLL09ReadWriteTest; import edu.jhu.data.conll.CoNLL09Sentence; i...
package com.jbooktrader.platform.strategy; import com.jbooktrader.platform.marketbook.*; import com.jbooktrader.platform.model.*; import com.jbooktrader.platform.model.ModelListener.*; import com.jbooktrader.platform.util.*; import java.util.*; /** * @author Eugene Kononov */ public class StrategyRunner { private...
package edu.uib.info310.search; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Locale; import java.util.Map;...
package org.jfree.chart.fx.interaction; import java.io.Serializable; import java.util.EventObject; import javafx.scene.input.MouseEvent; import org.jfree.chart.JFreeChart; import org.jfree.chart.entity.ChartEntity; import org.jfree.chart.fx.ChartViewer; /** * A mouse event for a chart that is displayed in a (JavaFX) ...
package edu.wustl.cab2b.server.path; import edu.common.dynamicextensions.domain.DomainObjectFactory; import edu.common.dynamicextensions.domaininterface.AttributeInterface; import edu.common.dynamicextensions.domaininterface.BooleanValueInterface; import edu.common.dynamicextensions.domaininterface.CaDSRValueDomainInfo...
package eu.hansolo.steelseries.extras; import eu.hansolo.steelseries.gauges.AbstractGauge; import eu.hansolo.steelseries.gauges.AbstractRadial; import eu.hansolo.steelseries.tools.ColorDef; import eu.hansolo.steelseries.tools.PointerType; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Container; im...
package eu.over9000.cathode.data; import com.google.gson.annotations.SerializedName; import eu.over9000.cathode.data.meta.PaginatedContainer; import java.util.List; public class FollowList implements PaginatedContainer<Follow> { @SerializedName("_total") private final long total; @SerializedName("_cursor") ...
package foodtruck.googleapi; import java.io.File; import java.util.logging.Logger; import javax.inject.Named; import com.google.api.client.extensions.appengine.http.UrlFetchTransport; import com.google.api.client.googleapis.auth.oauth2.GoogleCredential; import com.google.api.client.googleapis.extensions.appengine.auth....
package foodtruck.schedule; import java.util.List; import java.util.Set; import java.util.logging.Level; import java.util.logging.Logger; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.annotation.Nullable; import com.google.inject.Inject; import org.joda.time.DateTime; import org.joda.time...
package fr.soprasteria.jeu; import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Point; import java.awt.RenderingHints; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import java.io.File; import java.io.IOException; import java.util.List; import javax.sound.sam...
package frc.team4215.stronghold; import edu.wpi.first.wpilibj.Joystick; import edu.wpi.first.wpilibj.PIDController; import edu.wpi.first.wpilibj.Timer; import edu.wpi.first.wpilibj.Victor; import edu.wpi.first.wpilibj.Encoder; import edu.wpi.first.wpilibj.CounterBase.EncodingType; import jaci.openrio.toast.core.Toast; ...
package graphql.introspection; import graphql.schema.*; import java.util.ArrayList; import java.util.List; import static graphql.Scalars.GraphQLBoolean; import static graphql.Scalars.GraphQLString; import static graphql.schema.GraphQLArgument.newArgument; import static graphql.schema.GraphQLFieldDefinition.newFieldDefi...
package hudson.plugins.starteam; import hudson.Extension; import hudson.FilePath; import hudson.Launcher; import hudson.model.AbstractBuild; import hudson.model.AbstractProject; import hudson.model.BuildListener; import hudson.model.TaskListener; import hudson.scm.ChangeLogParser; import hudson.scm.SCM; import hudson.s...
package intellimate.izou.sdk.util; import intellimate.izou.events.MultipleEventsException; import intellimate.izou.identification.Identifiable; import intellimate.izou.identification.IdentificationManager; import intellimate.izou.identification.IllegalIDException; import intellimate.izou.sdk.events.Event; import java.u...
package io.rocketchat.common.network; import com.neovisionaries.ws.client.*; import java.io.IOException; import java.util.List; import java.util.Map; import java.util.Timer; import java.util.TimerTask; import io.rocketchat.common.data.rpc.RPC; public class Socket { private String url; private WebSocketFactory f...
package io.seqware.pancancer; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; import java.util.List; import java.util.Map; import net.sourceforge.seqware.pipeline.workflowV2.AbstractWorkflowDataModel; import net.sourceforge....
package io.rainfall.ehcache; import io.rainfall.ObjectGenerator; import io.rainfall.Runner; import io.rainfall.Scenario; import io.rainfall.SyntaxException; import io.rainfall.configuration.ConcurrencyConfig; import io.rainfall.configuration.DistributedConfig; import io.rainfall.configuration.ReportingConfig; import io...
package jkanvas.painter.pod; import java.awt.Color; import java.awt.Graphics2D; import java.awt.geom.Rectangle2D; import java.util.Objects; import jkanvas.KanvasContext; import jkanvas.painter.Renderpass; import jkanvas.util.StringDrawer; import jkanvas.util.StringDrawer.Orientation; /** * Adds a title to the given re...
package ch.openech.xml.read; import static ch.openech.dm.XmlConstants.*; import static ch.openech.xml.read.StaxEch.skip; import static ch.openech.xml.read.StaxEch.token; import java.io.InputStream; import java.io.StringReader; import java.sql.SQLException; import javax.swing.ProgressMonitor; import javax.xml.stream.XML...
package me.doubledutch.lazyjson; import java.nio.ByteBuffer; public class LazyElement{ protected LazyNode root; protected char[] cbuf; // Cache value for length private int length=-1; protected LazyElement(LazyNode root,char[] source){ this.root=root; this.cbuf=source; } prot...
package mho.wheels.iterables; import mho.wheels.math.BinaryFraction; import mho.wheels.numberUtils.BigDecimalUtils; import mho.wheels.numberUtils.FloatingPointUtils; import mho.wheels.numberUtils.IntegerUtils; import mho.wheels.ordering.Ordering; import mho.wheels.random.IsaacPRNG; import mho.wheels.structures.*; impor...
package org.json.junit; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import static org.junit.Ass...
package mpicbg.spim.data.sequence; import java.util.Map; import mpicbg.spim.data.generic.base.Entity; import mpicbg.spim.data.generic.base.ViewSetupAttributes; import mpicbg.spim.data.generic.sequence.BasicViewSetup; import net.imglib2.Dimensions; /** * A collection of parameters describing the setup for a particular ...
// This file is part of the Kaltura Collaborative Media Suite which allows users // to do with audio, video, and animation what Wiki platfroms allow them to do with // text. // This program is free software: you can redistribute it and/or modify // published by the Free Software Foundation, either version 3 of the // T...
package net.emaze.dysfunctional.options; import net.emaze.dysfunctional.casts.Casts; import net.emaze.dysfunctional.equality.EqualsBuilder; import net.emaze.dysfunctional.hashing.HashCodeBuilder; /** * * @author rferranti */ public class Box<T> { private Maybe<T> content = Maybe.nothing(); public T getConten...
package net.jforum.view.admin; import java.io.File; import net.jforum.dao.DataAccessDriver; import net.jforum.dao.SmilieDAO; import net.jforum.entities.Smilie; import net.jforum.repository.SmiliesRepository; import net.jforum.util.Hash; import net.jforum.util.preferences.ConfigKeys; import net.jforum.util.preferences.S...
package restservices.consume; import java.io.IOException; import java.io.InputStream; import java.util.Collections; import java.util.HashMap; import java.util.Map; import org.apache.commons.httpclient.HttpException; import org.apache.commons.httpclient.methods.GetMethod; import org.json.JSONException; import org.json.J...
package net.ucanaccess.converters; import java.math.BigDecimal; import java.math.MathContext; import java.sql.Timestamp; import java.text.DateFormatSymbols; import java.text.DecimalFormat; import java.text.DecimalFormatSymbols; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calenda...
package restservices.publish; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.fileupload.FileItemIterator; import org.apache.commons.fileupload.FileItemStream; import org.apache.commons.fileuplo...
package weed3test.features; import org.junit.Test; import org.noear.weed.BaseMapper; import org.noear.weed.DbContext; import weed3test.DbUtil; import weed3test.dso.SqlMapper; import weed3test.model.AppxModel; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class...
package nl.dykam.dev.reutil.data; import nl.dykam.dev.reutil.ReUtil; import nl.dykam.dev.reutil.data.annotations.Instantiation; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.server.PluginDisableEvent; import org.bukkit.plugin.Plugin; import java.util.HashMap; import jav...
package com.jme3.material; import com.jme3.asset.AssetKey; import com.jme3.asset.AssetManager; import com.jme3.asset.CloneableSmartAsset; import com.jme3.bounding.BoundingSphere; import com.jme3.export.*; import com.jme3.light.*; import com.jme3.material.RenderState.BlendMode; import com.jme3.material.RenderState.FaceC...
package nl.mpi.kinnate.svg; import java.awt.geom.AffineTransform; import nl.mpi.arbil.ui.GuiHelper; import nl.mpi.kinnate.KinTermSavePanel; import nl.mpi.kinnate.kindata.DataTypes; import nl.mpi.kinnate.kindata.EntityData; import nl.mpi.kinnate.kindata.EntityRelation; import org.apache.batik.bridge.UpdateManager; impor...
package aQute.lib.collections; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.Map; public class DoubleKeyMap<K1, K2, V> extends HashMap<K1,Map<K2,V>>implements Map<K1,Map<K2,V>> { private static final long serialVersionUID = 1L; private final Class< ? >...
package org.jpos.util; import java.io.PrintStream; import java.util.Hashtable; import java.util.Iterator; import java.util.Map; /** * Allow runtime binding of jPOS's components (ISOChannels, Logger, MUXes, etc) * @author <a href="mailto:apr@cs.com.uy">Alejandro P. Revilla</a> * @version $Revision$ $Date$ */ public ...
package org.data2semantics.platform.run; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import org.apache.maven.model.D...
package org.everit.osgi.audit.api.dto; import java.util.Date; import java.util.Objects; public class Event { /** * The name of the event type. */ private final String name; /** * The name of the application the event belongs to. */ private final String applicationName; /** *...
package org.iff.infra.util; import java.io.File; import java.io.FileInputStream; import java.io.StringReader; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import org.apache.commons.lang3...
package org.jboss.aesh.cl; import org.jboss.aesh.cl.exception.ArgumentParserException; import org.jboss.aesh.cl.exception.CommandLineParserException; import org.jboss.aesh.cl.exception.OptionParserException; import org.jboss.aesh.cl.exception.RequiredOptionException; import org.jboss.aesh.cl.internal.OptionInt; import ...
package cgeo.geocaching.maps; import android.location.Location; import java.util.ArrayList; /** * Map trail history */ public class PositionHistory { /** * minimum distance between two recorded points of the trail */ private static final double MINIMUM_DISTANCE_METERS = 10.0; /** * maximum ...
package org.magellan.faleiro; import io.atomix.Atomix; import io.atomix.AtomixReplica; import io.atomix.catalyst.transport.Address; import io.atomix.catalyst.transport.NettyTransport; import io.atomix.copycat.server.storage.Storage; import io.atomix.copycat.server.storage.StorageLevel; import io.atomix.group.Distribute...
package org.mashti.jetson.lean.codec; import io.netty.buffer.ByteBuf; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.concurrent.ConcurrentHashMap; import org.mashti.jetson.exception.RPCException; import org.mashti.jetson.exception.UnknownTyp...
package org.mastercoin.rpc; import com.google.bitcoin.core.Address; import com.google.bitcoin.core.AddressFormatException; import com.google.bitcoin.core.Sha256Hash; import com.msgilligan.bitcoin.rpc.BitcoinClient; import com.msgilligan.bitcoin.rpc.JsonRPCException; import org.mastercoin.CurrencyID; import java.io.IOEx...
package org.mastodon.detection; import bdv.spimdata.SpimDataMinimal; import net.imglib2.Interval; public class DetectorKeys { /** * Key for the parameter specifying what setup on the * {@link SpimDataMinimal} to perform detection on. Expected values must be * {@link Integer} larger or equal to 0. ...
package org.mitre.synthea.modules; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Random; import java.util.concurrent.TimeUnit; /** * Generator creates a population by running the generic modules each timestep per Person. */ public class Generator { public long ONE_...
package org.myrobotlab.process; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.myrobotlab.codec.CodecUtils; import org.myrobotlab.framework.MRLListener; import org.myrobotlab.framework.Message; import...
package org.openbaton.plugin; import com.google.gson.*; import com.rabbitmq.client.AMQP.BasicProperties; import com.rabbitmq.client.Channel; import com.rabbitmq.client.Connection; import com.rabbitmq.client.ConnectionFactory; import com.rabbitmq.client.QueueingConsumer; import org.apache.commons.codec.binary.Base64; im...
package org.smoothbuild.db.object.db; import static com.google.common.base.Preconditions.checkArgument; import static java.util.Objects.requireNonNullElse; import static java.util.Objects.requireNonNullElseGet; import static org.smoothbuild.db.object.db.Helpers.wrapHashedDbExceptionAsDecodeSpecException; import static ...
package org.smoothbuild.lang.type.api; public class Sides<T> { private final Upper upper; private final Lower lower; public Side<T> upper() { return upper; } public Side<T> lower() { return lower; } public Sides(T anyT, T nothingT) { this.upper = new Upper(anyT); this.lower = new Lower(not...
package org.sonar.plugins.stash; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.util.Enumeration; import java.util.jar.Attributes; import java.util.jar.Manifest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public final class PluginUtils { private static final L...