answer stringlengths 17 10.2M |
|---|
package org.jasig.portal;
import javax.servlet.*;
import javax.servlet.jsp.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;
import java.text.*;
import java.sql.*;
import java.net.*;
import com.objectspace.xml.*;
import org.jasig.portal.layout.*;
import org.jasig.portal.GenericPortalBean;
/**
* Pro... |
package se.z_app.stb;
import java.net.InetAddress;
public class STB {
} |
package baum;
import java.util.HashSet;
import org.apache.lucene.document.Document;
/**
*
* @author Jan Hofmeier
*
* @param <E> Enum das moegliche Attribute enthaelt
*
* Wrapper-Klasse des Baums, ermglicht das veraendern und anlegen aus einem anderen Package heraus
*/
public class Gaertner<E extends Enum<E> & Or... |
package de.naoth.rc;
import de.naoth.rc.core.dialog.Dialog;
import bibliothek.gui.DockUI;
import bibliothek.gui.dock.util.laf.Nimbus6u10;
import de.naoth.rc.components.preferences.PreferencesDialog;
import de.naoth.rc.core.server.ConnectionManager;
import de.naoth.rc.core.server.ConnectionStatusEvent;
import de.naoth.r... |
import org.apache.tools.ant.Task;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Project;
import org.apache.tools.ant.types.EnumeratedAttribute;
import java.net.InetAddress;
public class HostName extends Task {
private final static boolean DEBUG = false;
private String hostname; ... |
package burp;
import java.util.List;
import com.google.gson.Gson;
public class BFakeScannerForMessage implements IScannerCheck {
private EventServer wss;
private IBurpExtenderCallbacks callbacks;
private Gson gson;
public BFakeScannerForMessage(IBurpExtenderCallbacks callbacks, EventServer wss) {
... |
package ccw;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.Reader;
import java.net.URL;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Enumeration;
import java.util.List;
import java.util.Properties;
import java.util.TreeSet;
imp... |
// Narya library - tools for developing networked games
// This library is free software; you can redistribute it and/or modify it
// (at your option) any later version.
// This library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// You should ... |
package nanomsg.exceptions;
public class IOException extends java.io.IOException {
protected int errno = -1;
public IOException(final String message) {
super(message);
}
public IOException(final String message, final int errno) {
super(message);
this.errno = errno;
}
public IOException(Throwable... |
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// This library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// You should have received a copy of the GNU Lesser General ... |
package org.joda.time;
import java.io.Serializable;
import org.joda.time.convert.DurationConverter;
import org.joda.time.convert.ConverterManager;
import org.joda.time.format.ISODurationFormat;
/**
* AbstractDuration provides the common behaviour for duration classes.
* <p>
* This class should generally not be used ... |
package ruby.keyboardwarrior.data.tag;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import ruby.keyboardwarrior.common.Utils;
import ruby.keyboardwarrior.data.exception.DuplicateDataException;
import java.util.*;
//@@author A0139716X
/**
* A list of tags that enforces no nulls and... |
package sim.components.basic;
import java.util.ArrayList;
public class ProbabilityMultiplexer extends Multiplexer {
private ArrayList<Tuple> sinks;
private Double sum;
class Tuple {
Double mass;
Sink sink;
}
public ProbabilityMultiplexer() {
sinks = new ArrayList<>();
}
... |
package com.balancedpayments;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import java.util.ArrayList;
import java.util.HashMap;
import com.balancedpayments.errors.*;
import org.junit.Test;
public class CallbackTest extends BaseTes... |
package com.cognitect.transit;
import com.cognitect.transit.impl.JsonParser;
import com.cognitect.transit.impl.JsonReader;
import com.cognitect.transit.impl.JsonWriter;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.apache.commons.codec.binary.Base64;
import j... |
package de.bmoth.App;
import de.bmoth.app.OptionController;
import de.bmoth.app.PersonalPreferences;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import org.junit.Test;
import org.loadui.testfx.GuiTest;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import sta... |
package hudson.plugins.git;
import java.io.File;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.*;
public class IndexEntryTest {
private final String mode = "160000";
private final String type = "commit";
private final String object = "index-entry-object";
private final S... |
package laboratory.test.time;
import java.util.Date;
import java.util.GregorianCalendar;
import org.joda.time.DateTime;
import org.joda.time.Duration;
import org.joda.time.Interval;
import org.joda.time.Period;
import org.joda.time.format.DateTimeFormat;
import org.joda.time.format.DateTimeFormatter;
import org.junit.A... |
package org.goldenorb.test;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import org.apache.hadoop.io.LongWritable;
import org.apache.zookeeper.ZooKeeper;
import org.goldenorb.OrbRunner;
import org.goldeno... |
package org.rythmengine.issue;
import models.Foo;
import models.GH185Model;
import org.junit.Test;
import org.rythmengine.TestBase;
import org.rythmengine.conf.RythmConfigurationKey;
import org.rythmengine.extension.ICodeType;
import org.rythmengine.utils.Escape;
import org.rythmengine.utils.JSONWrapper;
import org.ryt... |
package seedu.jimi.logic;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static seedu.jimi.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import static seedu.jimi.commons.core.Messages.MESSAGE_INVALID_TASK_DISPLAYED_INDEX... |
package org.apache.commons.collections;
import junit.framework.*;
import java.io.IOException;
import java.io.Serializable;
import java.util.Collection;
import java.util.Map;
import java.util.Collection;
import java.util.Set;
import java.util.Iterator;
import java.util.HashSet;
import java.util.NoSuchElementException;
/... |
package org.jdesktop.swingx;
import java.awt.Color;
import java.awt.Component;
import java.awt.ComponentOrientation;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.KeyboardFocusManager;
import java.awt.event.ActionEvent;
import java.awt.event.MouseE... |
package com.jme3.font;
import java.io.IOException;
import com.jme3.export.InputCapsule;
import com.jme3.export.JmeExporter;
import com.jme3.export.JmeImporter;
import com.jme3.export.OutputCapsule;
import com.jme3.export.Savable;
import com.jme3.material.Material;
/**
* Represents a font within jME that is generated w... |
import javax.swing.*;
import java.util.ArrayList;
public class UI {
//all visible GUI display elements
JFrame frame;
//all invisible GUI display elements
JPanel base;
JPanel diceBase;
JPanel[] individualDiceBase;
//all background elements
Calc calc;
int playerCount;
public UI(Cal... |
package com.google.blockly.ui;
import android.content.Context;
import android.util.AttributeSet;
import android.view.ViewGroup;
/**
* ViewGroup base class that does not propagate pressed, activated, or selected state to child
* Views.
*/
public abstract class NonPropagatingViewGroup extends ViewGroup {
public No... |
package net.bytebuddy.agent.builder;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import lombok.EqualsAndHashCode;
import net.bytebuddy.description.type.TypeDescription;
import net.bytebuddy.dynamic.ClassFileLocator;
import net.bytebuddy.dynamic.loading.ClassInjector;
import java.lang.instrument.ClassFile... |
//package com.eastpoint.chrysalis;
package org.apache.fop.render.pcl;
// FOP
import org.apache.fop.render.PrintRenderer;
import org.apache.fop.messaging.MessageHandler;
import org.apache.fop.image.ImageArea;
import org.apache.fop.image.FopImage;
import org.apache.fop.apps.FOPException;
import org.apache.fop.fo.properti... |
package org.apache.xerces.framework;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.IOException;
import java.io.FileNotFoundException;
import java.io.Reader;
import java.net.URL;
import java.net.MalformedURLException;
import java.util.Locale;
import java.util.Hashtable;
import java.util.Re... |
package org.apache.xerces.impl.v2.xpath;
import org.apache.xerces.util.SymbolTable;
import org.apache.xerces.util.XMLChar;
import org.apache.xerces.xni.NamespaceContext;
import org.apache.xerces.xni.QName;
/**
* Bare minimum XPath parser.
*
* @author Andy Clark, IBM
* @version $Id$
*/
public class XPath {
// C... |
package cf.commonpoint;
import java.io.IOException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import cf.commonpoint.cputility.XMLParser;
import javax.xml.parsers.ParserConfigurationException;
import org.xml.sax.SAXException;
/**
*
* @author Sanjeet Singh R
*/
public... |
package com.gravity.fauna;
import org.newdawn.slick.geom.Vector2f;
import com.gravity.entity.PhysicsEntity;
import com.gravity.geom.Rect;
import com.gravity.levels.GameplayControl;
import com.gravity.physics.GravityPhysics;
import com.gravity.physics.PhysicalState;
import com.gravity.root.GameSounds;
public class Playe... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.broad.igv.ui.panel;
import org.apache.log4j.Logger;
import org.broad.igv.Globals;
import org.broad.igv.PreferenceManager;
import org.broad.igv.data.Interval;
import org.broad.igv.feature.Chromosome;
import or... |
package org.cipher.utils;
import org.cipher.utils.math.Matrix;
import java.lang.reflect.Array;
import java.lang.reflect.Type;
public final class CryptMatrixGenerator<T>
{
private final Class<T> clazzType;
private int column;
private int row;
private Matrix matrix;
private CryptMatrixGenerator(CryptM... |
package orc.run.porce;
import com.oracle.truffle.api.CompilerDirectives.TruffleBoundary;
import com.oracle.truffle.api.frame.VirtualFrame;
import orc.run.porce.runtime.CPSCallResponseHandler;
import orc.run.porce.runtime.Counter;
import orc.run.porce.runtime.PorcEClosure;
import orc.run.porce.runtime.PorcEExecutionRef;... |
package org.exist.xquery;
import org.exist.xquery.util.ExpressionDumper;
import org.exist.xquery.value.AtomicValue;
import org.exist.xquery.value.Item;
import org.exist.xquery.value.Sequence;
import org.exist.xquery.value.SequenceIterator;
import org.exist.xquery.value.StringValue;
import java.util.ArrayList;
import ja... |
package org.exist.xquery;
import org.exist.dom.QName;
import org.exist.xquery.util.ExpressionDumper;
import org.exist.xquery.value.BooleanValue;
import org.exist.xquery.value.Item;
import org.exist.xquery.value.Sequence;
import org.exist.xquery.value.SequenceIterator;
import org.exist.xquery.value.Type;
/**
* Represen... |
package org.jitsi.meet.test;
import org.openqa.selenium.*;
import org.openqa.selenium.chrome.*;
/**
* The static fixture which holds the drivers to access the conference
* participant pages.
*
* @author Damian Minkov
*/
public class ConferenceFixture
{
public static final String JITSI_MEET_URL_PROP = "jitsi-me... |
package org.nutz.mvc.config;
import java.util.Enumeration;
import java.util.LinkedList;
import java.util.List;
import javax.servlet.ServletContext;
import org.nutz.aop.DefaultClassDefiner;
import org.nutz.castor.Castors;
import org.nutz.ioc.Ioc;
import org.nutz.json.Json;
import org.nutz.lang.Lang;
import org.nutz.lang... |
package org.ohmage.domain;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.TimeZone;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.ohmage.annotator.... |
package org.pentaho.di.job.entry;
import java.util.List;
import org.pentaho.di.cluster.SlaveServer;
import org.pentaho.di.core.Const;
import org.pentaho.di.core.RowMetaAndData;
import org.pentaho.di.core.changed.ChangedFlagInterface;
import org.pentaho.di.core.database.DatabaseMeta;
import org.pentaho.di.core.exception... |
package org.subethamail.core.util;
import java.util.logging.Level;
import lombok.extern.java.Log;
/**
* Class which abstracts the handling of VERP bounces. This can
* separate the VERP token from the original address. It can
* also assemble an address from an email and a token.
*
* A VERP'd address looks like:
... |
package uk.ac.brighton.ci360.bigarrow;
import java.util.List;
import uk.ac.brighton.ci360.bigarrow.places.Place;
import uk.ac.brighton.ci360.bigarrow.places.PlaceDetails;
import uk.ac.brighton.ci360.bigarrow.places.PlacesList;
import android.app.Activity;
import android.location.Location;
import android.location.Locati... |
package uk.me.graphe.client.dialogs;
import uk.me.graphe.client.Graphemeui;
import com.google.gwt.event.dom.client.KeyCodes;
import com.google.gwt.event.dom.client.KeyDownEvent;
import com.google.gwt.event.dom.client.KeyDownHandler;
import com.google.gwt.event.dom.client.KeyUpEvent;
import com.google.gwt.event.dom.clie... |
package uk.org.cinquin.mutinack.misc_util;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.Serializable;
import java.lang.ref.SoftReference;
import java.nio.channels.FileLock;
import java.nio.channels.Overla... |
package com.precog.util;
import javolution.util.*;
import java.lang.UnsupportedOperationException;
import java.util.Set;
import javax.realtime.MemoryArea;
import javolution.context.ObjectFactory;
import javolution.lang.MathLib;
import javolution.lang.Reusable;
/**
* <p> This class represents either a table of bits or ... |
package soot.dex;
import static soot.dex.instructions.InstructionFactory.fromInstruction;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.jf.dexlib.Cod... |
package aQute.junit;
import static java.nio.charset.StandardCharsets.UTF_8;
import java.io.File;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.PrintStream;
import java.io.Writer;
import java.lang.annotation.Annotation;
import java.lang.reflect.InvocationTargetException;
import java.lang.... |
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Scanner;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* A class to check the Lotto Max bets
*
... |
package mpi.imglib.algorithm.fft;
import java.util.concurrent.atomic.AtomicInteger;
import edu.mines.jtk.dsp.FftComplex;
import edu.mines.jtk.dsp.FftReal;
import mpi.imglib.algorithm.Benchmark;
import mpi.imglib.algorithm.CanvasImage;
import mpi.imglib.algorithm.MultiThreadedOutputAlgorithm;
import mpi.imglib.algorithm... |
package jlibs.nblr.rules;
import java.util.*;
/**
* @author Santhosh Kumar T
*/
public class Paths extends ArrayList<Path>{
public final Path owner;
public final int depth;
public Paths(Path owner){
this.owner = owner;
if(owner!=null){
owner.children = this;
depth =... |
package ch.elexis.data;
import static ch.elexis.core.model.PatientConstants.FLD_EXTINFO_LEGAL_GUARDIAN;
import static ch.elexis.core.model.PatientConstants.FLD_EXTINFO_STAMMARZT;
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
impor... |
package peergos.server.storage;
import com.amazonaws.*;
import com.amazonaws.auth.*;
import com.amazonaws.client.builder.*;
import com.amazonaws.services.s3.*;
import com.amazonaws.services.s3.model.*;
import peergos.server.*;
import peergos.server.corenode.*;
import peergos.server.sql.*;
import peergos.server.util.*;
... |
// -*- mode:java; encoding:utf-8 -*-
// vim:set fileencoding=utf-8:
// @homepage@
package example;
import java.awt.*;
import java.awt.event.HierarchyEvent;
import java.awt.event.HierarchyListener;
import java.awt.geom.AffineTransform;
import java.awt.geom.GeneralPath;
import java.beans.PropertyChangeEvent;
import java.... |
import java.io.File;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Scanner;
import java.util.Stack;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class Compiler {
private final static Pattern relation_pattern = Pattern.compile("... |
package testing;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;
import enums.Color;
import enums.Number;
import enums.Shading;
import enums.Shape;
import setGame.Board;
import setGame.Card;
import setGame.Deck;
import setGame.Game;
public class GameTest {
@Before
public void s... |
package edu.duke.cabig.c3pr.dao;
import java.util.List;
import edu.duke.cabig.c3pr.domain.DiseaseTerm;
/**
* @author Krikor Krumlian
*/
public class DiseaseTermDao extends GridIdentifiableDao<DiseaseTerm> {
public Class<DiseaseTerm> domainClass() {
return DiseaseTerm.class;
}
@SuppressWarnings("un... |
package org.openforis.collect.manager;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Reader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Compara... |
package com.orientechnologies.common.collection;
import java.io.IOException;
import java.util.AbstractCollection;
import java.util.AbstractMap;
import java.util.AbstractSet;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.ConcurrentModificationException;
import j... |
package pw.ian.vrtransit;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Queue;
import org.gearvrf.GVRAndroidResource;
import org.gearvrf.GVRBitmapTexture;
import org.gearvrf.GVRContext;
import org.gearvrf.GVRMesh;
import ... |
package sample.java.project;
import com.beust.jcommander.JCommander;
import com.beust.jcommander.Parameter;
import com.beust.jcommander.ParameterException;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.NonNull;
import lombok.Setter;
/**
* The main class of the a... |
package se.raddo.raddose3D;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
/*
* TODO: This whole class appears to be overly complicated. The subclass seems
* unnecessary and the int->double... |
package de.nitri.gauge;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.LinearGradient;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.RadialGradient;
import android.graphi... |
package com.badlogic.gdx.net;
import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.net.HttpURLConnection;
import java.net.URL;
import java... |
package ui;
import ui.event.MenuEvent;
import javax.swing.*;
import java.awt.*;
public class MainMenuPanel extends JPanel {
// Variables declaration
private JButton hostGameButton;
private JButton joinGameButton;
private JButton logoutButton;
private JButton creditsButton;
/**
* Creates ... |
package BlueTurtle.TSE;
import static org.junit.Assert.assertTrue;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import org.junit.Before;
import org.junit.Test;
/**
* Unit test for simple Analyser.
*/
public class AnalyserTest {
@Before... |
package VASSAL.tools.io;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.IOException;
import java.util.Arrays;
import java.util.Random;
import java.util.zip.ZipFile... |
package de.bmoth.app;
import javafx.stage.Stage;
import org.junit.After;
import org.junit.BeforeClass;
import org.testfx.framework.junit.ApplicationTest;
import org.testfx.util.WaitForAsyncUtils;
import java.util.concurrent.TimeoutException;
import static org.testfx.api.FxToolkit.setupStage;
public abstract class Headl... |
package jwbroek.io;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import java.io.File;
import java.io.FileFilter;
import java.io.IOException;
import java.util.*;
import java.util.regex.Pattern;
/**
* Unit test for {@link jwbroek.io.FileSelector}.
*
* @author jwbroek... |
package org.cactoos.io;
import java.io.File;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import org.cactoos.Input;
import org.cactoos.text.TextOf;
import org.hamcrest.MatcherAssert;
import org.hamcrest.core.IsEqual;
import org.junit.Rule;
import org.junit.Test;
impo... |
package org.jsoup.parser;
import org.jsoup.Jsoup;
import org.jsoup.TextUtil;
import org.jsoup.nodes.Comment;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.nodes.TextNode;
import org.jsoup.select.Elements;
import org.junit.Test;
import java.util.List;
import static org.junit.Assert.as... |
package org.mariadb.jdbc;
import org.junit.Assert;
import org.junit.Assume;
import org.junit.Before;
import org.junit.Test;
import java.sql.*;
import java.util.Arrays;
import java.util.Properties;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import static org.junit.Assert.assertEq... |
package structure.impl;
import monitoring.impl.configs.NonDetConfig;
import structure.intf.Binding;
import structure.intf.Transition;
/**
* This class represents a Quantified Event Automaton (QEA) with the following
* characteristics:
* <ul>
* <li>There is one quantified variable
* <li>It can contain any number of... |
package gnu.mapping;
import java.io.*;
/** A Symbol is a Location in an Environment object. */
public class Symbol extends Location implements Externalizable
// implements java.util.Map.Entry
{
public final String getNamespaceURI()
{
Environment env = getEnvironment();
return env == null ? null : env.ge... |
package view;
import javafx.geometry.HPos;
import javafx.geometry.Insets;
import javafx.geometry.VPos;
import javafx.scene.control.*;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.GridPane;
import javafx.scene.layout.HBox;
import javafx.scene.layout.RowConstraints;
import model.Proof;
import java.ut... |
package pt.fccn.sobre.arquivo.pages;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import ja... |
package org.voltdb.iv2;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Future;
import org.mockito.InOrder;
import static org.mockito.Matchers.any;
import static org.mockito.Matchers.eq;
import static org.mockito.Mockito.*;
import java.util.ArrayList;
import java.util.List;
import org.voltco... |
package org.jfree.data.time.junit;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.ObjectInput;
import java.io.ObjectInputStream;
import java.io.ObjectOutput;
import java.io.ObjectOutputStream;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework... |
public static void main(string args[]);
{
int=a
getch();
}
} |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Model;
/**
*
* @author Leonardo
*/
public class telaLogin {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic her... |
package nxt;
import nxt.http.API;
import nxt.peer.Peers;
import nxt.user.Users;
import nxt.util.Logger;
import nxt.util.ThreadPool;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Pr... |
import java.util.*;
import java.io.*;
import java.lang.annotation.*;
import org.junit.*;
import org.junit.rules.*;
import org.junit.runner.*;
import org.junit.runners.model.*;
import org.json.simple.*;
import org.json.simple.parser.*;
import java.lang.reflect.*;
import asp.*;
import tester.*;
@Inherited
@Target(java.la... |
/*
* Gregory Pellegrin
* pellegrin.gregory.work@gmail.com
*/
/*
* TODO
*
* Refactoring
* Multijoueurs
* Collisions
* Objectifs annexes
* Map
* IA
* Site Web
* Son
*/
package Game;
import Entity.Ennemi;
import Entity.Entity;
import Entity.Player;
import Ennemi.MotherShip;
import Ennemi.BasicShip;
import En... |
package org.dazeend.harmonium.screens;
import java.util.ArrayList;
import java.util.List;
import java.util.Vector;
import org.dazeend.harmonium.Harmonium;
import org.dazeend.harmonium.music.Album;
import org.dazeend.harmonium.music.AlbumReadable;
import org.dazeend.harmonium.music.Disc;
import org.dazeend.harmonium.mus... |
package battlecode.world;
import static battlecode.common.GameConstants.*;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import com.google.common.base.Predicate;
import com.google.common.collect.ForwardingMultimap;
i... |
package com.faveset.khttp;
import java.nio.ByteBuffer;
/**
* Note that all implementations may be initialized statically and thus
* should be stateless.
*/
interface StateHandler {
/**
* Performs a step of the state machine when reading new data from the
* connection.
*
* @param buf holds unr... |
package controller;
import view.MapEditorPanel;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
public class MapEditorController implements KeyListener {
private final String[] terrainTypesArray = {"Woods", "Pasture",... |
package h2o.common;
import h2o.common.exception.ExceptionUtil;
import h2o.common.util.collection.CollectionUtil;
import h2o.jodd.util.SystemUtil;
import org.apache.commons.configuration.PropertiesConfiguration;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.List;
public class Mode {
priva... |
package ed.lang.ruby;
import java.math.BigDecimal;
import java.math.BigInteger;
import org.jruby.*;
import org.jruby.internal.runtime.methods.JavaMethod;
import org.jruby.javasupport.JavaUtil;
import org.jruby.runtime.*;
import org.jruby.runtime.builtin.IRubyObject;
import static org.jruby.runtime.Visibility.PUBLIC;
im... |
package com.akiban.admin;
public class AdminKey
{
// Cluster configuration. Format:
// name: [*]host:port
// The names $admin and $mysql are reserved for configuring the addresses of the admin service and the mysql head.
// All other names are chunkserver names. * is used to denote the lead chunkserver.... |
package com.ceph.rados;
import static com.ceph.rados.Library.rados;
import java.io.Closeable;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.Callable;
import com.ceph.rados.exceptions.RadosException;
import com.sun.jna.Callback;
import com.sun.jna.Pointer;
import... |
package com.codeski.nbt;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.zip.GZIPOutputStream;
import com.codeski.nbt.tags.NBT;
/**
* Class for writing NBT structures as... |
package com.crawljax.core;
import java.util.List;
import org.apache.log4j.Logger;
import com.crawljax.browser.EmbeddedBrowser;
import com.crawljax.core.configuration.CrawljaxConfigurationReader;
import com.crawljax.core.exception.BrowserConnectionException;
import com.crawljax.core.exception.CrawlPathToException;
impor... |
package com.ctrip.ops.sysdev;
import org.apache.commons.cli.*;
import com.ctrip.ops.sysdev.inputs.BaseInput;
import java.io.IOException;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Map;
import java.util... |
package com.github.nwillc.opa;
import com.github.nwillc.opa.query.Query;
import java.util.Optional;
import java.util.stream.Stream;
/**
* A simplistic data access object interface. Supporting create/update, deletion and retrieval.
*
* @param <K> the type of the key for the persisted type
* @param <T> the type being... |
package com.jcabi.github;
import com.google.common.base.Optional;
import com.jcabi.aspects.Immutable;
import com.jcabi.aspects.Loggable;
import java.io.IOException;
import java.net.URL;
import javax.json.Json;
import javax.json.JsonObject;
import javax.json.JsonObjectBuilder;
import javax.validation.constraints.NotNull... |
package com.justjournal.db;
import org.apache.cayenne.Cayenne;
import org.apache.cayenne.ObjectContext;
import org.apache.cayenne.access.DataContext;
import org.apache.log4j.Logger;
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.Collection;
/**
* Tag management
* @author Lucas Holt
*/
final ... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platfroms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platforms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platforms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.