answer
stringlengths
17
10.2M
package com.bls.core.poi; import com.bls.core.IdentifiableEntity; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import org.hibernate.validator.constraints.NotEmpty; public class Person<K> extends IdentifiableEntity<K> { @NotEmpty private final String ...
package org.grails.ignite; import java.io.Serializable; import java.util.HashMap; import java.util.Map; import java.util.UUID; import java.util.concurrent.Callable; import java.util.concurrent.TimeUnit; /** * This class manages instances of scheduled feeds in the Ignite grid. Instances of this class are managed in a s...
package org.jdesktop.swingx.painter; import java.awt.Graphics2D; /** * <p>A painting delegate. The Painter interface defines exactly one method, * <code>paint</code>. It is used in situations where the developer can change * the painting routine of a component without having to resort to subclassing * the component...
package com.yahoo.vespa.config.server.maintenance; import com.google.inject.Inject; import com.yahoo.cloud.config.ConfigserverConfig; import com.yahoo.component.AbstractComponent; import com.yahoo.jdisc.Metric; import com.yahoo.vespa.config.server.ApplicationRepository; import com.yahoo.vespa.curator.Curator; import co...
package hudson.maven; import hudson.FilePath; import hudson.Util; import hudson.maven.agent.Main; import hudson.maven.reporters.SurefireArchiver; import hudson.model.AbstractBuild; import hudson.model.AbstractProject; import hudson.model.BuildListener; import hudson.model.DependencyGraph; import hudson.model.Hudson; im...
package com.yahoo.vespa.hosted.controller.deployment; import ai.vespa.validation.Validation; import com.yahoo.vespa.hosted.controller.api.integration.deployment.ApplicationVersion; import com.yahoo.vespa.hosted.controller.api.integration.deployment.JobId; import com.yahoo.vespa.hosted.controller.api.integration.deploym...
// This source code is available under agreement available at // You should have received a copy of the agreement // along with this program; if not, write to Talend SA // 9 rue Pages 92150 Suresnes, France package org.talend.components.api.component.runtime; import java.io.FileInputStream; import java.io.IOException; ...
package com.siberia.plugin; import org.apache.cordova.CordovaPlugin; import org.apache.cordova.CallbackContext; import org.apache.cordova.PluginResult; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.os.Handler; import android.os.Message; import android.util.Log; imp...
package org.csstudio.platform.model; import org.eclipse.core.runtime.PlatformObject; /** * An abstract superclass for CSS specific model items. The preferred way to * introduce new model items to the platform is to inherit from this class. * * Central control system items (e.g. ProcessVariables) are already defined...
package net.becvert.cordova; import android.content.Context; import android.net.wifi.WifiManager; import android.os.Build; import android.provider.Settings; import android.text.TextUtils; import android.util.Log; import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaInterface; import org.apache.co...
// Triple Play - utilities for use in PlayN-based games package tripleplay.util; import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.ListIterator; import java.util.Map; import java.util.Random; import java.util.RandomAccess; /** * Provides utility routines to simplify obtain...
package som.interpreter.objectstorage; import java.lang.reflect.Field; import som.compiler.MixinDefinition.SlotDefinition; import som.interpreter.TruffleCompiler; import som.interpreter.objectstorage.FieldAccess.AbstractFieldRead; import som.interpreter.objectstorage.FieldAccess.ReadObjectFieldNode; import som.interpre...
package com.javadude.observer; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.WindowConstants; public class ButtonExample { public static void main(String[] args) { JFrame frame = new JFrame(); JButto...
package net.plastboks.gameworld; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.math.Intersector; import com.badlogic.gdx.math.Rectangle; import net.plastboks.gameobjects.Bird; import net.plastboks.gameobjects.Mouse; import net.plastboks.gameobjects.Snake; import net.plastboks.screens.GameScreen; import net.plast...
package kodkod.engine.fol2sat; import static kodkod.engine.bool.Operator.AND; import kodkod.engine.bool.BooleanFormula; import kodkod.engine.bool.BooleanVariable; import kodkod.engine.bool.BooleanVisitor; import kodkod.engine.bool.ITEGate; import kodkod.engine.bool.MultiGate; import kodkod.engine.bool.NotGate; import k...
package br.com.cronapi.logic; import cronapi.Var; import cronapi.logic.Operations; import java.util.ArrayList; import java.util.List; import org.testng.Assert; import org.testng.annotations.Test; public class OperationsTest { @Test public void checkMethodIsNull() { Assert.assertFalse(Operations.isNull(Var.VAR_E...
package com.levelup.java.guava; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertThat; import static org.junit.Assert.assertTrue; import java.lang.reflect.Field; import java.util.List; import org.hamcrest.collection.IsIterableContainingInOrder; import org.hamcrest.collection.IsIterableW...
package com.openfin.desktop; import static org.junit.Assert.assertEquals; import java.util.List; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; import org.json.JSONObject; import org.junit.AfterClass; import org.junit.BeforeClass; impo...
package com.suse.salt.netapi.examples; import com.suse.salt.netapi.AuthModule; import com.suse.salt.netapi.calls.modules.Grains; import com.suse.salt.netapi.calls.modules.Test; import com.suse.salt.netapi.client.SaltClient; import com.suse.salt.netapi.datatypes.target.Glob; import com.suse.salt.netapi.datatypes.target....
package com.wizzardo.http.filter; import com.wizzardo.http.Filter; import com.wizzardo.http.ServerTest; import com.wizzardo.http.request.Request; import com.wizzardo.http.response.Response; import org.junit.Assert; import org.junit.Test; import java.io.IOException; public class FilterTest extends ServerTest { @Test...
package gov.adlnet.xapi; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.nio.file.Files; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.text.DateFormat; i...
package liquibase.ext.spatial; import java.sql.SQLException; import org.h2.tools.DeleteDbFiles; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; /** * <code>LiquibaseH2IT</code> is an integration test of Liquibase with H2. */ public class LiquibaseH2IT extends LiquibaseIT { @O...
package mho.qbar.objects; import mho.qbar.iterableProviders.QBarExhaustiveProvider; import mho.qbar.iterableProviders.QBarIterableProvider; import mho.qbar.iterableProviders.QBarRandomProvider; import mho.qbar.testing.QBarTestProperties; import mho.wheels.iterables.ExhaustiveProvider; import mho.wheels.numberUtils.BigD...
package mho.wheels.math; import mho.wheels.iterables.ExhaustiveProvider; import mho.wheels.iterables.IterableProvider; import mho.wheels.iterables.RandomProvider; import mho.wheels.structures.Pair; import org.jetbrains.annotations.NotNull; import org.junit.Test; import java.math.BigInteger; import java.util.Arrays; imp...
package net.lshift.spki.convert; import static org.junit.Assert.assertEquals; import java.io.IOException; import java.math.BigInteger; import net.lshift.spki.ParseException; import net.lshift.spki.SExp; import org.junit.Test; public class ConvertTest { @Test public void convertTest() throws ParseException, IOEx...
package operias.coverage; import static org.junit.Assert.*; import java.io.File; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import operias.OperiasStatus; import operias.coverage.CoberturaClass; import operias.coverage.CoberturaLine; import operias.coverage.CoberturaPackage; import o...
package org.jspec.runner; import static org.hamcrest.Matchers.equalTo; import static org.hamcrest.Matchers.notNullValue; import static org.jspec.util.Assertions.assertListEquals; import static org.junit.Assert.assertThat; import static org.junit.Assert.fail; import java.util.Arrays; import java.util.Collections; import...
package seedu.todo.guitests; import static org.junit.Assert.assertEquals; import java.time.LocalDateTime; import org.junit.Before; import org.junit.Test; import seedu.todo.commons.util.DateUtil; import seedu.todo.models.Event; import seedu.todo.models.Task; /* * @@author A0139922Y */ public class FindCommandTest exte...
package org.eclipse.birt.report.engine.api.impl; import java.io.IOException; import java.util.Collection; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Locale; import java.util.Map; import java.util.Set; import java.util.logging.Level; import java.ut...
package br.net.mirante.singular.view.page.peticao; import br.net.mirante.singular.form.mform.*; import br.net.mirante.singular.form.mform.basic.ui.AtrBasic; import br.net.mirante.singular.form.mform.basic.view.*; import br.net.mirante.singular.form.mform.core.MTipoString; import br.net.mirante.singular.form.mform.core....
package net.somethingdreadful.MAL; import android.annotation.SuppressLint; import android.app.FragmentManager; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.SearchManager; import android.content.BroadcastReceiver; import android.content.Com...
package net.somethingdreadful.MAL; import java.util.ArrayList; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import net.somethingdreadful.MAL.SearchActivity.networkThread; import net.somethingdreadful.MAL.api.BaseMALApi; import net.somethingdreadful.MAL.api.MALApi; import net.som...
package net.somethingdreadful.MAL; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.support.v4.app.FragmentManager; import android.su...
package view; import parser.Tokenizer; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.scene.control.Button; import javafx.scene.control.TextArea; import javafx.scene.layout.Pane; public class InputView extends Pane { private static final double VIEW_WIDTH = 1000; private static...
/* * $Id: ParamDoclet.java,v 1.10 2010-02-22 07:05:52 tlipkis Exp $ */ package org.lockss.doclet; import java.util.*; import java.io.*; import java.lang.reflect.*; import com.sun.javadoc.*; import org.lockss.util.*; /** * A JavaDoc doclet that prints configuration parameter information. * */ public class ParamDocl...
package org.intermine.web.struts; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.Map; import org.intermine.objectstore.query.Query; import org.intermine.objectstore.query.QueryClass; import org.intermine.objectsto...
package org.intermine.webservice.lists; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.intermine.metadata.Model; import org.intermine.model.InterMineObject; import org.intermine.objectstore.ObjectStore; import or...
package eu.hbp.mip.container.rapidminer.db; import java.io.IOException; import java.sql.* ; import eu.hbp.mip.container.rapidminer.RapidMinerExperiment; /** * * @author Arnaud Jutzeler * */ public class DBConnector { private static final String IN_URL = System.getenv("IN_JDBC_URL"); private static final Str...
package example; import java.io.IOException; import java.io.InputStream; import java.io.File; import java.io.FileWriter; import java.io.BufferedWriter; import java.util.Iterator; import org.apache.hadoop.conf.Configured; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop...
package views; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.KeyEvent; import java.util.Observable; import java.util.Observer; import javax.swing.AbstractAction; import javax.swing.ImageIcon; import javax.swing.JButton; impo...
package net.bull.javamelody; import java.awt.BorderLayout; import java.awt.Desktop; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.io.File; import java.io.IOException; import java.io.OutputStream; import java.tex...
package vo; public class Reservation { private String resNum; private String resDateTime; private String resStatus; private Document document; private Branch branch; private Reader reader; public Document getDocument() { return document; } public void setDocument(Document doc...
package com.jenjinstudios.core.util; import java.security.KeyPair; import java.security.KeyPairGenerator; import java.security.NoSuchAlgorithmException; import java.util.logging.Level; import java.util.logging.Logger; /** * This class contains security utility methods. * * @author Caleb Brinkman */ public class Sec...
package com.appspot.relaxe.ent.value; import com.appspot.relaxe.ent.Attribute; import com.appspot.relaxe.ent.EntityRuntimeException; import com.appspot.relaxe.rpc.LongHolder; import com.appspot.relaxe.rpc.PrimitiveHolder; import com.appspot.relaxe.types.LongType; import com.appspot.relaxe.types.PrimitiveType; public fi...
package org.eclipse.jetty.servlets; import java.io.IOException; import java.util.HashSet; import java.util.Locale; import java.util.Set; import java.util.StringTokenizer; import java.util.regex.Pattern; import java.util.zip.Deflater; import java.util.zip.DeflaterOutputStream; import java.util.zip.GZIPOutputStream; impo...
package com.esotericsoftware.yamlbeans; import java.lang.annotation.Annotation; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.lang.reflect.ParameterizedType; import...
package org.jmock.test.acceptance; import junit.framework.TestCase; import org.hamcrest.StringDescription; import org.jmock.Expectations; import org.jmock.Mockery; import org.jmock.api.ExpectationError; import org.jmock.test.unit.support.AssertThat; public class ErrorMessagesAcceptanceTests extends TestCase { Mocke...
package com.haskforce.parsing; import com.haskforce.parsing.jsonParser.JsonParser; import com.haskforce.parsing.srcExtsDatatypes.*; import com.intellij.lang.ASTNode; import com.intellij.lang.PsiBuilder; import com.intellij.lang.PsiParser; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.projec...
package org.jmxdatamart.Extractor; import java.util.Collections; import junit.framework.TestCase; import org.jmxdatamart.common.DataType; public class TestSettings extends TestCase { public void testJUnit() { int i = 42; } // commented out because function is not implemented // public void testWriteSettingsAs...
package us.dot.its.jpo.ode.udp; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetSocket...
package com.ilearnrw.reader.utils; import java.io.IOException; import java.util.ArrayList; import org.apache.http.HttpResponse; import org.apache.http.HttpStatus; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpPost; import ...
package net.avalara.avatax.rest.client; import com.google.gson.reflect.TypeToken; import net.avalara.avatax.rest.client.models.*; import net.avalara.avatax.rest.client.enums.*; import org.apache.commons.codec.binary.Base64; import org.apache.http.impl.client.HttpClientBuilder; import java.math.BigDecimal; import java.u...
package com.irccloud.android; import java.util.ArrayList; import java.util.HashMap; import org.json.JSONException; import org.json.JSONObject; import com.actionbarsherlock.view.Menu; import com.actionbarsherlock.view.MenuItem; import com.google.android.gcm.GCMRegistrar; import com.irccloud.android.BanListFragment.AddCl...
/* * EDIT: 02/09/2004 - Renamed original WidgetViewport to WidgetViewRectangle. * GOP */ package com.jme.renderer.lwjgl; import java.io.File; import java.io.IOException; import java.nio.FloatBuffer; import java.nio.IntBuffer; import java.util.logging.Level; import java.util.Arrays; import javax.imageio.ImageIO; impo...
package liquibase.database.core; import liquibase.CatalogAndSchema; import liquibase.database.AbstractJdbcDatabase; import liquibase.database.DatabaseConnection; import liquibase.database.OfflineConnection; import liquibase.database.jvm.JdbcConnection; import liquibase.exception.DatabaseException; import liquibase.exec...
package com.kSaNa75.superkaburobo; import java.util.ArrayList; import jp.tradesc.superkaburobo.sdk.robot.AbstractRobot; import jp.tradesc.superkaburobo.sdk.trade.TradeAgent; // Screening import jp.tradesc.superkaburobo.sdk.trade.InformationManager; import jp.tradesc.superkaburobo.sdk.trade.data.Stock; // Asset import j...
package swift.pubsub; import static sys.net.api.Networking.Networking; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.SortedSet; import java.util.TreeSet; import java.util.concurrent.ConcurrentHashMap; import swift.crdt.core.CRDTIdentifier; import swift.dc.DCConstants; import swi...
package com.martin.kantidroid; import java.util.List; import android.app.PendingIntent; import android.appwidget.AppWidgetManager; import android.appwidget.AppWidgetProvider; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; im...
package uk.ac.ebi.spot.goci.repository; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Sort; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframewor...
package com.mendeley.api.network; import android.os.AsyncTask; import com.mendeley.api.callbacks.RequestHandle; import com.mendeley.api.exceptions.MendeleyException; import com.mendeley.api.params.Page; import com.mendeley.api.util.Utils; import java.io.IOException; import java.io.InputStream; import java.io.OutputStre...
package it.cnr.istc.stlab.lizard.core; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.Writer; import java.net.URI; import java.net.URISyntaxException; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java...
package io.lnk.lookup.zookeeper; import java.nio.charset.Charset; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.StringUtils; import org...
package com.pilot51.voicenotify; import java.util.Timer; import java.util.TimerTask; import android.app.AlertDialog; import android.app.Dialog; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.TimePickerDialog; import android.content.ActivityN...
package AttitudeTracker; import java.awt.Dimension; import java.awt.event.WindowEvent; import java.awt.event.WindowListener; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import javax.swing.JDialog; import org.apache.commons.csv.CSVFormat; import org.apache.commons.csv.CSV...
package bitronix.tm.resource.common; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import bitronix.tm.TransactionManagerServices; import bitronix.tm.BitronixTransaction; import bitronix.tm.BitronixXid; import bitronix.tm.recovery.IncrementalRecoverer; import bitronix.tm.recovery.RecoveryException; import bit...
package com.facebook.imagepipeline.producers; import android.content.ContentResolver; import android.database.Cursor; import android.graphics.Bitmap; import android.media.MediaMetadataRetriever; import android.media.ThumbnailUtils; import android.net.Uri; import android.os.Build; import android.os.ParcelFileDescriptor;...
package de.geeksfactory.opacclient.apis; import java.io.IOException; import java.net.URI; import java.net.URLDecoder; import java.net.URLEncoder; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator;...
package org.jboss.as.jpa.hibernate4; import org.hibernate.cfg.AvailableSettings; import org.hibernate.cfg.Configuration; import org.jboss.as.jpa.spi.JtaManager; import org.jboss.as.jpa.spi.PersistenceProviderAdaptor; import org.jboss.as.jpa.spi.PersistenceUnitMetadata; import org.jboss.as.naming.deployment.ContextNames...
package org.kurento.test.browser; import java.awt.Color; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import org.apache.commons.codec.binary.Base64; import org.junit.After; import org....
package com.abdallaadelessa.rtl; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JButton; import javax.swing.JFileChooser; import java.awt.BorderLayout; import java.awt.event.ActionListener; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import java.io.File; import java.io.F...
import javax.swing.JFrame; public class AlphaBetaChess { //array for representation of the chess board /* * color=WHITE/black * pawn=P/p * knight=K/k * rook=R/r * bishop=B/b * queen=Q/q * king=A/a */ static String chessBoard[][]={ {"r","k","b","q","a","b","...
package com.esotericsoftware.kryo.io; import com.esotericsoftware.kryo.KryoException; import java.io.IOException; import java.io.InputStream; /** An InputStream that reads data from a byte array and optionally fills the byte array from another OutputStream as needed. * Utility methods are provided for efficiently read...
package org.apache.maven.integrationtests; import junit.framework.TestCase; import org.apache.maven.it.Verifier; import org.apache.maven.it.util.FileUtils; import org.apache.maven.it.util.ResourceExtractor; import java.io.File; public class MavenIT0080Test extends TestCase /*extends AbstractMavenIntegrationTest*/ {...
package com.example.librarytest; import java.util.ArrayList; import java.util.List; import com.google.android.gms.maps.CameraUpdateFactory; import com.google.android.gms.maps.GoogleMap; import com.google.android.gms.maps.GoogleMapOptions; import com.google.android.gms.maps.GoogleMap.OnMapClickListener; import com.googl...
package java.awt; import java.util.Arrays; import java.util.Timer; import java.util.TimerTask; import org.videolan.Libbluray; public class BDRootWindow extends Frame { public BDRootWindow () { super(); setUndecorated(true); setBackground(new Color(0, 0, 0, 0)); BDToolkit.setFocusedWi...
package com.fullmetalgalaxy.client; import java.util.HashMap; import java.util.Map; import com.fullmetalgalaxy.model.RpcUtil; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.user.client.DOM; impor...
package com.polidea.rxandroidble.mockrxandroidble; import android.bluetooth.BluetoothGattCharacteristic; import android.bluetooth.BluetoothGattDescriptor; import android.support.annotation.NonNull; import com.polidea.rxandroidble.RxBleConnection; import com.polidea.rxandroidble.RxBleDeviceServices; import com.polidea.r...
package dpm.lejos.project; import lejos.nxt.comm.RConsole; import java.util.Arrays; /** * Corrects the position reported by the odometer * based on readings from the light sensors * * @author David Lavoie-Boutin * @version v1.3 */ public class OdometryCorrection extends Thread{ private Odometer odo; priva...
package org.eclipse.birt.report.model.simpleapi; import java.io.IOException; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.Map.Entry; import org.eclipse.birt.core.script.JavascriptEvalUtil; import org.eclipse.birt.report.mo...
package com.humbughq.mobile; import java.sql.SQLException; import java.util.HashMap; import java.util.concurrent.Callable; import android.annotation.TargetApi; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.database.Cursor; import androi...
package dr.app.beauti.options; import dr.evolution.datatype.DataType; import java.util.ArrayList; import java.util.List; /** * @author Alexei Drummond * @author Andrew Rambaut */ public class PartitionModel extends ModelOptions { public static final String[] GTR_RATE_NAMES = {"ac", "ag", "at", "cg", "gt"}; s...
package com.humbughq.mobile; import java.util.List; import com.humbughq.mobile.R; import android.content.Context; import android.graphics.Color; import android.graphics.Typeface; import android.view.Gravity; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widg...
// vim: et sw=4 sts=4 tabstop=4 package com.issc.ui; import com.issc.Bluebit; import com.issc.data.BLEDevice; import com.issc.impl.FunctionAdapter; import com.issc.impl.GattProxy; import com.issc.R; import com.issc.util.Log; import com.issc.util.Util; import java.util.ArrayList; import java.util.HashMap; import java.ut...
package edu.oakland.OUSoft.database; import edu.oakland.OUSoft.items.Course; import edu.oakland.OUSoft.items.Instructor; import edu.oakland.OUSoft.items.Person; import edu.oakland.OUSoft.items.Student; import java.util.ArrayList; import java.util.List; public class OUPeople { private ArrayList<Student> students; ...
/* * Class to handle all inputs, states, and transitions of the shooter/intake assembly. * 2014 FRC Team 1736 Robot Casserole */ package edu.wpi.first.wpilibj.templates; import edu.wpi.first.wpilibj.Solenoid; import edu.wpi.first.wpilibj.Talon; public class Jaws { Solenoid bottomJawLeftSolenoid, bottomJawRightSo...
/* @java.file.header */ package org.gridgain.grid.kernal.visor.cmd.dto; import org.gridgain.grid.util.typedef.internal.*; import java.io.*; /** * Portable object metadata field information. */ public class VisorPortableMetadataField implements Serializable { private static final long serialVersionUID = 0L; /*...
package com.mapotempo.fleet.core.model; import com.couchbase.lite.Database; import com.couchbase.lite.Document; import com.mapotempo.fleet.core.base.MapotempoModelBase; import com.mapotempo.fleet.core.base.DocumentBase; import java.util.ArrayList; import java.util.List; /** * Company. */ @DocumentBase(type = "user") ...
package eu.kairat.tools.logfileMerger; import com.beust.jcommander.Parameter; import java.io.*; import java.nio.file.DirectoryStream; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.text.SimpleDateFormat; import java.util.*; import java.util.regex.Matcher; import java.util...
package org.synyx.minos.core.security; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.security.access.AccessDecisionManager; import org.springframework.security.access.AccessDeniedException; import org.springframework.security.access.ConfigAttribute; impo...
package kalang.compiler; import java.lang.reflect.Modifier; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Stack; import kalang.antlr.KalangLexer; import kalang.antlr.KalangParser; import kalang.antlr.KalangParser.ArgumentDeclContext; import kalang.a...
package com.qozix.tileview.tiles; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Bitmap.CompressFormat; import android.graphics.BitmapFactory; import android.support.v4.util.LruCache; import com.jakewharton.DiskLruCache; import java.io.BufferedInputStream; import java.io.Buffere...
package kalang.compiler; import java.lang.reflect.Modifier; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Stack; import kalang.antlr.KalangLexer; import kalang.antlr.KalangParser; import kalang.antlr.KalangParser.ArgumentsContext; import kalang.antl...
package be.viaa.fxp; import java.io.FileNotFoundException; import java.io.IOException; import java.util.*; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicLo...
package com.trikke.writer; import com.trikke.data.*; import com.trikke.util.SqlUtil; import com.trikke.util.Util; import javax.lang.model.element.Modifier; import java.io.IOException; import java.util.ArrayList; import java.util.EnumSet; import java.util.Iterator; public class CRUDClientWriter extends Writer { priv...
package ch.bind.philib.lang; import java.util.concurrent.atomic.AtomicLong; import ch.bind.philib.validation.SimpleValidation; public final class ThreadUtil { private static final PhiLog LOG = PhiLog.getLogger(ThreadUtil.class); public static final long DEFAULT_JOIN_TIMEOUT_MS = 1000L; private ThreadUtil() ...
package com.valkryst.AsciiPanel; import com.valkryst.AsciiPanel.component.AsciiScreen; import com.valkryst.AsciiPanel.font.AsciiFont; import com.valkryst.radio.Radio; import com.valkryst.radio.Receiver; import lombok.Getter; import java.awt.*; public class AsciiPanel extends Canvas implements Receiver<String> { /**...
package co.arcs.groove.thresher; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.StringReader; import java.net.URL; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import javax.annotation.Nullable; import org.apache.http.HttpHeaders;...
package com.braintreegateway.util; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.io.UnsupportedEncodingException; import java.net.HttpURLConnection; impo...
package com.clementscode.mmi.swing; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.GraphicsConfiguration; import java.awt.GraphicsDevice; import java.awt.GraphicsEnvironment; import java.awt.GridLayout; import java.aw...
package com.clinchergt.jtetris; import java.util.Random; import java.util.LinkedList; import java.awt.event.*; public class JTetris{ Piece currentPiece, nextOne, nextTwo, nextThree, holdPiece, temp; Field field; boolean holdEnabled = true, gameOver = false; static Random randomizer = new Random(); i...