answer stringlengths 17 10.2M |
|---|
package com.exedio.copernica;
import java.io.IOException;
import java.io.PrintStream;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import javax.servlet.ServletConfig;
import javax.servlet.http.HttpServletRequest;
import com.exedio.cope.Feature;
import com.e... |
package io.live4.apiclient.internal;
import java.io.IOException;
import java.io.InputStream;
import java.util.concurrent.atomic.AtomicBoolean;
import com.squareup.okhttp.Call;
import com.squareup.okhttp.Callback;
import com.squareup.okhttp.OkHttpClient;
import com.squareup.okhttp.Request;
import com.squareup.okhttp.Res... |
package io.rtr.conduit.amqp.impl;
import com.rabbitmq.client.AlreadyClosedException;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.MetricsCollector;
import com.rabbitmq.client.ShutdownListener;
import com.rabbitmq.client.ShutdownSignalException;
import io.rtr.conduit.amqp.AMQPConsumerCallback;
import i... |
package com.diti.helpthefallingpeople.screens;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.scenes.scene2d.Actor;
import com.badlogic.gdx.scenes.scene2d.InputEvent;
import com.badlo... |
package net.larry1123.util.api.time;
import org.apache.commons.lang3.time.DateUtils;
public class StringTime {
public static enum Part {
DAYS("D"),
HOUR("H"),
MINUTES("M"),
SECONDS("S");
private final String ths;
Part(String shortn) {
ths = shortn;
... |
package com.github.lothar.security.acl;
@FunctionalInterface
public interface AclStrategy {
<Filter> Filter filterFor(AclFeature<Filter> feature);
} |
package net.onrc.onos.core.newintent;
import com.hazelcast.core.EntryEvent;
import com.hazelcast.core.EntryListener;
import com.hazelcast.core.IMap;
import net.onrc.onos.api.newintent.IntentId;
import net.onrc.onos.core.datagrid.ISharedCollectionsService;
import net.onrc.onos.core.util.serializers.KryoFactory;
import o... |
package net.openhft.chronicle.bytes;
import net.openhft.chronicle.core.ReferenceCounted;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.nio.BufferUnderflowException;
import java.nio.ByteBuffer;
import java.nio.charset.StandardCharsets;
import static java.lang.Math.min;
... |
package nl.hsac.fitnesse.fixture.slim;
import freemarker.template.Template;
import nl.hsac.fitnesse.fixture.util.HttpResponse;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
/**
* Fixture to make HTTP requests using ... |
package net.mgsx.game.examples.platformer.core;
import com.badlogic.ashley.core.Engine;
import com.badlogic.ashley.core.Entity;
import com.badlogic.gdx.math.MathUtils;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.math.collision.BoundingBox;
import com.badlogic.gdx.physics.box2d.Contact;
import com.badl... |
package org.genericsystem.ir;
import java.nio.file.Paths;
import org.genericsystem.common.Root;
import org.genericsystem.cv.comparator.FillModelWithData;
import io.vertx.core.AsyncResult;
import io.vertx.core.Future;
import io.vertx.core.json.JsonObject;
/**
* The OcrParametersVerticle computes the OCR parameters and ... |
package oe.maven.plugins.revision;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
i... |
package FooPackage;
import org.jsoup.Jsoup;
import org.jsoup.helper.StringUtil;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import java.io.*;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.ArrayList;
import j... |
package org.limeprotocol.testHelpers;
import com.google.common.collect.Iterators;
import org.limeprotocol.Envelope;
import org.limeprotocol.network.TransportBase;
import java.io.IOException;
import java.net.URI;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
publ... |
package org.realityforge.arez.api2;
import java.util.ArrayList;
import org.realityforge.guiceyloops.shared.ValueUtil;
import org.testng.annotations.Test;
import static org.testng.Assert.*;
public class TransactionTest
extends AbstractArezTest
{
@Test
public void construction()
{
final ArezContext context = ... |
package imagej.updater.core;
import imagej.updater.core.FileObject.Action;
import imagej.updater.core.FileObject.Status;
import imagej.updater.util.Downloadable;
import imagej.updater.util.Downloader;
import imagej.updater.util.Progress;
import imagej.updater.util.UpdaterUserInterface;
import imagej.updater.util.Util;
... |
package org.blockjam.core.bungee;
import static com.google.common.base.Preconditions.checkNotNull;
import org.blockjam.core.BlockJamCorePlugin;
import org.spongepowered.api.Platform;
import org.spongepowered.api.Sponge;
import org.spongepowered.api.entity.living.player.Player;
import org.spongepowered.api.network.Chann... |
package org.grobid.core.engines;
import nu.xom.Attribute;
import nu.xom.Element;
import org.apache.commons.io.FileUtils;
import org.grobid.core.GrobidModels;
import org.grobid.core.analyzers.QuantityAnalyzer;
import org.grobid.core.data.Measurement;
import org.grobid.core.data.Quantity;
import org.grobid.core.data.Unit... |
package org.inspirenxe.timewarp.world;
import com.google.common.reflect.TypeToken;
import ninja.leaping.configurate.objectmapping.ObjectMappingException;
import org.inspirenxe.timewarp.TimeWarp;
import org.inspirenxe.timewarp.daypart.DayPart;
import org.inspirenxe.timewarp.daypart.DayPartType;
import org.spongepowered.... |
package org.intellimate.server.data;
import com.google.common.io.ByteStreams;
import org.intellimate.server.BadRequestException;
import org.intellimate.server.InternalServerErrorException;
import java.io.*;
/**
* Saves the files on the localFile-System
* @author LeanderK
* @version 1.0
*/
public class LocalFiles im... |
package org.jboss.netty.handler.ssl;
import static org.jboss.netty.channel.Channels.*;
import java.nio.ByteBuffer;
import java.nio.channels.ClosedChannelException;
import java.util.LinkedList;
import java.util.Queue;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.Executor;
import java.ut... |
package org.jboss.util.xml;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.Collections;
import java... |
package org.jtrfp.trcl;
import java.util.Comparator;
import java.util.List;
import java.util.TreeSet;
import org.jtrfp.trcl.math.Vect3D;
import org.jtrfp.trcl.obj.PositionedRenderable;
import org.jtrfp.trcl.obj.RelevantEverywhere;
public class GridCubeProximitySorter extends AbstractSubmitter<List<PositionedRenderable>... |
package org.komamitsu.fluency.sender;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.SocketTimeoutException;
import java.nio.ByteBuffer;
import java.nio.channels.SocketChannel;
import java.nio.charset.Charset;
import java.util.Arra... |
package org.lazan.t5.stitch.components;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.StringReader;
import javax.inject.Inject;
import javax.xml.transform.Result;
import javax.xml.transform.Source;
import javax.xml.trans... |
package org.lightmare.jpa.jta;
import java.io.IOException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collection;
import javax.ejb.EJBException;
import javax.ejb.TransactionAttribute;
import javax.ejb.TransactionAttributeType;
import javax.ejb.TransactionManagementType;
import javax.p... |
package org.mybatis.jpetstore.domain;
import java.io.Serializable;
import java.math.BigDecimal;
public class Calculate implements Serializable {
public void hello()
{
System.out.println("JPET Store Application");
System.out.println("Class name: Calculate.java");
System.out.println("Hello World");
System.out.println("Ma... |
package com.hazelcast.cluster;
import com.hazelcast.config.Config;
import com.hazelcast.core.Hazelcast;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.instance.GroupProperty;
import com.hazelcast.test.HazelcastTestSupport;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.as... |
package org.mybatis.jpetstore.domain;
import java.io.Serializable;
import java.math.BigDecimal;
public class Calculate implements Serializable {
public void hello()
{
System.out.println("JPET Store Application");
System.out.println("Class name: Calculate.java");
System.out.println("Hello World");
System.out.println("Ma... |
package org.realityforge.getopt4j;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
/**
* Parser for command line arguments.
* <p/>
* This parses command lines according to the standard (?) of
* GNU utilities. Note that CLArgs uses a backing hash table fo... |
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// sell copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// all copies or substantial... |
package org.takes.facets.auth.social;
import com.jcabi.http.request.JdkRequest;
import com.jcabi.http.response.JsonResponse;
import com.jcabi.http.response.RestResponse;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URI;
import java.util.concurrent.ConcurrentHashMap;
import java.util.co... |
package pixlepix.auracascade.main;
import baubles.api.BaublesApi;
import baubles.api.IBauble;
import cpw.mods.fml.common.eventhandler.Event;
import cpw.mods.fml.common.eventhandler.EventPriority;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import net.minecraft.entity.Entity;
import net.minecraft.entity.item... |
package pl.domzal.junit.docker.rule;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
import org.apache.commons.lang.StringUtils;
import org.apache.log4j.Level;
import org.junit.Rule;
im... |
package pro.beam.api.resource.tetris;
import java.net.URI;
public class RobotInfo {
public URI address;
public String key;
} |
package py.una.pol.karaku.reports;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import javax.faces.context.FacesContext;
import javax.servlet.http.HttpServletResponse;
import net.sf.dynamicreports.report.datasource.DRDataSource;
import net.sf.jasperreports.engine.JRDataSource;
import net.sf.... |
package rx.javafx.sources;
import javafx.collections.ListChangeListener;
import javafx.collections.ObservableList;
import rx.Observable;
import rx.functions.Func1;
import rx.schedulers.JavaFxScheduler;
import rx.subscriptions.JavaFxSubscriptions;
import java.util.HashMap;
public final class ObservableListSource {
p... |
package seedu.tasklist.commons.core;
import java.io.IOException;
import java.util.logging.ConsoleHandler;
import java.util.logging.FileHandler;
import java.util.logging.Handler;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.logging.SimpleFormatter;
import seedu.tasklist.commons.event... |
package su.litvak.chromecast.api.v2;
import javax.jmdns.JmDNS;
import javax.jmdns.ServiceInfo;
import java.io.IOException;
import java.security.GeneralSecurityException;
public class ChromeCast {
public final static String SERVICE_TYPE = "_googlecast._tcp.local.";
private String name;
private final String a... |
package tigase.cluster;
import tigase.cluster.api.ClusterControllerIfc;
import tigase.cluster.api.ClusteredComponentIfc;
import tigase.cluster.api.SessionManagerClusteredIfc;
import tigase.cluster.strategy.ClusteringStrategyIfc;
import tigase.server.ComponentInfo;
import tigase.server.Message;
import tigase.server.Pack... |
package wepa.wepa.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
import org.springframework.http.HttpMethod;
import org.springfr... |
package net.coobird.thumbnailator.tasks.io;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.util.Iterator;
import javax.imageio.IIOImage;
import javax.imageio.ImageIO;
import javax.imageio.ImageWriteParam;
import javax.imageio.ImageWriter;
import javax.imageio.stream.Im... |
package net.littlebigisland.droidibus;
/**
* IBusService
* Communicate with the IBus using the IOIO
* All Read/Writes are done here but message parsing and callbacks
* are handled via the IBusMessenger class
*
* @author Ted S <tass2001@gmail.com>
* @package net.littlebigisland.droidibus.IBusService
*
*/
import... |
package net.x4a42.volksempfaenger.ui;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import net.x4a42.volksempfaenger.Log;
import net.x4a42.volksempfaenger.PreferenceKeys;
import net.x4a42.volksempfaenger.R;
import net.x4a42.volksempfaenger.Utils;
import net.x4a42.volksempfaenger.Volksempfaenge... |
package org.anddev.andengine.opengl.texture;
import org.anddev.andengine.opengl.texture.buffer.TextureBuffer;
import org.anddev.andengine.opengl.texture.buffer.TiledTextureBuffer;
import org.anddev.andengine.opengl.texture.source.ITextureSource;
/**
* @author Nicolas Gramlich
* @since 18:14:42 - 09.03.2010
*/
public... |
package org.apache.qpid.contrib.json;
import java.io.IOException;
import org.apache.commons.configuration2.Configuration;
import org.apache.commons.configuration2.FileBasedConfiguration;
import org.apache.commons.configuration2.PropertiesConfiguration;
import org.apache.commons.configuration2.builder.FileBasedConfigura... |
package org.biojava.bio.symbol;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import org.biojava.bio.BioError;
import org.biojava.utils.AbstractChangeable;
import org.biojava.utils.ChangeEvent;
import org.biojava.utils.ChangeList... |
package org.dedunumax.xmongodbprofiler.ui;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.IOException;
import java.net.UnknownHostException;
import java.sql.Timestamp;
import java.util.Date;
import java.util.List;
import javax.swing.JButton;
import javax.swing.JFrame;
import jav... |
package org.kwstudios.play.ragemode.gameLogic;
import java.util.Arrays;
import java.util.Random;
import java.util.UUID;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Location;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.entity.Player;
import org.kwstudios.play.ra... |
package org.pentaho.di.job.entries.getpop;
import static org.pentaho.di.job.entry.validator.AbstractFileValidator.putVariableSpace;
import static org.pentaho.di.job.entry.validator.AndValidator.putValidators;
import static org.pentaho.di.job.entry.validator.JobEntryValidatorUtils.andValidator;
import static org.pentaho... |
package org.pentaho.di.trans.steps.denormaliser;
import org.pentaho.di.i18n.BaseMessages;
public class Messages
{
public static final String packageName = Messages.class.getPackage().getName();
public static String getString(String key)
{
return BaseMessages.getString(packageName, key);
}
pu... |
// This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth.assertThat;
import static com.google.common.truth.TruthJUnit.assume;
import static org.sosy_lab.java_smt.api.FormulaType.StringType;
import com.google.commo... |
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// Java from RobotBuilder. Do not put any code or make any change in
// the blocks indicating autogenerated code o... |
package pl.grzegorz2047.survivalcg.managers;
import com.zaxxer.hikari.HikariDataSource;
import pl.grzegorz2047.survivalcg.SCG;
import pl.grzegorz2047.survivalcg.mysql.*;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
public class MysqlManager {
private final SCG plugin;
... |
package se.chalmers.watchme.activity;
import org.json.JSONArray;
import org.json.JSONObject;
import se.chalmers.watchme.R;
import se.chalmers.watchme.model.Movie;
import se.chalmers.watchme.net.MovieSource;
import android.content.Context;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.... |
package soot.jimple.toolkits.invoke;
import soot.*;
import soot.jimple.*;
import java.util.*;
/** Methods for checking safety requirements for inlining. */
public class InlinerSafetyManager
{
// true if safe to inline
public static boolean checkSpecialInlineRestrictions(SootMethod container, SootMethod target, ... |
package storm2014.commands.autonomous;
import edu.wpi.first.wpilibj.command.Command;
import edu.wpi.first.wpilibj.command.CommandGroup;
import edu.wpi.first.wpilibj.command.PrintCommand;
import edu.wpi.first.wpilibj.command.WaitCommand;
import storm2014.Robot;
import storm2014.commands.DriveForward;
import storm2014.co... |
package swift.application.filesystem.fuse;
import java.io.File;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.util.Collection;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import swift.application.filesystem.Filesystem;
import swi... |
package br.eti.rslemos.bitsmagic;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.experimental.runners.Enclosed;
import org.junit.runner.RunWith;
import br.eti.rslemos... |
package com.cloudant.tests;
import static org.junit.Assert.assertNotNull;
import java.util.List;
import java.util.Properties;
import junit.framework.Assert;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Te... |
package com.redhat.victims;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.HashSet;
import org.apache.commons.io.FileUtils;
import org.junit.AfterClass;
import org.junit.BeforeClass... |
package org.dita.dost.reader;
import static org.custommonkey.xmlunit.XMLAssert.assertXMLEqual;
import java.io.File;
import java.io.IOException;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.Tra... |
package org.redisson;
import static org.assertj.core.api.Assertions.assertThat;
import java.io.IOException;
import java.util.concurrent.*;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicInteger;
import org.junit.Assert;
import org.junit.Test;
import org.redisson.remote.Remote... |
package tv.floe.metronome.math;
import static org.junit.Assert.*;
import org.apache.commons.math3.random.MersenneTwister;
import org.apache.commons.math3.random.RandomGenerator;
import org.apache.mahout.math.DenseMatrix;
import org.apache.mahout.math.Matrix;
import org.junit.Test;
//import tv.floe.ml_workbench.jblas.Ma... |
package model;
import model.formulas.Formula;
import model.rules.Rule;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.prefs.Preferences;
import static java.util.prefs.Preferences.userRoot;
public class Proof implements Serializable {
private ArrayList<ProofListener> listeners = new ArrayL... |
package ar.app.components.sequentialComposer;
import java.awt.Color;
import ar.Aggregator;
import ar.rules.CategoricalCounts;
import ar.rules.Categories;
import ar.rules.General;
import ar.rules.Numbers;
import ar.util.Util;
public final class OptionAggregator<G,A> {
private final Aggregator<G,A> agg;
private f... |
package javaslang.collection.euler;
import javaslang.collection.CharSeq;
import javaslang.collection.List;
import javaslang.collection.Seq;
import org.junit.Test;
import static org.assertj.core.api.Assertions.assertThat;
public class Euler43Test {
@Test
public void shouldSolveProblem43() {
final Seq<Lon... |
package org.eclipse.jetty.client;
import java.io.IOException;
import java.io.InputStream;
import java.net.UnknownHostException;
import java.util.Enumeration;
import java.util.LinkedList;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import javax.net.ssl.... |
package com.intuit.karate.core;
import com.intuit.karate.FileUtils;
import com.intuit.karate.JsonUtils;
import com.intuit.karate.Results;
import com.intuit.karate.ScriptValueMap;
import com.intuit.karate.StringUtils;
import com.intuit.karate.exception.KarateException;
import java.util.ArrayList;
import java.util.Collec... |
package cn.hadcn.keyboard.view;
import static cn.hadcn.keyboard.utils.Utils.getDisplayHeightPixels;
import android.app.Activity;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Rect;
import android.util.AttributeSet;
import android.util.DisplayMetrics;
import android.view.V... |
package henfredemars;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.util.Calendar;
import java.util.List;
import java.util.zip.GZ... |
/*
* $Log: LogUtil.java,v $
* Revision 1.3 2007-08-29 15:13:04 europe\L190409
* enables use of log4j4ibis.properties
*
* Revision 1.2 2007/02/12 15:56:27 Gerrit van Brakel <gerrit.van.brakel@ibissource.org>
* configure logging hierarchy from log4j.properties
*
* Revision 1.1 2007/02/12 14:10:36 Gerrit van... |
package com.parc.ccn.data.security;
import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.Key;
import java.security.NoSuchAlgorithmException;
import java.security.PublicKey;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import javax.crypto.Cipher;
import j... |
import java.util.Arrays;
import java.util.Collections;
import java.util.Date;
import java.util.List;
class Resample{
//in small tests this method has matched python scipy.interpolate.interp1d
public static final void interpLinear(
List<Long> time, //time in milliseconds
List<Double> x,
... |
package org.deri.any23.extractor.html;
import java.io.IOException;
import org.deri.any23.extractor.ExtractionContext;
import org.deri.any23.extractor.ExtractionException;
import org.deri.any23.extractor.ExtractionResult;
import org.deri.any23.extractor.ExtractorDescription;
import org.deri.any23.extractor.Extractor.Tag... |
package com.novoda.downloadmanager.lib;
import android.content.ContentResolver;
import android.net.Uri;
import org.junit.Before;
import org.junit.Test;
import org.mockito.ArgumentCaptor;
import org.mockito.Captor;
import org.mockito.Mock;
import static org.fest.assertions.api.Assertions.assertThat;
import static org.mo... |
package org.aksw.limes.core.gui.view;
import java.io.File;
import java.io.PrintWriter;
import java.io.StringWriter;
import javafx.geometry.Orientation;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Alert;
import javafx.scene.control.Alert.AlertType;
import javafx.scene.control.Butto... |
package roart.aggregator.impl;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.concurrent.Cal... |
package roart.aggregator.impl;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.concurrent.Callable;
import java.util.concu... |
package libshapedraw;
import java.util.Collections;
import java.util.LinkedHashSet;
import java.util.Set;
import libshapedraw.event.LSDEventListener;
import libshapedraw.internal.LSDController;
import libshapedraw.internal.LSDInternalException;
import libshapedraw.shape.Shape;
/**
* Main entry point for the LibShapeDr... |
package me.stefvanschie.buildinggame.utils.guis.buildmenu;
import java.util.ArrayList;
import java.util.List;
import me.stefvanschie.buildinggame.managers.files.SettingsManager;
import org.bukkit.Bukkit;
import org.bukkit.Material;
import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.entity.Player;... |
package motocitizen.app.mc;
import android.app.Activity;
import android.location.Location;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
import com.google.android.gms.maps.CameraUpda... |
package org.gufroan.wearwolf;
import android.app.IntentService;
import android.content.Intent;
import android.os.Environment;
import android.os.IBinder;
import android.support.v4.content.LocalBroadcastManager;
import org.gufroan.wearwolf.data.pojo.ResponseRoot;
import org.gufroan.wearwolf.data.pojo.Result;
import org.g... |
package plugin.google.maps;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.PointF;
import android.graphics.Rec... |
package ua.kiev.icyb.bio.alg.mixture;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Future;
import ua.... |
package sample;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Random;
public class Game {
private static int isComputerOn = 0;
/** Degerler soyle:
* ... |
package com.liulishuo.filedownloader.demo;
public interface Constant {
String[] CHUNKED_TRANSFER_ENCODING_DATA_URLS = {
"http:
};
String LIULISHUO_APK_URL = "http://cdn.llsapp.com/android/LLS-v3.6.2-584-20160808-111006.apk";
String LIULISHUO_CONTENT_DISPOSITION_FILENAME = "LLS-v3.6.2-584-201... |
package com.jaquadro.minecraft.storagedrawers.block.tile;
import com.jaquadro.minecraft.storagedrawers.StorageDrawers;
import com.jaquadro.minecraft.storagedrawers.api.inventory.IDrawerInventory;
import com.jaquadro.minecraft.storagedrawers.api.storage.IDrawer;
import com.jaquadro.minecraft.storagedrawers.api.storage.I... |
package de.espend.idea.shopware.reference;
import com.intellij.codeInsight.lookup.LookupElement;
import com.intellij.codeInsight.lookup.LookupElementBuilder;
import com.intellij.openapi.project.Project;
import com.intellij.patterns.PlatformPatterns;
import com.intellij.psi.*;
import com.intellij.psi.util.PsiElementFilt... |
package experimentalcode.students.reichertl.hopkinsStatistic;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.Random;
import de.lmu.ifi.dbs.elki.algorithm.AbstractPrimitiveDistanceBasedAlgorithm;
import de.lmu.ifi.dbs.elki.data.NumberVector;
im... |
import org.rstudio.core.client.widget.ProgressOperationWithInput;
import org.rstudio.core.client.widget.Wizard;
import org.rstudio.core.client.widget.WizardPage;
import org.rstudio.studio.client.rsconnect.model.RSConnectPublishInput;
import org.rstudio.studio.client.rsconnect.model.RSConnectPublishResult;
public class ... |
package org.rstudio.studio.client.workbench.views.source;
import com.google.gwt.core.client.GWT;
import com.google.gwt.core.client.Scheduler;
import com.google.gwt.core.client.Scheduler.ScheduledCommand;
import com.google.gwt.event.logical.shared.CloseEvent;
import com.google.gwt.event.logical.shared.CloseHandler;
impo... |
package com.censoredsoftware.Demigods.Engine.Object.Ability;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import org.apache.commons.lang.StringUtils;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Location;
import org.bukkit.World;
import org.bukkit.entity.Entity... |
package com.censoredsoftware.Demigods.Engine.Object.Ability;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import java.util.Set;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Location;
import org.bukkit.World;
import org.bukkit.block.Block;
import org.bukkit.enti... |
package com.eaglesakura.android.bluetooth.p2p;
import com.eaglesakura.io.data.DataPackage;
import com.eaglesakura.util.Util;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothSocket;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.UUID;
/**
* P2P... |
package org.team2471.frc.robot;
import edu.wpi.first.wpilibj.CANTalon;
import edu.wpi.first.wpilibj.IterativeRobot;
import edu.wpi.first.wpilibj.command.Scheduler;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import org.team2471.frc.robot.subsystems.Shooter;
// Robots are cool!
public class Robot extends... |
package org.displaytag.tags;
import org.apache.cactus.WebResponse;
import org.apache.cactus.extension.jsp.JspTagLifecycle;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.displaytag.sample.TestList;
/**
* Test for CaptionTag.
* @author fgiust
* @version $Revision$ ($Au... |
package com.ferreusveritas.dynamictrees.models;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.function.Function;
import org.lwjgl.util.vector.Vector3f;
import com.ferreusveritas.dynamictrees.blocks.BlockBranch;
import com.ferreusveritas.dynamictrees.util.MathHelper;
import c... |
package com.raoulvdberge.refinedstorage.render.model;
import com.google.common.collect.ImmutableList;
import net.minecraft.block.BlockState;
import net.minecraft.client.renderer.TransformationMatrix;
import net.minecraft.client.renderer.Vector3f;
import net.minecraft.client.renderer.model.BakedQuad;
import net.minecraf... |
package de.domisum.exziff.island.heightmap;
import de.domisum.exziff.map.HeightMap;
import de.domisum.exziff.map.ShapeMap;
import de.domisum.layeredopensimplexnoise.LayeredOpenSimplexNoise;
import de.domisum.layeredopensimplexnoise.OctavedOpenSimplexNoise;
public class IslandHeightMapGenerator
{
// SETTINGS
pri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.