answer
stringlengths
17
10.2M
package org.jenkinsci.plugins.gitclient; import com.cloudbees.plugins.credentials.CredentialsScope; import com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials; import com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl; import static java.util.Collections.unmodifiableList; im...
// modification, are permitted provided that the following conditions are met: // documentation and/or other materials provided with the distribution. // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // LIABLE FOR ...
package com.xqbase.baiji.schema; import org.codehaus.jackson.JsonNode; import java.util.List; /** * This class represents each field of the schema fields array. * * @author Tony He */ public class Field { public enum SortOrder { ASCENDING, DESCENDING, IGNORE } private final Strin...
package org.minimalj.frontend.impl.json; import java.util.Collections; import java.util.List; import java.util.Map; import org.junit.Assert; import org.junit.Test; /** * Test to verify how JsonReader would work with Uinames service (not used at * the moment but the JsonRead should be able to do this) * */ @Suppress...
package io.spine.code.js; import com.google.common.base.Splitter; import io.spine.value.StringTypeValue; import java.util.List; import static io.spine.util.Preconditions2.checkNotEmptyOrBlank; /** * A reference to a directory. * * <p>May include parent directories separated by {@linkplain FileReference#separator() s...
package org.openhim.mediator.fhir; import akka.actor.Actor; import akka.actor.ActorRef; import akka.actor.ActorSystem; import akka.actor.Props; import akka.actor.UntypedActor; import akka.testkit.JavaTestKit; import ca.uhn.fhir.context.FhirContext; import org.apache.commons.io.IOUtils; import org.json.JSONException; im...
package pingis.services; import org.apache.commons.compress.archivers.ArchiveEntry; import org.apache.commons.compress.archivers.ArchiveException; import org.apache.commons.compress.archivers.ArchiveInputStream; import org.apache.commons.compress.archivers.ArchiveStreamFactory; import org.junit.After; import org.junit....
package seedu.address.logic.commands; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static seedu.address.logic.commands.CommandTestUtil.assertCommandFailure; import static seedu.address.logic.commands.CommandTestUtil.assertCommandSuccess; import static seedu.address.testu...
package uk.co.webamoeba.mockito.collections; import static org.mockito.Mockito.mock; import java.io.Closeable; import java.io.IOException; import java.nio.CharBuffer; import java.util.Collection; import java.util.Collections; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package benchmarks.DatabaseEngineInterfaces; import benchmarks.helpers.JsonUtil; import benchmarks.helpers.BenchmarkUtil; import benchmarks.interfaces.DataBaseCRUDInterface; import benchmarks.interfaces.Entity; import ja...
package com.zsoltisawesome.scarlet.Main; import com.zsoltisawesome.scarlet.Block.BlockDict; import com.zsoltisawesome.scarlet.Item.ItemDict; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import cpw.mods.fml.common.registry.GameReg...
package cgeo.geocaching.enumerations; import android.support.annotation.DrawableRes; import android.support.annotation.StringRes; import cgeo.geocaching.CgeoApplication; import cgeo.geocaching.R; import cgeo.geocaching.utils.Log; import org.eclipse.jdt.annotation.NonNull; import java.util.ArrayList; import java.util.Li...
package mockit.internal.startup; import java.io.*; import java.lang.instrument.*; import javax.annotation.*; import mockit.*; import mockit.coverage.*; import mockit.integration.junit4.internal.*; import mockit.internal.*; import mockit.internal.util.*; final class JMockitInitialization { @Nonnull private final Star...
package controller; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import config.ManagementConfig; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.util.StringUtils; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.we...
package conf; import com.google.inject.Singleton; import io.mangoo.interfaces.MangooLifecycle; @Singleton public class Lifecycle implements MangooLifecycle { @Override public void applicationInitialized() { // Do nothing for now } @Override public void applicationStarted() { // Do no...
package org.intermine.bio.io.gff3; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.StringTokenizer; import org.intermine.util.StringUtil; import org.intermine.util.XmlUtil; import java.io.IOException; import java.io....
package org.multibit.hd.ui; /** * <p>Interface to provide the following to Swing UI:</p> * <ul> * <li>Various size and layout constants that are hard-coded into the UI</li> * </ul> * * @since 0.0.1 * */ public interface MultiBitUI { // Panel dimensions /** * The minimum width for the application UI (900 ...
package com.board.gd.config; import com.board.gd.auth.EmailAuthenticationProvider; import com.board.gd.domain.user.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpMethod; import org.springframework.security.config.annotation.authentication.builders.Authent...
package xhl.examples.statemachine; import java.util.List; import xhl.core.GenericModule; import xhl.core.elements.Block; import xhl.core.elements.Expression; import xhl.core.elements.Symbol; /** * XHL module for configuring state machine * * @author Sergej Chodarev */ public class StateMachineModule extends Generic...
package c5db.replication; import c5db.interfaces.ReplicationModule; import c5db.replication.generated.AppendEntries; import c5db.replication.generated.AppendEntriesReply; import c5db.replication.generated.LogEntry; import c5db.replication.generated.RequestVote; import c5db.replication.generated.RequestVoteReply; import...
package ucar.nc2.dataset.conv; import ucar.ma2.*; import ucar.nc2.*; import ucar.nc2.constants._Coordinate; import ucar.nc2.constants.AxisType; import ucar.nc2.util.CancelTask; import ucar.nc2.dataset.*; import ucar.unidata.geoloc.projection.*; import ucar.unidata.geoloc.ProjectionRect; import java.util.*; public class...
package ru.job4j.figure; import ru.job4j.game.*; /**. * Chapter_002 * Task 2.9.2 * Create class Knight * * @author Anton Vasilyuk * @version 1.0 * @since 0.1 */ public class Knight extends Figure { /**. * Constructor for class Knight * @param cellPosition is position figure */ public Knight(Cell ...
package ru.skorikov; import java.util.Arrays; class StartUI { private Input input; private Tracker tracker; private StartUI(Input input, Tracker tracker) { this.input = input; this.tracker = tracker; } private void init() { boolean exit = false; do { for (...
package ru.job4j; import net.jcip.annotations.GuardedBy; import net.jcip.annotations.ThreadSafe; import java.util.LinkedList; import java.util.Queue; /** * Class SimpleBlockingQueue | Task Solution: Implementation of Producer Consumer pattern [#1098] * @author @author Aleksey Sidorenko (mailto:sidorenko.aleksey@gmail...
package samples.integer; import samples.AbstractProblem; import solver.Solver; import solver.constraints.*; import solver.search.loop.monitors.IMonitorSolution; import solver.search.strategy.ISF; import solver.variables.IntVar; import solver.variables.VF; /** * Small example enumerating solutions of * (x>y && y>z && ...
package com.emistoolbox.lib.pdf; import info.joriki.graphics.Rectangle; import info.joriki.graphics.Transformation; import info.joriki.io.SeekableByteArray; import info.joriki.io.Util; import info.joriki.pdf.ConstructiblePDFDocument; import info.joriki.pdf.PDFArray; import info.joriki.pdf.PDFDictionary; import info.jor...
package org.jetel.plugin; import java.io.File; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Properties; import javax.naming.directory.InvalidAttributesException; import javax.xml.par...
package org.jetel.lookup; import java.text.RuleBasedCollator; import java.util.Comparator; import java.util.Iterator; import java.util.SortedSet; import java.util.TreeSet; import org.jetel.data.DataRecord; import org.jetel.data.RecordComparator; import org.jetel.data.RecordKey; import org.jetel.data.lookup.LookupTable;...
package edu.rpi.phil.legup.puzzles.treetent; import java.awt.Point; import java.util.ArrayList; import java.util.Vector; import java.util.Set; import java.util.LinkedHashSet; import edu.rpi.phil.legup.BoardState; import edu.rpi.phil.legup.CaseRule; import edu.rpi.phil.legup.CellPredicate; import edu.rpi.phil.legup.Legu...
package org.neo4j.kernel; public enum IdType { NODE( 35, false ), RELATIONSHIP( 35, false ), PROPERTY( 36, true ), // This one STRING_BLOCK( 36, true ), // This one ARRAY_BLOCK( 36, true ), // This one PROPERTY_INDEX( false ), PROPERTY_INDEX_BLOCK( false ), RELATIONSHIP_TYPE( 16, false )...
package org.neo4j.util.shell; import java.io.Serializable; import java.rmi.NoSuchObjectException; import java.rmi.RemoteException; import java.rmi.server.UnicastRemoteObject; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; public abstract class AbstractServer extends Unic...
package org.zstack.compute.host; import org.springframework.beans.factory.annotation.Autowire; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Configurable; import org.springframework.beans.factory.annotation.Qualifier; import org.zstack.core.asyncbatch...
package top.cardone; import org.springframework.boot.SpringApplication; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Import; import org.springframework.context.annotation.ImportResource; import top...
package com.joelapenna.foursquared; import com.joelapenna.foursquare.Foursquare; import com.joelapenna.foursquared.preferences.Preferences; import com.joelapenna.foursquared.util.FeedbackUtils; import android.accounts.Account; import android.accounts.AccountManager; import android.content.BroadcastReceiver; import andr...
package net.jselby.escapists.data.pe; import net.jselby.escapists.util.ByteReader; import java.util.Arrays; /** * The PE file reads Windows executables, and reads important data from them, such as sections, etc. * * @author j_selby */ public class PEFile { private static byte[] EXE_HEADER = new byte[]{'M', 'Z'}...
package org.mskcc.cbio.cgds.dao; import org.mskcc.cbio.cgds.model.*; import java.sql.*; import java.util.*; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.commons.lang.StringUtils; import org.mskcc.cbio.cgds.model.Case; import org.mskcc.cbio.cgds.model.ExtendedMutation.MutationEvent; ...
package org.realityforge.arez; import java.util.Objects; import javax.annotation.Nonnull; import javax.annotation.Nullable; import org.jetbrains.annotations.TestOnly; /** * The ComputedValue represents an Observable derived from other observables within * the Arez system. The value is calculated lazily. i.e. The Comp...
package imagej.core.tools; import imagej.data.Dataset; import imagej.util.ColorRGB; import java.util.Arrays; import net.imglib2.RandomAccess; import net.imglib2.meta.Axes; import net.imglib2.type.numeric.RealType; public class FloodFiller { private DrawingTool tool; private boolean isColor; private int colo...
package java.io; /** * Serializability of a class is enabled by the class implementing the * java.io.Serializable interface. Classes that do not implement this * interface will not have any of their state serialized or * deserialized. All subtypes of a serializable class are themselves * serializable. The serial...
package liblinear; import java.io.Serializable; import java.util.Arrays; /** * use {@link Linear#loadModel(String)} and {@link Linear#saveModel(String, Model)} to load/save it */ public final class Model implements Serializable { private static final long serialVersionUID = -6456047576741854834L; double ...
package net.powermatcher.api.data; import java.security.InvalidParameterException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * <p> * Bid is an immutable data class specifying a bid curve in either price points or by an demand array representation. * </p> * * @author FAN * @ve...
package net.coobird.thumbnailator; import static org.junit.Assert.*; import java.awt.Dimension; import java.awt.Image; import java.awt.image.BufferedImage; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import j...
package org.encog.neural.data.temporal; import java.util.Iterator; import org.encog.neural.activation.ActivationTANH; import org.encog.neural.data.NeuralDataPair; import org.encog.neural.data.temporal.TemporalDataDescription.Type; import junit.framework.TestCase; public class TestTemporal extends TestCase { public ...
package org.lwjgl.demo.nfd; import org.lwjgl.PointerBuffer; import org.lwjgl.glfw.GLFWErrorCallback; import org.lwjgl.glfw.GLFWKeyCallback; import org.lwjgl.glfw.GLFWVidMode; import org.lwjgl.nfd.NFDPathSet; import org.lwjgl.opengl.GL; import org.lwjgl.system.Platform; import static org.lwjgl.glfw.GLFW.*; import static...
package org.exist.performance.xquery; import org.exist.dom.DefaultDocumentSet; import org.exist.dom.MutableDocumentSet; import org.exist.dom.QName; import org.exist.security.PermissionDeniedException; import org.exist.util.Occurrences; import org.exist.xquery.*; import org.exist.xquery.value.*; import java.util.ArrayLi...
package org.orienteer; import com.orientechnologies.orient.core.db.document.ODatabaseDocument; import com.orientechnologies.orient.core.metadata.schema.OType; import com.orientechnologies.orient.core.record.impl.ODocument; import org.orienteer.core.OrienteerWebApplication; import org.orienteer.core.module.AbstractOrien...
package org.oscm.wsproxy; import java.net.URL; import javax.xml.ws.WebServiceException; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; /** * This class is a model of the web service proxy and contains all necessary * properties for consuming a web service. * */ public class WsI...
package nakadi; import io.reactivex.Observable; import io.reactivex.ObservableTransformer; import io.reactivex.schedulers.Schedulers; import java.io.IOException; import java.util.Map; import java.util.concurrent.TimeUnit; import okhttp3.Call; import okhttp3.MediaType; import okhttp3.OkHttpClient; import okhttp3.Request...
package com.rho.net; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.Calendar; import com.rho.net.IHttpConnection; import com....
package mil.darpa.nxcore; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.NullWritable; import org.apache.hadoop.io.Text; import org.apache....
package objectDetection; import java.awt.BorderLayout; import java.awt.Color; import javax.swing.JFrame; import org.opencv.core.Core; import org.opencv.core.Mat; import org.opencv.highgui.VideoCapture; public class ObjectTrackerRunner { static final public int WIDTH = 640, HEIGHT = 480; static final public doub...
package org.jenetics.util; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; import java.util.Random; final class DieHarder { private static final class...
package org.sstctf.snake_game; import java.awt.Color; import java.awt.Graphics; import java.awt.Rectangle; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Random; public class Pellet extends GameObject { private Handler handler; private boolean isPellet; public P...
package org.orienteer; import com.orientechnologies.orient.core.db.document.ODatabaseDocument; import com.orientechnologies.orient.core.metadata.schema.OType; import com.orientechnologies.orient.core.record.impl.ODocument; import org.orienteer.core.OrienteerWebApplication; import org.orienteer.core.module.AbstractOrien...
package org.gluu.service; import java.util.List; import javax.enterprise.context.ApplicationScoped; import javax.inject.Inject; import javax.inject.Named; import org.gluu.model.custom.script.CustomScriptType; import org.gluu.model.custom.script.model.CustomScript; import org.gluu.persist.PersistenceEntryManager; import...
package bisq.network.p2p.network; import bisq.network.p2p.NodeAddress; import bisq.common.Timer; import bisq.common.UserThread; import bisq.common.app.Capabilities; import bisq.common.proto.network.NetworkEnvelope; import bisq.common.proto.network.NetworkProtoResolver; import bisq.common.util.Utilities; import com.runj...
package org.pentaho.ui.xul.impl; import java.lang.reflect.Constructor; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.beanutils.BeanUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.dom4j.Attribute; import org.dom4j.N...
package wiremock; import com.github.tomakehurst.wiremock.WireMockServer; import com.github.tomakehurst.wiremock.client.WireMock; import com.github.tomakehurst.wiremock.common.Slf4jNotifier; import com.github.tomakehurst.wiremock.core.Admin; import com.github.tomakehurst.wiremock.core.WireMockConfiguration; import com.g...
package services; import java.util.List; import javax.inject.Inject; import javax.inject.Singleton; import javax.persistence.EntityManager; import javax.persistence.TypedQuery; import entities.ProjectManager; @Singleton public class ProjectManagersService { private final EntityManagerService entityManagerService; ...
package com.intellij.openapi.util; import com.intellij.ReviseWhenPortedToJDK; import com.intellij.openapi.util.io.PathExecLazyValue; import com.intellij.openapi.util.text.StringUtil; import com.intellij.util.lang.JavaVersion; import org.jetbrains.annotations.ApiStatus; import org.jetbrains.annotations.NotNull; import j...
package com.tw.go.plugin.common; import com.thoughtworks.go.plugin.api.task.JobConsoleLogger; import java.util.Iterator; import java.util.Map; public abstract class TaskExecutor { protected JobConsoleLogger console; protected Context context; protected Map config; // contains a key value pair <Key, Value> w...
package convwatch; import com.sun.star.lang.XMultiServiceFactory; import lib.TestParameters; import java.io.File; import java.io.FileFilter; import com.sun.star.container.XNameAccess; import com.sun.star.uno.UnoRuntime; /** * This class object is more a Helper or Controller. * It stores information like: * - How to ...
package com.squareup.picasso; import android.content.Context; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; import android.net.Uri; import android.os.Build; import android.widget.ImageView; import java.io.File; import java.io.IOException; import j...
package raptor.swt.chat; import java.io.FileWriter; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.la...
package model; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; import java.io.LineNumberReader; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Scanner; import java....
package main; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.Collections; import move.AttackTransferMove; import move.Move; import move.MoveQueue; import move.MoveResult; import move.PlaceArmiesMove; public class Engine { private Player player1; private Player p...
package io.spine.server.model; import com.google.common.annotations.VisibleForTesting; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Maps; import com.google.common.collect.Sets; import io.spine.core.CommandClass; import io.spine.server.aggregate.Aggregate; import io.spine.server.aggreg...
package org.jboss.as.server; import java.io.IOException; import java.io.InputStream; import java.io.PrintStream; import org.jboss.logmanager.Level; import org.jboss.logmanager.Logger; import org.jboss.marshalling.MarshallerFactory; import org.jboss.marshalling.Marshalling; import org.jboss.marshalling.MarshallingConfig...
package foam.dao; import foam.core.FObject; import foam.core.X; import foam.mlang.order.Comparator; import foam.mlang.predicate.Predicate; import foam.nanos.pm.PM; public class PMDAO extends ProxyDAO { protected String putName_; protected String findName_; protected String removeName_; protected String remove...
package services.report; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.StringWriter; import java.nio.charset.Charset; import java.nio.fil...
package com.mingyuans.smoke; import android.content.Context; import android.text.TextUtils; import android.util.Log; import java.util.LinkedList; import java.util.List; public class SmokeSub implements ISmoke { static { System.loadLibrary("smoke-lib"); } protected static final int MAX_LINE_LENGTH = ...
package ca.eandb.sortable; /** * @author Brad Kimmel * */ public final class SortableChallenge { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub } }
package org.jfree.chart.renderer; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Font; import java.awt.Paint; import java.awt.Shape; import java.awt.Stroke; import java.awt.geom.Point2D; import java.awt.geom.Rectangle2D; import java.io.IOException; import java.io.ObjectInputStream; import java.io.O...
package org.jfree.chart.renderer; import java.awt.Color; import java.awt.Paint; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.util.Collections; import java.util.List; import org.jfree.io.SerialUtilities; import org.jfree.util.Pa...
package jazz; import java.awt.geom.AffineTransform; import java.awt.geom.Point2D; import java.io.Serializable; import java.util.Objects; /** * An immutable point in the two dimensional plane. */ public class Point implements Serializable { /** * Serial Version UID. */ private static final long serialVersion...
package kembe; import fj.F; import fj.Ord; import kembe.sim.rand.Rand; import org.joda.time.*; import java.util.Random; public class Time { public static final Ord<Instant> instantOrd = Ord.longOrd.comap( new F<Instant, Long>() { @Override public Long f(Instant instant) { return instant.getMilli...
package lhpn2sbml.parser; //import java.io.*; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.PrintStream; import java.util.*; //import java.util.regex.Matcher; //import java.util.regex.Pattern; import java.util.regex.Matcher; import java.util.regex.Pattern; import biomodelsim.Log;...
import libsvm.*; import java.applet.*; import java.awt.*; import java.util.*; import java.awt.event.*; import java.io.*; public class svm_toy extends Applet { static final String DEFAULT_PARAM="-t 2 -c 100"; int XLEN; int YLEN; // off-screen buffer Image buffer; Graphics buffer_gc; // pre-al...
package be.digitalia.fosdem.fragments; import java.util.List; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.SharedPreferences; import android.os.Bundle; import android.support.v4.app.Fragment; import a...
package com.dmdirc.addons.nickcolours; import com.dmdirc.addons.ui_swing.UIUtilities; import com.dmdirc.ui.Colour; import com.dmdirc.ui.messages.ColourManager; import java.awt.Color; import java.awt.Component; import javax.swing.JTable; import javax.swing.border.LineBorder; import javax.swing.table.DefaultTableCellRend...
package com.ecyrd.jspwiki.parser; import java.io.*; import java.util.*; import javax.xml.transform.Result; import org.apache.log4j.Logger; import org.apache.oro.text.GlobCompiler; import org.apache.oro.text.regex.*; import org.jdom.*; import com.ecyrd.jspwiki.*; import com.ecyrd.jspwiki.attachment.Attachment; import co...
package com.hackerearth.julyclash15; import java.io.*; import java.util.StringTokenizer; import static java.lang.Integer.parseInt; import static java.lang.System.in; import static java.lang.System.out; /** * User : Suresh * Date : 18/07/15 * Version : v1 */ public class SomethingGenuine { private static Buffe...
package com.kundan.binpacking.applet; import java.applet.Applet; import java.awt.Color; import java.awt.Graphics; import java.util.Random; import com.kundan.binpacking.core.Bin; import com.kundan.binpacking.core.BinPackingAlgorithm; import com.kundan.binpacking.core.Item; import com.kundan.binpacking.core.Shelf; /** *...
package com.opengamma.historical.dao; import java.sql.Date; import java.sql.ResultSet; import java.sql.SQLException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.Tree...
package com.readytalk.oss.dbms.server; import com.readytalk.oss.dbms.DBMS; import com.readytalk.oss.dbms.Table; import com.readytalk.oss.dbms.Column; import com.readytalk.oss.dbms.RevisionBuilder; import com.readytalk.oss.dbms.Revision; import com.readytalk.oss.dbms.ConflictResolver; import com.readytalk.oss.dbms.DiffR...
package com.relteq.sirius.db.importer; import java.math.BigDecimal; import java.sql.Connection; import java.sql.Time; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.torque.TorqueException; import org.apache.torque.util.Criteria; import org.apache.torque.util.Transaction; import...
package com.rtg.vcf.mendelian; import java.io.PrintStream; import java.text.NumberFormat; import java.util.List; import java.util.Set; import com.reeltwo.jumble.annotations.TestClass; import com.rtg.reference.Ploidy; import com.rtg.reference.Sex; import com.rtg.reference.SexMemo; import com.rtg.relation.Family; import ...
package com.stackallocated.imageupload; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.HashMap; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.client.ClientProtocolException; import...
package td.td2; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import tools.FrenchStemmer; import tools.FrenchTokenizer; import tools.Normalizer; /** * TD 2 * @author mhadda * */ public class TD2 { private static String DIRNAME = "/ne...
package controllers.player; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.awt.event.MouseMotionListener; import java.awt.event.WindowEvent; import app.Game; import controllers.common.IMove; import controllers.common.MovePieceOffBoardMove; import controllers.common.MovePieceOnBoardMo...
package model; public class TweetContainer { private String username; private String body; public TweetContainer(String _username, String _body) { this.username = _username; this.body = _body; } public String getUsername() { return username; } public String ge...
package de.lmu.ifi.dbs.elki.utilities; import java.io.File; import java.io.IOException; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.Enumeration; import java.util.Iterator; import java.util.List; import java.util.Stack; import java.util.Vector; import java.util.jar.JarEntry; import ja...
package dr.app.bss; import dr.app.beagle.tools.BeagleSequenceSimulator; import dr.app.beagle.tools.Partition; import dr.app.util.Arguments; import dr.evolution.alignment.SimpleAlignment; import dr.evolution.tree.Tree; import dr.evolution.util.Taxa; import dr.math.MathUtils; import java.io.File; import java.io.FileWrite...
package dr.math.matrixAlgebra.missingData; import dr.inference.model.MatrixParameterInterface; import dr.math.Polynomial; import dr.math.matrixAlgebra.*; import org.ejml.alg.dense.decomposition.lu.LUDecompositionAlt_D64; import org.ejml.alg.dense.linsol.lu.LinearSolverLu_D64; import org.ejml.alg.dense.misc.UnrolledDete...
package eu.ortlepp.tasklist.gui; import eu.ortlepp.tasklist.SimpleTaskList; import eu.ortlepp.tasklist.extra.CustomSortedList; import eu.ortlepp.tasklist.gui.components.DateTableCell; import eu.ortlepp.tasklist.gui.components.DescriptionTableCell; import eu.ortlepp.tasklist.gui.components.PriorityTableCell; import eu.o...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package eu.seebetter.ini.chips.sbret10; import ch.unizh.ini.jaer.config.MuxControlPanel; import ch.unizh.ini.jaer.config.OutputMap; import ch.unizh.ini.jaer.config.boards.LatticeMachFX2config; import ch.unizh.ini.jaer.co...
package peergos.storage.dht; import peergos.storage.net.HttpMessenger; import peergos.storage.net.HttpsMessenger; import peergos.storage.Storage; import peergos.util.*; import peergos.util.ArrayOps; import java.io.File; import java.io.IOException; import java.net.InetAddress; import java.net.InetSocketAddress; import j...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package flowreader.view.diveview; import flowreader.model.Page; import flowreader.view.PageView; import java.util.ArrayList; import javafx.animation.TranslateTransition; import javafx.event.EventHandler; import javafx.sc...
package org.voltdb.utils; import java.io.BufferedReader; import java.io.FileReader; import java.io.Serializable; import org.voltcore.logging.VoltLogger; import org.voltcore.utils.CoreUtils; import org.voltdb.processtools.ShellTools; public class PlatformProperties implements Serializable { private static final Volt...
package gov.nih.nci.calab.ui.workflow; import gov.nih.nci.calab.dto.workflow.ExecuteWorkflowBean; import gov.nih.nci.calab.dto.workflow.FileBean; import gov.nih.nci.calab.dto.workflow.FileDownloadInfo; import gov.nih.nci.calab.dto.workflow.RunBean; import gov.nih.nci.calab.service.util.ActionUtil; import gov.nih.nci.ca...