answer
stringlengths
17
10.2M
package gameWorld; import gameRender.IsoCanvas; import gameWorld.Inventory.itemTypes; import java.awt.Point; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectOutputStream; import java.util.ArrayDeque; import java.util.ArrayList; import com.sun.accessibility.internal.resources.acces...
package org.jboss.as.console.client.widgets.nav.v3; import com.google.gwt.cell.client.ButtonCell; import com.google.gwt.cell.client.Cell; import com.google.gwt.cell.client.SafeHtmlCell; import com.google.gwt.core.client.GWT; import com.google.gwt.core.client.Scheduler; import com.google.gwt.dom.client.Document; import ...
package com.splicemachine.derby.stream.spark; import com.splicemachine.db.iapi.error.StandardException; import com.splicemachine.derby.iapi.sql.execute.SpliceOperation; import com.splicemachine.derby.impl.sql.execute.operations.LocatedRow; import com.splicemachine.derby.impl.sql.execute.operations.export.ExportExecRowW...
package eu.amidst.huginlink.inference; import COM.hugin.HAPI.*; import eu.amidst.core.distribution.*; import eu.amidst.core.inference.InferenceAlgorithmForBN; import eu.amidst.core.models.BayesianNetwork; import eu.amidst.core.utils.BayesianNetworkGenerator; import eu.amidst.core.variables.Assignment; import eu.amidst....
package com.ickstream.player.service; import com.ickstream.common.jsonrpc.*; import com.ickstream.player.model.PlaybackQueueItemInstance; import com.ickstream.player.model.PlayerStatus; import com.ickstream.protocol.common.NetworkAddressHelper; import com.ickstream.protocol.common.exception.ServiceException; import com...
// RMG - Reaction Mechanism Generator // RMG Team (rmg_dev@mit.edu) // copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation // and/or sell copies of the Software, and to permit persons to whom the // Sof...
package net.winstone.core; import java.io.IOException; import java.net.Socket; import java.util.ArrayList; import java.util.List; import java.util.Map; import net.winstone.core.listener.Listener; import net.winstone.core.listener.RequestHandlerThread; import net.winstone.util.StringUtils; import org.slf4j.LoggerFactory...
package com.thaiopensource.xml.dtd; import java.io.Reader; import java.io.IOException; import java.util.Hashtable; import java.util.Vector; import java.util.Enumeration; /* TODO Need to ensure newline normalization is done properly. Don't unexpand entities that are not properly nested. */ public class Parser extends T...
package com.evolveum.midpoint.util.aspect; import java.util.ArrayList; import java.util.List; import java.util.concurrent.atomic.AtomicInteger; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Pointcut; ...
class NonShortCircuit { boolean b; boolean bothBitsFalsePositive(int i) { return and((i & 0x1) != 0, (i & 0x2) != 0); } boolean and(boolean x, boolean y) { return x & y; } void orIt(boolean x, boolean y) { x |= y; b |= x; } boolean ordered(int x, int y, in...
package com.airbnb.lottie; import android.animation.Animator; import android.animation.ValueAnimator; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.ColorFilter; import android.graphics.Matrix; import androi...
package com.lucidera.luciddb.test.bh; import com.lucidera.jdbc.*; import java.io.*; import java.util.regex.*; import net.sf.farrago.catalog.*; import net.sf.farrago.jdbc.engine.*; import net.sf.farrago.util.*; import org.eigenbase.blackhawk.compose.AutoTest; import org.eigenbase.blackhawk.compose.Parameters; import org...
package controller; import com.sun.jersey.api.client.Client; import com.sun.jersey.api.client.ClientResponse; import com.sun.jersey.api.client.WebResource; import com.sun.jersey.core.util.MultivaluedMapImpl; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.util.StringUtils; import org...
package battlecode.world; import battlecode.common.*; import battlecode.schema.*; import battlecode.schema.GameMap; import battlecode.server.TeamMapping; import battlecode.util.FlatHelpers; import com.google.flatbuffers.FlatBufferBuilder; import org.apache.commons.lang3.ArrayUtils; import org.junit.Ignore; import org.j...
package ed.lang.python; import static org.testng.AssertJUnit.assertEquals; import java.io.File; import java.io.IOException; import java.io.PrintWriter; import java.util.HashMap; import java.util.Map; import org.testng.annotations.Test; import org.testng.annotations.BeforeClass; import org.python.core.*; import ed.js.En...
package com.github.jitpack; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; public class AppTest { App app = new App(); @Test public void testApp() { assertEquals("Hello world", app.greet("world")); } @Test public void te...
package javax.time; import static javax.time.MonthOfYear.FEBRUARY; import static javax.time.MonthOfYear.JANUARY; import static javax.time.MonthOfYear.JUNE; import static javax.time.calendrical.ISODateTimeRule.DAY_OF_WEEK; import static javax.time.calendrical.ISODateTimeRule.MONTH_OF_YEAR; import static javax.time.calen...
package objektwerks; import java.util.*; import org.junit.jupiter.api.Test; enum Level { high, medium, low; int toInt() { return switch(this) { case high -> 1; case medium -> 2; case low -> 3; }; } } class CollectionTest { @Test void enumTest()...
package org.sagebionetworks; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.fail; import java.io.IOException; import java.util.List; import org.apache.http.Ht...
package org.jbake.app; import com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx; import org.apache.commons.configuration.CompositeConfiguration; import org.jbake.model.DocumentTypes; import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit.Rule; import org.junit.Test; i...
package arez.integration.util; import arez.SpyEventHandler; import java.util.ArrayList; import java.util.function.Consumer; import javax.annotation.Nonnull; import static org.testng.Assert.*; @SuppressWarnings( { "UnusedReturnValue", "WeakerAccess" } ) public final class TestSpyEventHandler implements SpyEventHandler...
package sample; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; import javax.ws.rs.core.Application; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import javax.ws.rs.core.Response.Sta...
package org.flymine.objectstore.webservice; import java.lang.reflect.Constructor; import java.net.URL; import java.net.MalformedURLException; import java.util.HashMap; import java.util.IdentityHashMap; import java.util.List; import java.util.Iterator; import java.util.Map; import java.util.Properties; import java.rmi.R...
package com.intellij.xml.util; import com.intellij.codeInspection.InspectionProfile; import com.intellij.codeInspection.htmlInspections.XmlEntitiesInspection; import com.intellij.ide.highlighter.HtmlFileType; import com.intellij.ide.highlighter.XHtmlFileType; import com.intellij.javaee.ExternalResourceManagerEx; import...
package com.intellij.debugger.memory.agent; import com.intellij.debugger.engine.evaluation.EvaluateException; import com.intellij.debugger.engine.evaluation.EvaluationContextImpl; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.progr...
package org.jasig.portal; import org.jasig.portal.security.IPerson; import org.jasig.portal.services.LogService; import org.jasig.portal.services.GroupService; import java.sql.*; import org.jasig.portal.groups.IEntityGroup; import org.jasig.portal.groups.EntityImpl; import org.jasig.portal.groups.IGroupMember; import...
package fm.jiecao.jcvideoplayer_lib; import android.app.Activity; import android.content.Context; import android.util.AttributeSet; import android.util.Log; import android.view.MotionEvent; import android.view.SurfaceHolder; import android.view.View; import android.widget.FrameLayout; import android.widget.ImageView; i...
package weave.utils; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class CommandUtils { public static int runCommand(String[] args) throws IOException { return runCommand(args, false); } public static int runCommand(String[] args, boolean deb...
package src.audio; import be.tarsos.dsp.AudioDispatcher; import be.tarsos.dsp.AudioEvent; import be.tarsos.dsp.AudioProcessor; import be.tarsos.dsp.io.jvm.AudioDispatcherFactory; import be.tarsos.dsp.util.fft.FFT; import be.tarsos.dsp.util.fft.HammingWindow; import java.io.File; import java.util.ArrayList; import java....
package info.jiripospisil.pb4nb.ui; import info.jiripospisil.pb4nb.ui.models.ExpirationComboBoxModel; import info.jiripospisil.pb4nb.ui.models.LanguageComboBoxModel; import info.jiripospisil.pb4nb.ui.models.Preferences; import info.jiripospisil.pb4nb.utils.editor.CurrentDocument; import info.jiripospisil.pb4nb.utils.ed...
package org.apache.velocity.app; import java.io.Writer; import java.util.Hashtable; import java.util.Properties; import java.io.ByteArrayInputStream; import java.io.InputStream; import java.io.IOException; import java.io.Reader; import java.io.BufferedReader; import java.io.StringReader; import java.io.InputStreamReade...
package org.jdesktop.swingx; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.ComponentOrientation; import java.awt.Cursor; import java.awt.Dialog; import java.awt.Dimension; import java.awt.Font; import java.awt.Frame; import java.awt.GridBagConstraints; import java.awt.G...
package org.jdesktop.swingx; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Cursor; import java.awt.Dialog; import java.awt.Dimension; import java.awt.Font; import java.awt.Frame; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Image; import java.awt.Insets; impo...
package org.jivesoftware.spark; import org.jivesoftware.MainWindow; import org.jivesoftware.MainWindowListener; import org.jivesoftware.Spark; import org.jivesoftware.smack.PacketListener; import org.jivesoftware.smack.Roster; import org.jivesoftware.smack.filter.PacketFilter; import org.jivesoftware.smack.filter.Packe...
package picard.cmdline; import htsjdk.samtools.util.CloserUtil; import htsjdk.samtools.util.CollectionUtil.MultiMap; import htsjdk.samtools.util.StringUtil; import picard.PicardException; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.io.PrintStrea...
package jlo.model.component; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.Set; import org.rejuse.association.Association; import org.rejuse.predicate.TypePredicate; import chameleon.core.declaration.Declaration; import chameleon.core.declara...
package org.apache.juddi.v3.client.embed; import java.lang.reflect.Method; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.juddi.v3.client.ClassUtil; public class JUDDIRegistry implements EmbeddedRegistry { private Log logger = LogFactory.getLog(this.getClass()...
package com.fsck.k9.mail.transport; import com.fsck.k9.mail.Address; import com.fsck.k9.mail.AuthType; import com.fsck.k9.mail.ConnectionSecurity; import com.fsck.k9.mail.Message; import com.fsck.k9.mail.MessagingException; import com.fsck.k9.mail.ServerSettings; import com.fsck.k9.mail.filter.Base64; import com.fsck.k...
package kikaha.core.modules.security; import java.util.*; import java.util.function.Function; import java.util.stream.Collectors; import kikaha.config.Config; import kikaha.core.cdi.CDI; import kikaha.core.cdi.helpers.TinyList; import lombok.Getter; import lombok.experimental.Accessors; import lombok.extern.slf4j.Slf4j...
package org.jetbrains.kotlin.ui.launch; import java.util.ArrayList; import java.util.List; import org.eclipse.core.resources.IContainer; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IResource; import org.eclipse.core.runtime.CoreException; import...
package org.sagebionetworks.repo.model.jdo; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import org.sagebionetworks.repo.model.DatastoreException; /** * This particular implementation of KeyFactory expects string keys from the * model layer and numeric keys in the persistence layer. It is ...
package org.sagebionetworks.logging; import java.io.UnsupportedEncodingException; import java.lang.reflect.Method; import java.net.URLDecoder; import java.net.URLEncoder; import java.util.Arrays; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.Map; import java.util.Map.Entry; import java.util...
package com.novoda.downloadmanager.lib; import android.os.Environment; import com.novoda.downloadmanager.Download; import java.util.List; class DownloadReadyChecker { private final SystemFacade systemFacade; private final NetworkChecker networkChecker; private final DownloadClientReadyChecker downloadClient...
package com.salesforce.androidsdk; import android.content.Context; import com.salesforce.androidsdk.rest.ApiVersionStrings; import com.salesforce.androidsdk.tests.R; /** * Authentication credentials used to make live server calls in tests * * Use web app to figure out login/instance urls, orgId, userId, username and...
/* @java.file.header */ package org.gridgain.grid.kernal; import org.gridgain.grid.*; import org.gridgain.grid.compute.*; import org.gridgain.grid.events.*; import org.gridgain.grid.lang.*; import org.gridgain.grid.messaging.*; import org.gridgain.grid.service.*; import org.gridgain.grid.util.typedef.*; import org.grid...
package net.powermatcher.core.concentrator; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledFuture; import java.util.concurrent.TimeUnit; import net.powermatcher.api.AgentEndpoint; import net.powermatcher.ap...
package it.unibz.krdb.obda.parser; import it.unibz.krdb.obda.model.OBDADataFactory; import it.unibz.krdb.obda.model.Variable; import it.unibz.krdb.obda.model.impl.OBDADataFactoryImpl; import it.unibz.krdb.sql.DBMetadata; import it.unibz.krdb.sql.DataDefinition; import it.unibz.krdb.sql.api.Attribute; import it.unibz.kr...
package com.jraska.falcon; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Rect; import android.os.Build; import android.os.Looper; import android.util.Log; import android.view.View; import android.view.WindowManager.LayoutParams; import java.io.*; im...
package org.mwc.debrief.dis.diagnostics; import java.io.*; import java.net.*; import java.util.*; import edu.nps.moves.dis.*; import edu.nps.moves.disutil.CoordinateConversions; import edu.nps.moves.disutil.DisTime; /** * Creates and sends ESPDUs in IEEE binary format. * * @author DMcG */ public class CustomEspduSe...
package org.mwc.debrief.dis.diagnostics; import java.io.ByteArrayOutputStream; import java.io.DataOutputStream; import java.io.IOException; import java.net.DatagramPacket; import java.net.InetAddress; import java.net.MulticastSocket; import java.util.ArrayList; import java.util.Collection; import java.util.Date; import...
// $RCSfile: ImportTimeText.java,v $ // @version $Revision: 1.3 $ // $Log: ImportTimeText.java,v $ // Revision 1.3 2005/12/13 09:04:39 Ian.Mayo // Tidying - as recommended by Eclipse // Revision 1.2 2004/11/25 10:24:20 Ian.Mayo // Switch to Hi Res dates // Revision 1.1.1.2 2003/07/21 14:47:53 Ian.Mayo // Re-impor...
package ProjetoPOO.entidades; import java.util.List; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Id; import javax.persistence.OneToMany; @Entity public class Aluno { private long idBDAluno; private String nome; private int idade; private String telefone;...
package cyber.dojo; import org.junit.Test; import java.util.Arrays; import java.util.List; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.MatcherAssert.assertThat; public class CountCoinsTest { //[1, 5, 10, 25] @Test public void should_return_1_when_count_given_1() { //given ...
package innovimax.mixthem; import innovimax.mixthem.arguments.Rule; import java.util.List; /** * @author Innovimax * @version 1.0 */ public class RuleRun { final private int testId; final private List<String> params; public RuleRun(List<String> params) { this(-1, params); } public RuleRun(int testId, List...
package org.takes.misc; import java.util.ArrayList; import java.util.List; import org.hamcrest.MatcherAssert; import org.hamcrest.Matchers; import org.junit.Test; /** * Test case for {@link Concat}. * * @author Jason Wong (super132j@yahoo.com) * @version $Id$ * @since 0.15.2 */ public final class ConcatTest { ...
package test.blog.distrib; import static org.junit.Assert.assertEquals; import java.util.HashMap; import java.util.Set; import org.junit.Test; import blog.common.Util; import blog.common.numerical.MatrixFactory; import blog.common.numerical.MatrixLib; import blog.distrib.GEM; public class TestGEM { private double lam...
package org.xnap.commons.i18n; import java.util.Locale; import java.util.MissingResourceException; import junit.framework.TestCase; import org.xnap.commons.i18n.testpackage.MockResourceBundle; /** * @author Steffen Pingel * @author Felix Berger */ public class I18nTest extends TestCase { public static final Stri...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package tonegod.gui.controls.buttons; import com.jme3.font.BitmapFont; import com.jme3.font.BitmapText; import com.jme3.font.LineWrapMode; import com.jme3.font.Rectangle; import com.jme3.input.KeyInput; import com.jme3.i...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package tonegod.gui.controls.text; import com.jme3.font.BitmapFont; import com.jme3.font.BitmapText; import com.jme3.font.LineWrapMode; import com.jme3.font.Rectangle; import com.jme3.input.KeyInput; import com.jme3.inpu...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package tonegod.gui.controls.windows; import com.jme3.font.BitmapFont; import com.jme3.font.LineWrapMode; import com.jme3.input.event.MouseButtonEvent; import com.jme3.math.Vector2f; import com.jme3.math.Vector4f; import...
package uk.co.sftrabbit.stacksync; import android.app.Activity; import android.app.ActionBar; import android.app.Fragment; import android.app.FragmentManager; import android.app.FragmentTransaction; import android.os.Bundle; import android.support.v4.view.ViewPager; import android.support.v13.app.FragmentPagerAdapter; ...
package org.perl6.rakudo; import org.perl6.nqp.runtime.*; import org.perl6.nqp.sixmodel.*; /** * Contains implementation of nqp:: ops specific to Rakudo Perl 6. */ public final class Ops { private static SixModelObject Parcel; private static SixModelObject Code; private static SixModelObject Signature; ...
package org.perl6.rakudo; import java.util.Arrays; import java.util.Calendar; import java.util.Comparator; import org.perl6.nqp.runtime.*; import org.perl6.nqp.sixmodel.*; import org.perl6.nqp.sixmodel.reprs.CallCaptureInstance; import org.perl6.nqp.sixmodel.reprs.ContextRefInstance; import org.perl6.nqp.sixmodel.reprs...
package edu.umd.cs.findbugs; /** * A BugCode is an abbreviation that is shared among some number * of BugPatterns. For example, the code "HE" is shared by * all of the BugPatterns that represent hashcode/equals * violations. * * @author David Hovemeyer * @see BugPattern */ public class BugCode { private fi...
package edu.umd.cs.findbugs; import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.IOException; import java.io.InputStream; import java.io.OutputStr...
package edu.umd.cs.findbugs; import java.io.IOException; import java.io.InputStream; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Properties; /** * Version number and release date information. */ public class Version { /** * Major version number. */ public static final ...
package com.gallatinsystems.survey.domain; import java.util.HashMap; import java.util.TreeMap; import javax.jdo.annotations.NotPersistent; import javax.jdo.annotations.PersistenceCapable; import com.gallatinsystems.framework.domain.BaseDomain; import com.google.appengine.api.datastore.Key; @PersistenceCapable public cl...
// modification, are permitted provided that the following conditions are met: // documentation and/or other materials provided with the distribution. // * Neither the name of the <organization> nor the // names of its contributors may be used to endorse or promote products // ANY EXPRESS OR IMPLIED WARRAN...
package sk.henrichg.phoneprofiles; import android.content.Context; import android.content.Intent; import android.content.res.Resources; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.os.Parcel; import android.os.Parcelable; import android.preference.Preference; import android.util...
package com.intellij.openapi.vcs.changes; import com.intellij.icons.AllIcons; import com.intellij.ide.CommonActionsManager; import com.intellij.ide.TreeExpander; import com.intellij.ide.dnd.DnDEvent; import com.intellij.ide.ui.customization.CustomActionsSchema; import com.intellij.openapi.Disposable; import com.intelli...
package com.intellij.coverage.view; import com.intellij.coverage.*; import com.intellij.ide.util.treeView.AbstractTreeNode; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.Computable; import com.intellij.openapi.vfs.VirtualFile; i...
package net.tomp2p.dht; import java.io.IOException; import java.security.InvalidKeyException; import java.security.KeyPair; import java.security.KeyPairGenerator; import java.security.NoSuchAlgorithmException; import java.security.PublicKey; import java.security.SignatureException; import java.util.Random; import java....
package cz.siret.prank.geom; import com.google.common.collect.Lists; import cz.siret.prank.features.api.AtomFeatureCalculator; import cz.siret.prank.geom.kdtree.AtomKdTree; import cz.siret.prank.program.params.Params; import cz.siret.prank.utils.ATimer; import cz.siret.prank.utils.CutoffAtomsCallLog; import cz.siret.pr...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package javaapplication04; /** * * @author marsh */ public class Polynomial { Integer degree_; Node head; public Polynomial() { } public int getCoefficient(int power) { Node cur = h...
/* * $Log: Base64Pipe.java,v $ * Revision 1.7 2010-09-21 14:54:51 L190409 * lineLength and separator configurable * * Revision 1.6 2010/04/28 09:53:22 Gerrit van Brakel <gerrit.van.brakel@ibissource.org> * enabled use of InputStream as input. * replaced Base64 codec by Apache Commons Codec 1.4 * * Revision...
package backend.resource; import backend.resource.serialization.SerializableLabel; import javafx.scene.Node; import javafx.scene.control.Tooltip; import org.eclipse.egit.github.core.Label; import java.util.Optional; import java.util.regex.Matcher; import java.util.regex.Pattern; @SuppressWarnings("unused") public class...
package br.com.dbsoft.crud; import br.com.dbsoft.error.DBSIOException; import br.com.dbsoft.message.DBSMessage; import br.com.dbsoft.message.IDBSMessage; import br.com.dbsoft.message.IDBSMessageBase.MESSAGE_TYPE; import br.com.dbsoft.message.IDBSMessages; public interface IDBSCrud<DataModelClass> { public interface...
package com.conveyal.gtfs; import com.amazonaws.AmazonServiceException; import com.amazonaws.services.s3.AmazonS3; import com.amazonaws.services.s3.AmazonS3Client; import com.amazonaws.services.s3.model.GetObjectRequest; import com.amazonaws.services.s3.model.S3Object; import com.google.common.cache.CacheBuilder; impor...
package com.ninty.cmd; import com.ninty.classfile.AttributeInfo; import com.ninty.classfile.constantpool.ConstantInfo; import com.ninty.cmd.base.ICmdBase; import com.ninty.cmd.base.Index16Cmd; import com.ninty.cmd.base.Index8Cmd; import com.ninty.cmd.base.NoOperandCmd; import com.ninty.nativee.INativeMethod; import com...
package com.sigopt.model; import com.sigopt.net.APIMethodCaller; import com.sigopt.net.PaginatedAPIMethodCaller; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.List; import java.util.Map; public class Experiment extends StructObject { public Experiment() { super(); } pub...
package com.stratio.specs; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.hasSize; import static org.hamcrest.Matchers.not; import static org.hamcrest.Matchers.equalTo; import java.util.List; import com.stratio.specs.BaseGSpec; import com.stratio.specs.CommonG; import cucumber....
package com.wepay.net; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.Writer; import java.net.URL; import java.nio.charset.StandardCharsets; import javax.net.ssl.HttpsURLConnection; import org.jso...
package com.yahoo.rdl; import java.util.List; import java.util.Map; import java.util.ArrayList; import java.util.HashMap; /** * A class to assist building Schemas programatically. */ public class SchemaBuilder { Schema schema; public SchemaBuilder(String name) { schema = new Schema().name(name); ...
package common.base.utils; import android.content.Context; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Matrix; import android.graphics.Paint; import android.graphics.PorterDuff; import android.graphics.Porte...
package cronapi.database; import java.lang.reflect.Method; import java.io.IOException; import java.lang.annotation.Annotation; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Vector; import javax.persistence.EntityManager; import javax.persistence.TypedQuery; import javax.pers...
package com.sometrik.framework; import java.util.Date; import com.sometrik.framework.NativeCommand.Selector; import android.graphics.Bitmap; import android.text.InputFilter; import android.view.MotionEvent; import android.view.View; import android.widget.EditText; import android.widget.LinearLayout; public class FWEdit...
package com.mapswithme.maps; import java.util.Locale; import android.app.ListActivity; import android.content.Context; import android.os.Bundle; import android.text.Editable; import android.text.TextWatcher; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewG...
package com.apollo.managers.graphics; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.assets.AssetDescriptor; import com.badlogic.gdx.assets.AssetLoaderParameters; import com.badlogic.gdx.assets.AssetManager; import com.badlogic.gdx.assets.loaders.FileHandleResolver; import com.badlogic.gdx.assets.loaders.Synchron...
package graphql; import graphql.execution.ExecutionPath; import graphql.execution.ExecutionStepInfo; import graphql.execution.UnresolvedTypeException; import graphql.language.SourceLocation; import java.util.List; import static graphql.Assert.assertNotNull; import static graphql.schema.GraphQLTypeUtil.simplePrint; impo...
package group7.anemone.UI; import java.awt.geom.Line2D; import java.awt.geom.Point2D; import processing.core.PApplet; public class Utilities { public static double distanceBetweenPoints(double ax, double ay, double bx, double by){ return Math.sqrt(Math.pow((float) (bx - ax), 2) + Math.pow((float) (by - ay),...
package hudson.remoting; import java.io.CharArrayWriter; import java.io.IOException; import java.io.InterruptedIOException; import java.io.Writer; import java.util.logging.Level; import java.util.logging.Logger; /** * {@link Writer} that sends bits to an exported * {@link Writer} on a remote machine. */ final class ...
package infovis.routing; import infovis.data.BusDataBuilder; import infovis.data.BusEdge; import infovis.data.BusStation; import infovis.data.BusStationManager; import infovis.data.BusTime; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.DataInputStream; import java.io.DataOutput...
package invtweaks.forge; import cpw.mods.fml.client.FMLClientHandler; import cpw.mods.fml.client.registry.ClientRegistry; import cpw.mods.fml.common.FMLCommonHandler; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.eventhand...
package jkanvas.animation; import java.awt.Color; import java.awt.Composite; import java.awt.Graphics2D; import java.awt.Shape; import java.awt.geom.Point2D; import java.awt.geom.Rectangle2D; /** * A list of circular shaped points with filling and border color. * * @author Joschi <josua.krause@gmail.com> * @param <...
package mcjty.lostcities; import mcjty.lostcities.commands.CommandDebug; import mcjty.lostcities.commands.CommandExportBuilding; import mcjty.lostcities.dimensions.world.lost.BuildingInfo; import mcjty.lostcities.dimensions.world.lost.Highway; import mcjty.lostcities.proxy.CommonProxy; import net.minecraftforge.fml.com...
package org.apdplat.word.util; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.Map; import java.util.regex.Pattern; /** * * @author */ public class Utils { private static final Pattern PATTERN = Pattern.compile("^[\\u4e00-\\u9fa5]{2,}...
package org.cactoos.iterator; import java.util.Iterator; /** * Creates an iterator returning an interval(slice) of the original iterator * by means of providing starting index, number of elements to retrieve from * the starting index and a decorated original iterator. * * <p>There is no thread-safety guarantee.</p...
package com.indeed.proctor.consumer; import com.google.common.base.Objects; import com.google.common.base.Preconditions; import com.google.common.collect.Maps; import com.indeed.proctor.common.ProctorResult; import com.indeed.proctor.common.model.ConsumableTestDefinition; import com.indeed.proctor.common.model.Payload;...
package org.ihtsdo.json; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileOutputStream; import java.io.OutputStreamWriter; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.UUID; import com.google.gson.Gson; import java.io...
package com.charlesmadere.hummingbird.models; import android.os.Parcel; import android.os.Parcelable; import com.charlesmadere.hummingbird.misc.ParcelableUtils; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonObje...