answer stringlengths 17 10.2M |
|---|
package com.matt.forgehax.mods;
import static com.matt.forgehax.Helper.getFileManager;
import static com.matt.forgehax.Helper.getLocalPlayer;
import com.google.common.collect.Lists;
import com.matt.forgehax.Helper;
import com.matt.forgehax.util.SafeConverter;
import com.matt.forgehax.util.command.Setting;
import com.ma... |
package com.yahoo.container.core.config;
import com.yahoo.config.FileReference;
import com.yahoo.container.Container;
import com.yahoo.filedistribution.fileacquirer.FileAcquirer;
import com.yahoo.osgi.Osgi;
import org.osgi.framework.Bundle;
import org.osgi.framework.wiring.BundleRevision;
import java.util.ArrayList;
im... |
package org.springsource.ide.eclipse.commons.livexp.ui;
import static org.springsource.ide.eclipse.commons.livexp.ui.UIConstants.FIELD_TEXT_AREA_WIDTH;
import java.util.Collection;
import java.util.Objects;
import org.eclipse.core.runtime.Assert;
import org.eclipse.core.runtime.Platform;
import org.eclipse.jface.layout... |
package flyway.oskari;
import fi.nls.oskari.domain.map.view.Bundle;
import fi.nls.oskari.domain.map.view.View;
import fi.nls.oskari.log.LogFactory;
import fi.nls.oskari.log.Logger;
import fi.nls.oskari.map.view.*;
import fi.nls.oskari.map.view.util.ViewHelper;
import fi.nls.oskari.util.ConversionHelper;
import fi.nls.o... |
package com.opengamma.engine.view.client.merging;
import static org.mockito.Mockito.mock;
import static org.testng.AssertJUnit.assertEquals;
import static org.testng.AssertJUnit.assertTrue;
import java.util.HashSet;
import java.util.Set;
import java.util.Timer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
i... |
package com.smargav.api.net;
import com.smargav.api.logger.AppLogger;
import com.squareup.okhttp.Authenticator;
import com.squareup.okhttp.Credentials;
import com.squareup.okhttp.FormEncodingBuilder;
import com.squareup.okhttp.Interceptor;
import com.squareup.okhttp.MediaType;
import com.squareup.okhttp.OkHttpClient;
i... |
package com.valkryst.VTerminal.misc;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
public class IntRangeTest {
private IntRange range;
@Before
public void initializeRange() {
range = new IntRange(1, 200);
}
@Test
public void testConstructor() {
final In... |
package org.eclipse.birt.core.script;
import junit.framework.TestCase;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.Scriptable;
import org.mozilla.javascript.ScriptableObject;
public class NativeFinanceTest extends TestCase
{
/**
* Create a Context instance
*/
Context cx;
/... |
package org.csstudio.platform.security;
import java.util.ArrayList;
import java.util.List;
import org.csstudio.platform.internal.rightsmanagement.RightsManagementService;
import org.csstudio.platform.internal.usermanagement.IUserManagementListener;
import org.csstudio.platform.internal.usermanagement.LoginContext;
impo... |
package dev.kkorolyov.simpleprops;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.io.IOException;
import org.junit.After;
import org.junit.BeforeClass;
import org.junit.Test;
@SuppressWarnings("javadoc"... |
package curtis.Cobbleworks;
import java.io.File;
import curtis.Cobbleworks.module.cobblegen.BlockCobbleGen;
import curtis.Cobbleworks.module.cobblegen.GuiProxy;
import curtis.Cobbleworks.module.cobblegen.upgrades.CobbleUpgrade;
import curtis.Cobbleworks.module.magic.AncientStaff;
import curtis.Cobbleworks.module.magic.... |
package cz.jcu.uai.javapract;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
public class TimeTable {
private HashMap<Integer, HashMap<String,Subject>> content;
public TimeTable(Date date , List<Subject> listSubject) {
// TODO Auto-generated constructor stub
this.content... |
package de.alpharogroup.lang;
/**
* The enum {@link ClassType} defines the types a class can have.
*/
public enum ClassType {
ANNOTATION,
ANONYMOUS,
ARRAY,
COLLECTION,
ENUM,
INTERFACE,
LOCAL,
MAP,
MEMBER,
PRIMITIVE,
SYNTHETIC;
} |
package de.braintags.netrelay;
import java.util.List;
import de.braintags.io.vertx.pojomapper.IDataStore;
import de.braintags.io.vertx.pojomapper.init.IDataStoreInit;
import de.braintags.io.vertx.pojomapper.mapping.IMapperFactory;
import de.braintags.io.vertx.pojomapper.mongo.init.MongoDataStoreInit;
import de.braintag... |
package de.gymnew.sudoku.gui;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import javax.swing.JFrame;
import javax.swing.JMenuBar;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import de.gymnew.sudoku.core.Solv... |
package gl8080.lifegame.logic;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import gl8080.lifegame.logic.exception.IllegalParameterException;
/**
*
* <p>
* <br>
* {@link Position#equals(Object) equals()}
* {@code... |
package com.natepaulus.dailyemail.web.service.impl;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import com.luckycatlabs.sunrisesunset.SunriseSunsetCalculator;
import com.luckycatlabs.sunrisesunset.dto.Location;
import com.na... |
package org.inceptus.debug;
import edu.wpi.first.wpilibj.DriverStationLCD;
import edu.wpi.first.wpilibj.Timer;
import edu.wpi.first.wpilibj.image.ColorImage;
import edu.wpi.first.wpilibj.image.NIVisionException;
/**
*
* @author innoying
*/
public class Debug {
//Print an error without a message
public static... |
package hackerrank;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.PriorityQueue;
import java.util.Scanner;
import java.util.Set;
public class PrimsSpecialSubtree {
private static int mst(Map<Integer, List<Edge>> adjList,... |
package org.mapyrus;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.Shape;
import java.awt.Stroke;
import java.awt.font.FontRenderContext;
import java.awt.font.GlyphVector;
import java.awt.geom.AffineTransform;
import... |
package jp.dip.oyasirazu.artags;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.FileVisitResult;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.SimpleFileVisitor;
import java.nio.file.attribute.BasicFileAttributes;
import java.u... |
package instructions;
public class AThrow {
public static void main(String[] args) {
try {
throw new RuntimeException("**RE!");
} catch (RuntimeException e) {
System.out.println(e.getMessage());
}
// RuntimeException e = new RuntimeException();
// System... |
package lemming.context.inbound;
import lemming.context.Context;
import java.io.Serializable;
/**
* A triple of context, inbound context, and the distance between them.
*/
public class Triple implements Serializable {
/**
* Context.
*/
private Context context;
/**
* Context index.
*/
... |
package ncku.hpds.hadoop.fedhdfs.shell;
import java.io.ObjectInputStream;
import java.net.InetSocketAddress;
import java.net.Socket;
import java.net.URI;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.Iterator;
import java.util.Set;
import org.apache.hadoop.fs.FileStatus;
import org.apac... |
package org.redkale.util;
public final class Redkale {
private Redkale() {
}
public static String getDotedVersion() {
return "1.8.8";
}
public static int getMajorVersion() {
return 1;
}
public static int getMinorVersion() {
return 8;
}
} |
package org.xwiki.tool.xar;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.lang3.StringUtils;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
/**
* Perform various verifications of the XAR files in this proje... |
package org.jboss.as.domain.management.parsing;
import static javax.xml.stream.XMLStreamConstants.END_ELEMENT;
import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ACCESS;
import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ADD;
import static org.jboss.as.controller.desc... |
package me.atrox.haikunator;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Random;
public class Haikunator {
private Random rnd = new Random();
private String[] ADJECTIVES = {
"autumn", "hidden", "bitter", "misty", "silent", "empty", "dry", "dark",
... |
package com.xpn.xwiki.internal.render;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpSession;
import org.junit.... |
package org.hibernate.validator.internal.engine;
import java.io.Serializable;
import java.lang.annotation.ElementType;
import java.util.Map;
import javax.validation.ConstraintViolation;
import javax.validation.Path;
import javax.validation.metadata.ConstraintDescriptor;
import org.hibernate.validator.engine.HibernateCo... |
package me.xuender.unidecode;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
public final class Unidecode {
/**
* Array to cache already loaded maps.
*/
private static final String[][] cache = new String[256][];
/**
* T... |
package org.neo4j.cluster.protocol.election;
import static org.neo4j.helpers.collection.Iterables.filter;
import static org.neo4j.helpers.collection.Iterables.map;
import java.net.URI;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;... |
package net.pelleau.swagger;
import java.io.IOException;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.HashMap;
import java.util.Map;
import io.swagger.models.Swagger;
import io.swagger.parser.SwaggerParser;
public class SwagTester {
private Swagger swagger;
private Map<Str... |
package org.voltdb;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputS... |
package nl.tudelft.jpacman.board;
import org.checkerframework.checker.initialization.qual.UnderInitialization;
/**
* A top-down view of a matrix of {@link Square}s.
*
* @author Jeroen Roosen
*/
public class Board {
/**
* The grid of squares with board[x][y] being the square at column x, row y.
*/
... |
package org.jgroups.tests;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.jgroups.*;
import org.jgroups.stack.IpAddress;
import org.jgroups.util.Util;
import java.util.*;
/**
* Test the multiplexer functionality provided by JChannelFactory
* @author Bela Ban... |
package org.arabellan.ui;
public class WidgetFactory {
public Label createLabel(String text) {
return Label.builder()
.text(text)
.shape(createShape(text))
.build();
}
private int[][] createShape(String text) {
// TODO: Build the shape from the... |
package org.jgroups.tests;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.jgroups.*;
import org.jgroups.mux.MuxChannel;
import org.jgroups.stack.IpAddress;
import org.jgroups.stack.ProtocolStack;
import org.jgroups.stack.Protocol;
import org.jgroups.util.Util;... |
package cgeo.geocaching.test;
import cgeo.geocaching.Settings;
import org.apache.commons.lang3.StringUtils;
import android.test.AndroidTestCase;
import android.util.Log;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
/**
* This test is meant for performance measurements of... |
package org.jruby.rack;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.jruby.rack.... |
package org.lantern;
import java.io.IOException;
import java.lang.management.ManagementFactory;
import java.net.InetSocketAddress;
import java.net.Socket;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
impo... |
package org.jgrapht.alg;
import java.util.*;
import junit.framework.*;
import org.jgrapht.*;
/**
* @author Guillaume Boulmier
* @since July 5, 2007
*/
@SuppressWarnings("unchecked")
public class KShortestPathCostTest
extends TestCase
{
public void testKShortestPathCompleteGraph4()
{
int nbPaths =... |
package org.lightmare.jndi;
import java.io.IOException;
import java.util.Properties;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.naming.spi.InitialContextFactor... |
package org.myrobotlab.service;
import java.io.File;
import java.io.IOException;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Locale;
import java.util.Set;
import java.util.TreeSet;
import org.apache.commons.io.FilenameUtils;
import org.myrobotlab.framework.Service;
... |
package pipe.actions.file;
import pipe.controllers.PipeApplicationController;
import pipe.gui.ApplicationSettings;
import pipe.views.PipeApplicationView;
import java.awt.event.ActionEvent;
public class CreateAction extends FileAction {
public CreateAction() {
super("New", "Create a new Petri net", "ctrl N")... |
package programminglife.utility;
import com.google.common.base.Charsets;
import javafx.application.Platform;
import javafx.scene.control.Alert;
import javafx.scene.control.ButtonType;
import org.jetbrains.annotations.NotNull;
import java.io.IOException;
import java.net.URL;
import java.util.Optional;
/**
* A class whi... |
package sklearn_pandas;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import com.google.common.collect.Iterables;
import org.dmg.pmml.DataDictionary;
import org.dmg.pmml.DataField;
import org.dmg.pmml.DataType;
import org.dmg.pmm... |
package org.codehaus.groovy.ast;
import groovy.lang.CompilerConfig;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
/**
* Represents the entire contents of a compilation step which consists of one
* or more {@link ModuleNode}instances
*
*... |
import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.net.BindException;
import java.net.ServerSocket;
import java.net.Socket;
import java.net.UnknownHostException;
import ja... |
public class Sudoku {
public static void main (String[] args ) {
Board.SIZE = Integer.parseInt(args[0]);
Board board = new Board();
// board.setNumber(0, 0, 1);
// board.setConst(0, 0, true);
// board.setNumber(5, 0, 7);
// board.setConst(5, 0, true);
// board... |
/*package games.engine.gui;*/
import java.awt.event.*;
import javax.swing.*;
import java.awt.*;
import java.awt.image.*;
import java.net.*;
import javax.swing.JComponent.*;
import java.awt.geom.*;
import java.io.*;
class MainGUI extends JFrame implements ActionListener, MouseMotionListener, MouseListener, WindowListene... |
package com.RoboWars;
import java.util.Observable;
import java.util.Observer;
import org.openintents.sensorsimulator.hardware.SensorManagerSimulator;
import android.app.Activity;
import android.content.Context;
import android.hardware.SensorListener;
import android.hardware.SensorManager;
import android.os.Bundle;
impo... |
package org.jgroups;
/**
* Globals used by JGroups packages.
*
* @author Bela Ban Mar 29, 2004
* @version $Id: Global.java,v 1.23 2007/08/21 08:56:26 belaban Exp $
*/
public class Global {
/** Allows for conditional compilation; e.g., if(log.isTraceEnabled()) if(log.isInfoEnabled()) log.info(...) would be remo... |
package test.beast.beast2vs1;
import beast.core.Logger;
import beast.trace.Expectation;
import beast.trace.LogAnalyser;
import beast.util.Randomizer;
import beast.util.XMLParser;
import junit.framework.TestCase;
import java.util.List;
public abstract class TestFramework extends TestCase {
protected static long SEED... |
package BehaviorTests;
import org.apache.http.impl.nio.client.CloseableHttpAsyncClient;
import org.apache.http.nio.client.HttpAsyncClient;
import org.json.JSONObject;
import org.junit.Ignore;
import unirest.Unirest;
import org.junit.Test;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
impor... |
import static org.junit.Assert.*;
import java.io.IOException;
import java.util.ArrayList;
import org.junit.Test;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.collect.Lists;
import d... |
package guitests;
import static org.junit.Assert.assertTrue;
import static t16b4.yats.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import org.junit.Test;
import guitests.guihandles.PersonCardHandle;
import t16b4.yats.commons.core.Messages;
import t16b4.yats.logic.commands.EditCommand;
import t16b4.yats.model.i... |
package guitests;
import static org.junit.Assert.assertTrue;
import static seedu.task.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import org.junit.Test;
import guitests.guihandles.PersonCardHandle;
import seedu.task.commons.core.Messages;
import seedu.task.logic.commands.EditCommand;
import seedu.task.model.t... |
//@@author A0142073R
package guitests;
import org.junit.Test;
import seedu.taskell.commons.core.Messages;
import seedu.taskell.commons.exceptions.IllegalValueException;
import seedu.taskell.model.task.Description;
import seedu.taskell.model.task.TaskDate;
import seedu.taskell.model.task.TaskPriority;
import seedu.taske... |
package guitests;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import seedu.taskboss.commons.core.Messages;
import seedu.taskboss.logic.commands.RedoCommand;
import seedu.taskboss.testutil.TestTask;
import seedu.taskboss.testutil.TestUtil;
//@@author A0138961W
public class RedoCommandTest extends T... |
package com.exedio.cope;
import java.util.ArrayList;
import java.util.Collections;
import java.util.EnumMap;
import java.util.List;
import bak.pcj.map.IntKeyOpenHashMap;
public final class EnumAttribute<E extends Enum<E>> extends FunctionAttribute<E>
{
private final List<E> values;
private final IntKeyOpenHashM... |
package guitests;
//@@author A0125221Y
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import guitests.guihandles.TaskCardHandle;
import seedu.mypotato.commons.exceptions.IllegalValueException;
import seedu.mypotato.logic.commands.EditCommand;
import seedu.mypotato.logic.commands.UndoCommand;
import s... |
package org.takes.tk;
import java.io.IOException;
import java.net.URI;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.junit.Test;
import org.takes.Request;
import org.takes.Response;
import org.takes.Take;
import org.takes.http.FtRemote;
import org.takes.rq.RqFake;
import org.takes.rq.RqHre... |
package org.takes.tk;
import java.io.IOException;
import java.net.URI;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.junit.Test;
import org.takes.Request;
import org.takes.Response;
import org.takes.Take;
import org.takes.http.FtRemote;
import org.takes.rq.RqFake;
import org.takes.rq.RqHre... |
package org.jsimpledb;
import org.jsimpledb.annotation.JField;
import org.jsimpledb.annotation.JSimpleClass;
import org.jsimpledb.annotation.OnChange;
import org.jsimpledb.change.SimpleFieldChange;
import org.testng.annotations.Test;
public class GenericsFunTest extends TestSupport {
@Test
public void testGener... |
package uk.org.ownage.dmdirc.logger;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.text... |
package com.cloud.vm.dao;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.ejb.Local;
import o... |
package image;
import java.io.BufferedInputStream;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.io.StringReader;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Co... |
// Utiilities for LAN
package lan;
import java.net.Socket;
public class LANUtils
{
public static boolean hostIsActive(String host, int port)
{
try
{
Socket s //= new Socket();
s.setSoTimeout(400);
//set address host port
//connect
s.clo... |
package org.postgresql.jdbc2;
// IMPORTANT NOTE: This file implements the JDBC 2 version of the driver.
// If you make any modifications to this file, you must make sure that the
// changes are also made (if relevent) to the related JDBC 1 class in the
// org.postgresql.jdbc1 package.
import java.io.*;
import java.math... |
package org.commcare.utils;
import android.os.AsyncTask;
import android.os.Environment;
import android.util.Log;
import android.webkit.MimeTypeMap;
import org.commcare.core.network.AuthenticationInterceptor;
import org.commcare.network.CommcareRequestGenerator;
import org.commcare.network.EncryptedFileBody;
import org.... |
package cz.cvut.fel.integracniportal.controller;
import cz.cvut.fel.integracniportal.exceptions.UserRoleNotFoundException;
import cz.cvut.fel.integracniportal.model.UserDetails;
import cz.cvut.fel.integracniportal.resource.UserDetailsResource;
import cz.cvut.fel.integracniportal.service.UserDetailsService;
import cz.cv... |
package de.domisum.lib.auxilium.contracts.source.io;
import de.domisum.lib.auxilium.contracts.source.io.ioaction.IoAction;
import de.domisum.lib.auxilium.util.java.annotations.API;
import org.apache.commons.lang3.Validate;
import java.io.IOException;
import java.io.UncheckedIOException;
import java.util.NoSuchElementEx... |
package de.fraunhofer.iosb.ilt.sta.service;
import de.fraunhofer.iosb.ilt.sta.ServiceFailureException;
import de.fraunhofer.iosb.ilt.sta.dao.DatastreamDao;
import de.fraunhofer.iosb.ilt.sta.dao.FeatureOfInterestDao;
import de.fraunhofer.iosb.ilt.sta.dao.HistoricalLocationDao;
import de.fraunhofer.iosb.ilt.sta.dao.Locat... |
package io.scalecube.gateway.benchmarks;
import io.rsocket.Payload;
import io.scalecube.benchmarks.BenchmarkSettings;
import io.scalecube.benchmarks.BenchmarkState;
import io.scalecube.gateway.clientsdk.Client;
import io.scalecube.gateway.clientsdk.ClientMessage;
import io.scalecube.gateway.clientsdk.ClientSettings;
im... |
package jp.gr.java_conf.afterthesunrise.commons.object;
import static java.math.BigDecimal.ONE;
import static java.math.RoundingMode.DOWN;
import static java.util.concurrent.TimeUnit.MINUTES;
import java.math.BigDecimal;
import org.apache.commons.lang.StringUtils;
import com.google.common.cache.CacheBuilder;
import com... |
package mil.nga.giat.geopackage.projection;
import mil.nga.giat.geopackage.BoundingBox;
import mil.nga.giat.wkb.geom.Point;
import org.osgeo.proj4j.CoordinateTransform;
import org.osgeo.proj4j.CoordinateTransformFactory;
import org.osgeo.proj4j.ProjCoordinate;
/**
* Projection transform wrapper
*
* @author osbornb
... |
package net.davidvoid.thor.lightning.data.access;
import java.util.ArrayList;
import java.util.List;
import net.davidvoid.thor.lightning.data.source.MongoDataSource;
import net.davidvoid.thor.lightning.entity.Entity;
import net.davidvoid.thor.lightning.exception.ResourceNotFoundException;
import org.springframework.bea... |
package nl.tudelft.jpacman.annotations;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@Retention(RetentionPolicy.CLASS)
public @interface ParameterizedAssignment {
} |
package nom.bdezonia.zorbage.type.real.float128;
import java.math.BigDecimal;
import java.math.BigInteger;
import nom.bdezonia.zorbage.algebra.Allocatable;
import nom.bdezonia.zorbage.algebra.Duplicatable;
import nom.bdezonia.zorbage.algebra.G;
import nom.bdezonia.zorbage.algebra.GetAsBigDecimal;
import nom.bdezonia.zo... |
package org.fedorahosted.flies.webtrans.client;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Map;
import net.customware.gwt.dispatch.client.DispatchAsync;
import net.customware.gwt.presenter.client.EventBus;
import net.customware.gwt.p... |
package org.amc.game.chessserver.messaging;
import org.amc.game.chess.Player;
import org.apache.log4j.Logger;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.util.Properties;
import javax.mail.Message;
import jav... |
package org.csstudio.alarm.beast.annunciator.ui;
import org.csstudio.alarm.beast.annunciator.Messages;
import org.csstudio.alarm.beast.annunciator.Preferences;
import org.csstudio.alarm.beast.annunciator.model.AnnunciationMessage;
import org.csstudio.alarm.beast.annunciator.model.JMSAnnunciator;
import org.csstudio.ala... |
package org.fedorahosted.flies.webtrans.client;
import org.fedorahosted.flies.gwt.model.DocName;
import org.fedorahosted.flies.webtrans.client.ui.CaptionPanel;
import org.fedorahosted.flies.webtrans.client.ui.HasTreeNodes;
import org.fedorahosted.flies.webtrans.client.ui.TreeImpl;
import com.google.gwt.core.client.GWT;... |
package org.csstudio.channel.widgets;
import java.util.List;
import org.csstudio.utility.pvmanager.widgets.VTableCellLabelProvider;
import org.csstudio.utility.pvmanager.widgets.VTableContentProvider;
import org.eclipse.jface.viewers.ViewerCell;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Color;
import ... |
package org.blockartistry.DynSurround.registry;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.IdentityHashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Nonnull;
import org.blockartistry.DynSurround.DSurr... |
package org.eclipse.smarthome.core.thing.binding;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Objects;
import java.util.concurrent.ScheduledExecutorService;
import org.eclipse.jdt.annotation.NonNullByDefault;
import org.eclipse.jdt.annotation.Nullable;
import org.eclipse... |
package com.netflix.governator;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import javax.inject.Inject;
import javax.inject.Provider;
import javax.inject.Singleton;
import com.google.inject.ProvisionException;
import com.netflix.governator.annotations.Configuration;
import com.netflix.... |
package org.owasp.esapi.reference;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
impo... |
package com.oracle.graal.debug.test;
import java.io.*;
import org.junit.*;
import com.oracle.graal.debug.*;
import com.oracle.graal.debug.internal.*;
public class DebugHistogramTest {
@Test
public void testEmptyHistogram() {
DebugHistogram histogram = Debug.createHistogram("TestHistogram");
Byte... |
package dynamake.models;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Point;
import java.awt.Rectangle;
import java.awt.event.ComponentEvent;
import java.awt.event.ComponentListener;
import jav... |
package org.spongepowered.api.util.metric;
import org.spongepowered.api.Sponge;
import org.spongepowered.api.plugin.PluginContainer;
import org.spongepowered.api.util.Tristate;
public interface MetricsConfigManager {
@Deprecated
boolean areMetricsEnabled(final PluginContainer container);
@Deprecated
def... |
package com.tinkerpop.gremlin.process.graph.step.filter;
import com.tinkerpop.gremlin.AbstractGremlinTest;
import com.tinkerpop.gremlin.LoadGraphWith;
import com.tinkerpop.gremlin.process.Traversal;
import com.tinkerpop.gremlin.structure.Vertex;
import com.tinkerpop.gremlin.util.StreamFactory;
import org.junit.Test;
im... |
package processing.app;
import static processing.app.I18n._;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.HashMap;
import java.util.Link... |
package org.koala.runnersFramework.runners.bot.listener;
import ibis.ipl.IbisProperties;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.ObjectInputStream;
import java.util.ArrayList;
import java.util.Iterat... |
package org.wkh.swarmscale.optimization;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Random;
import java.util.stream.Collectors;
import java.util.stream.DoubleStream;
public class ParticleSwarmOptimizer {
/* Standard constants derived by Maurice Clerc */
/**
... |
package ru.evgeniyosipov.jbelly.service;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import... |
package sailpoint.services.plugin;
import java.io.File;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.ws.rs.Consumes;
import javax.ws.... |
package es.um.nosql.schemainference.json2dbschema.process.util;
import java.util.Arrays;
import java.util.List;
import java.util.Optional;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import java.util.stream.StreamSupport;
import org.apache.commons.lang3.tuple.Pair;
/**
* @author dsevilla
*
*/... |
package org.kuali.rice.kew.impl.peopleflow;
import org.apache.commons.collections.CollectionUtils;
import org.kuali.rice.core.api.config.ConfigurationException;
import org.kuali.rice.kew.actionrequest.ActionRequestFactory;
import org.kuali.rice.kew.actionrequest.ActionRequestValue;
import org.kuali.rice.kew.actionreque... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.