answer stringlengths 17 10.2M |
|---|
package repackaged.net.sourceforge.isbnhyphenappender;
public enum Group {
/**
* Group: 978-0 - English language.
* <p>
* Valid publisher ranges:
* <pre>
* 00 - 19
* 200 - 227
* 2280 - 2289
* 229 - 638
* 6390 - 6398
* 6399000 - 6399999
... |
package jsettlers.integration.ai;
import static org.junit.Assert.fail;
import java.util.Arrays;
import org.junit.Test;
import jsettlers.ai.highlevel.AiStatistics;
import jsettlers.common.CommonConstants;
import jsettlers.common.ai.EPlayerType;
import jsettlers.common.buildings.EBuildingType;
import jsettlers.common.log... |
package com.fsck.k9.mail.store.imap;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.TimeZone;
import com.fsck.... |
package model;
import java.lang.ref.WeakReference;
import java.util.List;
import javafx.beans.property.BooleanProperty;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleBooleanProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;... |
package test.integration;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNotSame;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.io.BufferedReader;
import java.io.FileReader;
import java.util.Ar... |
package org.joml;
import java.io.IOException;
import java.lang.reflect.Field;
import java.nio.Buffer;
import java.nio.ByteBuffer;
import java.nio.DoubleBuffer;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
/**
* Helper class to do efficient memory operations on all JOML objects, NIO buffers and primitive arr... |
import com.sun.star.awt.Rectangle;
import com.sun.star.beans.PropertyValue;
import com.sun.star.beans.XPropertySet;
import com.sun.star.chart.XDiagram;
import com.sun.star.chart.XChartDocument;
import com.sun.star.container.XNameAccess;
import com.sun.star.container.XIndexAccess;
import com.sun.star.document.XEmbeddedO... |
package io.datakernel.ot;
import com.google.common.base.Joiner;
import com.google.gson.TypeAdapter;
import io.datakernel.utils.GsonAdapters;
import io.datakernel.utils.JsonException;
import javax.sql.DataSource;
import java.sql.*;
import java.util.*;
import java.util.concurrent.CompletionStage;
import java.util.concurr... |
package JUnitTests;
import static org.junit.Assert.*;
import org.junit.*;
import FunktioLaskin.Laskin;
public class LaskinTest {
private static Laskin laskin = new Laskin();
@Before
public void setUp() throws Exception {
System.out.println("Laskin nollataan aina ennen testiä" + laskin.annaTulos());
... |
package org.xbill.DNS;
import java.util.*;
import org.xbill.DNS.utils.*;
/**
* Constants and functions relating to DNSSEC (algorithm constants).
* DNSSEC provides authentication for DNS information. RRsets are
* signed by an appropriate key, and a SIG record is added to the set.
* A KEY record is obtained from DNS... |
package org.xbill.DNS;
import java.io.*;
/**
* A DNS master file parser. This incrementally parses the file, returning
* one record at a time. When directives are seen, they are added to the
* state and used when parsing future records.
*
* @author Brian Wellington
*/
public class Master {
private Name origin;
... |
package org.xbill.DNS;
import java.io.*;
import java.lang.reflect.*;
import java.util.*;
import org.xbill.DNS.utils.*;
/**
* The base class that all records are derived from.
*
* @author Brian Wellington
*/
abstract public class Record implements Cloneable {
protected Name name;
protected short type, dclass;
protec... |
package com.healthfortis.map.shared.client.ui;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import com.google.gwt.core.client.Callback;
import com.google.gwt.core.client.JavaScriptException;
import com.google.gwt.core.client.JavaScriptObject... |
import java.io.IOException;
import java.io.PrintWriter;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.Arrays;
import java.util.List;
import java.util.BitSet;
import java.security.SecureRandom;
import java.lang.Math;
import java.math.BigInteger;
import gnu.geto... |
package org.jetel.data;
import java.nio.ByteBuffer;
import java.util.*;
import org.jetel.metadata.DataRecordMetadata;
/**
* This class serves the role of DataRecords comparator.<br>
* It can compare two records with different structure based on
* specified fields. It is used when sorting, hashing or (in general)
*... |
package nl.rubensten.pp2lal2pp;
import nl.rubensten.pp2lal2pp.compiler.Compiler;
import nl.rubensten.pp2lal2pp.lang.Program;
import nl.rubensten.pp2lal2pp.parser.FileParser;
import nl.rubensten.pp2lal2pp.parser.Parser;
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
... |
import com.google.common.collect.ImmutableSet;
import org.wso2.carbon.uuf.DebugAppender;
import org.wso2.carbon.uuf.UUFRegistry;
import org.wso2.carbon.uuf.UUFService;
import org.wso2.carbon.uuf.core.ClassLoaderProvider;
import org.wso2.carbon.uuf.core.create.AppCreator;
import org.wso2.carbon.uuf.core.create.Renderabl... |
package ethanjones.cubes.graphics;
import ethanjones.cubes.core.logging.Log;
import ethanjones.cubes.core.platform.Adapter;
import ethanjones.cubes.core.platform.Compatibility;
import ethanjones.cubes.core.settings.Setting;
import ethanjones.cubes.core.settings.Settings;
import ethanjones.cubes.core.settings.type.DropD... |
package hudson.model;
import hudson.Launcher;
import hudson.Proc.LocalProc;
import hudson.Util;
import org.kohsuke.stapler.export.Exported;
import hudson.tasks.Fingerprinter.FingerprintAction;
import hudson.tasks.test.AbstractTestResultAction;
import hudson.maven.MavenBuild;
import static hudson.model.Hudson.isWindows;... |
package hudson.slaves;
import hudson.ExtensionPoint;
import hudson.Launcher;
import hudson.DescriptorExtensionList;
import hudson.model.queue.CauseOfBlockage;
import hudson.scm.SCM;
import hudson.model.AbstractBuild;
import hudson.model.BuildListener;
import hudson.model.Describable;
import hudson.model.Environment;
im... |
package hudson.tasks;
import hudson.model.AbstractProject;
import hudson.model.Descriptor;
import jenkins.model.Jenkins;
import hudson.model.AbstractProject.AbstractProjectDescriptor;
import hudson.Extension;
import hudson.util.DescriptorList;
import java.util.ArrayList;
import java.util.List;
/**
* List of all instal... |
package hudson.util.io;
import hudson.Functions;
import hudson.org.apache.tools.tar.TarOutputStream;
import hudson.os.PosixException;
import hudson.util.FileVisitor;
import hudson.util.IOUtils;
import org.apache.tools.tar.TarEntry;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream... |
package jlibs.core.nio;
import jlibs.core.lang.Waiter;
import jlibs.core.util.EmptyIterator;
import jlibs.core.util.NonNullIterator;
import java.io.IOException;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.nio.channels.SocketChannel;
import java.util.*;
import java.util.concurre... |
package mockit.coverage;
import java.io.*;
import java.util.*;
import static mockit.external.asm4.Opcodes.*;
import mockit.coverage.data.*;
import mockit.coverage.paths.*;
import mockit.external.asm4.*;
final class CoverageModifier extends ClassVisitor
{
private static final Map<String, CoverageModifier> INNER_CLASS... |
import java.util.*;
import java.io.*;
import jing.chem.*;
import jing.chemParser.*;
import jing.param.*;
import jing.chemUtil.*;
import jing.rxn.*;
import jing.rxnSys.*;
import jing.mathTool.*;
// MainRMG.java
public class RMG {
//## configuration RMG::RMG
public static void main(String[] args) {
long tAtI... |
package thredds.servlet;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import thredds.catalog.*;
import thredds.server.config.HtmlConfig;
import thredds.server.config.TdsContext;
import thredds.server.viewer.dataservice.ViewerService;
import thredds.util... |
package com.android.server;
//@Singleton
public class SystemServiceManager {
public static SystemServiceManager getInstance();
public void registerService(String name, Object service);
public Object getService(String name);
} |
package jolie.net.protocols;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import jolie.net.AbstractCommChannel;
import jolie.net.CommChannel;
import jolie.net.CommMessage;
import jolie.runtime.Value;
import jolie.runtime.ValueVector;
import jolie.runtime.VariablePath;
/**
* A Co... |
package joliex.util;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.StringReader;
import java.io.StringWriter;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.Tra... |
package org.jpos.q2.iso;
import java.util.Iterator;
import java.util.StringTokenizer;
import org.jdom.Element;
import org.jpos.core.ConfigurationException;
import org.jpos.iso.*;
import org.jpos.q2.QBeanSupport;
import org.jpos.q2.QFactory;
import org.jpos.space.LocalSpace;
import org.jpos.space.Space;
import org.jpos.... |
package to.etc.domui.dom;
import java.util.*;
import to.etc.domui.component.misc.*;
import to.etc.domui.dom.header.*;
import to.etc.domui.dom.html.*;
import to.etc.domui.server.*;
import to.etc.util.*;
public class HtmlFullRenderer extends NodeVisitorBase {
// private BrowserVersion m_browserVersion;
/** The... |
package to.etc.domui.dom;
import java.util.*;
import to.etc.domui.component.misc.*;
import to.etc.domui.dom.header.*;
import to.etc.domui.dom.html.*;
import to.etc.domui.server.*;
import to.etc.util.*;
public class HtmlFullRenderer extends NodeVisitorBase {
// private BrowserVersion m_browserVersion;
/** The... |
package com.camnter.utils.apk;
import android.annotation.SuppressLint;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.pm.ActivityInfo;
import android.content.pm.ApplicationInfo;
import android.content.pm.Pa... |
package org.languagetool.dev;
import org.apache.commons.lang.StringUtils;
import org.languagetool.JLanguageTool;
import org.languagetool.Language;
import org.languagetool.language.Contributor;
import org.languagetool.tools.StringTools;
import org.languagetool.tools.Tools;
import java.io.File;
import java.io.FileFilter;... |
package me.teaisaweso.client;
import java.util.Collection;
import junit.framework.Assert;
import junit.framework.TestCase;
import me.teaisaweso.client.graphmanagers.GraphManager2d;
import me.teaisaweso.client.graphmanagers.GraphManager2dFactory;
import me.teaisaweso.shared.Graph;
import me.teaisaweso.shared.Vertex;
imp... |
package com.kaneki.xchatmessageview.base;
import android.content.Context;
import android.graphics.Color;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewGroup;
import com.kaneki.xchat... |
package com.pengrad.telegrambot.request;
import com.pengrad.telegrambot.response.BaseResponse;
/**
* Stas Parshin
* 01 July 2017
*/
public class PromoteChatMember extends BaseRequest<PromoteChatMember, BaseResponse> {
public PromoteChatMember(Object chatId, long userId) {
super(BaseResponse.class);
... |
package liquibase.change.core;
import liquibase.change.DatabaseChange;
import liquibase.change.ChangeMetaData;
import liquibase.change.DatabaseChangeProperty;
import liquibase.database.Database;
import liquibase.datatype.DataTypeFactory;
import liquibase.exception.RollbackImpossibleException;
import liquibase.exception... |
package datafu.test.pig.stats;
import static org.testng.Assert.*;
import java.util.ArrayList;
import java.util.List;
import junit.framework.Assert;
import org.adrianwalker.multilinestring.Multiline;
import org.apache.pig.data.BagFactory;
import org.apache.pig.data.DataBag;
import org.apache.pig.data.Tuple;
import org.a... |
package com.angkorteam.mbaas.server.nashorn;
import com.angkorteam.mbaas.configuration.Constants;
import com.angkorteam.mbaas.model.entity.Tables;
import com.angkorteam.mbaas.model.entity.tables.QueryTable;
import com.angkorteam.mbaas.model.entity.tables.UserTable;
import com.angkorteam.mbaas.model.entity.tables.record... |
package hudson.model;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import hudson.model.Queue.BlockedItem;
import hudson.model.Queue.WaitingItem;
import hudson.model.listeners.RunListener;
import org.junit.Before;
import org.junit.Rule;
impor... |
package VASSAL.build.module;
import VASSAL.tools.ProblemDialog;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.event.ComponentAdapter;
import java.awt.event.ComponentEvent;
import java.awt.event.KeyEvent;
import java.io.IOException;
import java.net.U... |
package com.ecyrd.jspwiki;
import junit.framework.*;
import java.io.*;
import java.util.*;
public class TranslatorReaderTest extends TestCase
{
Properties props = new Properties();
public TranslatorReaderTest( String s )
{
super( s );
}
public void setUp()
throws Exception
{
... |
package com.ecyrd.jspwiki;
import junit.framework.*;
import java.io.*;
import java.util.*;
import javax.servlet.*;
public class TranslatorReaderTest extends TestCase
{
Properties props = new Properties();
WikiEngine testEngine1;
WikiEngine testEngine2;
public TranslatorReaderTest( String s )
{
... |
package net.katsuster.strview.media.ts;
import net.katsuster.strview.io.*;
import net.katsuster.strview.media.*;
/**
* @author katsuhiro
*/
public class TSPacketList extends AbstractLargeList<TSPacket> {
public LargeBitList buf;
public TSPacketList() {
super(LENGTH_UNKNOWN);
}
public TSPacketL... |
package me.exphc.Chestpack;
import java.util.Collections;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.UUID;
import java.util.Iterator;
import java.util.logging.Logger;
import java.util.concurrent.ConcurrentHashMap;
import java.util.Formatter;
impor... |
package org.geotools.geopkg;
import static java.lang.String.format;
import static org.geotools.sql.SqlUtil.prepare;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSe... |
package com.gurkensalat.osm.mosques;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.jdbc.datasource.DriverManagerDataSource;
import org.springframework.orm.jpa.JpaVendo... |
package com.shinemo.mpush.api.connection;
public final class SessionContext {
public String osName;
public String osVersion;
public String clientVersion;
public String deviceId;
public int heartbeat;
public Cipher cipher;
public void changeCipher(Cipher cipher) {
this.cipher = cipher... |
package de.dpunkt.myaktion.services;
import de.dpunkt.myaktion.model.Campaign;
import de.dpunkt.myaktion.model.Organizer;
import javax.annotation.Resource;
import javax.ejb.SessionContext;
import javax.ejb.Stateless;
import javax.inject.Inject;
import javax.persistence.EntityManager;
import javax.persistence.TypedQuery... |
package net.winstone;
import java.io.IOException;
import java.io.InputStream;
import java.io.InterruptedIOException;
import java.io.ObjectInputStream;
import java.io.OutputStream;
import java.lang.reflect.Constructor;
import java.net.InetAddress;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.Ar... |
package com.sun.star.wizards.db;
import com.sun.star.awt.XWindow;
import com.sun.star.lang.XInitialization;
import com.sun.star.ui.dialogs.XExecutableDialog;
import com.sun.star.lang.IllegalArgumentException;
import com.sun.star.lang.WrappedTargetException;
import com.sun.star.lang.XMultiServiceFactory;
import com.sun.... |
package org.openlca.app.editors.graphical.command;
import org.eclipse.gef.commands.Command;
import org.openlca.app.Messages;
import org.openlca.app.editors.graphical.model.ProcessNode;
public class ExpansionCommand extends Command {
final static int EXPAND = 1;
final static int COLLAPSE = 2;
final static in... |
package it.unibz.krdb.obda.gui;
import org.semanticweb.ontop.protege.utils.OptionPaneUtils;
import javax.swing.*;
public class PrettyOptionPaneTest {
public static void main(String[] args) {
String longMessage = "Here we have an test to show when PrettyOptionPane can be really useful. "+
"Th... |
package org.opennms.netmgt.collectd;
import java.util.Collection;
import java.util.Iterator;
import org.apache.log4j.Category;
import org.opennms.core.utils.ThreadCategory;
public class AliasedGroup extends AttributeGroup {
AttributeGroup m_group;
public AliasedGroup(CollectionResource resource, AttributeGroup ... |
//This file is part of the OpenNMS(R) Application.
//OpenNMS(R) is a derivative work, containing both original code, included code and modified
//and included code are below.
//OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
//This program is free software; you can redistribute it and/or modify
//(at yo... |
// This file is part of the OpenNMS(R) Application.
// OpenNMS(R) is a derivative work, containing both original code, included code and modified
// and included code are below.
// OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
// This program is free software; you can redistribute it and/or modify
// ... |
package org.opennms.web.rest;
import java.net.InetAddress;
import java.net.UnknownHostException;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.WebApplicationException;
import javax.ws.rs... |
package org.eclipse.mylyn.tasks.ui;
import java.text.MessageFormat;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.text.IRegion;
import org.eclipse.jface.text.hyperlink.IHyperlink;
import org.eclipse.mylyn.internal.tasks.ui.Messages;
import org.eclipse.mylyn.tasks.core.TaskRepository;
/**
* I... |
package org.hive2hive.core.tomp2p;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.KeyPair;
import jav... |
package entity;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Transient;
import javax.xml.bind.annotation.XmlElement;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
@Entity
public class Point implements Serializable {
p... |
package imj3.draft;
import static imj3.core.Channels.Predefined.a8r8g8b8;
import static imj3.core.Channels.Predefined.blue8;
import static imj3.core.Channels.Predefined.green8;
import static imj3.core.Channels.Predefined.red8;
import static imj3.draft.VisualSegmentation.getSharedProperty;
import static imj3.draft.Visua... |
package logbook.gui.logic;
import java.io.IOException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.List;
import logbook.constants.AppConstants;
import logbook.dto.AirBattleDto;
import logbook.dto.BattleAtackDto;
import logbook.dto.BattleExDto;
import logb... |
package reka.api;
import static java.lang.String.format;
import static reka.util.Util.unchecked;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataInput;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.UnsupportedEncodingException;
import java.... |
package com.thoughtworks.xstream.core;
import com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider;
import com.thoughtworks.xstream.converters.reflection.ReflectionProvider;
import java.lang.ref.WeakReference;
import java.lang.reflect.Field;
import java.security.AccessControlException;
import java.... |
package mockit.internal;
import static java.lang.reflect.Modifier.*;
import mockit.external.asm4.*;
import mockit.internal.state.*;
import mockit.internal.util.*;
import static mockit.external.asm4.ClassWriter.*;
import static mockit.external.asm4.Opcodes.*;
import org.jetbrains.annotations.*;
@SuppressWarnings("ClassW... |
package com.box.l10n.mojito;
import com.box.l10n.mojito.entity.BaseEntity;
import com.box.l10n.mojito.json.ObjectMapper;
import com.fasterxml.jackson.databind.DeserializationFeature;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.spring... |
package test.ccn.data;
import java.security.InvalidKeyException;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import java.security.Security;
import java.security.SignatureException;
import java.security.cert.X509Certificate;
import java.sql.Timestamp;
import java.util.Arrays;
import java.util.Da... |
package mocha.ui.collectionview;
import mocha.graphics.Rect;
import mocha.ui.Highlightable;
import mocha.ui.LongPressGestureRecognizer;
import mocha.ui.View;
import java.util.List;
class CollectionViewCell extends CollectionReusableView implements Highlightable {
private View contentView;
private View backgroun... |
package pdp.web;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.JsonMappingException;
import org.apache.openaz.xacml.api.Decision;
import org.apache.openaz.xacml.std.json.JSONResponse;
import org.apache.openaz.xacml.std.j... |
package uk.ac.ebi.biosamples.export;
import java.io.File;
import java.io.FileWriter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.hateoas.Resource;
import org.springframework.s... |
package com.intellij.openapi.options.ex;
import com.intellij.openapi.application.Application;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.options.Configurable;
import com.intellij.openapi.options.ConfigurableGroup;
import com.intellij.openapi.options.OptionsBundle;
import com... |
package com.intellij.util.indexing;
import com.intellij.diagnostic.PerformanceWatcher;
import com.intellij.openapi.application.Application;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.diagnostic.ControlFlowException;
import com.intellij.openapi.diagnostic.Logger;
import com.i... |
package poussecafe.processing;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Objects;
import org.slf4j.Logger;
import poussecafe.apm.ApplicationPerformanceMonitoring;
import poussecafe.environment.MessageListener;
import poussecafe.environment.MessageListenerConsumptio... |
package com.gravity.player;
import java.util.List;
import org.newdawn.slick.geom.Rectangle;
import org.newdawn.slick.geom.Shape;
import org.newdawn.slick.geom.Transform;
import org.newdawn.slick.geom.Vector2f;
import com.gravity.gameplay.GravityGameController;
import com.gravity.map.GameWorld;
import com.gravity.physic... |
package edu.wpi.first.wpilibj.templates;
/**
*
* @author Tyler
*/
public class Pickup {
public static final double SHOOTER_POSITION = 50;
public static final double PICKUP_TOLERANCE = 2;
public static boolean rollerArmUp;
public static boolean rollerArmDown;
public static double pickupMechSpeed;
... |
package org.noear.weed;
public class DbQuery extends DbAccess<DbQuery> {
public DbQuery(DbContext context)
{
super(context);
}
public DbQuery sql(SQLBuilder sqlBuilder) {
this.commandText = sqlBuilder.toString();
this.paramS.clear();
this._weedKey = null;
for (Obj... |
package ui.monitor.input;
import input.InputManager;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.GroupLayout;
import javax.swing.GroupLayout.Alignment;
import javax.swing.JLabel;
import javax.swing.LayoutStyle.ComponentPlacement;
import java.awt.Color;... |
package org.codehaus.xfire.util;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import org.codehaus.xfi... |
package tankattack;
import Sprites.*;
import java.util.*;
import javafx.animation.*;
import javafx.geometry.*;
import javafx.scene.*;
import javafx.scene.image.*;
import javafx.scene.input.*;
import javafx.scene.paint.*;
import javafx.scene.shape.*;
import javafx.stage.*;
import javafx.util.*;
/**
*
* @author Ruslan
... |
package com.ehpefi.iforgotthat;
import java.util.ArrayList;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.Gravity;
import android.v... |
import org.junit.Test;
import static org.junit.Assert.*;
import hageldave.imagingkit.filter.settings.FilterSettings;
public class FilterSettings_test {
@Test
public void testSetGet(){
String id = "testSetting";
FilterSettings settings = new FilterSettings();
assertFalse(settings.contains... |
package org.a0z.mpd;
import org.a0z.mpd.connection.MPDConnection;
import org.a0z.mpd.event.StatusChangeListener;
import org.a0z.mpd.event.TrackPositionListener;
import org.a0z.mpd.exception.MPDConnectionException;
import org.a0z.mpd.exception.MPDServerException;
import java.util.LinkedList;
import java.util.List;
/**
... |
/*
* $Log: FixedResult.java,v $
* Revision 1.7 2004-09-01 07:21:11 L190409
* correction in documentation
*
*/
package nl.nn.adapterframework.pipes;
import nl.nn.adapterframework.configuration.ConfigurationException;
import nl.nn.adapterframework.core.PipeLineSession;
import nl.nn.adapterframework.core.PipeRunExc... |
import java.util.ArrayList;
import java.util.List;
class Solution {
public List<List<Integer>> combine(int n, int k) {
List<List<Integer>> result = new ArrayList<>();
if (n <= 0 || k <= 0 || k > n) {
return result;
}
generateCombinations(n, k, 1, new ArrayList<Integer>(),... |
package restaurants.tests;
import org.openqa.selenium.remote.BrowserType;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.AfterSuite;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.BeforeSuite;
import restaurant... |
package com.uoit.freeroomfinder;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.DialogInterface.OnCancelListener;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bundle;
import android.v... |
package br.ufrn.Myeclone.controler;
import java.util.Properties;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.PasswordAuthentication;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
public c... |
package owltools.sim2;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
i... |
// 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.tsd;
import java.io.File;
import... |
package com.util;
import java.util.*;
import java.util.regex.Pattern;
import java.util.regex.Matcher;
import java.io.*;
public class ACLIManager {
private static ACLIManager aclimInstance = null;
private static final String CMD_EXEC = "cmd /c";
private static final String ACLI_EXEC ... |
package edu.stuy.starlorn.util;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.HashMap;
import java.awt.event.KeyEvent;
public class Preferences {
private static Ha... |
package util;
import java.io.File;
import java.io.FileOutputStream;
/**
* @author ProActiveTeam
* @version 1.0, 21 mars 2005
* @since ProActive 2.2
*
*/
public class buildManual {
static FileOutputStream all;
static String parent;
public static void main(String[] args) throws java.io.IOException {
... |
package etri.sdn.controller.protocol;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.EnumSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
impo... |
package jlibs.xml.xsd;
import jlibs.core.graph.*;
import jlibs.core.graph.navigators.FilteredTreeNavigator;
import jlibs.core.graph.sequences.DuplicateSequence;
import jlibs.core.graph.sequences.IterableSequence;
import jlibs.core.graph.sequences.RepeatSequence;
import jlibs.core.graph.visitors.ReflectionVisitor;
impor... |
class VolleyTeam implements Comparable<Team>{
private String name;
private int points;
private int victories;
private int balance;
public VolleyTeam(String s){
this.name=s;
}
public addPoints(int i){
this.points+=i;
}
public addVictory(){
victories++
}
... |
import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.IOException;
import java.io.FileNotFoundException;
import java.util.ArrayList;
public class Crch... |
// ZeissZVIReader.java
package loci.formats;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.util.Hashtable;
import java.util.Vector;
/**
* ZeissZVIReader is the file format reader for Zeiss ZVI files.
*
* @author Melissa Linkert linkert at cs.wisc.edu
* @author Curtis Rueden ctrueden a... |
// $Id: Trace.java,v 1.2 2003/11/27 21:09:14 belaban Exp $
package org.jgroups.log;
import java.io.*;
import java.net.*;
import org.apache.log4j.*;
/**
* Replacement for regular JGroups Trace, beased on log4j. log4j.properties should be somewhere on
* the CLASSPATH
* @author Bela Ban
*/
public class Trace {
sta... |
package scal.io.liger;
import android.content.Context;
public class Constants {
/** RequestCodes used for external Media Capture via
* {@link android.app.Activity#startActivityForResult(android.content.Intent, int)} */
public static final int REQUEST_VIDEO_CAPTURE = 100;
public static final int REQUES... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.