answer
stringlengths
17
10.2M
package com.TechSect.TaskReminderApp; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; public class ReminderDBAdapter { private s...
package com.alecgorge.minecraft.jsonapi.dynamic; import java.io.File; import java.io.FileReader; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future;...
/** * Contains classes for defining and using Iterations. {@link Iteration Iterations} are analogous to * standard Java {@link Iterator Iterators} with the exception that they are {@link Iteration#close closeable} * and can throw an exception when calling {@link Iteration#hasNext} or {@link Iteration#next}. */ pac...
package com.dmdirc.addons.ui_swing.textpane; import javax.swing.BorderFactory; import javax.swing.JComponent; import javax.swing.UIManager; import javax.swing.border.Border; import javax.swing.plaf.ComponentUI; /** * TextPane UI */ public class TextPaneUI extends ComponentUI { /** {@inheritDoc} */ @Override ...
package com.dmdirc.ui.swing.dialogs; import com.dmdirc.Main; import com.dmdirc.ui.interfaces.UpdaterDialog; import com.dmdirc.ui.swing.MainFrame; import com.dmdirc.ui.swing.components.StandardDialog; import com.dmdirc.updater.Update; import com.dmdirc.updater.Update.STATUS; import com.dmdirc.interfaces.UpdateListener; ...
package com.github.mpjct.jmpjct.mysql.proto; import java.util.ArrayList; import org.apache.log4j.Logger; public class SSLRequest extends Packet { public long capabilityFlags = Flags.CLIENT_PROTOCOL_41; public long maxPacketSize = 0; public long characterSet = 0; public void setCapabilityFlag(long flag) ...
package org.jgroups.blocks; import junit.framework.Test; import junit.framework.TestSuite; import org.jgroups.Channel; import org.jgroups.tests.ChannelTestBase; public class VotingAdapterTest extends ChannelTestBase { public VotingAdapterTest(String testName) { super(testName); } public static T...
package org.sword.wechat4j.oauth; import org.junit.Test; import org.sword.wechat4j.oauth.protocol.get_access_token.GetAccessTokenRequest; import org.sword.wechat4j.oauth.protocol.get_access_token.GetAccessTokenResponse; import org.sword.wechat4j.oauth.protocol.get_userinfo.GetUserinfoRequest; import org.sword.wechat4j....
package info.nanodesu.lib; import java.util.List; import java.util.Objects; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.CopyOnWriteArrayList; public class ObservableMap<K, V> extends ConcurrentHashMap<K, V>{ public static interface PutListener<K, V> { void putEvent(K k, V v); ...
package com.kduda.battleships.models.units; import java.util.ArrayList; import java.util.ListIterator; public enum UnitFactory { INSTANCE; ArrayList<Unit> units; ListIterator<Unit> unitsIterator; UnitFactory() { initializeUnitsList(); } void initializeUnitsList() { units = new Ar...
package com.rtg.vcf.eval; import java.io.File; import java.io.IOException; import java.util.EnumSet; import java.util.LinkedHashMap; import com.rtg.util.intervals.ReferenceRanges; import com.rtg.vcf.VcfUtils; import com.rtg.vcf.header.FormatField; import com.rtg.vcf.header.InfoField; import com.rtg.vcf.header.MetaType;...
package com.stefankopieczek.cellsheets; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.event.ActionEvent; import java.awt.event.InputEvent; import java.awt.event.KeyEvent; import java.util.ArrayList; import java.util.List; import javax.swing.AbstractAction; import javax.swin...
package com.thetransactioncompany.cors; /** * Represents an HTTP header field name. Provides an {@link #equals} method * to compare two header names using case-insensitive matching (RFC 2616, * section 4.2). * * <p>Header field name examples: * * <ul> * <li>Content-Type * <li>User-Agent * <li>X-Re...
package com.vaadin.data.util.sqlcontainer; import java.io.IOException; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.ConcurrentModificationException; import java.util.Dat...
package com.vectrace.MercurialEclipse.wizards; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.jface.dialogs.IDialogSettings; import org.eclipse.jface.resource.ImageDescriptor; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.events.SelectionListener; import org.eclipse.swt.widg...
/* * $Id: FuncFilesystem.java,v 1.4 2005-10-19 20:21:58 smorabito Exp $ */ package org.lockss.test; import java.io.*; import java.util.*; import junit.framework.TestCase; import org.lockss.util.*; /** Functional tests to ensure that the filesystem behaves as we expect */ public class FuncFilesystem extends LockssTes...
import java.awt.Point; import java.awt.Graphics; import java.awt.Dimension; import java.awt.Font; import java.awt.Color; import java.awt.Toolkit; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import java.awt.event.MouseListener; import java.awt.event.MouseEvent; import javax.swing.JFrame; imp...
package mondrian.test; import mondrian.olap.*; import mondrian.rolap.*; import mondrian.spi.impl.FilterDynamicSchemaProcessor; import java.io.InputStream; import java.util.Arrays; public class SteelWheelsSchemaTest extends SteelWheelsTestCase { /** * Sanity check, that enumerates the Measures dimension. *...
package org.wyona.yanel.servlet; import java.io.InputStream; import java.io.IOException; import java.io.OutputStream; import java.io.PrintWriter; import java.net.URL; import java.util.Enumeration; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import ja...
package org.lockss.plugin; import java.io.*; import java.net.MalformedURLException; import java.nio.file.Files; import java.nio.file.Paths; import java.util.*; import java.util.regex.*; import java.lang.reflect.*; import java.util.zip.*; import okhttp3.Cache; import org.apache.commons.io.IOUtils; import org.lockss.test...
package org.apache.jmeter.gui.action; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.lang.reflect.Modifier; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import org.apache.jmeter.gui...
package polyglot.ext.jl5.translate; import polyglot.ast.Node; import polyglot.ext.jl5.ast.JL5EnumDecl; import polyglot.ext.jl5.ast.JL5NodeFactory; import polyglot.translate.ExtensionRewriter; import polyglot.translate.ext.ClassDeclToExt_c; import polyglot.translate.ext.ToExt; import polyglot.types.SemanticException; im...
package amai.org.conventions; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Intent; import android.os.Build; import android.os.IBinder; import android.support.annotation.Nullable; import amai.org.conventions....
package de.uka.ipd.sdq.beagle.core.testutil; import static de.uka.ipd.sdq.beagle.core.testutil.ExceptionThrownMatcher.throwsException; import org.hamcrest.Description; import org.hamcrest.Matcher; import org.hamcrest.TypeSafeDiagnosingMatcher; import java.util.ArrayList; import java.util.Arrays; import java.util.Collec...
package de.fau.cs.mad.gamekobold.matrix; import java.util.ArrayList; import java.util.List; import android.app.AlertDialog; import android.app.Dialog; import android.app.DialogFragment; import android.content.Context; import android.content.DialogInterface; import android.os.Bundle; import android.util.Log; import andr...
package de.lmu.ifi.dbs.distance; import de.lmu.ifi.dbs.data.FeatureVector; import de.lmu.ifi.dbs.linearalgebra.Matrix; /** * CosineDistanceFunction for FeatureVectors. * * @author Arthur Zimek (<a href="mailto:zimek@dbs.ifi.lmu.de">zimek@dbs.ifi.lmu.de</a>) */ public class CosineDistanceFunction<V extends FeatureVe...
package tlc2.output; import java.io.PrintWriter; import java.io.StringWriter; import java.io.Writer; import java.text.DecimalFormat; import java.text.SimpleDateFormat; import java.util.Date; import tlc2.TLCGlobals; import tlc2.tool.TLCState; import tlc2.tool.TLCStateInfo; import tlc2.tool.liveness.LiveWorker; import tl...
package de.lmu.ifi.dbs.preprocessing; import de.lmu.ifi.dbs.data.RealVector; import de.lmu.ifi.dbs.database.AssociationID; import de.lmu.ifi.dbs.database.Database; import de.lmu.ifi.dbs.logging.LoggingConfiguration; import de.lmu.ifi.dbs.utilities.optionhandling.AttributeSettings; import de.lmu.ifi.dbs.utilities.option...
package com.cosylab.acs.maci.plug; import java.net.URI; import java.net.URISyntaxException; import java.util.Set; import java.util.concurrent.atomic.AtomicInteger; import java.util.logging.Level; import java.util.logging.Logger; import org.omg.CORBA.BAD_PARAM; import org.omg.CORBA.NO_PERMISSION; import org.omg.CORBA.NO...
package de.matthiasmann.twlthemeeditor.dom; import de.matthiasmann.twl.utils.CallbackSupport; import de.matthiasmann.twlthemeeditor.dom.Parent.ContentListener; import java.io.IOException; import java.util.Iterator; import java.util.NoSuchElementException; import org.xmlpull.v1.XmlSerializer; /** * * @author Matthias ...
package fi.helsinki.cs.nodes.ubispark; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snackbar; import android.view.View; import android.support.design.widget.NavigationView; import android.support.v4.view.GravityCompat; import android.support.v...
package de.mrapp.android.preference; import java.util.Collection; import android.annotation.TargetApi; import android.app.ActionBar; import android.app.Activity; import android.app.Fragment; import android.app.FragmentTransaction; import android.os.Build; import android.os.Bundle; import android.view.KeyEvent; import a...
package com.karateca.ddescriber.model; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import com.intellij.openapi.vfs.VirtualFile; import com.karateca.ddescriber.BaseTestCase; import java.util.ArrayList; import java.util.Arrays; /** * @author andresdom@google.com (Andres Dominguez) */...
package com.elmakers.mine.bukkit.magic.listener; import com.elmakers.mine.bukkit.api.block.UndoList; import com.elmakers.mine.bukkit.api.magic.Mage; import com.elmakers.mine.bukkit.magic.MagicController; import com.elmakers.mine.bukkit.utility.CompatibilityUtils; import com.elmakers.mine.bukkit.utility.DeprecatedUtils;...
package net.fortuna.ical4j.model.component; import java.io.FileInputStream; import java.io.IOException; import java.util.Calendar; import java.util.Date; import java.util.Iterator; import junit.framework.TestCase; import net.fortuna.ical4j.data.CalendarBuilder; import net.fortuna.ical4j.data.ParserException; import net...
package eu.qualimaster.infrastructure; import eu.qualimaster.adaptation.events.AdaptationEvent; import eu.qualimaster.common.QMInternal; import eu.qualimaster.events.IReturnableEvent; /** * Issues when the lifecycle of a pipeline changes. * * @author Holger Eichelberger */ @QMInternal public class PipelineLifecycle...
package com.groupon.seleniumgridextras.tasks; import com.google.gson.JsonArray; import com.google.gson.JsonObject; import com.google.gson.JsonPrimitive; import com.groupon.seleniumgridextras.config.RuntimeConfig; import org.apache.log4j.Logger; import java.util.LinkedList; import java.util.List; public class Setup exte...
package com.battlelancer.seriesguide.ui.dialogs; import android.content.ContentProviderOperation; import android.content.ContentValues; import android.content.Context; import android.content.OperationApplicationException; import android.database.Cursor; import android.os.Bundle; import android.os.RemoteException; impor...
package donnu.zolotarev.SpaceShip.Levels; import android.graphics.Point; import donnu.zolotarev.SpaceShip.Units.BaseUnit; import donnu.zolotarev.SpaceShip.Utils.Constants; import donnu.zolotarev.SpaceShip.Waves.IAddedEnemy; import donnu.zolotarev.SpaceShip.Waves.IWaveController; import donnu.zolotarev.SpaceShip.Waves.S...
package qa.addressbook.appmanager; import org.openqa.selenium.By; import org.openqa.selenium.firefox.FirefoxDriver; import qa.addressbook.model.ContactData; public class ContactHelper extends HelperBase { public ContactHelper(FirefoxDriver wd) { super(wd); } public void submitNewContact() { click(By.xpath...
package ca.cmput301f13t03.adventure_datetime.view; import java.util.Collection; import ca.cmput301f13t03.adventure_datetime.R; import ca.cmput301f13t03.adventure_datetime.model.Story; import ca.cmput301f13t03.adventure_datetime.model.Interfaces.IStoryListListener; import ca.cmput301f13t03.adventure_datetime.serviceLoca...
package org.sagebionetworks.bridge.cache; import java.util.List; import java.util.Objects; import org.sagebionetworks.bridge.models.accounts.Phone; import org.sagebionetworks.bridge.models.accounts.SignIn; import org.sagebionetworks.bridge.models.studies.StudyIdentifier; import org.sagebionetworks.bridge.models.subpopu...
package com.vlkan.hrrs.api.file; import com.google.common.base.MoreObjects; import com.vlkan.hrrs.api.HttpRequestRecordReaderSource; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.annotation.Nullable; import javax.annotation.concurrent.NotThreadSafe; import java.io.*; import java.nio.charset.Char...
// $Id: ChannelTest.java,v 1.12 2008/02/06 07:01:59 vlada Exp $ package org.jgroups.tests; import junit.framework.Test; import junit.framework.TestSuite; import org.jgroups.*; import org.jgroups.util.Util; import java.util.List; import java.util.LinkedList; /** * Tests various methods in JChannel * @author Bela Ban ...
package com.cryart.sabbathschool.viewmodel; import android.animation.AnimatorSet; import android.animation.ValueAnimator; import android.app.Activity; import android.content.Context; import android.databinding.BindingAdapter; import android.databinding.ObservableFloat; import android.databinding.ObservableInt; import a...
package com.example.henzoshimada.feeltrip; import android.os.AsyncTask; import android.text.TextUtils; import android.util.Log; import com.google.gson.Gson; import com.searchly.jestdroid.DroidClientConfig; import com.searchly.jestdroid.JestClientFactory; import com.searchly.jestdroid.JestDroidClient; import java.io.IOE...
package com.satsumasoftware.timetable.ui; import android.app.Activity; import android.app.DatePickerDialog; import android.content.Intent; import android.os.Bundle; import android.support.design.widget.Snackbar; import android.support.v4.content.ContextCompat; import android.support.v7.app.AlertDialog; import android.s...
package de.fau.cs.mad.fablab.android.view.activities; import android.content.res.Configuration; import android.os.Bundle; import android.support.v4.app.FragmentTransaction; import android.support.v7.app.AppCompatActivity; import android.view.Menu; import android.view.MenuItem; import butterknife.ButterKnife; import dag...
package ee.shy.core.merge; import ee.shy.core.Tree; import ee.shy.core.TreeItem; import ee.shy.core.TreePath; import ee.shy.core.diff.TreePairs; import ee.shy.io.PathUtils; import ee.shy.storage.DataStorage; import org.apache.commons.io.input.ClosedInputStream; import org.apache.commons.lang3.ArrayUtils; import java.io...
package gr.edu.serres.TrancCoder_TheElucitated; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.Button; import android....
package org.wikipedia.page; import android.os.Parcel; import android.os.Parcelable; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.text.TextUtils; import com.google.gson.annotations.SerializedName; import org.json.JSONException; import org.json.JSONObject; import o...
package io.github.jokoframework.fragment; import android.app.ActionBar; import android.app.Activity; import android.app.Fragment; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bundle; import android.preference.PreferenceManager; import android.util.Log; import and...
package org.commcare.activities; import android.app.Activity; import android.content.Intent; import android.os.AsyncTask; import android.os.Bundle; import android.support.v4.util.Pair; import android.util.Log; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.Toast;...
package dr.evomodel.continuous; import dr.inference.model.Parameter; import dr.xml.*; import dr.geo.cartogram.CartogramMapping; import java.awt.geom.Point2D; import java.awt.geom.Rectangle2D; import java.io.IOException; import java.util.logging.Logger; /** * @author Marc A. Suchard */ public class CartogramDiffusionM...
package dr.inference.model; import cern.colt.matrix.DoubleMatrix1D; import cern.colt.matrix.DoubleMatrix2D; import cern.colt.matrix.impl.DenseDoubleMatrix2D; import dr.evolution.tree.TreeTrait; import dr.evomodel.continuous.MultivariateDiffusionModel; import dr.evomodel.tree.TreeModel; import dr.evomodel.treedatalikeli...
package edu.iu.grid.oim.servlet; import java.io.IOException; import java.io.PrintWriter; import java.sql.SQLException; import java.text.SimpleDateFormat; import java.util.ArrayList; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import...
package warGame.Model; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.uti...
package edu.wheaton.simulator.statistics; /** * Represents a snapshot of a particular field of an agent in time. * * @author Daniel Gill */ public class FieldSnapshot { /** * The name of this particular field. */ public final String name; /** * A string representation of the field's value...
package edu.wustl.xipHost.hostControl; import java.awt.Dimension; import java.awt.Toolkit; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.net.URL;...
package com.programmish.otterball.ui; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.log4j.Logger; import org.eclipse.swt.events.ModifyEvent; import org.eclipse.swt.events.ModifyListener; import org.eclipse.swt.graphics.Point; import ...
package examples.mobile; import java.util.StringTokenizer; import jade.core.*; import jade.core.behaviours.*; import jade.domain.MobilityOntology; import jade.domain.FIPAException; import jade.lang.acl.*; import jade.lang.sl.SL0Codec; /** This behaviour of the Agent serves all the received messages. In particular, the ...
package com.apptentive.android.sdk.offline; import com.apptentive.android.sdk.GlobalInfo; import com.apptentive.android.sdk.Log; import com.apptentive.android.sdk.module.survey.Question; import com.apptentive.android.sdk.module.survey.SurveyDefinition; import org.json.JSONArray; import org.json.JSONException; import or...
package fr.tikione.steam.cleaner.gui.dialog; import fr.tikione.ini.InfinitiveLoopException; import fr.tikione.ini.util.StringHelper; import fr.tikione.steam.cleaner.Version; import fr.tikione.steam.cleaner.util.FileComparator; import fr.tikione.steam.cleaner.util.FileUtils; import fr.tikione.steam.cleaner.util.Graphics...
package de.ailis.usb4java; import java.io.UnsupportedEncodingException; /** * This is the main class of the usb4java JNI wrapper. It wraps the global * functions of libusb 0.x and defines all the constants. Usage is the same as * documented by libusb. * * You can use these classes to access USB at a low level but ...
package test.dr.distibutions; import dr.math.distributions.GammaDistribution; import dr.math.functionEval.GammaFunction; import junit.framework.TestCase; public class GammaDistributionTest extends TestCase{ GammaDistribution gamma; public void setUp(){ gamma = new GammaDistribution(1.0,1.0); } p...
package biweekly.property; import static biweekly.util.TestUtils.assertEqualsAndHash; import static biweekly.util.TestUtils.assertEqualsMethodEssentials; import static biweekly.util.TestUtils.assertNotEqualsBothWays; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertNotSame; import ja...
//@@author A0142073R package guitests; import org.junit.Test; import seedu.taskell.commons.exceptions.IllegalValueException; import seedu.taskell.model.task.TaskPriority; import seedu.taskell.testutil.TestTask; import static org.junit.Assert.assertTrue; public class ListPriorityCommandTest extends TaskManagerGuiTest { ...
package javax.lang.posit; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; import java.math.BigInteger; import org.junit.Before; import org.junit.Test; /** * General test of this class. * * @author <a href="mailto://dan@danbecker.info>Dan Becker</a> */ public class Posi...
package org.reactfx; import static org.junit.Assert.*; import java.time.Duration; import java.util.concurrent.CompletableFuture; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; impor...
package org.opencompare; import org.opencompare.api.java.PCM; import org.opencompare.api.java.impl.io.KMFJSONLoader; import static org.junit.Assert.*; import org.opencompare.api.java.io.PCMLoader; import org.junit.Test; import java.io.File; import java.io.IOException; public class MyPCMPrinterTest { @Test publi...
package org.opencompare; import static org.junit.Assert.assertEquals; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.junit.Test; import org.opencompare.api.java.Cell; import org.opencompare.api.java.Feature; import org.opencom...
package org.osiam.client; import static org.junit.Assert.fail; import java.io.IOException; import javax.ws.rs.NotAuthorizedException; import javax.ws.rs.client.Client; import javax.ws.rs.client.ClientBuilder; import javax.ws.rs.core.MediaType; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunW...
package org.owasp.esapi.codecs; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; public class CodecTest extends TestCase { private HTMLEntityCodec htmlCodec = new HTMLEntityCodec(); private PercentCodec percentCodec = new PercentCodec(); private JavaScriptCodec...
package com.airbnb.di.common; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FSDataInputStream; import org.apache.hadoop.fs.FileStatus; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.FsShe...
package nl.mpi.arbil.ui; import java.awt.AWTEvent; import java.awt.Color; import java.awt.Component; import java.awt.FontMetrics; import java.awt.Graphics; import java.awt.Point; import java.awt.Toolkit; import java.awt.event.KeyEvent; import java.awt.event.MouseEvent; import java.util.Arrays; import java.util.Collecti...
package org.threeten.extra; import static java.time.DayOfWeek.FRIDAY; import static java.time.DayOfWeek.MONDAY; import static java.time.DayOfWeek.SATURDAY; import static java.time.DayOfWeek.SUNDAY; import static java.time.Month.DECEMBER; import static java.time.Month.JANUARY; import static java.time.temporal.ChronoUnit...
package com.smartdevicelink.managers.screen.menu; import android.support.annotation.NonNull; import com.smartdevicelink.managers.BaseSubManager; import com.smartdevicelink.managers.CompletionListener; import com.smartdevicelink.managers.file.FileManager; import com.smartdevicelink.managers.file.MultipleFileCompletionLi...
package gov.nih.nci.calab.service.common; import gov.nih.nci.calab.db.DataAccessProxy; import gov.nih.nci.calab.db.IDataAccess; import gov.nih.nci.calab.domain.Aliquot; import gov.nih.nci.calab.domain.MeasureUnit; import gov.nih.nci.calab.domain.Sample; import gov.nih.nci.calab.domain.SampleContainer; import gov.nih.nc...
package org.apache.commons.lang; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import junit.textui.TestRunner; /** * Test suite for the Lang package. * * @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a> * @author <a href="mailto:ridesmet@users.so...
/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */ package processing.app.debug; import static processing.app.I18n._; import java.io.*; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.StandardCopyOption; import java.util.*; import java.util.stream....
/** * @author dgeorge * * $Id: ChemicalDrugData.java,v 1.4 2005-10-20 20:31:06 pandyas Exp $ * * $Log: not supported by cvs2svn $ * Revision 1.3 2005/09/28 13:58:46 georgeda * More work on manager interface for CI * * Revision 1.2 2005/09/27 19:17:07 georgeda * Refactor of CI managers * * Revision 1.1 ...
package com.bstek.bdf3.dorado.jpa; import java.beans.PropertyDescriptor; import java.io.Serializable; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; impo...
package de.jpaw.bonaparte.core; public class ExternalizableConstants { protected static boolean nestedObjectsInternally = true; // false = run through serializable, true = as on ASCII format protected static final long powersOfTen[] = { 1L, 10L, 100L, 1000L, 10000L, ...
package org.jboss.forge.bootstrap.listener; import java.io.PrintWriter; import java.io.StringWriter; import java.util.logging.Logger; import org.jboss.forge.furnace.Furnace; import org.jboss.forge.furnace.exception.ContainerException; import org.jboss.forge.furnace.spi.ContainerLifecycleListener; public class GreetingL...
package info.tregmine.listeners; import static org.bukkit.ChatColor.GREEN; import static org.bukkit.ChatColor.ITALIC; import static org.bukkit.ChatColor.RESET; import java.io.File; import java.util.*; import java.util.Map.Entry; import org.bukkit.*; import org.bukkit.block.*; import org.bukkit.entity.*; import org.bukk...
package uk.co.sftrabbit.stackanswers; import android.app.ListFragment; import android.content.Context; import android.content.res.Resources; import android.os.Bundle; import android.util.DisplayMetrics; import android.util.TypedValue; import android.view.LayoutInflater; import android.view.View; import android.view.Vie...
package com.couchbase.lite; import com.couchbase.lite.util.Log; import junit.framework.Assert; import org.apache.commons.io.IOUtils; import java.io.ByteArrayInputStream; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Iter...
package uk.me.graphe.client.algorithms; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.Arrays; public class DjikstraLib { /* public static void main(String[] args) throws IOException { if (args....
package whelk.history; import whelk.Document; import whelk.JsonLd; import java.time.Instant; import java.time.ZonedDateTime; import java.util.*; public class History { // Most-recent-ownership for each part of the record private final HashMap<List<Object>, Ownership> m_pathOwnership; // A (json) summary of ...
package org.xins.common.types.standard; import org.xins.common.MandatoryArgumentChecker; import org.xins.common.types.ItemList; import org.xins.common.types.TypeValueException; /** * Standard type <em>_set</em>. * * @version $Revision$ $Date$ * @author <a href="mailto:anthony.goubard@orange-ftgroup.com">Anthony Gou...
package us.kbase.userandjobstate.jobstate; import static us.kbase.common.utils.StringUtils.checkString; import static us.kbase.common.utils.StringUtils.checkMaxLen; import java.io.IOException; import java.net.UnknownHostException; import java.util.Date; import java.util.HashSet; import java.util.LinkedList; import java...
package com.healthmarketscience.jackcess; import java.io.IOException; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.List; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; /** * Describes which database pages a particular table uses * @author Tim McCune *...
// Narya library - tools for developing networked games // This library is free software; you can redistribute it and/or modify it // (at your option) any later version. // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // You should ...
// $Id: MisoScenePanel.java,v 1.30 2003/05/15 23:03:29 mdb Exp $ package com.threerings.miso.client; import java.awt.AlphaComposite; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Component; import java.awt.Composite; import java.awt.Dimension; import java.awt.EventQueue; import java.awt.Font; impo...
//This library is free software; you can redistribute it and/or //modify it under the terms of the GNU Lesser General Public //This library is distributed in the hope that it will be useful, //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //You should have received a copy of the GNU Lesser General Publi...
package com.kehxstudios.atlas.tools; import com.badlogic.gdx.utils.Json; import com.kehxstudios.atlas.data.ActionData; import com.kehxstudios.atlas.data.ComponentData; import com.kehxstudios.atlas.data.EntityData; /** * Used to convert back and forth from Entity/Component/Action data class to json String */ public cl...
package org.apache.commons.net.bsd; import java.io.IOException; import java.io.InputStream; import java.net.BindException; import java.net.InetAddress; import java.net.ServerSocket; import java.net.Socket; import java.net.SocketException; import org.apache.commons.net.io.SocketInputStream; public class RCommandClient e...
package king.flow.swing; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.GridLayout; import java.awt.Rectangle; import java.awt.event.ActionEvent; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.awt.event.WindowAdapter; import java.awt.ev...
package hudson.model; import hudson.slaves.SlaveComputer; /** * A listener for task related events from executors. * A {@link Computer#getRetentionStrategy} or {@link SlaveComputer#getLauncher} may implement this interface. * @author Stephen Connolly * @since 1.312 */ public interface ExecutorListener { /** ...
package hudson.scm; import hudson.model.Descriptor; import hudson.model.Descriptor.FormException; import hudson.scm.browsers.*; import org.kohsuke.stapler.StaplerRequest; import java.util.ArrayList; import java.util.List; import net.sf.json.JSONObject; import net.sf.json.JSONArray; /** * List of all installed {@link R...