answer stringlengths 17 10.2M |
|---|
package org.biojava.bio.structure.io.mmcif;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Set;
import java.util.logging.Logger;
import... |
package com.tinkerpop.blueprints.impls.neo4j2;
import com.tinkerpop.blueprints.CloseableIterable;
import com.tinkerpop.blueprints.Edge;
import com.tinkerpop.blueprints.Index;
import com.tinkerpop.blueprints.Parameter;
import com.tinkerpop.blueprints.Vertex;
import com.tinkerpop.blueprints.util.StringFactory;
import org... |
package net.bytebuddy.agent.builder;
import java.lang.instrument.ClassFileTransformer;
import java.lang.instrument.Instrumentation;
/**
* A class file transformer that can reset its transformation.
*/
public interface ResettableClassFileTransformer extends ClassFileTransformer {
/**
* <p>
* Deregisters ... |
package edu.wustl.catissuecore.bizlogic.test;
import java.text.ParseException;
import java.util.Collection;
import java.util.Date;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import edu.wustl.catissuecore.domain.Capacity;
import edu.wustl.catissuecore.domain.CellSpecimen;
import edu.wust... |
package com.dianping.cat.system.page.config.processor;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import org.codehaus.plexus.util.StringUtils;
import org.unidal.helper.Splitters;
import org.u... |
package org.project.openbaton.catalogue.mano.common;
import org.project.openbaton.catalogue.util.IdGenerator;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Set;
@Entity
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
public abstract class AbstractVirtualLink implements Serializable{... |
package com.exedio.cope.console;
import java.io.PrintStream;
import java.util.Iterator;
import javax.servlet.http.HttpServletRequest;
import com.exedio.cope.Model;
import com.exedio.cops.XMLEncoder;
import com.exedio.dsmf.Column;
import com.exedio.dsmf.Constraint;
import com.exedio.dsmf.Schema;
import com.exedio.dsmf.S... |
package ir.asparsa.hobbytaste.ui.fragment.content;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.provider.MediaStore;
import android.support.an... |
package io.cloudslang.lang.tools.build;
import com.beust.jcommander.JCommander;
import com.beust.jcommander.ParameterException;
import io.cloudslang.lang.api.Slang;
import io.cloudslang.lang.commons.services.api.UserConfigurationService;
import io.cloudslang.lang.commons.services.impl.UserConfigurationServiceImpl;
impo... |
package org.jetel.component.tree.writer.portdata;
import java.io.IOException;
import java.util.Collection;
import java.util.List;
import java.util.Set;
import org.apache.commons.collections4.MultiValuedMap;
import org.apache.commons.collections4.multimap.ArrayListValuedHashMap;
import org.jetel.data.DataField;
import o... |
package edu.duke.cabig.c3pr.web.ajax;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.StringTokenizer;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.extr... |
package com.danilafe.cellsim;
import com.badlogic.gdx.ApplicationAdapter;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input.Keys;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import com.badlogic.gdx.graphics.glutils.Shape... |
package com.yahoo.vespa.hosted.controller;
import com.yahoo.component.Version;
import com.yahoo.config.application.api.DeploymentSpec;
import com.yahoo.config.application.api.ValidationId;
import com.yahoo.config.provision.ApplicationId;
import com.yahoo.config.provision.Environment;
import com.yahoo.config.provision.T... |
package com.yahoo.vespa.hosted.controller;
import com.google.common.collect.ImmutableList;
import com.yahoo.collections.Pair;
import com.yahoo.component.Version;
import com.yahoo.config.application.api.DeploymentSpec;
import com.yahoo.config.application.api.ValidationId;
import com.yahoo.config.provision.ApplicationId;... |
package com.yahoo.vespa.hosted.controller.persistence;
import com.google.inject.Inject;
import com.yahoo.cloud.config.ClusterInfoConfig;
import com.yahoo.cloud.config.ZookeeperServerConfig;
import com.yahoo.component.Version;
import com.yahoo.component.Vtag;
import com.yahoo.config.provision.ApplicationId;
import com.y... |
package org.concurrentmockito;
import static org.mockito.Mockito.*;
import org.junit.Test;
import org.mockitousage.IMethods;
import org.mockitoutil.TestBase;
//TODO make sure tests for mockito run quickly on slower machines
//this test exposes the problem at least once in 10 runs
public class ThreadsShareAMockTest exte... |
package io.debezium.connector.mysql;
import java.io.IOException;
import java.math.BigDecimal;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.charset.Charset;
import java.nio.charset.IllegalCharsetNameException;
import java.nio.charset.StandardCharsets;
import java.sql.Timestamp;
import java.sql.... |
package edu.utexas.cycic;
import java.util.ArrayList;
import edu.utah.sci.cyclist.core.controller.CyclistController;
import edu.utah.sci.cyclist.core.event.dnd.DnD;
import edu.utah.sci.cyclist.core.tools.Tool;
import edu.utexas.cycic.tools.InstitutionViewTool;
import edu.utexas.cycic.tools.RegionViewTool;
import javafx... |
package com.pe.droid.appquejas.repository;
import org.springframework.data.repository.CrudRepository;
import com.pe.droid.appquejas.domain.Trabajador;
import com.pe.droid.appquejas.domain.TrabajadorPK;
public interface TrabajadorRepository extends CrudRepository<Trabajador, TrabajadorPK> {
} |
package com.novoda.sqliteprovider.demo.ui;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.novoda.sqliteprovider.demo.R;
import com.novoda.sqliteprovider.demo.ui.base.NovodaActivity;
import com.novoda.sqliteprovider.demo.ui.util.FromXML;
public ... |
package edu.oregonstate.cope.eclipse;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jdt.ui.JavaUI;
import org.eclipse.jface.bindings.... |
package VASSAL.build.module.map;
import java.util.ArrayList;
import VASSAL.counters.GamePiece;
/** Stores {@link VASSAL.counters.GamePiece}s in a simple array */
public class SimplePieceCollection implements PieceCollection {
private final ArrayList<GamePiece> pieces = new ArrayList<GamePiece>();
/**
* Returns t... |
/**
* A HTTP plugin for Cordova / Phonegap
*/
package com.synconset;
import org.apache.cordova.*;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.BufferedReader;
import java.util.Map;
import java.util.L... |
package org.openlca.app.preferences;
import java.util.Objects;
/**
* Enumeration of supported languages.
*/
public enum Language {
ARABIC("Arabic", "ar"),
BULGARIAN("Bulgarian", "bg"),
CATALAN("Catalan", "ca"),
CHINESE("Chinese", "zh"),
ENGLISH("English", "en"),
FRENCH("French", "fr"),
GER... |
package cx2x.translator.xcode;
import cx2x.translator.language.ClawDirective;
import cx2x.translator.language.ClawLanguage;
import cx2x.translator.language.helper.accelerator.AcceleratorGenerator;
import cx2x.translator.language.helper.target.Target;
import cx2x.xcodeml.exception.IllegalDirectiveException;
import exc.b... |
package com.bellaire.aerbot.testing;
import org.junit.Before;
import org.junit.Test;
import org.junit.Assert;
import com.bellaire.aerbot.input.InputMethod;
import com.bellaire.aerbot.systems.AccelerometerSystem;
import com.bellaire.aerbot.systems.GyroSystem;
import com.bellaire.aerbot.systems.WheelSystem;
import edu.wp... |
package com.ecyrd.jspwiki.providers;
import java.lang.ref.SoftReference;
import java.util.Properties;
import java.util.Collection;
import java.util.HashMap;
import java.util.TreeSet;
import java.util.Date;
import java.util.ArrayList;
import java.util.List;
import java.util.Iterator;
import java.io.IOException;
import o... |
package StevenDimDoors.mod_pocketDim.helpers;
import java.io.File;
import java.io.FileOutputStream;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Random;
import java.util.regex.Pattern;
import net.minecraft.blo... |
package com.openxc.messages;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import android.os.Parcel;
import com.google.common.base.Objects;
public class DiagnosticResponse extends VehicleMessage implements KeyedMessage {
public static final String VALUE_KEY = "value";
public static fi... |
package br.com.transmetais.dao.commons;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EntityManager;
import jav... |
package com.infinity.delaunayvoronoi.model;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
* Holds references to all of the components of the graph
*
* @author jeffreyrichley
*/
public class PanGraph<R extends Polygon, S extends Arc, T extends Node> {
/**
* All <code>P... |
package com.jcertif.android.fragments;
import twitter4j.TwitterException;
import twitter4j.TwitterFactory;
import twitter4j.User;
import twitter4j.auth.AccessToken;
import twitter4j.auth.RequestToken;
import twitter4j.conf.Configuration;
import twitter4j.conf.ConfigurationBuilder;
import android.app.Activity;
import an... |
package net.justdave.mcstatus;
import java.util.ArrayList;
import java.util.ListIterator;
import android.R.color;
import android.content.Context;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnLongClickListener;
import android.view.ViewGroup;
import and... |
package com.jcwhatever.bukkit.generic.inventory;
import com.jcwhatever.bukkit.generic.extended.ArmorType;
import com.jcwhatever.bukkit.generic.items.ItemStackComparer;
import com.jcwhatever.bukkit.generic.utils.PreCon;
import com.jcwhatever.bukkit.generic.utils.Scheduler;
import org.bukkit.Bukkit;
import org.bukkit.ent... |
package com.opengamma.engine.value;
import java.io.Serializable;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
import org.apache.commons.lang.ObjectUtils;
import org.apache.commons.lang.text.StrBuilder;
import org.fudgemsg.FudgeFieldContainer;
import org.fudgemsg.FudgeMessageFactory;
impo... |
package nu.validator.datatype;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.relaxng.datatype.DatatypeException;
public class ImageCandidateStrings extends AbstractDatatype {
private static enum State {
SPLITTING_LOOP, URL, COLLECTING_DESCRIPTOR_TOKENS, IN_PAREN... |
package com.wrapp.android.webimage;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Date;
public class FileLoaderThread extends TaskQueueThread {
private static FileLoaderThread staticInstance;
p... |
package org.opencms.gwt.client.dnd;
import org.opencms.gwt.client.util.CmsDebugLog;
import org.opencms.gwt.client.util.CmsDomUtil;
import org.opencms.gwt.client.util.CmsDomUtil.Style;
import org.opencms.gwt.client.util.CmsMoveAnimation;
import java.util.ArrayList;
import java.util.List;
import com.google.gwt.dom.client... |
package nallar.tickthreading.patcher;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import com.google.common.... |
package opendap.semantics.IRISail;
import org.openrdf.model.Resource;
import org.openrdf.model.URI;
import org.openrdf.model.Value;
import org.openrdf.model.ValueFactory;
import org.openrdf.model.impl.URIImpl;
import org.openrdf.query.*;
import org.openrdf.repository.RepositoryConnection;
import org.openrdf.repository.... |
package org.anddev.andengine.opengl.texture;
import java.util.ArrayList;
import javax.microedition.khronos.opengles.GL10;
import org.anddev.andengine.opengl.texture.source.ITextureSource;
import org.anddev.andengine.opengl.util.GLHelper;
import org.anddev.andengine.util.Debug;
import org.anddev.andengine.util.MathUtils... |
package org.andengine.util.adt.map;
import android.util.SparseArray;
import android.util.SparseBooleanArray;
import android.util.SparseIntArray;
public final class SparseArrayUtils {
// Constants
// Fields
// Constructors
// Getter & Setter
// Methods for/from SuperClass/Interfaces
// Methods
... |
package codeOrchestra.colt.core.logging;
import java.util.List;
/**
* @author Alexander Elisetev
*/
public interface LoggerService {
void log(String source, String message, List<String> scopeIds, long timestamp, Level level, String stackTrace);
void clear(Level level);
} |
package com.biggestnerd.radarjammer;
import java.util.Collections;
import java.util.Enumeration;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.Map.Entry;
import java.util.Set;
import java.util.UUID;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentLinkedQ... |
package org.clapper.util.cmdline;
import org.clapper.util.io.WordWrapWriter;
import org.clapper.util.logging.Logger;
import org.clapper.util.misc.ArrayIterator;
import org.clapper.util.misc.BundleUtil;
import org.clapper.util.text.TextUtil;
import java.util.Iterator;
import java.util.Locale;
import java.util.NoSuchElem... |
package org.eclipse.imp.pdb.facts.type;
/**
* Visitor interface for all kinds of IValues
*
* @param <T> the result type of the visit methods
*/
public interface ITypeVisitor<T> {
T visitDouble(DoubleType type);
T visitInteger(IntegerType type);
T visitList(ListType type);
T visitMap(MapType type);
... |
package org.ensembl.healthcheck.testgroup;
import org.ensembl.healthcheck.GroupOfTests;
import org.ensembl.healthcheck.testcase.eg_funcgen.EGArrayXrefs;
import org.ensembl.healthcheck.testcase.funcgen.AnalysisDescription;
import org.ensembl.healthcheck.testcase.funcgen.CompareFuncgenSchema;
import org.ensembl.healthche... |
package com.dmdirc.ui.swing.components;
import com.dmdirc.IconManager;
import com.dmdirc.config.IdentityManager;
import com.dmdirc.interfaces.UpdateCheckerListener;
import com.dmdirc.logger.ErrorLevel;
import com.dmdirc.logger.ErrorListener;
import com.dmdirc.logger.ErrorManager;
import com.dmdirc.logger.ProgramError;
... |
package org.jgrapht.alg;
import java.util.*;
import org.jgrapht.*;
import org.jgrapht.graph.*;
/**
* <p>Complements the {@link org.jgrapht.alg.ConnectivityInspector} class with
* the capability to compute the strongly connected components of a directed
* graph. The algorithm is implemented after "Cormen et al: Intro... |
package org.usfirst.frc.team1554.lib.collect;
import java.util.Iterator;
import java.util.NoSuchElementException;
import org.usfirst.frc.team1554.lib.math.MathUtils;
import org.usfirst.frc.team1554.lib.meta.Author;
import org.usfirst.frc.team1554.lib.meta.Noteworthy;
// FIXME Documentation
/**
* Implementation of Cuck... |
package org.micromanager.conf2;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.awt.Rectangle;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.util.ArrayList;
import java.util.Collections;
... |
package com.haxademic.core.draw.text;
import processing.core.PApplet;
import processing.core.PFont;
import processing.core.PGraphics;
import processing.core.PImage;
import com.haxademic.core.app.P;
import com.haxademic.core.draw.util.OpenGLUtil;
import com.haxademic.core.image.ImageUtil;
public class CustomFontText2D {... |
package com.cradle.iitc_mobile;
import java.util.HashMap;
import org.json.JSONArray;
import org.json.JSONException;
import android.app.AlertDialog;
import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Dia... |
package com.kovaciny.linemonitorbot;
import java.beans.PropertyChangeEvent;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.Iterator;
import java.util.List;
import java.util.Loc... |
package com.opencms.file.genericSql;
import javax.servlet.http.*;
import java.util.*;
import java.net.*;
import java.io.*;
import source.org.apache.java.io.*;
import source.org.apache.java.util.*;
import com.opencms.core.*;
import com.opencms.file.*;
import com.opencms.template.*;
public class CmsResourceBroker impleme... |
package org.voovan.http.server;
import org.voovan.Global;
import org.voovan.http.server.context.HttpModuleConfig;
import org.voovan.http.server.context.HttpRouterConfig;
import org.voovan.http.server.context.WebContext;
import org.voovan.http.server.context.WebServerConfig;
import org.voovan.http.server.router.OptionsR... |
package org.voovan.http.server;
import org.voovan.Global;
import org.voovan.http.server.context.HttpModuleConfig;
import org.voovan.http.server.context.HttpRouterConfig;
import org.voovan.http.server.context.WebContext;
import org.voovan.http.server.context.WebServerConfig;
import org.voovan.http.server.router.OptionsR... |
package com.peterverzijl.softwaresystems.qwirkle;
import java.util.ArrayList;
import java.util.List;
//import com.peterverzijl.softwaresystems.qwirkle.collision.RectangleCollider;
import com.peterverzijl.softwaresystems.qwirkle.gameengine.ui.Sprite;
import com.peterverzijl.softwaresystems.qwirkle.exceptions.NotYourBloc... |
package org.objectweb.proactive.core.node;
import java.rmi.AlreadyBoundException;
import org.apache.log4j.Logger;
import org.objectweb.proactive.api.PALifeCycle;
import org.objectweb.proactive.core.Constants;
import org.objectweb.proactive.core.UniqueID;
import org.objectweb.proactive.core.config.PAProperties;
import o... |
package com.valkryst.AsciiPanel.component;
import com.valkryst.AsciiPanel.AsciiCharacter;
import com.valkryst.AsciiPanel.AsciiFont;
import com.valkryst.AsciiPanel.AsciiPanel;
import com.valkryst.AsciiPanel.AsciiString;
import javafx.scene.input.MouseEvent;
import javafx.scene.paint.Color;
import javafx.scene.paint.Pain... |
package org.mongodb.morphia;
import com.mongodb.BasicDBObject;
import com.mongodb.CommandResult;
import com.mongodb.DB;
import com.mongodb.MongoClient;
import com.mongodb.MongoClientURI;
import org.junit.After;
import org.junit.Assume;
import org.junit.Before;
@SuppressWarnings("deprecation")
public abstract class Test... |
package de.da_sense.moses.client.com;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.CountDownLatch;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client... |
package de.mrapp.android.preference;
import static de.mrapp.android.preference.util.Condition.ensureAtLeast;
import static de.mrapp.android.preference.util.Condition.ensureAtMaximum;
import static de.mrapp.android.preference.util.Condition.ensureGreaterThan;
import static de.mrapp.android.preference.util.Condition.ensu... |
package dr.inference.mcmc;
import dr.inference.loggers.Logger;
import dr.inference.loggers.MCLogger;
import dr.inference.markovchain.MarkovChain;
import dr.inference.markovchain.MarkovChainListener;
import dr.inference.model.Model;
import dr.inference.model.PathLikelihood;
import dr.inference.operators.*;
import dr.inf... |
package dr.inference.operators;
import dr.inference.loggers.LogColumn;
import dr.inference.loggers.Loggable;
import dr.inference.loggers.NumberColumn;
import dr.math.MathUtils;
import dr.xml.*;
import java.util.List;
import java.util.Vector;
import java.util.logging.Logger;
/**
* This class implements a simple operato... |
package dr.inference.trace;
import dr.math.LogTricks;
import dr.math.MathUtils;
import dr.util.TaskListener;
import java.util.ArrayList;
import java.util.List;
/**
* @author Marc Suchard
* @author Alexei Drummond
* <p/>
* Source translated from model_P.c (a component of BAli-Phy by Benjamin Redeling... |
package edu.washington.escience.myria.parallel;
import java.io.ByteArrayInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.nio.file.Files;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import... |
package edu.wpi.first.wpilibj.templates;
import edu.wpi.first.wpilibj.*;
public class RobotTemplate extends IterativeRobot {
//Practise robot or competition robot
static final boolean PRACTISE_ROBOT = false;
//Encoder rate at max speed in slow gear
static final double SLOW_MAX_ENCODER_RATE = 750.0;
... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package eu.seebetter.ini.chips.davis;
import java.awt.Font;
import java.util.HashMap;
import java.util.LinkedList;
import com.jogamp.opengl.GL2;
import com.jogamp.opengl.GLAutoDrawable;
import com.jogamp.opengl.util.awt.... |
package eu.visualize.ini.convnet;
import java.util.Arrays;
import java.util.logging.Logger;
import net.sf.jaer.event.PolarityEvent;
import net.sf.jaer.util.filter.LowpassFilter;
/**
* Subsamples DVS input ON and OFF events to a desired "frame" resolution in a
* grayscale 2D histogram. By subsampling (accumulation) of... |
package experimentalcode.frankenb.main;
import java.io.File;
import java.io.IOException;
import de.lmu.ifi.dbs.elki.application.StandAloneApplication;
import de.lmu.ifi.dbs.elki.data.NumberVector;
import de.lmu.ifi.dbs.elki.database.Database;
import de.lmu.ifi.dbs.elki.database.connection.DatabaseConnection;
import de.... |
package grakn.core.traversal.producer;
import grakn.core.common.iterator.ResourceIterator;
import grakn.core.common.producer.Producer;
import grakn.core.graph.GraphManager;
import grakn.core.graph.vertex.Vertex;
import grakn.core.traversal.Traversal;
import grakn.core.traversal.common.VertexMap;
import grakn.core.trave... |
package gov.nih.nci.calab.service.util;
public class CalabConstants {
public static final String DATE_FORMAT = "MM/dd/yyyy";
public static final String STORAGE_BOX = "Box";
public static final String STORAGE_SHELF = "Shelf";
public static final String STORAGE_RACK = "Rack";
public static final Strin... |
package org.xins.server;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.log4j.Logger;
import org.xins.util.MandatoryArgumentChecker;
import org.xins.util.collections.PropertyReader;
import org.xins.util.collections.ProtectedPropertyReader;
/**
* Sim... |
// $Id: DirtyItemList.java,v 1.9 2002/01/31 01:04:54 mdb Exp $
package com.threerings.miso.scene;
import java.awt.Graphics2D;
import java.awt.Rectangle;
import java.awt.Shape;
import java.util.Arrays;
import java.util.ArrayList;
import java.util.Comparator;
import com.samskivert.util.HashIntMap;
import com.samskivert.u... |
package com.twitter.aurora.auth;
import java.util.Set;
import com.twitter.aurora.gen.SessionKey;
/**
* Validator for RPC sessions with Aurora.
*/
public interface SessionValidator {
SessionContext checkAuthenticated(SessionKey sessionKey, Set<String> targetRoles)
throws AuthFailedException;
/**
* Transla... |
package org.jdesktop.swingx.calendar;
import java.awt.Color;
import java.awt.Font;
import java.awt.Insets;
import java.awt.Rectangle;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Calendar;
import java.util.Date;
import java.util.EventListener;
import java.util.Hashtable;
imp... |
package org.joda.time.field;
/**
* Duration field class representing a field with a fixed unit length.
* <p>
* PreciseDurationField is thread-safe and immutable.
*
* @author Stephen Colebourne
* @author Brian S O'Neill
* @since 1.0
*/
public class PreciseDurationField extends BaseDurationField {
static fina... |
package ascb.nivk.core.util;
import org.reflections.Reflections;
import java.lang.reflect.ParameterizedType;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
public class InstanceManager<T> {
private final List<T> instances = new ArrayList<>();
public... |
package ccm.pay2spawn;
import ccm.pay2spawn.util.EventHandler;
import ccm.pay2spawn.util.Helper;
import com.google.common.base.Strings;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import net.minecraft.client.Minecraft;
import net.minecraft.util.EnumChatFormat... |
package cn.edu.kmust.seanlp.util;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
/**
*
* @author Zhao Shiyu
*
*/
public class RadicalMap {
//Thai
private static Map<Character, Character> thaiCharsToRads = new HashMap<Character, Character>();
private stati... |
package com.checkmarx.jenkins;
import com.checkmarx.components.zipper.Zipper;
import com.checkmarx.ws.CxJenkinsWebService.*;
import com.thoughtworks.xstream.annotations.XStreamOmitField;
import hudson.AbortException;
import hudson.Extension;
import hudson.FilePath;
import hudson.Launcher;
import hudson.model.*;
import ... |
package com.cosmos.core.utils;
import org.apache.commons.codec.binary.Base64;
/**
*
*
* @author David
*/
public abstract class EncodingUtils {
/**
* Base64
*
* @param rawBytes
* @return
*/
public static byte[] encodeBase64(byte[] rawBytes) {
return Base64.encodeBase64(rawByt... |
package com.ds.listing.rest;
import java.util.ArrayList;
import com.ds.listing.model.Listing;
import com.ds.listing.properties.eBayAuth;
import com.ds.listing.services.ListingService;
import com.ds.listing.services.eBayListingService;
import javax.inject.Inject;
import javax.persistence.EntityManager;
import javax.ws.r... |
//@author A0112918H
package com.epictodo.engine;
import java.util.ArrayList;
import com.epictodo.logic.CRUDLogic;
import com.epictodo.model.Task;
public class WorkDistributor {
private static CRUDLogic _logic = new CRUDLogic();
private final static String[] COMMAND_EXIT = { "exit", "quit" };
private final s... |
package com.ezardlabs.dethsquare;
import com.ezardlabs.dethsquare.Collider.Collision;
import com.ezardlabs.dethsquare.util.GameListeners;
import com.ezardlabs.dethsquare.util.Utils;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
/**
* Base class for all entiti... |
package com.ibm.si.jaql.aql;
import java.util.LinkedList;
import java.util.List;
import org.antlr.v4.runtime.ANTLRInputStream;
import org.antlr.v4.runtime.CommonTokenStream;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import com.ibm.si.jaql.aql.AQLParser.ArithmeticOperatorContext... |
package com.mailosaur.models;
import com.google.api.client.util.Key;
/**
* The SearchCriteria model.
*/
public class SearchCriteria {
/**
* The full email address to which the target email was sent.
*/
@Key
private String sentTo;
/**
* The value to seek within the target email's subject... |
package com.vaguehope.onosendai.model;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.TimeUnit;
import com.vaguehope.onosendai.util.EqualHelper;
public class Tweet {
private final long uid;
private final String sid;
private final String username;
... |
package com.wiccanarts.common.item;
import com.wiccanarts.common.crafting.VanillaCrafting;
import com.wiccanarts.common.lib.LibMod;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fml.common.registry.GameRegistry;
import net.minecraftforge.oredict.OreDictionary;
@GameRegis... |
package com.wslfinc.cf.sdk.entities;
import com.wslfinc.cf.sdk.JsonExtractor;
import org.json.JSONObject;
/**
*
* @author Wsl_F
*/
public class Contest implements Comparable<Contest> {
/**
* Integer.
*/
int id;
/**
* String. Localized.
*/
String name;
/**
* Enum: CF, IOI,... |
package com.xoom.oss.fs;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import ja... |
package com.yahoo.memory;
import static com.yahoo.memory.UnsafeUtil.ARRAY_CHAR_BASE_OFFSET;
import static com.yahoo.memory.UnsafeUtil.ARRAY_CHAR_INDEX_SCALE;
import static com.yahoo.memory.UnsafeUtil.ARRAY_DOUBLE_BASE_OFFSET;
import static com.yahoo.memory.UnsafeUtil.ARRAY_DOUBLE_INDEX_SCALE;
import static com.yahoo.me... |
package com.yq.manager.service;
import java.io.File;
import java.util.Collection;
import java.util.Date;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import com.google.common.b... |
package cucumber.runtime.rest;
import static cucumber.runtime.rest.CucumberRestConstants.GLUES_URI;
import static cucumber.runtime.rest.CucumberRestConstants.HOOK_EXEC_URI;
import static cucumber.runtime.rest.CucumberRestConstants.HOOK_TAG_MATCH_URI;
import static cucumber.runtime.rest.CucumberRestConstants.STEP_EXEC_U... |
package de.dhbw.humbuch.util;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import com.lowagie.text.Document;
import com.lowagie.text.DocumentException;
import com.lowagie.text.pdf.PdfPTable;
import de.dhbw.humbuch.model.SubjectHandler;
import de.dhbw.humbuch.model.entity.BorrowedMaterial;
imp... |
package de.fhg.ids.app.datadump;
import org.eclipse.rdf4j.model.IRI;
import org.eclipse.rdf4j.model.Resource;
import org.eclipse.rdf4j.model.Statement;
import org.eclipse.rdf4j.model.vocabulary.RDF;
import org.eclipse.rdf4j.repository.Repository;
import org.eclipse.rdf4j.repository.RepositoryConnection;
import org.ecli... |
package io.branch.rnbranch;
import java.util.HashMap;
import java.util.Iterator;
public class AgingHash<KeyType, ValueType> {
private long mTtlMillis;
private HashMap<KeyType, AgingItem<ValueType>> mHash = new HashMap<>();
public AgingHash(long ttlMillis) {
mTtlMillis = ttlMillis;
}
public l... |
package de.zh32.teleportsigns;
import de.zh32.teleportsigns.configuration.ConfigurationAdapter;
import de.zh32.teleportsigns.event.ProxyTeleportEvent;
import de.zh32.teleportsigns.task.TaskFactory;
import de.zh32.teleportsigns.server.GameServer;
import de.zh32.teleportsigns.storage.TeleportSignSQLiteStorage;
import de.... |
package fi.aluesarjat.prototype;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.net.URLConnection;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.List;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.