answer
stringlengths
17
10.2M
package opendap.semantics.IRISail; import opendap.wcs.v1_1_2.*; import org.jdom.Element; import org.jdom.filter.ElementFilter; import org.jdom.output.XMLOutputter; import org.jdom.output.Format; import org.openrdf.query.*; import org.slf4j.Logger; import java.text.DateFormat; import java.text.SimpleDateFormat; import j...
package beast.math.distributions; import org.apache.commons.math.MathException; import org.apache.commons.math.distribution.ContinuousDistribution; import org.apache.commons.math.distribution.IntegerDistribution; import beast.core.CalculationNode; import beast.core.Description; import beast.core.Input; import beast.cor...
package beast.math.distributions; import org.apache.commons.math.MathException; import org.apache.commons.math.distribution.ContinuousDistribution; import org.apache.commons.math.distribution.IntegerDistribution; import beast.core.CalculationNode; import beast.core.Description; import beast.core.Function; import beast....
package org.anddev.andengine.entity.sprite; import javax.microedition.khronos.opengles.GL10; import org.anddev.andengine.entity.primitives.Rectangle; import org.anddev.andengine.opengl.GLHelper; import org.anddev.andengine.opengl.texture.TextureRegion; /** * @author Nicolas Gramlich * @since 11:38:53 - 08.03.2010 */...
package org.voltdb.utils; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.BufferedReader; import java.io.File; import java.io.FileDescriptor; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.i...
package org.appwork.utils.ImageProvider; import java.awt.Color; import java.awt.Font; import java.awt.Graphics2D; import java.awt.GraphicsConfiguration; import java.awt.GraphicsDevice; import java.awt.GraphicsEnvironment; import java.awt.Image; import java.awt.RenderingHints; import java.awt.Transparency; import java.a...
package org.appwork.utils.ImageProvider; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.GraphicsConfiguration; import java.awt.GraphicsDevice; import java.awt.GraphicsEnvironment; import java.awt.Image; import java.awt.RenderingHints; import java.awt.T...
package org.appwork.utils.swing.dialog; import java.awt.Component; import java.awt.Dimension; import java.awt.Frame; import java.awt.Point; import java.awt.Toolkit; import java.awt.Window; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.FocusEvent; import java.awt.event.Fo...
package org.marsik.elshelves.backend.entities; import gnu.trove.set.hash.THashSet; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.ToString; import org.joda.time.DateTime; import org.marsik.elshelves.api.entities.fields.LotAction; import org.marsik.elshelves.backend.services.StickerCapable; import or...
package team316; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.Map; import java.util.Set; import battlecode.common.Direction; import battlecode.common.GameActionException; import battlecode.common.GameConstants; import battlecode.common.Map...
package org.exist.xquery.functions.xmldb; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.exist.dom.QName; import org.exist.xmldb.UserManagementService; import org.exist.xquery.Cardinality; import org.exist.xquery.FunctionSignature; import org.exist.xquery.XPathException; ...
package org.fusfoundation.kranion; import java.beans.PropertyChangeEvent; import java.io.ByteArrayOutputStream; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; import java.io.InputStream; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.FloatBuffer; import jav...
package beast.evolution.alignment; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.List; import beast.core.Description; import beast.core.Input; import beast.core.Input.Validate; import beast.core.parameter.Map; import beast.evolution.datatype.DataType; import beast.ut...
package com.google.sitebricks.mail; import com.google.common.base.Preconditions; import com.google.common.util.concurrent.ListenableFuture; import com.google.common.util.concurrent.SettableFuture; import com.google.sitebricks.mail.imap.*; import com.google.sitebricks.mail.oauth.OAuthConfig; import com.google.sitebricks...
package org.ligerbots.steamworks.commands; import org.ligerbots.steamworks.Robot; import org.ligerbots.steamworks.RobotMap; import org.ligerbots.steamworks.subsystems.DriveTrain; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * This command turns the robot by a certain number of degrees. Clockwise is pos...
package org.mbds.wolf.java.view; import org.mbds.wolf.java.SeqlReaderTester; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class TerminalAddUserJFrame extends JFrame implements ActionListener { public static String title = "meCoin Terminal";...
package gov.nih.nci.camod.util; import java.util.*; import org.apache.commons.beanutils.BeanUtils; import org.apache.commons.beanutils.PropertyUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; /** * DuplicateUtil - Bean Deep-Copy Utility * <p> * This class provides a utility...
package org.nschmidt.ldparteditor.data; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Queue; import java.util.Set; import java.util.concurrent.ConcurrentLinkedQueue; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.ato...
package org.unipop.structure; import org.apache.commons.configuration.Configuration; import org.apache.commons.lang3.StringUtils; import org.apache.tinkerpop.gremlin.process.computer.GraphComputer; import org.apache.tinkerpop.gremlin.process.traversal.P; import org.apache.tinkerpop.gremlin.process.traversal.TraversalSt...
package org.ojalgo.optimisation.integer; import static org.ojalgo.constant.PrimitiveMath.*; import static org.ojalgo.function.PrimitiveFunction.*; import java.math.BigDecimal; import java.util.Arrays; import java.util.List; import java.util.concurrent.ForkJoinPool; import java.util.concurrent.PriorityBlockingQueue; imp...
package info.tregmine.api; import info.tregmine.database.Mysql; import java.sql.ResultSet; import java.util.HashMap; //import java.util.Map; import org.bukkit.ChatColor; //import org.bukkit.GameMode; import org.bukkit.block.Block; import org.bukkit.entity.Player; public class TregminePlayer extends PlayerDelegate { ...
package info.tregmine.database.db; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import org.bukkit.Location; import org.bukkit.block.Block; import org.bukkit.event.block.BlockBreakEvent; import org.bukkit.event.block.BlockPlaceEvent; import info....
package cn.updev.Message.Task; import cn.updev.Database.HibernateSessionFactory; import cn.updev.EventWeight.Weight.EventWeight; import cn.updev.Events.Event.EventDAO; import cn.updev.Events.Static.IEvent; import cn.updev.Message.Email.MailSenderInfo; import cn.updev.Message.Email.ThreadSenter; import cn.updev.Message....
package it.unitn.disi.annotation; import it.unitn.disi.annotation.pipelines.IBaseContextPipeline; import it.unitn.disi.common.components.Configurable; import it.unitn.disi.common.components.ConfigurableException; import it.unitn.disi.common.utils.MiscUtils; import it.unitn.disi.nlptools.components.PipelineComponentExce...
// 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 ...
package org.apache.log4j.chainsaw; import java.awt.BorderLayout; import java.awt.Component; import java.awt.Container; import java.awt.Dimension; import java.awt.Event; import java.awt.Frame; import java.awt.Point; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import ...
package org.jaxen.dom4j; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jaxen.Navigator; import org.jaxen.FunctionCallException; import org.jaxen.UnsupportedAxisException; import java.util.Iterator; /** * <p> * Collect Jaxen's dom4j tests. * </p> * * @a...
package com.ra4king.circuitsimulator.gui; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Optional; import java.util.Set; import java.util.stream.Collectors; import java.util.stream.Stream; import com.ra4king.circuitsimulator.gui.ComponentManager....
package com.redhat.ceylon.compiler.js; import static java.lang.Character.toUpperCase; import java.io.IOException; import java.io.Writer; import java.util.ArrayList; import java.util.List; import com.redhat.ceylon.compiler.typechecker.model.Class; import com.redhat.ceylon.compiler.typechecker.model.ClassOrInterface; imp...
package com.redhat.ceylon.compiler.js; import static java.lang.Character.toUpperCase; import java.io.IOException; import java.io.Writer; import java.util.ArrayList; import java.util.List; import com.redhat.ceylon.compiler.typechecker.model.Class; import com.redhat.ceylon.compiler.typechecker.model.ClassOrInterface; imp...
package com.syncleus.dann.genetics.wavelets; import com.syncleus.dann.genetics.Gene; import com.syncleus.dann.math.MathFunction; import java.util.ArrayList; import java.util.HashSet; import java.util.Random; import java.util.Set; public abstract class WaveletGene implements Gene { private double currentActivity; ...
package com.vaadin.demo.featurebrowser; import com.vaadin.ui.Accordion; import com.vaadin.ui.CustomComponent; import com.vaadin.ui.Label; import com.vaadin.ui.TextField; import com.vaadin.ui.VerticalLayout; /** * Accordion is a derivative of TabSheet, a vertical tabbed layout that places * the tab contents between th...
package backtype.storm.scheduler; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; public class Cluster { /** * key: supervisor id, value: supervisor details */ private Map<St...
package com.valkryst.VTerminal.printer; import com.valkryst.VTerminal.AsciiCharacter; import com.valkryst.VTerminal.Panel; import com.valkryst.VTerminal.component.Screen; import lombok.Getter; import lombok.Setter; import java.util.Optional; public class RectanglePrinter { /** The width of the rectangle to print. *...
package org.apache.hadoop.spatial; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream; import java.util.Arrays; import java.util.Vector; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.fs.FSDataOutputStream; import ...
package dr.evomodel.substmodel; import dr.math.matrixAlgebra.WrappedMatrix; /** * @author Marc A. Suchard * @author Xiang Ji */ public interface DifferentialMassProvider { double[] getDifferentialMassMatrix(double time); class DifferentialWrapper implements DifferentialMassProvider { private final Di...
package edu.brandeis.cs.steele.wn.browser; import javax.swing.JApplet; import java.util.logging.*; import java.net.URL; import edu.brandeis.cs.steele.wn.DictionaryDatabase; import edu.brandeis.cs.steele.wn.FileBackedDictionary; import edu.brandeis.cs.steele.wn.RemoteFileManager; public class BrowserApplet extends JAppl...
package edu.uw.easysrl.semantics.lexicon; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.Set; import java.util.stream.Collectors; import com.google.common.collect.ImmutableSet; import edu.uw.easysrl.dependencies.Coindexation;...
package emergencylanding.k.library.debug; import java.util.HashMap; import org.lwjgl.opengl.Display; import emergencylanding.k.imported.Sync; import emergencylanding.k.library.internalstate.ELEntity; import emergencylanding.k.library.internalstate.world.World; import emergencylanding.k.library.internalstate.world.World...
package uno.perwironegoro.boardgames.pawnrace; import uno.perwironegoro.boardgames.Board; import uno.perwironegoro.boardgames.Colour; import uno.perwironegoro.boardgames.Symbols; import uno.perwironegoro.boardgames.UtilsBoard; public class BoardPR extends Board { public static final char ARBCHAR = '@'; private ...
package protocolsupport.protocol.storage; import gnu.trove.map.hash.TIntObjectHashMap; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.UUID; import org.bukkit.Bukkit; import org.bukkit.entity.Player; import protocolsupport.protocol.typeremapper.watchedentity.types.WatchedEn...
package main.cli; import core.Protocol; import io.networkreaders.GraphvizReaderFactory; import io.networkreaders.SimpleTopologyReaderFactory; import io.networkreaders.TopologyReaderFactory; import io.reporters.CSVReporterFactory; import main.SimulatorParameters; import org.apache.commons.cli.*; import org.apache.common...
package org.voltdb.utils; import java.io.EOFException; import java.io.File; import java.io.FileFilter; import java.io.IOException; import java.io.PrintWriter; import java.io.RandomAccessFile; import java.io.StringWriter; import java.nio.ByteBuffer; import java.nio.channels.FileChannel; import java.util.ArrayDeque; impo...
package ed.lang.ruby; import org.jruby.Ruby; import org.jruby.RubyArray; import org.jruby.runtime.Block; import org.jruby.runtime.ThreadContext; import org.jruby.runtime.builtin.IRubyObject; import ed.js.JSArray; import ed.js.engine.Scope; import static ed.lang.ruby.RubyObjectWrapper.toJS; import static ed.lang.ruby.Ru...
package Application; import java.sql.Connection; import java.sql.ResultSet; import java.sql.Statement; import org.springframework.stereotype.Controller; //import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annota...
package Controllers; import javafx.application.Application; import javafx.scene.Scene; import javafx.stage.Stage; import java.util.ArrayList; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import Views.GameScene; import Models.Marker; import Utilities.Constants; import Utilities.XML; public class GameControll...
package blang.mcmc; import java.util.List; import bayonet.distributions.Random; import blang.core.LogScaleFactor; import blang.core.WritableIntVar; import blang.distributions.Generators; public class IntSliceSampler implements Sampler { @SampledVariable protected WritableIntVar variable; @ConnectedFactor protec...
package com.akiban.ais.model; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; /** * Definitive declaration of supported data types. The fields in each Type * instance are: * * <dl> * <dt...
package com.rocketnia.mvtron.analyzer; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class LumaAverager implements IIntArrayReferenceListener { private List< IFloatListener > floatListeners = Collections.synchronizedList( new ArrayList< IFloatListener >() ); pri...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.akiban.cserver; import java.io.DataInputStream; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.TreeMap; import org.apache.commons.logging.Log; import org.apache.comm...
// samskivert library - useful routines for java programs // 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 shoul...
// $Id: SceneManager.java,v 1.17 2004/05/19 22:09:04 ray Exp $ package com.threerings.whirled.server; import com.samskivert.io.PersistenceException; import com.threerings.crowd.server.PlaceManager; import com.threerings.presents.server.PresentsServer; import com.threerings.presents.util.Invoker; import com.threerings.w...
package com.vaklinov.zcashui; import java.awt.BorderLayout; import java.awt.Component; import java.awt.Container; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.lang.reflect.Invocation...
package com.akiban.server; import com.akiban.server.service.servicemanager.GuicedServiceManager; import com.akiban.util.OsUtils; import com.akiban.util.Strings; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.akiban.server.error.TapBeanFailureException; import com.akiban.server.manage.ManageMXBean; ...
package com.brettonw.bag; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; enum BagHelper { ; private static final Logger log = LogManager.getLogger (BagHelper.class); public static String enclose (String input, String bracket) { char bracket0 = bracket.charAt (0); ...
package org.apache.bcel.generic; import org.apache.bcel.Constants; /** * Instances of this class may be used, e.g., to generate typed * versions of instructions. Its main purpose is to be used as the * byte code generating backend of a compiler. You can subclass it to * add your own create methods. * * @version $...
package com.turn.ttorrent.client; import com.turn.ttorrent.TempFiles; import com.turn.ttorrent.WaitFor; import com.turn.ttorrent.client.peer.SharingPeer; import com.turn.ttorrent.common.Torrent; import com.turn.ttorrent.tracker.TrackedPeer; import com.turn.ttorrent.tracker.TrackedTorrent; import com.turn.ttorrent.track...
package org.apache.commons.betwixt; import java.beans.BeanDescriptor; import java.beans.BeanInfo; import java.beans.Introspector; import java.beans.IntrospectionException; import java.beans.PropertyDescriptor; import java.lang.reflect.Method; import java.net.URL; import java.util.ArrayList; import java.util.List; impor...
package com.codeborne.selenide; import org.openqa.selenium.*; import org.openqa.selenium.support.ui.Select; import java.util.List; import static com.codeborne.selenide.Condition.hidden; import static com.codeborne.selenide.Condition.visible; import static com.codeborne.selenide.Navigation.sleep; import static com.codeb...
package com.walkertribe.ian.enums; import java.lang.reflect.Constructor; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; import org.junit.Assert; import org.junit.Test; import com.walkertribe.i...
package com.codeborne.selenide; import org.openqa.selenium.*; import org.openqa.selenium.support.ui.Select; import java.util.List; import static com.codeborne.selenide.Condition.visible; import static com.codeborne.selenide.Navigation.sleep; import static com.codeborne.selenide.WebDriverRunner.fail; import static com.c...
package de.ailis.usb4java.libusb; import static de.ailis.usb4java.test.UsbAssume.assumeUsbTestsEnabled; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertSame; import static org.junit.Assert.assertTr...
package org.concord.otrunk.view; import java.awt.BorderLayout; import java.util.Hashtable; import javax.swing.JFrame; import org.concord.framework.otrunk.OTObject; import org.concord.framework.otrunk.view.OTFrame; import org.concord.framework.otrunk.view.OTFrameManager; import org.concord.framework.otrunk.view.OTViewCo...
package eu.over9000.skadi.ui; import java.util.Objects; import java.util.Random; import javafx.application.Application; import javafx.beans.Observable; import javafx.beans.property.ObjectProperty; import javafx.beans.property.ReadOnlyStringWrapper; import javafx.beans.property.SimpleObjectProperty; import javafx.beans....
package com.example; import java.io.File; import java.io.IOException; import java.net.URI; import java.util.ArrayList; import java.util.Collections; import java.util.List; import javax.swing.tree.DefaultMutableTreeNode; import javax.swing.tree.DefaultTreeModel; import javax.swing.tree.TreeModel; import javax.xml.bind.J...
package com.gossiperl.client; import com.gossiperl.client.thrift.Digest; import com.gossiperl.client.thrift.DigestAck; import org.apache.log4j.Logger; import java.util.ArrayList; import java.util.List; import java.util.UUID; public class State { public enum Status { CONNECTED, DISCONNECTED } ...
package io.teknek.nibiru.engine; import io.teknek.nibiru.Configuration; import java.io.File; import java.io.IOException; import java.text.DecimalFormat; import java.text.NumberFormat; import junit.framework.Assert; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; public class SSTabl...
package com.nucleus.vecmath; /** * This class is NOT thread safe since it uses static temp float arrays * 4 x 4 matrix laid out contiguously in memory, translation component is at the 3rd, 7th, and 11th element * Left handed coordinate system * Use this for classes that can represent the data as a matrix, for insta...
package net.joelinn.quartz; import com.fasterxml.jackson.databind.ObjectMapper; import net.joelinn.quartz.jobstore.RedisJobStoreSchema; import net.joelinn.quartz.jobstore.AbstractRedisStorage; import net.joelinn.quartz.jobstore.RedisStorage; import net.joelinn.quartz.jobstore.RedisTriggerState; import org.hamcrest.Matc...
package com.pollistics.models; import com.fasterxml.jackson.annotation.JsonIgnore; import org.bson.types.ObjectId; import org.hibernate.validator.constraints.Length; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.index.Indexed; import org.springframework.data.mongodb.core.ma...
package org.adridadou; import org.adridadou.ethereum.*; import org.adridadou.ethereum.ethj.TestConfig; import org.adridadou.ethereum.ethj.provider.EthereumFacadeProvider; import org.adridadou.ethereum.ethj.provider.PrivateEthereumFacadeProvider; import org.adridadou.ethereum.keystore.AccountProvider; import org.adridad...
package cz.muni.fi.webmias; import cz.muni.fi.mias.Settings; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Properties; import org.apache.lucene.index.DirectoryReader; import org.apache.lucene.search.IndexSearcher; import org.apache.lucene.store.FSDi...
package kabbage.customentitylibrary; import java.lang.reflect.Field; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.Map; import java.util.Map.Entry; import net.minecraft.server.v1_4_6.EntityLiving; import net.minecraft.server.v1_4_6.ItemStack; import net.minecraft.server.v1_4_6.PathfinderGoa...
package org.pitest.cucumber; import cucumber.api.CucumberOptions; import cucumber.api.junit.Cucumber; import cucumber.examples.java.calculator.Cornichon; import cucumber.examples.java.calculator.DateCalculator; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; imp...
package de.bmoth.app; import de.bmoth.modelchecker.ModelChecker; import de.bmoth.modelchecker.ModelCheckingResult; import javafx.application.Platform; import javafx.collections.SetChangeListener; import javafx.fxml.FXML; import javafx.fxml.Initializable; import javafx.scene.control.*; import javafx.scene.input.KeyCode;...
package com.izforge.izpack.panels; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.io.File; import javax.swing.Box; import javax.swing.BoxLayout; import javax.swing.JLabel; import javax.swing.JPanel; import com.izforge.izpack.installer.InstallData; import com.izfor...
package org.scijava.script; import static org.junit.Assert.assertEquals; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import javax.script.ScriptEngine; import org.junit.AfterClass; import org.junit.BeforeClass;...
package org.sqldroid; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; import org.assertj.core.api.ThrowableAssert; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.RobolectricTestRunner; import org.robolectric.anno...
package seedu.taskmanager.testutil; import java.io.File; import java.io.IOException; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.concurrent.TimeoutException; import java.u...
package seedu.unburden.testutil; import seedu.unburden.commons.exceptions.IllegalValueException; import seedu.unburden.model.tag.Tag; import seedu.unburden.model.task.*; /** *A class that builds sample Task testcases *Author A0147986H */ public class TaskBuilder { private TestTask task; public TaskBuilder() ...
package hello; import java.util.List; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation....
package bdv.img.cache; import java.util.ArrayList; import bdv.cache.SoftRefVolatileCacheImp; import bdv.cache.VolatileCache; import bdv.cache.VolatileCacheEntry; import bdv.cache.VolatileCacheValue; import bdv.cache.VolatileCacheValueLoader; import bdv.img.cache.CacheIoTiming.IoStatistics; import bdv.img.cache.CacheIoT...
package org.jdesktop.swingx.decorator; import java.text.Collator; import java.util.Comparator; import java.util.Locale; import junit.framework.TestCase; /** * Unit test for divers sort-related classes/issues. * * <ul> * <li> SortKey * <li> SortOrder * <li> Sorter * </ul> * @author Jeanette Winzenburg */ public...
package interfaz; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.awt.image.BufferedImage; import dominio.Personaje; import mensajeria.PaquetePersonaje; import recursos.Recursos; /** * Esta clase es la responsable de graficar a los personajes * @author Marvix */ public final class ...
package landmaster.plustic; import java.util.*; import landmaster.plustic.api.*; import landmaster.plustic.block.*; import landmaster.plustic.proxy.*; import landmaster.plustic.config.*; import landmaster.plustic.fluids.*; import landmaster.plustic.net.*; import landmaster.plustic.util.*; import landmaster.plustic.trai...
package org.commcare.xml; import org.commcare.cases.model.Case; import org.commcare.cases.model.CaseIndex; import org.commcare.data.xml.TransactionParser; import org.javarosa.core.model.utils.DateUtils; import org.javarosa.core.services.storage.IStorageUtilityIndexed; import org.javarosa.core.services.storage.StorageFu...
package uk.ac.kent.dover.fastGraph.Gui; import java.io.File; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JProgressBar; import uk.ac.kent.dover.fastGraph.Launcher; /** * Dummy class to avoid null checking when methods are run by the command line.<br> * This implements all public methods of...
package cat.nyaa.nyaacore.utils; import com.earth2me.essentials.Essentials; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.entity.Player; import org.bukkit.event.player.PlayerTeleportEvent; import java.util.List; public class TeleportUtils { public static boolean Teleport(Player player, Loc...
package uk.org.ngo.squeezer.menu; import uk.org.ngo.squeezer.SqueezerHomeActivity; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; public class SqueezerMenuFragment extends MenuFragment { @Override public boolean onOptionsItemSelected(MenuItem item) { switch (it...
package cn.heroes.yellow.entity.impl; import java.util.Iterator; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.CellStyle; import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Workbook; import cn.heroes.jkit.utils.ExcelUtils; import cn.heroes.jkit.utils.exception.Evalu...
package me.nallar; import lombok.Data; import lombok.Getter; import lombok.SneakyThrows; import lombok.val; import me.nallar.javatransformer.api.JavaTransformer; import me.nallar.mixin.internal.MixinApplicator; import me.nallar.modpatcher.tasks.BinaryProcessor; import me.nallar.modpatcher.tasks.SourceProcessor; import ...
package co.poynt.postman.model; import java.net.URLEncoder; import java.util.ArrayList; import java.util.Map; import org.springframework.http.HttpHeaders; public class PostmanRequest { public String id; public String headers; // String of \n separated headers with : separate // name:...
package com.akiban.sql.embedded; import com.akiban.qp.operator.Cursor; import com.akiban.qp.row.Row; import com.akiban.server.types.AkType; import com.akiban.server.types.ToObjectValueTarget; import com.akiban.server.types.ValueSource; import com.akiban.server.types.extract.Extractors; import com.akiban.server.types3.T...
package com.alorma.github.sdk.security; import android.net.Uri; import com.alorma.gitskarios.core.ApiClient; public class GitHub implements ApiClient { private String hostname; public GitHub() { } public GitHub(String hostname) { if (hostname != null) { Uri parse = Uri.parse(hostname...
/** * <p>General timezone-API. </p> */ /*[deutsch] * <p>Allgemeines Zeitzonen-API. </p> */ package net.time4j.tz;
package com.amee.service.unit; import com.amee.base.utils.UidGen; import com.amee.domain.AMEEStatus; import com.amee.domain.unit.AMEEUnit; import com.amee.domain.unit.AMEEUnitSymbolComparator; import com.amee.domain.unit.AMEEUnitType; import org.springframework.beans.factory.annotation.Autowired; import org.springframe...
package openmods.sync; import java.io.*; import net.minecraft.nbt.CompressedStreamTools; import net.minecraft.nbt.NBTTagCompound; import net.minecraftforge.common.util.Constants; import net.minecraftforge.fluids.Fluid; import net.minecraftforge.fluids.FluidRegistry; import net.minecraftforge.fluids.FluidStack; import o...
package org.basex.index.ft; import static org.basex.core.Text.*; import static org.basex.data.DataText.*; import static org.basex.util.Token.*; import static org.basex.util.ft.FTFlag.*; import java.io.*; import org.basex.core.*; import org.basex.data.*; import org.basex.index.*; import org.basex.index.IndexCache.CacheE...
package org.cojen.tupl.util; import java.util.List; import java.util.Objects; import java.util.concurrent.AbstractExecutorService; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ThreadLocalRandom; import java.util.concurrent.TimeUnit; /** * Shared pool of daemon threads. Intended as a faste...
package com.conveyal.r5.analyst.broker; import com.amazonaws.regions.Regions; import com.amazonaws.services.ec2.AmazonEC2; import com.amazonaws.services.ec2.AmazonEC2Client; import com.amazonaws.services.ec2.model.*; import com.conveyal.r5.analyst.cluster.GenericClusterRequest; import com.conveyal.r5.common.JsonUtiliti...