answer stringlengths 17 10.2M |
|---|
package pt.up.fe.aiad.tests;
import jade.core.AID;
import org.junit.Test;
import pt.up.fe.aiad.scheduler.ScheduleEvent;
import pt.up.fe.aiad.scheduler.Serializer;
import pt.up.fe.aiad.scheduler.agentbehaviours.ABTBehaviour;
import pt.up.fe.aiad.scheduler.agentbehaviours.ADOPTBehaviour;
import pt.up.fe.aiad.utils.TimeIn... |
package is.ru.hugb.WebUI;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.Keys;
public class TestWebUI extends SeleniumTestWrapper {
@Test
public void testTitleMatches() {
driver.get(baseUrl);
... |
package simulators;
import addons.protocolchangers.FixedTimeProtocolChanger;
import io.reporters.Reporter;
import network.Network;
import protocols.BGPProtocol;
import protocols.Protocol;
import simulation.Engine;
import simulators.data.FullDeploymentDataCollector;
import java.io.IOException;
/**
* The initial deploym... |
package gamelogic;
import javafx.application.Platform;
import javafx.beans.property.BooleanProperty;
import javafx.beans.property.SimpleBooleanProperty;
import javafx.event.EventHandler;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.ScrollPane;
im... |
package de.vogel612.ct;
import static org.hamcrest.Matcher.*;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
public class TrieTests {
private CompressedTrie cut;
@Before
... |
package fr.ritaly.graphml4j;
import java.io.StringWriter;
public class Main {
public static void main(String[] args) throws Exception {
final StringWriter stringWriter = new StringWriter();
GraphMLWriter writer = new GraphMLWriter(stringWriter);
// Customize the rendering
final NodeS... |
package guitests;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import seedu.address.commons.core.Messages;
import seedu.address.logic.commands.EditCommand;
import seedu.address.testutil.TestTask;
public class FindCommandTest extends TaskManagerGuiTest {
@Test
public void find_nonEmptyList()... |
package guitests;
import static seedu.taskboss.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import org.junit.Test;
import seedu.taskboss.commons.core.Messages;
import seedu.taskboss.logic.commands.SaveCommand;
//@@author A0138961W
public class SaveCommandTest extends TaskBossGuiTest {
@Test
public void... |
package guitests;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import guitests.guihandles.HelpWindowHandle;
import seedu.address.commons.exceptions.IllegalValueException;
import seedu.address.logic.commands.IncorrectCommand;
import seedu.address.logic.commands.UndoCommand;
import seedu.address.logi... |
package io.scif.img;
import static org.junit.Assert.assertEquals;
import java.io.File;
import org.junit.After;
import org.junit.Test;
import org.scijava.Context;
import io.scif.config.SCIFIOConfig;
import io.scif.config.SCIFIOConfig.ImgMode;
import io.scif.io.ByteArrayHandle;
import io.scif.services.LocationService;
im... |
package ocelot;
import org.junit.BeforeClass;
import org.junit.Test;
import static ocelot.Opcode.*;
import static org.junit.Assert.*;
import org.junit.Ignore;
/**
*
* @author ben
*/
public class TestIntArithmetic {
private static InterpMain im;
@BeforeClass
public static void setup() {
im = new I... |
package datamanagement;
public interface IStudentUnitRecord {
public Integer getStudentID();
public String getUnitCode();
public void setAsg1(float mark);
public float getAsg1();
public void setAsg2(float mark);
public float getAsg2();
public void setExam(float mark);
public float getExa... |
package dbscryptolib;
import dbsstringlib.StringSplitter;
import javax.crypto.*;
import javax.crypto.spec.IvParameterSpec;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.security.InvalidAlgorithmPara... |
package de.bitdroid.flooding.ods;
import java.io.IOException;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager.NameNotFoundException;
import com.... |
package de.kisi.android;
import java.util.List;
import org.json.JSONArray;
import com.manavo.rest.RestCallback;
import de.kisi.android.model.Lock;
import de.kisi.android.model.Place;
import android.graphics.Typeface;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.Handler;
import ... |
package edu.ucsd.sbrg.bigg;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.sql.SQLException;
import java.text.MessageFormat;
import java.util.Calendar;
import java.util.HashMap;
imp... |
package flounder.devices;
import flounder.framework.*;
import flounder.logger.*;
import org.lwjgl.glfw.*;
import static org.lwjgl.glfw.GLFW.*;
/**
* A module used for the creation, updating and destruction of the keyboard keys.
*/
public class FlounderKeyboard extends IModule {
private static final FlounderKeyboa... |
package model.experiment.workspace;
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import javax.xml.bind.DataBindingException;
import javax.xml.bind.JAXB;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.... |
package net.somethingdreadful.MAL;
import org.apache.commons.lang3.text.WordUtils;
import android.content.Context;
import android.graphics.drawable.BitmapDrawable;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.support.v4.app.FragmentManager;
import a... |
package nl.b3p.viewer.config.app;
import java.util.*;
import javax.persistence.*;
import javax.servlet.http.HttpServletRequest;
import nl.b3p.viewer.config.security.Authorizations;
import nl.b3p.viewer.config.security.User;
import nl.b3p.viewer.config.services.BoundingBox;
import nl.b3p.viewer.config.services.GeoServic... |
package org.biojava.bio.gui.glyph;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Paint;
import java.awt.Shape;
import java.awt.geom.GeneralPath;
import java.awt.geom.Rectangle2D;
/**
* A Glyph that paints an arrow shape within the bounds. The
* <code>setDirection</code> method allows the decision... |
package org.biojava.bio.symbol;
import java.util.List;
import java.util.ArrayList;
import org.biojava.bio.seq.io.SymbolTokenization;
import org.biojava.bio.seq.Sequence;
import org.biojava.bio.seq.Feature;
import org.biojava.bio.BioException;
import org.biojava.utils.ChangeVetoException;
/**
* Class to perform arbitra... |
package org.exist.xquery.test;
import java.io.IOException;
import java.io.StringReader;
import java.net.BindException;
import java.util.Iterator;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.pa... |
package info.tregmine.commands;
import static org.bukkit.ChatColor.*;
import java.util.List;
import org.bukkit.ChatColor;
import org.bukkit.Server;
import org.bukkit.entity.Player;
import info.tregmine.Tregmine;
import info.tregmine.api.Notification;
import info.tregmine.api.TregminePlayer;
import info.tregmine.databas... |
package org.exist.xquery.value;
import org.apache.log4j.Logger;
import org.exist.collections.Collection;
import org.exist.dom.DefaultDocumentSet;
import org.exist.dom.DocumentSet;
import org.exist.dom.MutableDocumentSet;
import org.exist.dom.NewArrayNodeSet;
import org.exist.dom.NodeProxy;
import org.exist.dom.NodeSet;... |
package it.ksuploader.main;
import java.io.*;
import java.net.InetSocketAddress;
import java.net.SocketAddress;
import java.nio.channels.FileChannel;
import java.nio.channels.SocketChannel;
import java.nio.channels.UnresolvedAddressException;
import java.util.Arrays;
import java.util.Observable;
import java.util.Observ... |
package it.unimi.dsi.sux4j.util;
import it.unimi.dsi.Util;
import it.unimi.dsi.bits.BitVector;
import it.unimi.dsi.bits.BitVectors;
import it.unimi.dsi.bits.Fast;
import it.unimi.dsi.bits.LongArrayBitVector;
import it.unimi.dsi.bits.TransformationStrategies;
import it.unimi.dsi.bits.TransformationStrategy;
import it.un... |
package org.jgroups.protocols;
import org.jgroups.*;
import org.jgroups.annotations.*;
import org.jgroups.stack.IpAddress;
import org.jgroups.stack.Protocol;
import org.jgroups.util.Util;
import java.io.DataInput;
import java.io.DataOutput;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.util... |
package bluebell.utils.ebmd;
import bluebell.utils.ebmd.IArgSpec;
import bluebell.utils.ebmd.ArgSpec;
import bluebell.utils.ebmd.ArgSpecVars;
import bluebell.utils.ebmd.ArgSpecVarsVisitor;
import bluebell.utils.ebmd.IndirectArgSpec;
import bluebell.utils.ebmd.Promotion;
import bluebell.utils.ebmd.PolyFn;
import bluebel... |
/**
* Interfaces to an external shared library to which we pipe coordinate values
* and then read back transformed values. Most useful in combination with
* PROJ coordinate transform program for reprojecting coordinates.
*
* Uses JNI interface to call native methods to define transformation and then
* to transfo... |
package org.myrobotlab.framework;
import java.io.Serializable;
import java.util.ArrayList;
import org.myrobotlab.service.interfaces.Invoker;
/**
* Simple class representing an operating system process
*
* @author GroG
*
*/
public class ProcessData implements Serializable {
private static final long serialVersi... |
package org.neo4j.impl.shell.apps;
import java.rmi.RemoteException;
import java.util.ArrayList;
import java.util.List;
import org.neo4j.api.core.Node;
import org.neo4j.api.core.Relationship;
import org.neo4j.impl.shell.NeoApp;
import org.neo4j.util.shell.AppCommandParser;
import org.neo4j.util.shell.OptionValueType;
im... |
package winstone;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.lang.reflect.Constructor;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.ArrayList;
import jav... |
package org.opencms.monitor;
import org.opencms.cache.CmsLruCache;
import org.opencms.cache.I_CmsLruCacheObject;
import org.opencms.cron.I_CmsCronJob;
import org.opencms.flex.CmsFlexCache.CmsFlexCacheVariation;
import org.opencms.main.CmsEvent;
import org.opencms.main.CmsLog;
import org.opencms.main.I_CmsEventListener;... |
package org.pentaho.di.trans.step;
import java.util.ArrayList;
import java.util.List;
import org.pentaho.di.trans.step.errorhandling.StreamInterface;
public class StepIOMeta implements StepIOMetaInterface {
private boolean inputAcceptor;
private boolean outputProducer;
private boolean inputOptional;
... |
package org.phenoscape.bridge;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.UUID;
import org.obd.model.CompositionalDescription;
import org.obd.... |
package org.smblott.intentradio;
import android.app.Service;
import android.content.Intent;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.os.AsyncTask;
import android.os.IBinder;
import android.os.PowerManager;
import android.os... |
package org.usfirst.frc.team2503.r2016;
import edu.wpi.first.wpilibj.IterativeRobot;
public class Robot extends IterativeRobot {
public Robot() {
}
public void robotInit() {
}
public void disabledInit() {
}
public void disabledPeriodic() {
}
public void autonomousInit() {
}
p... |
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* the project. */
// FILE NAME: Autonomous.java (Team 339 - Kilroy)
// ABSTRACT:
// This file is where almost all code for Kilroy will be
// written. All of these functions are functions that should
// override methods in the base class (It... |
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* the project. */
package org.usfirst.frc.team5160.robot;
import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.buttons.JoystickButton;
import edu.wpi.first.wpili... |
// 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 org.visualtrading.xml;
import org.visualtrading.model.NewModel;
import org.visualtrading.xml.nanoxml.XMLElement;
import java.util.Enumeration;
import java.util.Hashtable;
public class ModelConverter implements Converter {
public ModelConverter() {
super();
}
public void addToMapping(Hashtabl... |
package pl.polidea.imagemanager;
import java.io.File;
import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.LinkedBlockingQueue;
import android.gra... |
package libraryFunctions;
import ast.ASTNode;
import ast.ASTVisitor;
import ast.ASTVisitorException;
import java.util.ArrayList;
import environment.Environment;
import environment.FunctionEnv;
import ast.Statement;
import ast.ExpressionStatement;
import ast.Block;
import ast.Expression;
import ast.FunctionDef;
import a... |
package ActiveMQ;
import java.util.Map;
import java.util.Timer;
import java.util.Map.Entry;
import java.util.TimerTask;
import java.util.concurrent.ConcurrentHashMap;
import plugincore.PluginEngine;
import shared.MsgEvent;
public class ActiveProducer
{
public Map<String,ActiveProducerWorker> producerWorkers;
pr... |
package biweekly.util;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Represents a UTC offset.
* @author Michael Angstadt
*/
public final class UtcOffset {
private final int hour;
private final int minute;
/**
* Creates a new UTC offset.
* @param hour the hour component (... |
package com.akiban.util;
import com.akiban.server.error.InvalidParameterValueException;
import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.Multimap;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundE... |
package com.hearthsim.card;
import com.hearthsim.card.minion.Hero;
import com.hearthsim.card.minion.Minion;
import com.hearthsim.card.spellcard.SpellCard;
import com.hearthsim.card.spellcard.SpellRandomInterface;
import com.hearthsim.event.CharacterFilter;
import com.hearthsim.event.deathrattle.DeathrattleAction;
impor... |
package com.jaamsim.ui;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.GraphicsEnvironment;
import java.awt.Image;
import java.awt.Insets;
import java.awt.Rectangle;
import java.awt.Toolkit;
i... |
package com.leafriend.flix;
public class Flix {
private Options options;
public static void main(String[] args) {
Options options = new Options();
new Flix(options).run();
}
public Flix(Options options) {
this.options = options;
}
public void run() {
}
} |
package com.ppa8ball;
import java.util.ArrayList;
import java.util.List;
import com.ppa8ball.stats.PlayerStat;
import com.ppa8ball.stats.PlayersStat;
import com.ppa8ball.stats.TeamStat;
public class TeamRoster {
public Player[] players = new Player[5];
public String name;
public int number;
public TeamR... |
package com.rarchives.ripme;
import java.awt.*;
import java.io.File;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.FileNotFoundException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Arrays;
import java.util.List;
import javax.swing.... |
package com.tek271.funj;
import com.google.common.annotations.Beta;
import com.google.common.collect.Lists;
import java.util.List;
import static com.tek271.funj.CollectionTools.isEmpty;
@Beta
public class Reducer {
/**
* interface to be implemented by reduce functions
* @param <T> type of value to reduce.... |
package com.cj.votron;
import java.util.ArrayList;
import java.util.Arrays;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.widget.ArrayAdapter;
import android.widget.ListView;
/**
* @author gvamos
*
*/
public class ElectionsActivity extends Activity {
private Lis... |
package DataStructures.linkedlistpack;
import DataStructures.exceptions.ItemNotFoundException;
public class List < T > implements Iterable<T>
{
final static int NOTFOUND = -1;
private ListNode< T > _Head;
private ListNode< T > _Tail;
private int _Size;
public List( )
{
this._Head = this.... |
package hudson.remoting;
import edu.umd.cs.findbugs.annotations.SuppressWarnings;
import hudson.remoting.CommandTransport.CommandReceiver;
import hudson.remoting.ExportTable.ExportList;
import hudson.remoting.PipeWindow.Key;
import hudson.remoting.PipeWindow.Real;
import hudson.remoting.forward.ListeningPort;
import hu... |
package interpreter.scheme;
import interpreter.*;
import interpreter.type.*;
import java.lang.IllegalArgumentException;
public class Base extends Library {
public class Plus extends Primitive {
public SchemeObject apply(Interpreter interpreter, SchemePair args) {
double total = 0.0;
... |
package net.glowstone;
import lombok.ToString;
import net.glowstone.ChunkManager.ChunkLock;
import net.glowstone.GlowChunk.ChunkSection;
import net.glowstone.GlowChunk.Key;
import net.glowstone.GlowChunkSnapshot.EmptySnapshot;
import net.glowstone.block.GlowBlock;
import net.glowstone.block.ItemTable;
import net.glowst... |
package net.odbogm;
import com.orientechnologies.orient.core.metadata.sequence.OSequenceLibrary;
import com.tinkerpop.blueprints.Direction;
import com.tinkerpop.blueprints.impls.orient.OrientEdge;
import com.tinkerpop.blueprints.impls.orient.OrientElement;
import com.tinkerpop.blueprints.impls.orient.OrientVertex;
impo... |
package ninja.joshdavis;
import java.io.IOException;
import java.util.Collection;
import java.util.HashSet;
import java.util.concurrent.Future;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ConcurrentLinkedQueue;
import com.ning.http.client.*;
import com.ning.http.client.extra.*;
import or... |
package nuclibook.models;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
import nuclibook.server.Renderable;
import java.util.HashMap;
@DatabaseTable(tableName = "cameras")
public class Camera implements Renderable {
@DatabaseField(generatedId = true)
private Integer i... |
package org.lantern;
import com.google.common.eventbus.Subscribe;
import java.util.Set;
import java.util.Timer;
import java.util.TimerTask;
import java.util.concurrent.ConcurrentSkipListSet;
import org.lastbamboo.common.p2p.P2PConnectionEvent;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
class PeerCounter e... |
package org.lantern;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.InetSocketAddress;
import java.net.ServerSocket;
import java.net.Socket;
import java.net.SocketAddress;
import java.util.concurrent.E... |
package org.neuron_di.api;
import net.sf.cglib.proxy.CallbackHelper;
import net.sf.cglib.proxy.Enhancer;
import net.sf.cglib.proxy.FixedValue;
import net.sf.cglib.proxy.NoOp;
import org.objenesis.Objenesis;
import org.objenesis.ObjenesisStd;
import javax.inject.Singleton;
import java.lang.reflect.Method;
import java.la... |
package sc.iview.vector;
import net.imglib2.Localizable;
import net.imglib2.RealLocalizable;
import net.imglib2.RealPositionable;
/**
* Interface for 3D vectors.
*
* @author Kyle Harrington
* @author Curtis Rueden
*/
public interface Vector3 extends RealLocalizable, RealPositionable {
// -- Vector3 methods --
... |
package sotechat.domain;
import javax.persistence.*;
import org.springframework.data.jpa.domain.AbstractPersistable;
/**
* Luokka viestien tallentamiseen
*/
@Entity
public class Message extends AbstractPersistable<Long> {
/**
* aikaleima muodossa DateTime.toString()
* */
private String date;
/**... |
package tigase.muc;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.logging.Level;
import java.util.logging.Logger;
import tigase.conf.Configurable;
import tigase.db.RepositoryFactory;
import tigase.db.Us... |
package model.statistics;
import utilities.structuredmap.StructuredMap;
public class EntityStatistics extends Statistics {
private int livesLeft;
private int experience;
private int movement;
private int currentHealth;
private int currentMana;
private int money;
public EntityStatistics() {
... |
package net.coobird.paint.driver;
import java.awt.AWTException;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Cursor;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.GridLayout;
import java.awt.HeadlessException;
import java.awt.Point;
import java.awt.Rectangle;
import java.a... |
package net.sf.jaer.aemonitor;
import java.util.Collection;
import net.sf.jaer.aemonitor.EventRaw.EventType;
import net.sf.jaer.eventio.AEFileInputStream;
/**
* A structure containing a packer of AEs: addresses, timestamps. The AE packet
* efficiently packages a set of events: rather than using an object per event,
... |
package org.beanmaker;
import java.util.List;
import java.util.Set;
import org.jcodegen.java.AnonymousClassCreation;
import org.jcodegen.java.Assignment;
import org.jcodegen.java.Comparison;
import org.jcodegen.java.Condition;
import org.jcodegen.java.ConstructorDeclaration;
import org.jcodegen.java.ElseBlock;
import o... |
package org.beanmaker;
import java.util.List;
import java.util.Set;
import org.jcodegen.java.AnonymousClassCreation;
import org.jcodegen.java.Assignment;
import org.jcodegen.java.Comparison;
import org.jcodegen.java.Condition;
import org.jcodegen.java.ConstructorDeclaration;
import org.jcodegen.java.ElseBlock;
import o... |
package org.biojava.bio.seq.io;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintStream;
import java.util.regex.Pattern;
import java.util.regex.Pat... |
package org.chromium.sdk;
/**
* Exposes additional data if variable is a property of object and its property descriptor
* is available.
*/
public interface JsObjectProperty extends JsVariable {
/**
* @return whether property described as 'writable'
*/
boolean isWritable();
/**
* @return property gette... |
package org.cloudbus.cloudsim;
import org.cloudbus.cloudsim.core.CloudSim;
/**
* CloudSim ResCloudlet represents a Cloudlet submitted to CloudResource for processing. This class
* keeps track the time for all activities in the CloudResource for a specific Cloudlet. Before a
* Cloudlet exits the CloudResource, it is ... |
package org.exist.xmldb;
import org.apache.log4j.Logger;
import org.apache.xmlrpc.XmlRpcException;
import org.exist.Namespaces;
import org.exist.dom.DocumentTypeImpl;
import org.exist.util.MimeType;
import org.exist.util.serializer.DOMSerializer;
import org.exist.util.serializer.SAXSerializer;
import org.exist.xquery.v... |
package org.helioviewer.jhv.opengl;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import org.helioviewer.jhv.base.BufferUtils;
import org.helioviewer.jhv.base.logging.Log;
import com.jogamp.common.nio.Buffers;
import com.jogamp.opengl.GL2;
public class GLLine {
private int[] vboAttribRefs;
private int... |
package org.irmacard.idemix;
import java.math.BigInteger;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Vector;
import org.irmacard.idemix.util.IdemixLogEntry;
import net.sourceforge.scuba.smartcards.CardService;
import net.sourceforge.scuba.smartcards.CardServiceException;
... |
package org.mozilla.javascript;
import java.util.Arrays;
import java.util.Collection;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Stack;
import org.mozilla.javascript.json.JsonParser;
import org.mozilla.javascript.xml.XMLObject;
/**
* This class... |
package org.selfip.bkimmel.util;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.security.DigestOutputStream;
import java.security.MessageDigest;
import org.selfip.bkimmel.io.NullOutputStream;
import org.selfip.bkimmel.io.StreamUtil;
/**
* Utility methods for working wi... |
// 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 com.kuxhausen.huemore;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.StatusLine;
import org.apache.http.client.Cli... |
package ru.spbau.tinydb.repl;
import org.antlr.v4.runtime.ANTLRInputStream;
import org.antlr.v4.runtime.CommonTokenStream;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import ru.spbau.tinydb.common.DBANTLRErrorListener;
import ru.spbau.tinydb.common.DBException;
import ru.spbau.t... |
package swarm.client.view.cell;
import java.util.ArrayList;
import java.util.logging.Logger;
import swarm.client.app.AppContext;
import swarm.client.entities.BufferCell;
import swarm.client.entities.I_BufferCellListener;
import swarm.client.managers.CameraManager;
import swarm.client.view.E_ZIndex;
import swarm.client.... |
package com.aol.cyclops;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Executors;
import java.util.stream.Stream;
import org.junit.Test;
import com.aol.cyclops.control.LazyReact;
import com.aol.cyclops.control.ReactiveSeq;
import com.aol.cyclops.control.StreamUtils;
import com.aol.cyclo... |
package guitests;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import guitests.guihandles.TaskCardHandle;
import seedu.taskmanager.commons.core.Messages;
import seedu.taskmanager.logic.commands.AddCommand;
import seedu.taskmanager.logic.parser.DateTimeUtil;
import seedu.taskmanager.testutil.TestTas... |
package us.kbase.common.utils;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.IOUtils;
import us.kbase.auth.AuthToken;
import java.io.File;
import java.io.IOException;
import java.util.ArrayLi... |
//Liangrui Lu
//1366461
//This class shows the view of a certain item(expense)
package com.example.traveltracker;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import... |
package hu.mentlerd.hybrid.asm;
import hu.mentlerd.hybrid.CallFrame;
import hu.mentlerd.hybrid.LuaTable;
import hu.mentlerd.hybrid.asm.OverloadResolver.OverloadRule;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.objectweb.asm.ClassVisitor;
import org.... |
import java.util.*;
public class ArgumentTypes {
public int handler_count = 41;
/* Primitive types (8) */
public void byte1(byte i) {
System.out.println(i);
}
public void short1(short i) {
System.out.println(i);
}
public void integer1(int i) {
System.out.println(i);
... |
package org.xcolab.portlets.userprofile;
import java.io.Serializable;
import java.util.Date;
import com.ext.portlet.NoSuchPlanItemException;
import com.ext.portlet.model.PlanFan;
import com.ext.portlet.model.PlanItem;
import com.ext.portlet.service.PlanItemLocalServiceUtil;
import com.liferay.portal.kernel.exception.Po... |
package com.diamondq.common.reaction.engine;
import com.diamondq.common.reaction.engine.definitions.JobDefinitionImpl;
import com.google.common.collect.ImmutableMap;
import java.util.Collections;
import java.util.Map;
import org.checkerframework.checker.nullness.qual.Nullable;
public class JobRequest {
public final... |
package com.ctrip.xpipe.redis.core.redis.operation.op;
import com.ctrip.xpipe.api.codec.Codec;
import com.ctrip.xpipe.redis.core.redis.operation.RedisOp;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.CompositeByteBuf;
import io.netty.buffer.Unpooled;
import java.util.List;
import java.util.stream.Collectors;
i... |
package org.voovan.tools;
import org.voovan.db.CallType;
import org.voovan.db.DataBaseType;
import org.voovan.db.JdbcOperate;
import org.voovan.tools.json.JSON;
import org.voovan.tools.log.Logger;
import org.voovan.tools.reflect.TReflect;
import java.lang.reflect.Method;
import java.math.BigDecimal;
import java.sql.*;
... |
package org.fusesource.restygwt.rebind;
import java.beans.Introspector;
import java.util.Collection;
import java.util.List;
import junit.framework.TestCase;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo.Id;
import org.fusesource.restygwt.rebind.JsonEncoderDec... |
package mx.udlap.settheory;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
public class SetTheoryOperations {
public static List<String> Union (List<List<String>> param)
{
//didn't use List.addall to prevent repeated values, something that doesn't happen in sets
Lis... |
package org.sagebionetworks.repo.web.service;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.mockito.Matchers.any;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
import static org... |
package solutions.digamma.damas.rs.content;
import solutions.digamma.damas.common.WorkspaceException;
import solutions.digamma.damas.content.Document;
import solutions.digamma.damas.content.DocumentManager;
import solutions.digamma.damas.rs.common.Authenticated;
import solutions.digamma.damas.rs.common.CrudResource;
im... |
package com.jetbrains.python.documentation;
import com.intellij.openapi.module.Module;
import com.intellij.openapi.module.ModuleUtil;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.Pair;
import com.intellij.openapi.util.text.LineTokenizer;
import com.intellij.openapi.util.text.StringUtil;... |
package net.finmath.montecarlo.interestrate.models;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.