answer stringlengths 17 10.2M |
|---|
package org.lantern;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.InetSocketAddress;
import java.net.Socket;
import java.net.URI;
import java.net.URISyntaxException;
import java.security.KeyManagementException;
import java.security.KeyStore;
import java.se... |
package org.petapico.npop;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
import java.io.PrintStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.zip.GZIPO... |
/**
* @file 2016/12/07
*/
package quiz.model;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.ArrayList;
/**
* MySQL
*
* @author Yuka Yoshikawa
*
*/
public class SqlDataStore implements DataStore {
/**
* @DB
*
* ... |
package refactoring;
import java.io.IOException;
import java.util.List;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.ResourceSet;
import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
import org.... |
package techreborn.init;
import net.fabricmc.fabric.api.loot.v1.FabricLootPoolBuilder;
import net.fabricmc.fabric.api.loot.v1.event.LootTableLoadingCallback;
import net.minecraft.item.ItemConvertible;
import net.minecraft.item.Items;
import net.minecraft.loot.LootPool;
import net.minecraft.loot.entry.ItemEntry;
import ... |
package teetime.framework;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import teetime.framework.signal.ISignal;
import teetime.framework.validation.InvalidPortConnection;
public abstract class Stage {
private final String id;
pr... |
package teetime.framework;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import teetime.framework.signal.ISignal;
import teetime.framework.validation.InvalidPortConnection;
public abstract class Stage { // NOPMD (shou... |
package think.rpgitems;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.event.EventHandler;
import org.bukkit.event.HandlerList;
import org.bukkit.event.Listener;
import org.bukkit.event.server.ServerLoadEvent;
import org.bukkit.plugin.InvalidDescriptionException;
import org.bukkit.plugin.Inval... |
package uelbox;
import javax.el.ELContext;
import javax.el.ELResolver;
import javax.el.FunctionMapper;
import javax.el.ValueExpression;
import javax.el.VariableMapper;
import org.apache.commons.lang3.Validate;
/**
* ELContext wrapper which wraps the ELResolver and may shadow variables, locale
* settings, and context ... |
package peergos.server.space;
import peergos.server.sql.*;
import peergos.server.util.Logging;
import peergos.shared.*;
import peergos.shared.crypto.hash.*;
import peergos.shared.io.ipfs.cid.*;
import java.sql.*;
import java.util.*;
import java.util.function.*;
import java.util.logging.*;
public class JdbcUsageStore im... |
package org.bimserver.servlets;
import java.io.IOException;
import java.io.InputStream;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.io.IOUtils;
import org.bimserver.Bi... |
package io.branch.referral;
import io.branch.referral.ApkParser;
import java.io.InputStream;
import java.util.UUID;
import java.util.jar.JarFile;
import android.Manifest;
import android.annotation.SuppressLint;
import android.bluetooth.BluetoothAdapter;
import android.content.Context;
import android.content.pm.Applicat... |
// E v a l u a t o r s P a n e l //
// This software is released under the terms of the GNU General Public //
// to report bugs & suggestions. //
package omr.glyph.ui;
import omr.glyph.Evaluation;
import omr.glyph.Evaluator;
import omr.gl... |
// G l y p h R e p o s i t o r y //
// This software is released under the terms of the GNU General Public //
// to report bugs & suggestions. //
package omr.glyph.ui;
import omr.Main;
import omr.glyph.Glyph;
import omr.glyph.Shape;
impor... |
package edu.teco.dnd.graphiti;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.eclipse.graphiti.features.IFeatureProvider;
import org.eclipse.graphiti.features.context.IAddContext;
import org.eclipse.graphiti.features.impl.AbstractAddShapeFeature;
import org.eclipse.graphi... |
package org.jgroups.tests.perf;
import org.jgroups.util.Util;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import java.io.BufferedReader;
import java.io.FileReader;
import java.util.*;
/** You start the test by running this class.
* Use parameters -Xbatch -Xconcurrentio (Solari... |
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.StringTokenizer;
import com.xerox.amazonws.sdb.Domain;
import com.xerox.amazonw... |
import java.util.ArrayList;
import java.util.List;
public class Node implements jburg.BurgInput<NodeType>
{
NodeType nodeType;
List<Node> children;
String content;
private int stateNumber = -1;
Node(NodeType type)
{
this.nodeType = type;
this.children = new ArrayList<Nod... |
// This file is part of OpenTSDB.
// This program is free software: you can redistribute it and/or modify it
// option) any later version. This program is distributed in the hope that it
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
package net.opentsdb.core;
import java.util.ArrayList... |
package core.commands;
import core.Constants;
import core.entities.QueueManager;
import core.entities.Server;
import core.exceptions.BadArgumentsException;
import core.exceptions.DoesNotExistException;
import core.exceptions.InvalidUseException;
import core.util.Utils;
import net.dv8tion.jda.core.entities.Member;
publi... |
package cs437.som;
import java.io.*;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.regex.Pattern;
/**
* Reads a self-organizing map from a file.
*/
public class FileReader {
private static final Pattern COLON_SPLIT = Pattern.compile(":");
private Trainab... |
package controller;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.Optional;
import java.util.function.Predicate;
import java.util.zip.ZipEntry;
import encounter.Encounter;
import encount... |
/* Description:
* TODO:
* */
package models;
import java.math.BigInteger;
import java.security.SecureRandom;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import java.util.UUID;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.per... |
package roslab.model.electronics;
/**
* @author Peter Gebhard
*
*/
public class PinService {
String name;
int number;
char one_to_many = '#'; // Default to 1-to-1 connection type
String io;
String superServiceName;
int superServiceNumber;
int af;
/**
* @param name
* @param ... |
package emulatorinterface;
import java.util.Enumeration;
import java.util.Hashtable;
import pipeline.outoforder.BootPipelineEvent;
import memorysystem.MemorySystem;
import generic.Time_t;
import memorysystem.Bus;
import memorysystem.Cache;
import memorysystem.CoreMemorySystem;
import memorysystem.Global;
import misc.Er... |
package simulators.basic;
import core.Attribute;
import core.Link;
import core.Path;
import core.events.*;
import io.reporters.Reporter;
import simulators.DataCollector;
import simulators.Dataset;
import simulators.DetectionData;
import java.io.IOException;
import java.util.Iterator;
/**
* Collects all data that can b... |
package com.tns;
import java.io.Closeable;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileFilter;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import an... |
package dr.app.beauti;
import dr.app.beauti.components.ComponentFactory;
import dr.app.beauti.components.SequenceErrorModelComponentFactory;
import dr.app.beauti.components.TipDateSamplingComponentFactory;
import dr.app.beauti.datapanel.DataPanel;
import dr.app.beauti.generator.BeastGenerator;
import dr.app.beauti.mcmc... |
package team1100.season2010.robot;
import team1100.season2010.robot.DashboardPacker;
import edu.wpi.first.wpilibj.IterativeRobot;
import edu.wpi.first.wpilibj.camera.AxisCamera;
import edu.wpi.first.wpilibj.camera.AxisCameraException;
import edu.wpi.first.wpilibj.image.ColorImage;
import edu.wpi.first.wpilibj.image.NIV... |
package com.brettonw.db;
import org.junit.Test;
public class Keys_Test {
@Test
public void test () {
// because coverage reports Keys as untested...
new Keys ();
}
} |
package guitests;
import javafx.scene.input.KeyCode;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.testfx.api.FxToolkit;
import ui.TestController;
import ui.UI;
import util.GitHubURL;
import util.PlatformEx;
import util.events.IssueCreatedEvent;
import util.events.IssueSelectedEvent... |
package prm4j.util;
import java.util.Collection;
import java.util.Iterator;
import java.util.Map;
import prm4j.api.Alphabet;
import prm4j.api.MatchHandler;
import prm4j.api.Parameter;
import prm4j.api.Symbol0;
import prm4j.api.Symbol1;
import prm4j.api.Symbol2;
import prm4j.api.fsm.FSM;
import prm4j.api.fsm.FSMState;
i... |
package product;
import operators.base.RefreshOperator;
import operators.configurations.BuildConfigurationSetPageOperator;
import operators.products.ProductPageOperator;
import operators.projects.ProjectPageOperator;
import operators.products.ImportPageOperator;
import org.junit.Assert;
import org.junit.Test;
import ui... |
package solid.stream;
import java.util.Iterator;
public class Empty<T> extends Stream<T> {
public static <T> Empty<T> empty() {
//noinspection unchecked
return EMPTY;
}
private static final Empty EMPTY = new Empty();
private static Iterator iterator = new ReadOnlyIterator() {
@Ov... |
package edu.dynamic.dynamiz.UI;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import edu.dynamic.dynamiz.UI.DisplayerInterface;
/**
*
* @author XYLau
*
*/
public class UI extends JPanel implements ActionListener {
protected JTextField inputScreen;
protected JTextArea displayScreen;
p... |
/*Alessandro Corbetta
* corbisoft@gmail.com
* Conv Encoder simulator 1/02/11
*
*/
package encMechanicsConv;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
... |
import managed_dll.*;
import managed_dll.properties.*;
import managed_dll.first.*;
import managed_dll.first.second.*;
import managed_dll.exceptions.*;
import mono.embeddinator.*;
import static org.junit.Assert.*;
import org.junit.*;
public class Tests {
private static boolean doublesAreEqual(double value1, double v... |
import managed_dll.*;
import managed_dll.properties.*;
import managed_dll.first.*;
import managed_dll.first.second.*;
import managed_dll.exceptions.*;
import managed_dll.constructors.*;
import managed_dll.enums.*;
import mono.embeddinator.*;
import static org.junit.Assert.*;
import org.junit.*;
public class Tests {
... |
// modification, are permitted provided that the following conditions are met:
// documentation and/or other materials provided with the distribution.
// * Neither the name of the <organization> nor the
// names of its contributors may be used to endorse or promote products
// ANY EXPRESS OR IMPLIED WARRAN... |
class E004_ArrayMethodDeclarations {
String oneParameter(int one)[] {
return null;
}
String[] oneParameter2(int one)[] {
return null;
}
String twoParameters(int one, String two)[] {
return null;
}
String[] twoParameters2(int one, String two)[] {
return null;
... |
package org.apache.xerces.dom;
import java.io.*;
import java.util.Enumeration;
import java.util.Vector;
import org.w3c.dom.*;
/**
* Elements represent most of the "markup" and structure of the
* document. They contain both the data for the element itself
* (element name and attributes), and any contained nodes, inc... |
package org.biojava.bio.dp;
import java.io.*;
import java.util.*;
import org.w3c.dom.*;
import org.biojava.utils.*;
import org.biojava.bio.*;
import org.biojava.bio.symbol.*;
import org.biojava.bio.dist.*;
public class XmlMarkovModel {
public static WeightMatrix readMatrix(Element root)
throws IllegalSymbolExceptio... |
package org.biojava.bio.taxa;
import org.biojava.utils.*;
import org.biojava.bio.*;
public abstract class AbstractTaxa
extends
AbstractChangeable
implements
Taxa
{
private transient ChangeListener annotationForwarder;
private Annotation ann;
private String commonName;
private String scientificName;
... |
package org.exist.xquery.value;
import java.text.Collator;
import org.exist.dom.QName;
import org.exist.xquery.Constants;
import org.exist.xquery.XQueryContext;
import org.exist.xquery.XPathException;
/**
* Wrapper class around a {@link org.exist.dom.QName} value which extends
* {@link org.exist.xquery.value.AtomicVa... |
package org.jaudiotagger.tag.id3;
import org.jaudiotagger.audio.generic.Utils;
import org.jaudiotagger.audio.mp3.MP3File;
import org.jaudiotagger.logging.ErrorMessage;
import org.jaudiotagger.tag.*;
import org.jaudiotagger.tag.images.Artwork;
import org.jaudiotagger.tag.reference.GenreTypes;
import java.io.IOException;... |
package org.jitsi.meet.test;
import junit.framework.*;
import org.openqa.selenium.*;
import org.openqa.selenium.support.ui.*;
/**
* Adds various tests with the etherpad functionality.
* @author Damian Minkov
*/
public class EtherpadTests
extends TestCase
{
/**
* Constructs test.
* @param name the m... |
/*
* $Id: BasePlugin.java,v 1.37 2006-04-05 22:54:41 tlipkis Exp $
*/
package org.lockss.plugin.base;
import java.util.*;
import org.lockss.util.*;
import org.lockss.util.urlconn.*;
import org.lockss.app.*;
import org.lockss.config.ConfigManager;
import org.lockss.config.Configuration;
import org.lockss.daemon.*;
imp... |
package org.myrobotlab.service;
import org.myrobotlab.framework.Peers;
import org.myrobotlab.framework.Service;
import org.myrobotlab.framework.Status;
import org.myrobotlab.logging.Level;
import org.myrobotlab.logging.LoggerFactory;
import org.myrobotlab.logging.LoggingFactory;
import org.myrobotlab.service.LeapMotion... |
package org.nutz.ioc.impl;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
import org.nutz.ioc.IocEventTrigger;
import org.nutz.ioc.IocException;
import org.nutz.ioc.IocMaking;
import org.nutz.ioc.ObjectMaker;
import org.nutz.ioc.ObjectProxy;
import org.nutz.ioc.ValueProxy;
import or... |
package org.objectweb.proactive;
import org.apache.log4j.Logger;
import org.objectweb.fractal.api.Component;
import org.objectweb.fractal.api.NoSuchInterfaceException;
import org.objectweb.fractal.api.factory.GenericFactory;
import org.objectweb.fractal.api.factory.InstantiationException;
import org.objectweb.fractal.u... |
package org.robockets.stronghold.robot;
import org.robockets.buttonmanager.ButtonManager;
import org.robockets.buttonmanager.buttons.ActionButton;
import org.robockets.stronghold.robot.highgoalshooter.FireShooter;
import org.robockets.stronghold.robot.highgoalshooter.MoveHood;
import org.robockets.stronghold.robot.high... |
package org.mozartoz.truffle.runtime;
import java.util.function.Consumer;
import com.oracle.truffle.api.dsl.Fallback;
import com.oracle.truffle.api.dsl.Specialization;
import com.oracle.truffle.api.library.ExportLibrary;
import com.oracle.truffle.api.library.ExportMessage;
import com.oracle.truffle.api.nodes.Node;
impo... |
package picoded.servletUtils;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.List;
import java.util.Map;
import javax.serv... |
package properties.competition;
import static structure.impl.other.Quantification.FORALL;
import java.util.Collection;
import properties.Property;
import properties.PropertyMaker;
import properties.papers.HasNextQEA;
import structure.intf.Assignment;
import structure.intf.Binding;
import structure.intf.Guard;
import st... |
package com.lmax.disruptor;
import java.util.concurrent.TimeUnit;
import static com.lmax.disruptor.Util.ceilingNextPowerOfTwo;
/**
* Ring based store of reusable entries containing the data representing an {@link Entry} being exchanged between producers and consumers.
*
* @param <T> Entry implementation storing the ... |
package net.fortuna.ical4j.model;
import java.util.Arrays;
import java.util.Calendar;
import java.util.LinkedList;
import java.util.List;
import junit.framework.TestCase;
import net.fortuna.ical4j.model.parameter.Value;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* @author ... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package tonegod.gui.controls.text;
import com.jme3.font.BitmapFont;
import com.jme3.font.BitmapText;
import com.jme3.font.LineWrapMode;
import com.jme3.font.Rectangle;
import com.jme3.input.KeyInput;
import com.jme3.inpu... |
package uk.ac.kent.dover.fastGraph;
import org.cytoscape.gedevo.GedevoNativeUtil;
import uk.ac.kent.dover.fastGraph.ExactMotifFinder.IsoHolder;
import uk.ac.kent.dover.fastGraph.Gui.LauncherGUI;
import uk.ac.kent.dover.fastGraph.Gui.MotifTask;
import uk.ac.kent.dover.fastGraph.comparators.AlwaysTrueEdgeComparator;
impo... |
package uk.co.placona.helloWorld;
public class HelloWorld {
public String sayHello() {
return "Hello World";
}
} |
package uk.org.cinquin.mutinack;
import static contrib.uk.org.lidalia.slf4jext.Level.TRACE;
import static uk.org.cinquin.mutinack.MutationType.INSERTION;
import static uk.org.cinquin.mutinack.MutationType.SUBSTITUTION;
import static uk.org.cinquin.mutinack.MutationType.WILDTYPE;
import static uk.org.cinquin.mutinack.ca... |
package scheduling.three;
import graph.Graph;
import graph.VertexColoring;
import java.util.BitSet;
import java.util.LinkedList;
import java.util.Queue;
class ComponentSwapper {
private Graph graph;
private VertexColoring coloring;
/**
* Store colors as object field to avoid passing
* huge amount ... |
package it.cnr.isti.vir.id;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
public class IDFace extends AbstractID {
public final String id;
public final float minX;
public final float minY;
public final float maxX;... |
package jade.onto;
import java.lang.reflect.*;
import java.util.Iterator;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
/**
@author Giovanni Rimassa - Universita` di Parma
@version $Date$ $Revision$
*/
public class DefaultOntology implements Ontology {
private stat... |
package stray.blocks;
import com.badlogic.gdx.math.MathUtils;
import stray.Main;
import stray.util.MathHelper;
import stray.util.ParticlePool;
import stray.world.World;
public class BlockGearCollectible extends BlockCollectible {
public BlockGearCollectible(String path) {
super(path, collectibleName);
}... |
// Convert.java
package ed.js.engine;
import java.io.*;
import java.util.*;
import org.mozilla.javascript.*;
import ed.js.*;
import ed.io.*;
import ed.util.*;
public class Convert {
static boolean D = Boolean.getBoolean( "DEBUG.JS" );
public static final String DEFAULT_PACKAGE = "ed.js.gen";
public static J... |
// Convert.java
package ed.js.engine;
import java.io.*;
import java.util.*;
import java.util.regex.*;
import com.twmacinta.util.*;
import ed.ext.org.mozilla.javascript.*;
import ed.js.*;
import ed.io.*;
import ed.lang.*;
import ed.util.*;
public class Convert {
static boolean DJS = Boolean.getBoolean( "DEBUG.JS" );... |
// Convert.java
package ed.js.engine;
import java.io.*;
import java.util.*;
import java.util.regex.*;
import com.twmacinta.util.*;
import ed.ext.org.mozilla.javascript.*;
import ed.js.*;
import ed.io.*;
import ed.lang.*;
import ed.util.*;
public class Convert {
static boolean DJS = Boolean.getBoolean( "DEBUG.JS" );... |
import java.awt.Color;
import javax.swing.JFrame;
import javax.swing.JPanel;
public class Fenetre extends JFrame {
public Fenetre(){
this.setTitle("Eternity Game");
this.setSize(1024, 768);
this.setLocationRelativeTo(null);
this.setDefaultCloseOperation(JFra... |
package bean;
import net.dv8tion.jda.core.EmbedBuilder;
import net.dv8tion.jda.core.entities.MessageEmbed;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import org.json.JSONException;
import org.json.JSONObject;
import utils.TokenManager;
import java.awt.*;
import java.io.IOException;
im... |
package cliente;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.Socket;
import java.util.Properties;
import javax.swing.JOptionPane;
import com.google.gson.Gson;
import comandos.ComandosCliente;
import frames.MenuCarga;
im... |
package gui;
import graph.Annotation;
import graph.SequenceGraph;
import graph.SequenceNode;
import gui.sub_controllers.ColourController;
import javafx.scene.canvas.Canvas;
import javafx.scene.canvas.GraphicsContext;
import javafx.scene.paint.Color;
import java.util.*;
public class GraphDrawer {
private static Grap... |
package info.cukes;
import com.google.common.base.Function;
import com.google.common.collect.Lists;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persiste... |
package moxie;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
class GroupImpl implements Group, Verifiable {
private final String name;
private final InstantiationStackTrace whereInstantiated;
private final Set<ExpectationI... |
package mtr.data;
import mtr.block.BlockPSDAPGBase;
import mtr.block.BlockPSDAPGDoorBase;
import mtr.block.BlockPlatform;
import mtr.config.CustomResources;
import mtr.packet.IPacket;
import mtr.path.PathData;
import mtr.path.PathFinder;
import net.fabricmc.fabric.api.networking.v1.PacketByteBufs;
import net.fabricmc.f... |
package org.jdbdt;
import java.io.File;
import java.io.PrintStream;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
/**
* JDBDT facade.
*
* <p>
* This utility class defines the front-end API for database
* assertions, setup operations, and creation of associated
* object i... |
package org.osgl.http;
import org.apache.commons.codec.Charsets;
import org.osgl._;
import org.osgl.cache.CacheService;
import org.osgl.exception.NotAppliedException;
import org.osgl.exception.UnexpectedIOException;
import org.osgl.http.util.Path;
import org.osgl.logging.L;
import org.osgl.logging.Logger;
import org.os... |
package slieb.kute;
import slieb.kute.api.Resource;
import slieb.kute.providers.FilteredResourceProvider;
import slieb.kute.providers.MappedResourceProvider;
import slieb.kute.providers.URLArrayResourceProvider;
import slieb.kute.resources.*;
import slieb.kute.utils.KuteIO;
import slieb.kute.utils.KuteLambdas;
import s... |
package com.RoboWars;
import java.util.Observable;
import java.util.Observer;
import com.RoboWars.opengl.MediaClient;
import com.RoboWars.opengl.OpenGLRenderer;
import com.RoboWars.opengl.Point3D;
import com.RoboWars.opengl.mesh.Cube;
import com.RoboWars.opengl.mesh.SimplePlane;
import robowars.server.controller.Client... |
package com.gallatinsystems.common.util;
import java.util.Map;
import java.util.Properties;
import java.util.StringTokenizer;
import java.util.TreeMap;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.mail.Message;
import javax.mail.Multipart;
import javax.mail.Session;
import javax.mail.Tr... |
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.ThreadLocalRandom;
import javax.xml.bind.JAXBException;
import org.springframework.util.StopWatch;
import net.leanix.api.BusinessCapabilitiesApi;
import net.leanix.api.BusinessObjectsApi;
import net.leanix.api.Consum... |
package com.lyft.scoop;
import android.os.Parcelable;
import android.util.SparseArray;
import android.view.View;
public class Screen {
public static final String SERVICE_NAME = "screen";
private transient SparseArray<Parcelable> viewState;
public Screen() {
viewState = new SparseArray<Parcelable>();... |
package com.Ceridian.tests;
import com.Ceridian.Pages.BookAHoliday;
import com.Ceridian.Pages.HomePage;
import com.Ceridian.Pages.Navigation;
import com.Ceridian.com.ExcelUtils;
import com.frameworkium.core.ui.pages.PageFactory;
import com.frameworkium.core.ui.tests.BaseTest;
import org.testng.annotations.Parameters;
i... |
package com.example;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.WebDriverWait;
import org.openqa.selenium.support.ui.ExpectedCondition;
public class Actionwords
{
... |
package com.fishercoder;
import com.fishercoder.solutions._30;
import com.fishercoder.solutions._735;
import java.util.Arrays;
import java.util.List;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEqual... |
package slogo_front;
/**
* currently includes methods to move turtle
* to be added:
* - canvas implementation (paint methods)
* - turtle image updates
* @author emresonmez
*
*/
public class Display {
private int xOrigin;
private int yOrigin;
private int xBoundHigh;
private int xBoundLow;
... |
package guitests;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import seedu.address.model.TaskManager;
import seedu.address.model.task.Task;
import seedu.address.model.util.SampleDataUtil;
import seedu.address.testutil.TestUtil;
public class SampleDataTest extends TaskManagerGuiTest {
@Override... |
package engine.element;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import annotations.parameter;
import engine.Endable;
import engine.Reflectable;
import engine.UpdateAndReturnable;
import engine.factories.GameElementFactory;
/**
* Contains all information about a single level within a ga... |
package org.scijava.util;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.Map.Entry;
/**
* A helper class to help with optimizing the performance of a list of
* operations.
* <p>
* For example, when trying to figure out which
* {@link o... |
package picocli;
import org.junit.Test;
import picocli.CommandLine.Help.ColorScheme;
import static org.junit.Assert.*;
public class ColorSchemeTest {
@Test
public void testEquals() {
ColorScheme defaultScheme = CommandLine.Help.defaultColorScheme(CommandLine.Help.Ansi.AUTO);
ColorScheme expect =... |
package som.compiler;
import static som.compiler.Symbol.And;
import static som.compiler.Symbol.At;
import static som.compiler.Symbol.BeginComment;
import static som.compiler.Symbol.Colon;
import static som.compiler.Symbol.Comma;
import static som.compiler.Symbol.Div;
import static som.compiler.Symbol.EndBlock;
import s... |
package org.jfree.chart.axis;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.FontMetrics;
import java.awt.Graphics2D;
import java.awt.Paint;
import java.awt.Stroke;
import java.awt.geom.Line2D;
import java.awt.geom.Rectangle2D;
import java.io.IOException;
import java.io.ObjectInputStream;
import ja... |
package testsuite.manager;
import org.apache.log4j.Level;
import org.apache.log4j.Logger;
import org.apache.log4j.PatternLayout;
import org.apache.log4j.PropertyConfigurator;
import org.apache.log4j.WriterAppender;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.xml.sax.SAXE... |
package som.compiler;
import static som.compiler.Symbol.And;
import static som.compiler.Symbol.Assign;
import static som.compiler.Symbol.At;
import static som.compiler.Symbol.BeginComment;
import static som.compiler.Symbol.Colon;
import static som.compiler.Symbol.Comma;
import static som.compiler.Symbol.Div;
import sta... |
package thesbros.bukkit.CFBanner;
//Imports
import java.io.IOException;
import java.util.logging.Logger;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.Bukki... |
package springies;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import javax.swing.JFileChooser;
import javax.swing.filechooser.FileNameExtensionFilter;
import org.w3c.dom.Node;
import jgame.JGColor;
import jgame.platform.JGEngine;
import Connectors.Spring;
import For... |
package examples.subdf;
import java.io.IOException;
import java.io.InterruptedIOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.InetAddress;
import jade.core.*;
import jade.core.behaviours.*;
import jade.domain.FIPAAgentManagement.*;
import jade.domain.FIPAException;
import j... |
package foam.nanos.boot;
import foam.core.*;
import foam.dao.AbstractSink;
import foam.dao.DAO;
import foam.dao.ProxyDAO;
import foam.dao.java.JDAO;
import foam.nanos.auth.User;
import foam.nanos.logger.Logger;
import foam.nanos.logger.ProxyLogger;
import foam.nanos.logger.StdoutLogger;
import foam.nanos.script.Script;... |
package us.kbase.common.utils;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import org.apache.http.HttpResponse;
import org.apache.http.client.ClientProtocolException;
i... |
// $OldId: Environment.java,v 1.13 2002/10/01 16:14:07 paltherr Exp $
package scalai;
import java.util.Map;
import java.util.HashMap;
import scalac.ast.Tree.ClassDef;
import scalac.symtab.Symbol;
import scalac.symtab.Type;
import scalac.symtab.Scope;
import scalac.symtab.Scope.SymbolIterator;
import scalac.util.Names;
... |
// $Id: SpeedTest.java,v 1.3 2004/01/01 00:09:02 belaban Exp $
package org.jgroups.tests;
import org.jgroups.Channel;
import org.jgroups.JChannel;
import org.jgroups.Message;
import org.jgroups.debug.Debugger;
import org.jgroups.log.Trace;
import org.jgroups.util.Util;
import java.net.DatagramPacket;
import java.net.In... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.