answer stringlengths 17 10.2M |
|---|
package mu.nu.nullpo.gui.slick;
import java.awt.image.BufferedImage;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
import java.text.DateFormat;
import java.text.DecimalFormat;
import java.text.S... |
package nl.mvdr.tinustris.configuration;
import java.util.Collections;
import java.util.List;
import java.util.Random;
import nl.mvdr.tinustris.gui.GraphicsStyle;
/**
* Game configuration.
*
* Sensible defaults have been included for all configuration properties, using default methods.
*
* @author Martijn van de R... |
package net.devrieze.chatterbox.client;
import net.devrieze.chatterbox.shared.MessagePojo;
import com.google.gwt.xml.client.NodeList;
import com.google.gwt.xml.client.XMLParser;
public class Message extends MessagePojo{
private static final long serialVersionUID = -24721040835336897L;
public Message(MessagePojo pPo... |
package org.sakaiproject.profilewow.tool.producers;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.sakaiproject.api.common.edu.person.SakaiPerson;
import org.sakaiproject.api.common.edu.person.SakaiPersonManager;
import ... |
package org.jivesoftware.smack;
import org.jivesoftware.smack.packet.Packet;
import org.jivesoftware.smack.filter.PacketFilter;
/**
* Provides a mechanism to listen for packets that pass a specified filter.
* This allows event-style programming -- every time a new packet is found,
* the {@link #processPacket(Packet)... |
package org.labkey.wnprc_ehr;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import org.labkey.api.view.JspView;
import org.labkey.api.view.WebPartView;
import org.springframework.mock.web.MockHttpServletRequest;
import org.springframework.mock... |
package net.hexid.hexbot;
import java.util.Arrays;
import net.hexid.hexbot.bot.Bots;
import net.hexid.hexbot.bot.BotGUI;
import net.hexid.hexbot.bot.BotCLI;
public class HexBot {
public HexBot() {
Bots.addBot("astral", "Astral WoW", "net.hexid.hexbot.bots.Astral", "net.hexid.hexbot.bots.AstralTab", "Astral.... |
package com.matthewtamlin.spyglass.processors.annotation_utils.annotation_mirror_util;
import com.google.testing.compile.JavaFileObjects;
import com.matthewtamlin.java_compiler_utilities.element_supplier.CompilerMissingException;
import com.matthewtamlin.java_compiler_utilities.element_supplier.IdBasedElementSupplier;
... |
package liquibase.diff;
import liquibase.change.*;
import liquibase.csv.CSVWriter;
import liquibase.database.Database;
import liquibase.database.structure.*;
import liquibase.exception.JDBCException;
import liquibase.log.LogFactory;
import liquibase.parser.LiquibaseSchemaResolver;
import liquibase.parser.xml.XMLChangeL... |
package org.mwc.cmap.gt2plot.proj;
import java.awt.Dimension;
import java.awt.Point;
import java.awt.Rectangle;
import java.awt.geom.NoninvertibleTransformException;
import java.util.Iterator;
import junit.framework.TestCase;
import org.eclipse.core.runtime.Status;
import org.geotools.geometry.DirectPosition2D;
import ... |
package com.intellij.uiDesigner.make;
import com.intellij.openapi.application.ApplicationNamesInfo;
import com.intellij.openapi.editor.Document;
import com.intellij.openapi.fileEditor.FileDocumentManager;
import com.intellij.openapi.module.Module;
import com.intellij.openapi.project.Project;
import com.intellij.openapi... |
package i5.las2peer.p2p;
import java.io.File;
import java.io.Serializable;
import java.lang.management.ManagementFactory;
import java.lang.reflect.InvocationTargetException;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.Iterator;
import java.util... |
package io.vertx.ext.web.impl;
import io.vertx.codegen.annotations.Nullable;
import io.vertx.core.Handler;
import io.vertx.core.MultiMap;
import io.vertx.core.Vertx;
import io.vertx.core.buffer.Buffer;
import io.vertx.core.http.HttpMethod;
import io.vertx.core.http.HttpServerRequest;
import io.vertx.core.http.HttpServe... |
package nl.b3p.viewer.stripes;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.OutputStream;
import java.io.StringReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.... |
package org.xwiki.rendering.macro.rss;
import java.net.MalformedURLException;
import java.net.URL;
import org.apache.commons.lang.StringUtils;
import org.xwiki.properties.annotation.PropertyDescription;
import org.xwiki.properties.annotation.PropertyMandatory;
import org.xwiki.rendering.macro.parameter.MacroParameterEx... |
package org.bouncycastle.cms;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProviderException;
import java.security.PublicKey;
import java.security.... |
package org.openhab.binding.amazonechocontrol.internal;
import static org.openhab.binding.amazonechocontrol.internal.AmazonEchoControlBindingConstants.*;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URISyntaxException;
import java.net.URLDecoder;
import java.net.URLEncoder;
i... |
package org.exist.xquery.functions.fn;
import java.io.StringWriter;
import java.io.Writer;
import org.exist.dom.QName;
import org.exist.storage.serializers.Serializer;
import org.exist.xquery.BasicFunction;
import org.exist.xquery.Cardinality;
import org.exist.xquery.Function;
import org.exist.xquery.FunctionSignature;... |
package org.ice4j.socket;
import java.net.*;
/**
* Implements a <tt>DatagramPacketFilter</tt> which only accepts
* <tt>DatagramPacket</tt>s which represent RTCP messages according to the rules
* described in RFC5761.
*
* @author Emil Ivov
* @author Boris Grozev
*/
public class RtcpDemuxPacketFilter
implement... |
package Models;
import Helpers.*;
import Models.Actions.*;
import java.util.*;
import java.util.Stack;
import Models.Actions.MActions.MAction;
// This enum declaration might need to be moved, not sure how accessible it is right now
// (needs to be accessible by GameModel and the Controller). #JavaTroubles
enum GameStat... |
package org.immopoly.appengine;
import java.net.URL;
import java.util.List;
import java.util.Map;
import javax.jdo.PersistenceManager;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.immopoly.common.ImmopolyException;
import org.json.JSONObject;
public class Actio... |
package app.musicplayer.view;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collections;
import java.util.ResourceBundle;
import app.musicplayer.model.Album;
import app.musicplayer.model.Library;
import app.musicplayer.model.Song;
import app.musicplayer.util.ClippedTableCell;
import app.musicplayer.... |
package org.jenetics;
import static java.lang.Math.max;
import static java.lang.Math.min;
import java.util.Random;
import org.jenetics.util.Array;
import org.jenetics.util.Probability;
import org.jenetics.util.RandomRegistry;
public class PartiallyMatchedCrossover<G extends Gene<?, G>> extends Crossover<G> {
privat... |
package com.github.podd.impl;
import info.aduna.iteration.Iterations;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import ... |
package org.lwjgl.opengl;
import java.nio.IntBuffer;
import org.lwjgl.BufferUtils;
import org.lwjgl.opengl.GL;
import org.lwjgl.opengl.WGL;
import org.lwjgl.opengl.WGLARBCreateContext;
import org.lwjgl.opengl.WGLARBCreateContextProfile;
import org.lwjgl.opengl.WGLARBMultisample;
import org.lwjgl.opengl.WGLARBPixelForma... |
package won.node.rest;
import com.hp.hpl.jena.rdf.model.Model;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import won.protocol.exception.NoSuchConnectionException;
import won.protocol.exception.NoSuchNeedException;
import won.protocol.service.L... |
package org.innovateuk.ifs.application.review.controller;
import org.innovateuk.ifs.application.forms.form.ApplicationReopenForm;
import org.innovateuk.ifs.application.forms.form.ApplicationSubmitForm;
import org.innovateuk.ifs.application.resource.ApplicationResource;
import org.innovateuk.ifs.application.review.popul... |
package org.nutz.aop;
import java.lang.reflect.Method;
/**
*
* @author wendal(wendal1985@gmail.com)
* @see org.nutz.aop.MethodInterceptor
*/
public abstract class AbstractMethodInterceptor implements MethodInterceptor {
public Object afterInvoke(Object obj, Object returnObj, Method method, Object... args) {
... |
package org.u_compare.gui.component;
import java.awt.BorderLayout;
import java.awt.CardLayout;
import java.awt.Color;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.FocusEvent;
import java.awt.event.FocusListener;
import java.awt.event.MouseAdapter;
... |
package org.opendaylight.controller.cluster.access.client;
import akka.actor.ActorRef;
import com.google.common.base.Preconditions;
import javax.annotation.Nonnull;
import org.opendaylight.yangtools.concepts.Mutable;
/**
* Common, externally-invisible superclass of contexts associated with a {@link AbstractClientActor... |
package org.usfirst.frc.team236.robot;
import standard.LogitechF310;
/**
* The RobotMap is a mapping from the ports sensors and actuators are wired into
* to a variable name. This provides flexibility changing wiring, makes checking
* the wiring easier and significantly reduces the number of magic numbers
* floatin... |
package se.citerus.cqrs.bookstore.ordercontext.client.productcatalog;
import com.sun.jersey.api.client.Client;
public class ProductCatalogClient {
private final Client client;
private final String serviceUrl;
private ProductCatalogClient(Client client, String serviceUrl) {
this.client = client;
this.servi... |
package org.usfirst.frc.team236.robot;
/**
* The RobotMap is a mapping from the ports sensors and actuators are wired into
* to a variable name. This provides flexibility changing wiring, makes checking
* the wiring easier and significantly reduces the number of magic numbers
* floating around.
*/
public class Rob... |
package com.redhat.ceylon.eclipse.debug.ui.launchConfigurations;
import static com.redhat.ceylon.eclipse.imp.proposals.CeylonContentProposer.getDescriptionFor;
import static com.redhat.ceylon.eclipse.imp.proposals.CeylonContentProposer.getStyledDescriptionFor;
import java.util.ArrayList;
import java.util.Arrays;
import... |
package org.eclipse.che.ide.extension.machine.client;
import com.google.inject.Inject;
import com.google.inject.Provider;
import com.google.inject.Singleton;
import com.google.web.bindery.event.shared.EventBus;
import org.eclipse.che.api.machine.gwt.client.events.WsAgentStateEvent;
import org.eclipse.che.api.machine.gw... |
package org.wikipedia.servlets;
import java.io.*;
import java.util.*;
import javax.swing.JOptionPane;
import javax.servlet.*;
import javax.servlet.http.*;
import org.wikipedia.Wiki;
/**
* A crude replacement for Eagle's cross-wiki linksearch tool.
* @author MER-C
* @version 0.02
*/
public class XWikiLinksearch e... |
package com.speedment.runtime.connector.sqlite.internal;
import com.speedment.runtime.config.Column;
import com.speedment.runtime.core.db.DbmsColumnHandler;
import java.util.function.Predicate;
/**
* Implementation of {@link DbmsColumnHandler} for SQLite databases.
*
* @author Emil Forslund
* @since 3.1.10
*/
pub... |
package org.eclipse.birt.report.designer.internal.ui.editors.schematic.editparts;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.eclipse.birt.report.designer.core.DesignerConstants;
import org.eclipse.birt.report.designer.core.commands.DeleteColumnCommand;
import org.eclipse.bi... |
package edu.northwestern.bioinformatics.studycalendar.security.plugin.cas;
import edu.northwestern.bioinformatics.studycalendar.security.plugin.AbstractAuthenticationSystem;
import edu.northwestern.bioinformatics.studycalendar.security.plugin.AuthenticationSystemTools;
import edu.northwestern.bioinformatics.studycalend... |
package be.ibridge.kettle.core;
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.List;
import java.util.Map;
/**
* This class is a container for "Local" enrvironment variables.
* This is a singleton. We are going to launch jobs using a customer classloader.
* This will make the variables ins... |
package chunk;
import org.junit.Assert;
import org.junit.Test;
import org.mwdb.Constants;
import org.mwdb.KType;
import org.mwdb.chunk.*;
import org.mwdb.chunk.heap.HeapStateChunk;
import org.mwdb.utility.PrimitiveHelper;
public class StateChunkTest implements KChunkListener {
private int nbCount = 0;
@Test
... |
package be.ibridge.kettle.www;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintStream;
import java.util.zip.GZIPOutputStream;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import... |
package beast.app.treeannotator;
import java.io.*;
import java.util.*;
import javax.swing.JFrame;
import beast.app.BEASTVersion;
import beast.app.beauti.BeautiDoc;
import beast.app.tools.LogCombiner;
import beast.app.util.Arguments;
import beast.app.util.Utils;
import beast.core.util.Log;
import beast.evolution.alignme... |
package br.unisinos.tokens.impl;
import br.unisinos.MultiLineStringReader;
import br.unisinos.tokens.Token;
import br.unisinos.tokens.TokenParser;
import br.unisinos.tokens.TokenType;
import java.util.Optional;
public abstract class OperatorToken extends Token {
OperatorToken(TokenType type, String value) {
... |
package info.puzz.a10000sentences.utils;
import android.content.Context;
import android.os.Bundle;
import android.speech.tts.TextToSpeech;
import android.widget.Toast;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Locale;
import java.util.Set;
import info.puzz.a10000sentences.Preferences;
import ... |
package cluster.worker;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileWriter;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.... |
package codeu.chat.client.simplegui;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.*;
import javafx.scene.layout.*;
import javafx.stage.Stage;
import javafx.scene.text.*;
import javafx.collections.*;
import code... |
package news.caughtup.caughtup.ws.remote;
import android.os.AsyncTask;
import com.google.gson.Gson;
import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.MalformedU... |
package org.opendaylight.controller.sal.dom.broker;
import static com.google.common.base.Preconditions.checkState;
import com.google.common.annotations.VisibleForTesting;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Enumeration;
import java.util.List;
import org.openda... |
package org.openwms.tms.domain.comparator;
import java.io.Serializable;
import java.util.Comparator;
import org.openwms.tms.domain.order.TransportOrder;
/**
* A TransportStartComparator. I used to sort TransportOrders is a particular
* order. Unfortunately some fields of the TransportOrder class are defined as
* Enu... |
package com.bkahlert.nebula.utils;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.Reader;
import java.io.StringReader;
import java.io.StringWriter;
import java.io.Writer;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import ja... |
package com.cavariux.twitchirc.Core;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.Socket;
import java.util.ArrayList;
import com.cavariux.twitchirc.Chat.Channel;
import com.cavariux.twitchir... |
package com.stylepoints.habittracker.model;
import com.stylepoints.habittracker.repository.remote.Id;
import java.time.LocalDate;
/**
* The model class for a User. Implements the Id interface so that it can be
* serialized and uploaded to Elastic Search. This class is automatically serialized
* by gson into JSON whe... |
package org.unitime.timetable.webutil;
import java.util.Collection;
import java.util.Iterator;
import java.util.Vector;
import javax.servlet.http.HttpServletRequest;
import org.unitime.commons.Debug;
import org.unitime.commons.web.WebTable;
import org.unitime.localization.impl.Localization;
import org.unitime.localizat... |
package com.eddysystems.eddy;
import com.eddysystems.eddy.actions.EddyAction;
import com.eddysystems.eddy.engine.Eddy;
import com.intellij.codeInsight.hint.HintManager;
import com.intellij.codeInsight.hint.HintManagerImpl;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.editor.Do... |
package com.edinarobotics.utils.pid;
/**
* This class is used to exchange PID configuration data with PIDTuningManager.
* It provides methods to get the latest P, I and D values set by the dashboard
* and to provide value and setpoint feedback to the dashboard.
*/
public class PIDConfig {
private String name;
... |
package com.example.reader;
import ilearnrw.textadaptation.TextAnnotationModule;
import ilearnrw.textclassification.Word;
import ilearnrw.user.problems.ProblemDefinition;
import ilearnrw.user.problems.ProblemDefinitionIndex;
import ilearnrw.user.problems.ProblemDescription;
import ilearnrw.user.profile.UserProfile;
imp... |
package com.yahoo.vespa.hosted.athenz.instanceproviderservice;
import com.google.inject.Inject;
import com.yahoo.component.AbstractComponent;
import com.yahoo.config.provision.SystemName;
import com.yahoo.config.provision.Zone;
import com.yahoo.jdisc.http.SecretStore;
import com.yahoo.jdisc.http.ssl.SslKeyStoreConfigur... |
package com.jackwink.libsodium;
import com.jackwink.libsodium.jni.Sodium;
public class NaCl {
private static NaCl instance = null;
protected NaCl() {
// Exists to defeat instantiation and force the first created instance to call sodium_init
if (Sodium.sodium_init() == -1) {
throw new... |
package org.openbmap.activity;
import java.io.File;
import java.util.ArrayList;
import java.util.Iterator;
import org.mapsforge.core.graphics.Color;
import org.mapsforge.core.graphics.Paint;
import org.mapsforge.core.graphics.Style;
import org.mapsforge.core.model.BoundingBox;
import org.mapsforge.core.model.LatLong;
i... |
package com.marverenic.music;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.media.AudioManager;
impor... |
package org.apereo.cas.configuration.model.core.web.security;
import org.apereo.cas.configuration.model.core.authentication.PasswordEncoderProperties;
import org.apereo.cas.configuration.model.support.jpa.AbstractJpaProperties;
import org.apereo.cas.configuration.model.support.ldap.AbstractLdapAuthenticationProperties;... |
package org.commcare;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Handler;
import android.os.Looper;
import android.util.Base64;
import org.commcare.activities.PromptUpdateActivity;
import org.commcare.core.interfaces.HttpResponseProcessor;
imp... |
package com.ilya.sergeev.potlach;
import java.io.File;
import java.io.IOException;
import android.app.AlertDialog;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.IntentFilter;
import android.net.Uri;... |
//$HeadURL: svn+ssh://mschneider@svn.wald.intevation.org/deegree/deegree3/trunk/deegree-core/deegree-core-metadata/src/main/java/org/deegree/metadata/iso/persistence/QueryHelper.java $
package org.deegree.metadata.iso.persistence.sql;
import static org.deegree.commons.jdbc.ConnectionManager.Type.MSSQL;
import static or... |
package org.deeplearning4j.word2vec.vectorizer;
import org.deeplearning4j.berkeley.Counter;
import org.deeplearning4j.datasets.DataSet;
import org.deeplearning4j.datasets.vectorizer.Vectorizer;
import org.deeplearning4j.util.MathUtils;
import org.deeplearning4j.util.SetUtils;
import org.deeplearning4j.word2vec.sentence... |
package com.google.sps;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import com.google.auth.oauth2.GoogleCredentials;
import com.google.cloud.firestore.CollectionReference;
import com.google.cloud.firestore.Firestore;
import com.google.cloud.fir... |
package org.springframework.ide.eclipse.boot.wizard;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.resources.WorkspaceJob;
import org.eclipse.core.runtime.Assert;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Statu... |
package com.maddyhome.idea.vim.group;
import com.google.common.collect.ImmutableList;
import com.intellij.codeInsight.lookup.impl.LookupImpl;
import com.intellij.openapi.actionSystem.*;
import com.intellij.openapi.actionSystem.ex.ActionManagerEx;
import com.intellij.openapi.actionSystem.ex.ActionUtil;
import com.intell... |
package org.mifosplatform.accounting.journalentry.service;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import org.joda.time.LocalDate;
import org.mifosplatform.accounting.closure.domain.GLClosure... |
package com.x.processplatform.assemble.surface.jaxrs.attachment;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import jav... |
package com.muhavision.control;
public class ExpoController {
//If it crashes it's because of this + mami ne dotike se.
public static double getExpo(int power){
if (power<0) return-(0.6 * Math.exp(-0.035*(double)power) - 0.6);
return 0.6 * Math.exp(0.035*(double)power) - 0.6;
}
} |
package org.opencb.opencga.storage.core.variant.annotation;
import org.junit.Test;
import org.opencb.biodata.models.variant.Variant;
import org.opencb.biodata.models.variant.avro.AdditionalAttribute;
import org.opencb.biodata.models.variant.avro.ConsequenceType;
import org.opencb.biodata.models.variant.avro.VariantAnno... |
package org.opendaylight.controller.topologymanager.internal;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.util.ArrayList;
import java.util.Dictionary;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterat... |
package com.precisionguessworks.frc;
import edu.wpi.first.wpilibj.*;
public class Robot2011 extends IterativeRobot {
private DigitalInput line1;
private DigitalInput line2;
private RobotDrive drive;
private Joystick joystick1;
private Joystick joystick2;
private int lastSeen;
private boolean... |
package org.eclipse.che.ide.ext.git.server.nativegit;
import org.eclipse.che.api.core.ServerException;
import org.eclipse.che.api.git.CredentialsProvider;
import org.eclipse.che.api.git.GitException;
import org.eclipse.che.api.git.UserCredential;
import org.eclipse.che.api.git.shared.GitUser;
import org.eclipse.che.api... |
package com.rapid.server;
import java.util.Collections;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpSession;
import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;
import org.apache.logging.lo... |
package com.opengamma.financial.analytics.volatility.surface;
import it.unimi.dsi.fastutil.doubles.DoubleArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.threeten.b... |
package restaurant_rancho.gui;
import agent_rancho.Agent;
import restaurant_rancho.CashierAgent;
import restaurant_rancho.CookAgent;
import restaurant_rancho.CustomerAgent;
import restaurant_rancho.HostAgent;
import restaurant_rancho.WaiterAgent;
import bank.gui.Bank;
import simcity.PersonAgent;
import simcity.gui.SimC... |
package com.speedment.runtime.connector.sqlite.internal;
import com.speedment.common.injector.Injector;
import com.speedment.common.injector.State;
import com.speedment.common.injector.annotation.ExecuteBefore;
import com.speedment.common.injector.annotation.Inject;
import com.speedment.common.logger.Logger;
import com... |
package net.ssehub.easy.reasoning.sseReasoner;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Deque;
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 net.ssehub.easy.basics.logger.EASyLog... |
package org.safehaus.subutai.impl.elasticsearch;
import java.util.*;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import org.safehaus.subutai.api.agentmanager.AgentManager;
import org.safehaus.subutai.api.commandrunner.AgentResult;
import org.safehaus.subutai.api.elasticsearch.Ela... |
package com.opengamma.financial.analytics.model.forex.defaultproperties;
import java.util.Collections;
import java.util.Set;
import com.opengamma.engine.ComputationTarget;
import com.opengamma.engine.ComputationTargetType;
import com.opengamma.engine.function.FunctionCompilationContext;
import com.opengamma.engine.valu... |
package gov.nih.nci.cabig.report2adeers;
import gov.nih.nci.cabig.caaers2adeers.Caaers2AdeersRouteBuilder;
import org.apache.camel.ExchangePattern;
import static gov.nih.nci.cabig.caaers2adeers.exchnage.ExchangePreProcessor.*;
import static gov.nih.nci.cabig.caaers2adeers.track.IntegrationLog.Stage.*;
import static gov... |
package org.openhealthtools.mdht.uml.ui.dev.actions;
import java.util.Collections;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.commands.operations.IUndoableOperation;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.ru... |
package org.monarchinitiative.exomiser.autoconfigure.genome;
import com.zaxxer.hikari.HikariConfig;
import com.zaxxer.hikari.HikariDataSource;
import de.charite.compbio.jannovar.data.JannovarData;
import de.charite.compbio.jannovar.data.JannovarDataSerializer;
import de.charite.compbio.jannovar.data.SerializationExcept... |
package org.jboss.as.test.integration.deployment.structure.war.symbolicLink;
import java.io.File;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
import org.junit.Assert;
import org.junit.Assume;
import org.apache.commons.lang.SystemUtils;
import org.jboss.arquillian.container.test.a... |
package biz.netcentric.cq.tools.actool.authorizableinstaller.impl;
import static java.util.Arrays.asList;
import static org.mockito.Matchers.any;
import static org.mockito.Matchers.anyString;
import static org.mockito.Matchers.eq;
import static org.mockito.Mockito.doAnswer;
import static org.mockito.Mockito.doReturn;
i... |
package org.openhab.binding.networkupstools.internal;
import java.util.Dictionary;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import org.networkupstools.jnut.Client;
import org.networkupstools.jnut.Device;
import org.networkupstools.jnut.Var... |
package org.datavec.spark.transform.client;
import com.mashape.unirest.http.ObjectMapper;
import com.mashape.unirest.http.Unirest;
import com.mashape.unirest.http.exceptions.UnirestException;
import lombok.AllArgsConstructor;
import org.datavec.api.transform.TransformProcess;
import org.datavec.image.transform.ImageTra... |
package com.khacks.srp;
import android.app.Activity;
import android.content.Context;
import android.graphics.Color;
import android.graphics.Point;
import android.location.Location;
import android.support.v4.app.FragmentActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.Display;
import andr... |
package copyleaks.sdk.api.models;
import com.google.gson.annotations.SerializedName;
public class ResultRecord implements Comparable<ResultRecord>
{
public ResultRecord(String URL, int Percents, int NumberOfCopiedWords){
this.URL = URL;
this.Percents = Percents;
this.NumberOfCopiedWords = Nu... |
package org.opennms.features.topology.app.internal.jung;
public interface LayoutConstants {
public static final int LAYOUT_HEIGHT = 2000;
public static final int LAYOUT_WIDTH = LAYOUT_HEIGHT*16/9;
public static final int LAYOUT_REPULSION = 150;
} |
package com.x.processplatform.service.processing.processor.manual;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Comparator;
import java.util.Date;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Objects;
import java.uti... |
package fr.synchrotron.soleil.ica.ci.service.legacymavenproxy.midlleware;
import com.github.ebx.core.MessageFilterService;
import com.github.ebx.core.MessagingTemplate;
import fr.synchrotron.soleil.ica.ci.service.legacymavenproxy.ServiceAddressRegistry;
import fr.synchrotron.soleil.ica.proxy.midlleware.MiddlewareContex... |
package som.interpreter.actors;
import java.util.Arrays;
import com.oracle.truffle.api.CompilerDirectives.CompilationFinal;
import com.oracle.truffle.api.RootCallTarget;
import com.oracle.truffle.api.source.SourceSection;
import som.VM;
import som.interpreter.actors.Actor.ActorProcessingThread;
import som.interpreter.a... |
package de.danoeh.antennapod.feed;
import java.io.File;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import java.util.concurrent.Executor;
import java.util.concurrent.Executors;
import java.util.concurrent.ThreadFactory;
import android.annotation.SuppressLint;
... |
package de.quaddy_services.ptc;
import java.awt.CardLayout;
import java.awt.Color;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.EventQueue;
import java.awt.Frame;
import java.awt.Graphics;
import java.awt.Insets;
import java.awt.Point;
import java.awt.Rectangle;
import java.awt.Toolkit;
import ... |
package de.sebhn.algorithm.excersise5;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
class DLXNode { // represents 1 element or header
DLXNode C; // reference to column-header
DLXNode L, R, U, D; // left, right, up, down references
int posH;
int posV;
static int indexLength;
st... |
package de.st_ddt.crazyplugin.data;
import java.util.Date;
import org.bukkit.Bukkit;
import org.bukkit.OfflinePlayer;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import de.st_ddt.crazyplugin.CrazyPluginInterface;
import de.st_ddt.crazyutil.ChatHelper;
import de.st_ddt.crazyutil.locales.Cra... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.