answer stringlengths 17 10.2M |
|---|
package pl.datamatica.traccar.api.providers;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Objects;
import java.util.Random;
import java.util.Set;
import java.util.UUID;
import java.util.stream.Collectors;
import java.u... |
package de.lmu.ifi.dbs.utilities.optionhandling;
import com.sun.org.apache.xerces.internal.dom.ParentNode;
import de.lmu.ifi.dbs.properties.Properties;
import de.lmu.ifi.dbs.properties.PropertyName;
import de.lmu.ifi.dbs.utilities.UnableToComplyException;
/**
* Parameter class for a parameter specifying a class name.
... |
package se.kth.rest.application.config;
import java.util.Set;
import javax.ws.rs.core.Application;
import org.glassfish.jersey.media.multipart.MultiPartFeature;
/**
*
* @author Ermias
*/
@javax.ws.rs.ApplicationPath("api")
public class ApplicationConfig extends Application {
@Override
public Set<Class<?>> getCla... |
package dr.app.beagle.evomodel.utilities;
import dr.app.beagle.evomodel.treelikelihood.MarkovJumpsBeagleTreeLikelihood;
import dr.evolution.tree.NodeRef;
import dr.evolution.tree.Tree;
import dr.evolution.tree.TreeTrait;
import dr.inference.loggers.LogColumn;
import dr.inference.loggers.Loggable;
import dr.inference.ma... |
package tigase.server.xmppclient;
import java.io.IOException;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Queue;
import java.util.UUID;
import java.util.concurrent.TimeUnit;
import java.util.logging.Level;
import java.util.logging.Logger;
import ja... |
package zmaster587.advancedRocketry.tile.cables;
import zmaster587.advancedRocketry.cable.HandlerCableNetwork;
import zmaster587.advancedRocketry.cable.NetworkRegistry;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.ma... |
package dr.evomodel.beagle.treelikelihood;
import beagle.Beagle;
import beagle.BeagleFactory;
import dr.evolution.alignment.PatternList;
import dr.evolution.tree.NodeRef;
import dr.evolution.tree.Tree;
import dr.evolution.util.TaxonList;
import dr.evomodel.beagle.parsers.TreeLikelihoodParser;
import dr.evomodel.beagle.... |
package dr.inference.markovjumps;
import dr.app.beagle.evomodel.substmodel.DefaultEigenSystem;
import dr.app.beagle.evomodel.substmodel.EigenDecomposition;
import dr.app.beagle.evomodel.substmodel.EigenSystem;
import dr.math.Binomial;
import dr.math.GammaFunction;
import dr.math.distributions.GammaDistribution;
import ... |
package me.prettyprint.hom;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;
import me.prettyprint.cassandra.service.ThriftCfDef;
import me.prettyprint.cassandra.service.ThriftKsDef;
import me.prettyprint.cassandra.te... |
package org.vrjuggler.tweek.gui;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.border.*;
import javax.swing.event.DocumentEvent;
import javax.swing.event.DocumentListener;
import javax.swing.event.ListSelectionEvent;
import javax.swing.event.ListSelectionListener;
import javax.swi... |
package org.rhq.metrics.restServlet;
import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.inject.Produces;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.rhq.metrics.RHQMetrics;
import org.rhq.metrics.core.MetricsService;
/**
* @author John Sanda
*/
@ApplicationScoped
public... |
package org.vrjuggler.tweek.gui;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.border.*;
import javax.swing.event.DocumentEvent;
import javax.swing.event.DocumentListener;
import javax.swing.event.ListSelectionEvent;
import javax.swing.event.ListSelectionListener;
import javax.swi... |
package com.s3auth.hosts;
import com.amazonaws.services.s3.model.BucketWebsiteConfiguration;
import com.amazonaws.services.s3.model.GetObjectRequest;
import com.jcabi.log.Logger;
import java.io.IOException;
import java.net.URI;
import java.util.Collection;
import java.util.LinkedList;
import javax.validation.constraint... |
package org.eclipse.egit.core.op;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IWorkspaceRunnable;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.c... |
package com.google.code.morphia;
import java.lang.annotation.Annotation;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.ConcurrentModificationException;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import... |
package com.planetmayo.debrief.satc.util;
import com.vividsolutions.jts.geom.Coordinate;
import com.vividsolutions.jts.geom.Point;
public class MathUtils
{
private static final double TWO_PI = 2 * Math.PI;
/**
* return angle from [0; 2*Math.PI)
* @param angle
* @return
*/
public static d... |
package outland.feature;
import com.codahale.metrics.MetricRegistry;
import java.net.URI;
import java.util.concurrent.TimeUnit;
import okhttp3.OkHttpClient;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import outland.feature.proto.Feature;
import outland.feature.proto.State;
/**
* A client which can be use... |
package org.jetbrains.plugins.scala.lang.formatting.settings;
import com.intellij.application.options.CodeStyleAbstractPanel;
import com.intellij.ide.DataManager;
import com.intellij.openapi.editor.colors.EditorColorsScheme;
import com.intellij.openapi.editor.highlighter.EditorHighlighter;
import com.intellij.openapi.f... |
package de.avalax.fitbuddy.progressBar;
import android.view.Display;
import android.view.MotionEvent;
import android.view.WindowManager;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.RobolectricTestRunner;
import static org.hamcrest.MatcherAssert.assertThat;
imp... |
package org.jboss.forge.addons;
import java.util.Collections;
import javax.inject.Inject;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.forge.addons.facets.ForgeContainerAPIFacet;
import org.jboss.forge.arquillian.Addon;
import org.jboss.forge.... |
package ru.stqa.pft.addressbook;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.Test;
import static org.testng.Assert.*;
import java.util.concurrent.TimeUnit;
import java.util.Date;
import java.io.File;
import org.openqa.selenium.support.ui.Select;
i... |
package com.birdbraintechnologies.birdblox.Bluetooth;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothManager;
import android.bluetooth.le.BluetoothLeScanner;
import android.bluetooth.le.ScanCallback;
import android.bluetooth.le.ScanFilter;
import a... |
package org.intermine.bio.dataconversion;
import java.io.IOException;
import java.io.Reader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
i... |
package ru.job4j;
import java.util.Queue;
import java.util.concurrent.ConcurrentLinkedQueue;
/**
* Task 7.4.2.
* Create realisation ThreadPool
*
* @author Anton Vasilyuk on 10.08.2017.
* @version 1.0.
*/
public class ThreadPool{
/**.
* @workQueue is queue for new task
*/
private final Queue<Runn... |
package net.java.sip.communicator.impl.contactlist;
import java.util.*;
import net.java.sip.communicator.service.contactlist.*;
import net.java.sip.communicator.service.protocol.*;
/**
* A default implementation of a meta contact.
* @author Emil Ivov
*/
public class MetaContactImpl
implements MetaContact, Compar... |
package net.littlebigisland.droidibus.ibus.systems;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import android.annotation.SuppressLint;
import net.littlebi... |
package org.mockito.internal.creation.bytebuddy;
import net.bytebuddy.ByteBuddy;
import net.bytebuddy.ClassFileVersion;
import net.bytebuddy.dynamic.ClassLoadingStrategy;
import net.bytebuddy.dynamic.DynamicType;
import net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy;
import net.bytebuddy.instrumentation.Fi... |
package org.objectweb.proactive.core.config;
import java.util.HashMap;
import java.util.Iterator;
import org.apache.log4j.ConsoleAppender;
import org.apache.log4j.Level;
import org.apache.log4j.Logger;
import org.apache.log4j.PatternLayout;
import org.objectweb.proactive.core.config.xml.MasterFileHandler;
import org.ob... |
package protocolsupport.protocol.typeremapper.skipper.id;
import protocolsupport.protocol.typeremapper.skipper.id.SkippingRegistry.EnumSkippingRegistry;
import protocolsupport.protocol.typeremapper.skipper.id.SkippingRegistry.GenericSkippingRegistry;
import protocolsupport.protocol.typeremapper.skipper.id.SkippingRegis... |
package com.mapswithme.maps.purchase;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import com.android.billingclient.api.BillingClient;
import com.mapswithme.maps.PrivateVariables;
import com.mapswithme.maps.PurchaseOperationObservable;
import com... |
package edu.mit.mobile.android.content.annotation;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.util.LinkedList;
import java.util.List;
import android.database.DatabaseUtils;
import edu.mit.mobile.android.content.AndroidVersions;
import edu.mit.mobile.android.content.ContentItem;
impor... |
package edu.psu.compbio.seqcode.projects.naomi;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
import org.apache.commons.math3.analysis.polynomials.PolynomialFunct... |
package edu.psu.compbio.seqcode.projects.naomi;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
import org.apache.commons.math3.analysis.polynomials.PolynomialFunct... |
package edu.washington.escience.myriad.parallel.ipc;
import org.jboss.netty.buffer.ChannelBuffer;
import org.jboss.netty.buffer.ChannelBuffers;
import com.google.common.base.Preconditions;
/**
* All IPCMessages derived from this class.
* */
public interface IPCMessage {
/**
* Header of IPCMessages in serialized ... |
package ch.unizh.ini.jaer.chip.multicamera;
/**
*
* @author Gemma
*
* MultiDAVIS240CCameraChip.java
*
*/
import ch.unizh.ini.jaer.projects.davis.frames.ApsFrameExtractor;
import eu.seebetter.ini.chips.DavisChip;
import eu.seebetter.ini.chips.davis.DAVIS240C;
import eu.seebetter.ini.chips.davis.Davis240Config;
imp... |
package com.WazaBe.HoloEverywhere;
import java.util.HashMap;
import java.util.Map;
import java.util.WeakHashMap;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewGroup;
public class LayoutInflater extends android.view.LayoutInflater implements
C... |
package com.t28.sectionadapter;
import android.support.v7.widget.RecyclerView;
public class Section {
private static final Section EMPTY = new Section();
private final RecyclerView.Adapter mAdapter;
private int mHeaderPosition = RecyclerView.NO_POSITION;
Section(RecyclerView.Adapter adapter) {
i... |
package com.malhartech.api;
import com.malhartech.util.AttributeMap;
/**
*
* The base interface for context for all of the streaming platform objects<p>
* <br>
*
* @author Chetan Narsude <chetan@malhar-inc.com>
*/
public interface Context
{
public interface PortContext extends Context
{
public class Attri... |
package com.malhartech.engine;
import com.malhartech.api.ActivationListener;
import com.malhartech.api.DAG;
import com.malhartech.api.Operator;
import com.malhartech.api.Operator.OutputPort;
import com.malhartech.api.Sink;
import com.malhartech.engine.Operators.PortMappingDescriptor;
import com.malhartech.tuple.Checkpo... |
package jme3test.bullet;
import com.jme3.animation.AnimChannel;
import com.jme3.animation.AnimControl;
import com.jme3.animation.AnimEventListener;
import com.jme3.animation.Bone;
import com.jme3.animation.LoopMode;
import com.jme3.bullet.BulletAppState;
import com.jme3.app.SimpleApplication;
import com.jme3.asset.Text... |
package org.vitrivr.cineast.standalone.cli;
import com.github.rvesse.airline.annotations.Command;
import com.github.rvesse.airline.annotations.Option;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
import org.vitrivr.cineast.standalone.importer.handlers.AsrData... |
package com.BibleQuote.managers.tags.repository;
import android.content.ContentValues;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.util.Log;
import com.BibleQuote.dal.dbLibraryHelper;
import com.BibleQuote.managers.bookmarks.BookmarksTags;
import com.BibleQuote.managers... |
package com.android.phone.settings;
import android.content.ActivityNotFoundException;
import android.content.Intent;
import android.net.sip.SipManager;
import android.os.Bundle;
import android.preference.CheckBoxPreference;
import android.preference.ListPreference;
import android.preference.Preference;
import android.p... |
package alexsong.com.snake;
import android.app.Activity;
import android.content.Context;
import android.content.DialogInterface;
import android.content.SharedPreferences;
import android.graphics.Color;
import android.graphics.Typeface;
import android.os.Handler;
import android.os.Vibrator;
import android.support.v7.app... |
package edu.umass.cs.ciir.waltz.coders.sorter;
import ciir.jfoley.chai.collections.list.IntList;
import ciir.jfoley.chai.collections.util.MapFns;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ExecutorService;
import ja... |
package com.i906.mpt.alarm;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Build;
import android.os.IBinder;
import android.support.annotation.Nullable;
import android... |
package org.gnucash.android.model;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.annotation.NonNull;
import org.gnucash.android.db.adapter.AccountsDbAdapter;
import java.sql.Timestamp;
/**
* A split amount in a transaction.
* Every transaction is made up of at least two splits (repres... |
package mil.nga.giat.mage.map;
import android.Manifest;
import android.app.Activity;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.graphics.drawable.Drawable;
import and... |
package org.redcross.openmapkit;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.SharedPreferences;
import android.widget.Toast;
import com.mapbox.mapboxsdk.tileprovider.tilesource.MBTilesLayer;
import com.mapbox.mapboxsdk.tileprovider.tiles... |
package org.wikipedia.main;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.MotionEvent;
import android.view.View;
import androidx.annotation.LayoutRes;
import androidx.annotation.NonNull;
import android... |
package com.gmail.alexellingsen.namelesswol.utils;
import com.gmail.alexellingsen.namelesswol.devices.Device;
import java.net.InetAddress;
/**
* Collection of validation methods.
*/
public class ValidateUtils {
/**
* Validates given host address by trying to parse it to a {@link java.net.InetAddress}.
*... |
package org.wikipedia.main;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import androidx.annotation.LayoutRes;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import and... |
package com.redhat.ceylon.compiler.typechecker.treegen;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.io.PrintStream;
import org.antlr.runtime.ANTLRInputStream;
import org.antlr.runtime.CommonTokenStream;
public class Generate {
private static final String GENERATED_PA... |
package org.ow2.proactive.authentication.crypto;
import java.io.Serializable;
import org.objectweb.proactive.annotation.PublicAPI;
/**
* Dummy class used to properly separate login, password and key:
* will be serialized and encrypted
*
* @author The ProActive Team
* @since ProActive Scheduling 2.2
*/
@PublicAPI
... |
package dyvil.tools.compiler.ast.generic;
import dyvil.reflect.Modifiers;
import dyvil.tools.asm.TypeAnnotatableVisitor;
import dyvil.tools.asm.TypePath;
import dyvil.tools.asm.TypeReference;
import dyvil.tools.compiler.ast.annotation.AnnotationList;
import dyvil.tools.compiler.ast.annotation.IAnnotation;
import dyvil.... |
package processing.app.debug;
import org.junit.Before;
import org.junit.Test;
import processing.app.AbstractWithPreferencesTest;
import processing.app.helpers.PreferencesMap;
import java.io.File;
import java.util.HashMap;
import java.util.Map;
import static org.junit.Assert.assertTrue;
public class UploaderFactoryTest ... |
package dyvil.tools.compiler.ast.header;
import dyvil.collection.Map;
import dyvil.collection.mutable.IdentityHashMap;
import dyvil.reflect.Modifiers;
import dyvil.tools.compiler.DyvilCompiler;
import dyvil.tools.compiler.ast.classes.IClass;
import dyvil.tools.compiler.ast.context.IContext;
import dyvil.tools.compiler.... |
package com.sequenceiq.cloudbreak.logger;
import java.util.Arrays;
import javax.inject.Inject;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.aspectj.lang.reflect.CodeSignature;
import org.s... |
package org.lemurproject.galago.core.tools.apps;
import java.io.PrintStream;
import org.lemurproject.galago.core.index.IndexPartReader;
import org.lemurproject.galago.core.index.KeyIterator;
import org.lemurproject.galago.core.index.disk.DiskIndex;
import org.lemurproject.galago.core.retrieval.iterator.MovableCountIter... |
package org.folio.rest.tools;
import java.io.File;
import java.io.FileReader;
import java.util.List;
import java.util.Properties;
import org.apache.maven.model.Dependency;
import org.apache.maven.model.Model;
import org.apache.maven.model.io.xpp3.MavenXpp3Reader;
import com.google.common.collect.ImmutableSet;
import co... |
package org.apache.tinkerpop.gremlin.orientdb;
import com.orientechnologies.orient.core.index.OIndex;
import com.orientechnologies.orient.core.metadata.schema.OClass;
import com.orientechnologies.orient.core.metadata.schema.OType;
import com.orientechnologies.orient.core.storage.ORecordDuplicatedException;
import org.a... |
package com.box.boxjavalibv2.utils;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import org.apache.http.HttpEntity;
import com.box.boxjavalibv2.dao.BoxCollection;
import com.box.boxjavalibv2.dao.BoxResourceType;
import com.box.boxjavalibv2.dao.BoxTypedObject... |
package org.ocelotds.resolvers;
import org.ocelotds.spi.DataServiceException;
import org.ocelotds.spi.DataServiceResolver;
import org.ocelotds.spi.IDataServiceResolver;
import org.ocelotds.Constants;
import org.ocelotds.annotations.DataService;
import org.ocelotds.spi.Scope;
import java.lang.annotation.Annotation;
impo... |
package ca.mcgill.sable.soot.resources;
import org.eclipse.ui.*;
import org.eclipse.core.resources.*;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.jdt.core.*;
import org.eclipse.jface.text.ITextOperationTarget;
import org.eclipse.jface.text.source.SourceViewer;
import org.eclipse.ui.*;
import org.ecli... |
package org.openlca.ecospold2;
import java.util.ArrayList;
import java.util.List;
import org.jdom2.Document;
import org.jdom2.Element;
public class DataSet {
private Activity activity;
private List<Classification> classifications = new ArrayList<>();
private Geography geography;
private Technology techn... |
package eventBRefinementSlicer.ui.editors;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse... |
package com.newsblur.util;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import android.content.ContentProviderOperation;
import android.content.ContentValues;
import android.content.Context... |
package org.jetel.data.parser;
import java.io.IOException;
import java.io.Reader;
import java.io.Writer;
import java.net.URLEncoder;
import java.util.ArrayDeque;
import java.util.Deque;
import javax.xml.parsers.SAXParser;
import org.apache.xmlbeans.impl.common.XMLChar;
import org.codehaus.jackson.JsonFactory;
import or... |
package org.jetel.util.joinKey;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.jetel.data.Defaults;
import org.jetel.enums.OrderEnum;
import org.jetel.exception.C... |
package de.gurkenlabs.litiengine.input;
import java.awt.event.KeyEvent;
import java.awt.geom.Point2D;
import java.util.ArrayList;
import java.util.List;
import de.gurkenlabs.litiengine.Game;
import de.gurkenlabs.litiengine.IGameLoop;
import de.gurkenlabs.litiengine.entities.IMovableEntity;
import de.gurkenlabs.litiengi... |
package org.jetel.util;
import java.io.File;
import java.io.IOException;
import org.jetel.data.DataRecord;
import org.jetel.data.parser.Parser;
import org.jetel.exception.ComponentNotReadyException;
import org.jetel.exception.IParserExceptionHandler;
import org.jetel.exception.JetelException;
import org.jetel.exception... |
package dr.evomodel.continuous;
import dr.evolution.alignment.PatternList;
import dr.evolution.tree.NodeRef;
import dr.evomodel.tree.TreeModel;
import dr.inference.model.*;
import dr.math.distributions.Distribution;
import dr.util.Citable;
import dr.util.Citation;
import dr.util.CommonCitations;
import dr.xml.*;
import... |
package org.curriki.gwt.client.search.columns;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Widget;
import com.xpn.xwiki.gwt.api.client.Document;
import org.curriki.gwt.client.Constants;
impor... |
package edu.wpi.first.wpilibj.templates.commands;
import edu.wpi.first.wpilibj.Timer;
import edu.wpi.first.wpilibj.command.CommandGroup;
import edu.wpi.first.wpilibj.templates.RobotMap;
/**
*
* @author 997robotics4
*/
public class shootThenDrive extends CommandGroup {
Timer myTimer;
public shootThenDrive() {... |
import org.uwcs.choob.*;
import org.uwcs.choob.modules.*;
import org.uwcs.choob.support.*;
import org.uwcs.choob.support.events.*;
import java.util.*;
public class Test
{
public void commandSecurity( Message con, Modules mods, IRCInterface irc )
{
List<String> params = mods.util.getParams( con );
... |
package edu.wustl.xipApplication.samples;
import java.awt.Font;
import java.awt.Frame;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JFrame;
import javax.swing.JScrollPane;
import javax.swing.UIManager;
import javax.swing.UnsupportedLoo... |
// ProdukControllerTest.java
// produk-api-service
package com.agung.produk.controller;
import com.agung.produk.ProdukApiApplication;
import com.agung.produk.entity.Produk;
import com.jayway.restassured.RestAssured;
import com.jayway.restassured.http.ContentType;
import java.math.BigDecimal;
import org.hamcrest.CoreMat... |
package com.baomidou.mybatisplus.test.h2;
import java.io.IOException;
import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;
import javax.sql.DataSource;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframewor... |
package com.faforever.api.data;
import com.faforever.api.clan.ClanMembershipRepository;
import com.faforever.api.clan.ClanRepository;
import com.faforever.api.client.ClientType;
import com.faforever.api.client.OAuthClient;
import com.faforever.api.client.OAuthClientRepository;
import com.faforever.api.data.domain.Clan;... |
package com.hpcloud.mon.domain.model;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertFalse;
import static org.testng.Assert.assertTrue;
import java.util.Arrays;
import java.util.List;
import org.testng.annotations.Test;
import com.hpcloud.mon.common.model.alarm.AlarmExpression;
impo... |
package com.vmware.vim25.mo;
import com.utility.LoadVcenterProps;
import com.vmware.vim25.ws.CustomSSLTrustContextCreator;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import javax.net.ssl.SSLHandshakeException;
import javax.net.ssl.X509TrustManager;
import java.net.MalformedURLException;
im... |
package com.byte_games.snake2.engine;
import java.util.ArrayList;
import java.util.List;
import com.byte_games.snake2.engine.GraphicsHelper.Location;
import com.byte_games.snake2.engine.GraphicsHelper.Size;
//This class is used for generating and maintaining Adventure objects which are used to track the progress and da... |
package com.jcabi.w3c;
import com.jcabi.http.mock.MkAnswer;
import com.jcabi.http.mock.MkContainer;
import com.jcabi.http.mock.MkGrizzlyContainer;
import java.io.IOException;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashSet;
im... |
package com.github.javadev.undescriptive.client;
import ch.qos.logback.classic.Level;
import com.github.javadev.undescriptive.protocol.request.SolutionRequest;
import com.github.javadev.undescriptive.protocol.response.GameResponse;
import com.github.javadev.undescriptive.protocol.response.WeatherResponse;
import com.gi... |
package com.jiahaodev.ch14_coolweather.db;
import org.litepal.crud.DataSupport;
public class City extends DataSupport {
private int id;
private String cityName;
private int cityCode;
private int provinceId;
public int getId() {
return id;
}
public void setId(int id) {
this.id... |
package org.pentaho.ui.xul.components;
import org.pentaho.ui.xul.XulComponent;
public interface XulFileUpload extends XulComponent {
public String getAction();
public void setAction(String action);
public void setOnUploadSuccess(String method);
public void setOnUploadFailure(String method);
public String get... |
package org.xins.common.collections;
import java.util.ArrayList;
import java.util.Iterator;
import org.xins.common.MandatoryArgumentChecker;
/**
* Utility functions for collections.
*
* @version $Revision$ $Date$
* @author Ernst de Haan (<a href="mailto:ernst.dehaan@nl.wanadoo.com">ernst.dehaan@nl.wanadoo.com</a>)
... |
package com.randomcoder.taglibs.common;
import java.net.URL;
import java.util.*;
import junit.framework.TestCase;
import org.springframework.mock.web.MockHttpServletRequest;
public class RequestHelperTest extends TestCase
{
MockHttpServletRequest request;
@Override
public void setUp() throws Exception
{... |
package com.jigdraw.draw.service;
import android.content.Context;
import android.graphics.Bitmap;
import android.util.Log;
import com.jigdraw.draw.model.Difficulty;
import com.jigdraw.draw.model.ImageEntity;
import com.jigdraw.draw.service.impl.ImageServiceImpl;
/**
* Service to do jigsaw manipulations
*
* @author J... |
package il.ac.bgu.cs.bp.bpjs.analysis;
import il.ac.bgu.cs.bp.bpjs.analysis.bprogramio.BProgramSyncSnapshotIO;
import il.ac.bgu.cs.bp.bpjs.internal.ExecutorServiceMaker;
import il.ac.bgu.cs.bp.bpjs.model.BProgram;
import il.ac.bgu.cs.bp.bpjs.model.SingleResourceBProgram;
import org.apache.commons.csv.CSVFormat;
import ... |
package org.postgresql.util;
import org.postgresql.PGEnvironment;
import org.postgresql.PGProperty;
import org.checkerframework.checker.nullness.qual.Nullable;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.Input... |
package jenkins.plugins.git;
import com.cloudbees.plugins.credentials.*;
import com.cloudbees.plugins.credentials.common.StandardCredentials;
import com.cloudbees.plugins.credentials.domains.Domain;
import com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl;
import hudson.FilePath;
import hudson.mode... |
package lt.vilnius.tvarkau.api;
import com.facebook.stetho.okhttp3.StethoInterceptor;
import com.google.gson.FieldNamingPolicy;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonDeserializer;
import com.google.gson.JsonElement;... |
package org.apache.commons.lang.exception;
import java.io.OutputStream;
import java.io.PrintStream;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.io.Writer;
/**
* @author <a href="mailto:Rafal.Krzewski@e-point.pl">Rafal Krzewski</a>
* @author <a href="mailto:dlr@collab.net">Daniel Rall</a>
* @... |
package net.sf.farrago.test;
import java.io.*;
import java.sql.*;
import java.util.*;
import java.util.logging.*;
import java.util.regex.*;
import junit.extensions.*;
import junit.framework.*;
import net.sf.farrago.catalog.*;
import net.sf.farrago.cwm.core.*;
import net.sf.farrago.cwm.relational.*;
import net.sf.farrag... |
package me.lemire.integercompression;
import java.util.Arrays;
import java.util.Random;
import junit.framework.Assert;
import me.lemire.integercompression.synth.ClusteredDataGenerator;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Just some basic sanity tests.
*
* @author Daniel Lemire
*/
public cl... |
package liquibase.util;
import java.util.*;
import java.util.regex.Pattern;
/**
* Various utility methods for working with strings.
*/
public class StringUtils {
private static final Pattern upperCasePattern = Pattern.compile(".*[A-Z].*");
private static final Pattern lowerCasePattern = Pattern.compile(".*[a-... |
package me.pagarme.transaction;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import me.pagarme.AntifraudMetadataPojo;
import me.pagarme.BaseTest;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import com.google.gson.JsonObject;
import... |
/*
* Cliente de chat IRC-style
* Trabajo grupal de Computadores
*
* Clase UserOut
*
* Autores:
* - Lucas Alvarez
* - Oscar de Arriba
* - Estefania Gonzalez
*/
package es.uniovi.UO217138;
import java.util.StringTokenizer;
/*
* Clase UserOut
*
* Se encarga de procesar las respuestas almacenadas en
* el b... |
package octoteam.tahiti.performance;
import otcoteam.tahiti.performance.recorder.CountingRecorder;
import otcoteam.tahiti.performance.reporter.LogReporter;
import otcoteam.tahiti.performance.reporter.RollingFileReporter;
import org.junit.Test;
import static org.junit.Assert.*;
public class CountingRecorderTest {
pu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.