answer
stringlengths
17
10.2M
package me.creepinson.core; import java.util.Random; import java.util.concurrent.Callable; import me.creepinson.capability.Disguise; import me.creepinson.capability.DisguiseStorage; import me.creepinson.capability.IDisguise; import me.creepinson.handler.KeysHandler; import me.creepinson.lib.proxy.CommonProxy; import me...
package me.mitja.rf4j; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.zookeeper.KeeperException; import org.apache.zookeeper.WatchedEvent; import org.apache.zookeeper.Watcher; import org.apache.zookeeper.ZooKeeper; import org.apache.zookeeper.data.Stat; import org...
package org.traccar.protocol; import org.junit.Test; import org.traccar.ProtocolTest; public class EelinkProtocolDecoderTest extends ProtocolTest { @Test public void testDecode() throws Exception { EelinkProtocolDecoder decoder = new EelinkProtocolDecoder(new EelinkProtocol()); verifyNull(decode...
package net.brennheit.mcashapi; import com.google.api.client.http.GenericUrl; import net.brennheit.mcashapi.resource.*; import com.google.api.client.http.HttpHeaders; import com.google.api.client.http.HttpRequest; import com.google.api.client.http.HttpRequestFactory; import com.google.api.client.http.HttpRequestInitial...
package org.bouncycastle.asn1.test; import java.lang.reflect.Method; import java.math.BigInteger; import java.util.Date; import junit.framework.TestCase; import org.bouncycastle.asn1.ASN1EncodableVector; import org.bouncycastle.asn1.ASN1GeneralizedTime; import org.bouncycastle.asn1.ASN1Integer; import org.bouncycastle....
package net.openhft.chronicle.core.io; import net.openhft.chronicle.core.pool.StringBuilderPool; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.URL; import static net.openhft.chronicle.core.io.Closeable.*; public final class Wget ...
package nl.matsv.paaas.module; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import nl.matsv.paaas.data.VersionDataFile; import nl.matsv.paaas.module.modules.BurgerModule; import nl.matsv.paaas.module.modules.JarModule; import nl.matsv.paaas.module.modules.SoundModule; import nl.matsv.paaas.mod...
package org.apache.maven.yml2prop; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.util.List; import java.util.Map; import java.util.Properties; import org.apache.maven.plugin.AbstractMojo; import org.apa...
package org.broad.igv.util; import com.google.gson.JsonObject; import htsjdk.tribble.Tribble; import org.apache.log4j.Logger; import org.broad.igv.google.Ga4ghAPIHelper; import org.broad.igv.google.GoogleUtils; import org.broad.igv.gs.GSUtils; import java.awt.*; import java.io.File; import java.net.MalformedURLExceptio...
package org.clafer.compiler; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import org.clafer.ast.AstAbstractClafer; import org.clafer.ast.AstClafer; import org.clafer.ast.AstConcreteClafer; import org.clafer.ast.AstConstraint; import org.clafer.scope.Scope; import or...
package org.commcare.core.parse; import org.commcare.core.interfaces.UserSandbox; import org.commcare.data.xml.DataModelPullParser; import org.javarosa.xml.util.InvalidStructureException; import org.javarosa.xml.util.UnfullfilledRequirementsException; import org.xmlpull.v1.XmlPullParserException; import java.io.IOExcep...
package org.commcare.util; import org.commcare.resources.model.ResourceTable; import org.commcare.suite.model.Detail; import org.commcare.suite.model.FormEntry; import org.commcare.suite.model.Entry; import org.commcare.suite.model.Menu; import org.commcare.suite.model.OfflineUserRestore; import org.commcare.suite.mode...
package org.jacis.container; import java.util.AbstractMap; import java.util.AbstractMap.SimpleImmutableEntry; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.CopyOnWriteArrayList; import java...
package org.joow.codeelevator; import com.google.common.base.Optional; import org.joow.elevator.BetterElevatorEngine; import org.joow.elevator.Direction; import org.joow.elevator.ElevatorEngine; import static spark.Spark.*; import spark.*; public class CodeElevator { private static final String DEFAULT_PORT = "9000...
package konstructs.forest; import konstructs.api.BlockTypeId; public class ForestConfig { private final BlockTypeId wood; private final BlockTypeId leaves; private final BlockTypeId sapling; private final BlockTypeId growsOn; private final int seedHeightDifference; private final int maxSeedHeigh...
package org.lightmare.config; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Properties; import java.util.Set; import org.apache.log4j.Logger; import org.lightmare.cac...
package org.normandra.orientdb; import com.orientechnologies.orient.core.db.record.OIdentifiable; import com.orientechnologies.orient.core.db.record.ORecordLazyList; import com.orientechnologies.orient.core.db.record.ORecordLazySet; import com.orientechnologies.orient.core.id.ORID; import com.orientechnologies.orient.c...
package org.openremote.security; import org.openremote.exception.OpenRemoteException; import org.openremote.logging.Logger; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundExcep...
package org.owasp.esapi.waf.actions; /** * The base class indicating what is to be done after a rule executes. * * @author Arshan Dabirsiaghi * @see org.owasp.esapi.waf.rules.Rule */ public abstract class Action { protected boolean failed = true; protected boolean actionNecessary = true; public void se...
package org.smoothbuild.parse; import static org.smoothbuild.lang.message.Location.location; import static org.smoothbuild.parse.LocationHelpers.locationOf; import static org.smoothbuild.util.Maybe.error; import static org.smoothbuild.util.Maybe.maybe; import static org.smoothbuild.util.Paths.openBufferedInputStream; i...
package org.surrel.battery; import android.animation.Animator; import android.animation.ObjectAnimator; import android.app.ActionBar; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.app.DialogFragment; import android.app.Fragment; import android.content.DialogInter...
package org.takes.facets.forward; import java.io.IOException; import java.io.InputStream; import lombok.EqualsAndHashCode; import org.takes.Request; import org.takes.Response; import org.takes.Take; /** * Redirect on exception. * * <p>The class is immutable and thread-safe. * * @author Yegor Bugayenko (yegor@teame...
package org.testobject.rest.api; import com.google.common.base.Optional; import org.apache.http.auth.AuthScope; import org.apache.http.auth.UsernamePasswordCredentials; import org.apache.http.client.CredentialsProvider; import org.apache.http.impl.client.BasicCredentialsProvider; import org.glassfish.jersey.apache.conn...
package org.textfiledatatools.core; import org.textfiledatatools.core.consumer.RecordConsumer; import org.textfiledatatools.core.consumer.UncheckedConsumerException; import org.textfiledatatools.core.filter.RecordFilter; import org.textfiledatatools.core.logger.RecordLogger; import org.textfiledatatools.core.mapper.Rec...
package org.yidu.novel.action; import java.util.ArrayList; import java.util.List; import org.springframework.beans.BeanUtils; import org.yidu.novel.action.base.AbstractPublicBaseAction; import org.yidu.novel.cache.CacheManager; import org.yidu.novel.constant.YiDuConfig; import org.yidu.novel.constant.YiDuConstants; imp...
package com.hida.dao; import com.hida.model.Purl; import org.dbunit.dataset.IDataSet; import org.dbunit.dataset.xml.FlatXmlDataSet; import org.springframework.beans.factory.annotation.Autowired; import org.testng.annotations.Test; import org.testng.Assert; /** * Tests the functionality of PurlDaoTest and ensures that ...
package permafrost.tundra.data; import com.wm.app.b2b.server.ServiceException; import com.wm.data.IData; import com.wm.data.IDataCursor; import com.wm.data.IDataFactory; import com.wm.data.IDataPortable; import com.wm.data.IDataUtil; import com.wm.util.Table; import com.wm.util.coder.IDataCodable; import com.wm.util.co...
package polytheque.view; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.sql.Date; import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextField; import com.toedter.calendar.JD...
package SystemMonitor; import oshi.hardware.PowerSource; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.TimeZone; public class Battery { private PowerSource battery; private DateFormat dateFormat; public Battery(PowerSource battery) { dateFormat = new SimpleDateForm...
package prope.executables; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import org.apache.commons.io.FileUtils; import prope.metrics.adaptability.AdaptabilityAnalyzer; import prope.metrics.installability.deployability.DeploymentPackageAnalyzer; import prope.met...
package org.flymine.web.widget; import java.util.ArrayList; import java.util.Collection; import org.intermine.objectstore.query.BagConstraint; import org.intermine.objectstore.query.ConstraintOp; import org.intermine.objectstore.query.ConstraintSet; import org.intermine.objectstore.query.ContainsConstraint; import org....
package aQute.lib.jardiff.java; import java.io.*; import java.lang.reflect.*; import java.util.*; import java.util.jar.*; import org.osgi.framework.Constants; import aQute.bnd.build.*; import aQute.bnd.service.*; import aQute.lib.jardiff.*; import aQute.lib.jardiff.PackageDiff.PackageSeverity; import aQute.lib.osgi.*; ...
package seedu.emeraldo.model.task; import seedu.emeraldo.commons.exceptions.IllegalValueException; /** * Represents a Task's date and time in Emeraldo. * Guarantees: immutable; is valid as declared in {@link #isValidDateTime(String)} */ public class DateTime { public static final String MESSAGE_ADDRESS_CONSTRAIN...
package seedu.task.model.task; import seedu.task.model.tag.UniqueTagList; /** * A read-only immutable interface for a Task in the task manager. * Implementations should guarantee: details are present and not null, field * values are validated. */ public interface ReadOnlyTask { TaskName getTaskName(); TaskD...
package com.lucidera.lcs; import java.util.*; import net.sf.farrago.fem.sql2003.*; import net.sf.farrago.fem.med.*; import net.sf.farrago.query.*; import net.sf.farrago.type.*; import net.sf.farrago.cwm.relational.*; import org.eigenbase.rel.*; import org.eigenbase.relopt.*; import org.eigenbase.reltype.*; import org.e...
package techreborn.blocks.cable; import net.minecraft.block.*; import net.minecraft.block.entity.BlockEntity; import net.minecraft.entity.Entity; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.fluid.Fluid; import net.minecraft.fluid.FluidState; import net...
package net.sf.farrago.test; import java.io.InputStream; import java.io.Reader; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.math.BigDecimal; import java.sql.*; import java.util.*; import java.util.regex.Pattern; import junit.framework.Assert; import junit.framework.T...
package jolie.net.http.json; import java.io.IOException; import java.io.Reader; import java.util.Map; import java.util.Map.Entry; import jolie.runtime.Value; import jolie.runtime.ValueVector; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import org.json.simple.JSONValue; import org.json.simple.pa...
// modification, are permitted provided that the following conditions are met: // documentation and/or other materials provided with the distribution. // 3. All advertising materials mentioning features or use of this software // must display the following acknowledgement: // This product includes software d...
package org.intermine.web; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.ServletContext; import java.util.Properties; import java.util.Map; import java.util.HashMap; import java.util.Set; import java.util.HashSet; import java.util.List; import java.util.ArrayList; import java.u...
package net.sf.iwant.core; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.PrintStream; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.SortedSet; import java.util.TreeSet; import org.apache.tools.ant.BuildEvent; import org.apache.tools.ant.Buil...
package rms.view; import java.awt.Dimension; import java.awt.event.ActionEvent; import java.awt.event.KeyEvent; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.io.File; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Set; import java.util....
package mars.mips.instructions.syscalls; import mars.util.*; import mars.mips.hardware.*; import mars.simulator.*; import mars.*; import java.net.Socket; import java.io.InputStream; import java.io.OutputStream; import java.io.IOException; import java.util.Arrays; public class SyscallSocketRead extends AbstractSyscall {...
package com.joestelmach.natty; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; import java.text.DateFormat; import java.util.Date; import java.util.List; import java.util.Locale; import java.util.TimeZone; /** * Runs the parser through the various datetime formats * * @author Joe Stelma...
package de.bmoth.ltl; import de.bmoth.TestParser; import de.bmoth.backend.ltl.transformation.*; import de.bmoth.parser.ast.nodes.ltl.LTLFormula; import de.bmoth.parser.ast.nodes.ltl.LTLNode; import de.bmoth.parser.ast.visitors.ASTTransformation; import org.junit.Test; import static junit.framework.TestCase.assertFalse;...
package net.imagej.minmax; import static org.junit.Assert.assertEquals; import net.imglib2.Cursor; import net.imglib2.IterableInterval; import net.imglib2.img.Img; import net.imglib2.img.array.ArrayImgs; import net.imglib2.meta.ImgPlus; import net.imglib2.type.Type; import net.imglib2.util.Util; import org.junit.Test; ...
package net.spy.memcached; import java.net.SocketAddress; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.Map; import java.util.Random; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.con...
import java.util.*; import java.time.*; import net.quasardb.qdb.*; import org.junit.*; import org.hamcrest.Matcher; import static org.hamcrest.CoreMatchers.*; import static org.junit.Assert.*; public class QdbTimeSeriesReaderTest { @Test public void canGetReader() throws Exception { String alias = Helpe...
package wge3.world; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.g2d.Batch; import com.badlogic.gdx.maps.tiled.TiledMap; import com.badlogic.gdx.math.MathUtils; import static com.badlogic.gdx.math.MathUtils.atan2; import static com.badlogic.gdx.math.MathUtils.cos; import static com.badlogic....
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package thredds.server.sos.getObs; import java.io.FileWriter; import java.io.BufferedWriter; import java.io.File; import java.io.Writer; import java.io.CharArrayWriter; import thredds.server.sos.service.MetadataParser; i...
package uk.co.eleusis.android.fcoalerts; import java.io.IOException; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Locale; import java.util.Map; import java.util.Set; import java.u...
package xltutil.runner.helper; import java.io.File; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.lang3.StringUtils; import org.apache.http.HttpHost; import org.apache.http.auth.Aut...
package com.rti.perftest.harness; import static java.lang.Math.abs; import static java.lang.Math.sqrt; import java.util.Arrays; import com.rti.perftest.harness.PerfTest; import com.rti.perftest.IMessagingCB; import com.rti.perftest.IMessagingReader; import com.rti.perftest.IMessagingWriter; import com.rti.perftest.Test...
package to.etc.domui.component.misc; import to.etc.domui.component.buttons.*; import to.etc.domui.component.layout.*; import to.etc.domui.component.meta.*; import to.etc.domui.dom.html.*; import to.etc.domui.util.*; public class MsgBox extends FloatingWindow { public interface IAnswer { void onAnswer(MsgBox...
package net.sf.farrago.test; import java.io.InputStream; import java.io.Reader; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.math.BigDecimal; import java.math.BigInteger; import java.sql.*; import java.util.*; import java.util.regex.Pattern; import junit.framework.Ass...
package ru.stqa.pft.sandbox; public class Hello { public static void main(String[] args) { System.out.println("Hello everybody"); } }
package edu.umd.cs.findbugs; import java.util.ArrayList; import java.util.List; import org.apache.bcel.Repository; import org.apache.bcel.classfile.Constant; import org.apache.bcel.classfile.ConstantUtf8; import org.apache.bcel.classfile.ConstantInteger; import org.apache.bcel.classfile.ConstantDouble; import org.apach...
package com.ibm.mil.cafejava; import android.content.Context; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import com.google.gson.Gson; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import com.google.gson.reflect.TypeT...
package edu.umd.cs.findbugs; import java.util.ArrayList; import java.util.List; import org.apache.bcel.Repository; import org.apache.bcel.classfile.Constant; import org.apache.bcel.classfile.ConstantUtf8; import org.apache.bcel.classfile.ConstantInteger; import org.apache.bcel.classfile.ConstantDouble; import org.apach...
package jsettlers.logic.buildings; import java.io.IOException; import java.io.ObjectInputStream; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.concurrent.ConcurrentLinkedQueue; import jsettlers.algorithms.fogofwar.IViewDistancable; import jsettlers.common.buildings.EBu...
package org.wso2.carbon.uuf.core; public class API { public void callOSGiService() { throw new UnsupportedOperationException("To be implemented"); } public void callMicroService() { throw new UnsupportedOperationException("To be implemented"); } public void createSession() { ...
package edu.umd.cs.findbugs.ba; import java.io.Serializable; import java.util.Comparator; import java.util.Iterator; import java.util.TreeSet; import org.apache.bcel.generic.InstructionHandle; import org.apache.bcel.generic.MethodGen; import edu.umd.cs.findbugs.SystemProperties; import edu.umd.cs.findbugs.ba.deref.Unco...
package org.commcare.dalvik.activities; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Bitmap; import android.os.Build; import android.os.Bundle; import android.preference.PreferenceManager; import android.text.Editable; import android.text.InputType; import android.tex...
package edu.umd.cs.findbugs.ba.obl; public class Path { private static final int DEFAULT_CAPACITY = 8; private static final int INVALID_HASH_CODE = -1; private int[] blockIdList; private int length; private int cachedHashCode; /** * Constructor. * Creates an empty Path. */ pub...
package info.wangchen.simplehud; import android.content.Context; import android.os.Handler; import android.os.Message; public class SimpleHUD { private static SimpleHUDDialog dialog; public static final int TYPE_BLOCK = 0; public static final int TYPE_NONBLOCK = 1; public static void showLoadingMessage(...
package org.odk.collect.android.tasks; import java.io.BufferedInputStream; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream;...
package com.intellij.formatting; import com.intellij.openapi.util.TextRange; import com.intellij.psi.codeStyle.CodeStyleSettings; class LeafBlockWrapper extends AbstractBlockWrapper { //TODO remove text!!! private static int CONTAIN_LINE_FEEDS = 4; private static int READ_ONLY = 8; private static int LEAF = 16;...
package org.hitogo.core; import android.arch.lifecycle.Lifecycle; import android.arch.lifecycle.LifecycleObserver; import android.arch.lifecycle.OnLifecycleEvent; import android.os.Handler; import android.support.annotation.LayoutRes; import android.support.annotation.NonNull; import android.support.annotation.Nullable...
package com.wkovacs64.mtorch; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.os.Bundle; import android.preference.PreferenceMa...
package com.necla.am.zwutils.Logging; import java.util.Map; import java.util.logging.Handler; import java.util.logging.Level; import java.util.logging.Logger; import com.necla.am.zwutils.GlobalConfig; import com.necla.am.zwutils.Caching.ConcurrentWeakIdentityHashMap; import com.necla.am.zwutils.Logging.Utils.Handlers.Z...
package org.jboss.shamrock.maven; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; impo...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.micromanager.acquisition; import ij.CompositeImage; import ij.ImagePlus; import java.awt.Color; import org.micromanager.api.ImageCache; import org.micromanager.api.ImageCacheListener; import java.util.ArrayLi...
package edu.umd.cs.findbugs; import java.io.FileInputStream; import java.io.IOException; import java.util.Arrays; import java.util.Collection; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Set; import java.util.TreeSet; import org.apache.bcel.c...
package com.yahoo.vespa.flags; import com.yahoo.component.Vtag; import com.yahoo.vespa.defaults.Defaults; import java.time.Instant; import java.time.LocalDate; import java.time.ZoneOffset; import java.time.format.DateTimeFormatter; import java.util.List; import java.util.Optional; import java.util.TreeMap; import stati...
package com.yahoo.vespa.flags; import com.yahoo.component.Vtag; import com.yahoo.vespa.defaults.Defaults; import java.time.Instant; import java.time.LocalDate; import java.time.ZoneOffset; import java.time.format.DateTimeFormatter; import java.util.List; import java.util.Optional; import java.util.TreeMap; import stati...
package com.yahoo.vespa.flags; import com.yahoo.component.Vtag; import com.yahoo.vespa.defaults.Defaults; import java.time.Instant; import java.time.LocalDate; import java.time.ZoneOffset; import java.time.format.DateTimeFormatter; import java.util.List; import java.util.Optional; import java.util.TreeMap; import stati...
package cpw.mods.fml.client; import static org.lwjgl.opengl.GL11.*; import java.awt.image.BufferedImage; import java.awt.Dimension; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.lang.reflect.Field; ...
package jfcraft.block; /** Blocks with Alpha blending * ie:ice block * * @author pquiring * * Created : Mar 29, 2014 */ import javaforce.*; import jfcraft.data.*; import jfcraft.opengl.*; public class BlockAlpha extends BlockBase { public BlockAlpha(String name, String names[], String images[]) { super(name...
package asmcup.runtime; import asmcup.vm.VM; public class Robot { protected final int id; protected VM vm; protected float x, y; protected float facing; protected int overclock; protected int battery; protected float motor; protected float steer; protected float lazer; protected ...
package backEnd; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Random; import javafx.scene.paint.Color; public class PredatorPrey extends RuleSet { private static final String SHARK_BREED_TIME = "sharkBreedTime"; private static final String SHARK_STARVE_TIME = "sharkS...
//Standard Java classes import java.io.FileWriter; import java.util.*; import java.util.zip.Inflater; import java.util.zip.Deflater; // Base64 class in xercesImpl.jar package import org.apache.xerces.impl.dv.util.Base64; //StarOffice Interfaces and UNO import com.sun.star.bridge.XBridgeFactory; import com.sun.star.brid...
package com.yahoo.vespa.flags; import com.yahoo.vespa.defaults.Defaults; import com.yahoo.vespa.flags.custom.PreprovisionCapacity; import java.util.List; import java.util.Optional; import java.util.TreeMap; import static com.yahoo.vespa.flags.FetchVector.Dimension.APPLICATION_ID; import static com.yahoo.vespa.flags.Fet...
package com.yahoo.vespa.flags; import com.yahoo.component.Vtag; import com.yahoo.vespa.defaults.Defaults; import com.yahoo.vespa.flags.custom.ClusterCapacity; import com.yahoo.vespa.flags.custom.SharedHost; import java.time.Instant; import java.time.LocalDate; import java.time.ZoneOffset; import java.time.format.DateTi...
package com.yahoo.vespa.flags; import com.yahoo.component.Vtag; import com.yahoo.vespa.defaults.Defaults; import java.time.Instant; import java.time.LocalDate; import java.time.ZoneOffset; import java.time.format.DateTimeFormatter; import java.util.List; import java.util.Optional; import java.util.TreeMap; import java....
package com.badlogic.gdx.maps.tiled; 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.SynchronousAssetLoader; import com.bad...
package com.almasb.fxgl.physics; import com.almasb.fxgl.physics.box2d.collision.shapes.ShapeType; import javafx.beans.property.DoubleProperty; import javafx.beans.property.SimpleDoubleProperty; import javafx.geometry.BoundingBox; import javafx.geometry.Bounds; import javafx.geometry.Dimension2D; import javafx.geometry....
package net.maizegenetics.baseplugins; import net.maizegenetics.pal.alignment.*; import net.maizegenetics.plugindef.AbstractPlugin; import net.maizegenetics.plugindef.DataSet; import net.maizegenetics.plugindef.Datum; import net.maizegenetics.plugindef.PluginEvent; import java.awt.Frame; import javax.swing.*; import ja...
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...
/* * BitAlignment */ package net.maizegenetics.pal.alignment; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import net.maizegenetics.pal.ids.IdGroup; import net.maizegenetics.util.BitSet; import net.maizegenetics.util.BitUtil; import net.maiz...
/* * SuperByteMatrixSingle */ package net.maizegenetics.util; /** * * @author Terry Casstevens */ public class SuperByteMatrixSingle implements SuperByteMatrix { private final byte[] myData; private int myNumRows; private int myNumColumns; private final long myPrecompute1; SuperByteMatrixSingl...
package org.adligo.models.core.shared; import org.adligo.i.util.shared.AppenderFactory; import org.adligo.i.util.shared.ClassUtils; import org.adligo.i.util.shared.I_Appender; import org.adligo.models.core.shared.util.StorageIdentifierValidator; import org.adligo.models.core.shared.util.VersionValidator; /** * * @aut...
package org.apache.xerces.impl.xs; import org.apache.xerces.impl.dv.XSSimpleType; import org.apache.xerces.impl.dv.XSAtomicSimpleType; import org.apache.xerces.impl.dv.ValidatedInfo; import org.apache.xerces.impl.dv.DatatypeException; import org.apache.xerces.impl.dv.InvalidDatatypeValueException; import org.apache.xer...
package com.rapid.core; import java.util.HashMap; import java.util.List; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import org.json.JSONObject; import org.w3c.dom.Node; import com.rapid.server.RapidHttpServlet; import com.rapid.server.RapidRequest; @XmlRootElement @XmlTyp...
package com.rcv; import java.io.File; import java.net.URL; import java.time.ZonedDateTime; import java.time.format.DateTimeFormatter; import java.util.ResourceBundle; import javafx.fxml.FXML; import javafx.fxml.Initializable; import javafx.scene.control.TextArea; import javafx.stage.FileChooser; import javafx.stage.Fil...
package water; import org.junit.BeforeClass; import org.junit.Test; import java.util.ArrayList; import java.util.Collection; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; public class UnknownHeartbeatTest extends TestUtil{ @BeforeClass() public static void setup() { stall...
package org.nees.buffalo.rdv.data; import java.io.File; /** * A class to represent a data file containing a JPEG image. * * @author Jason P. Hanley */ public class JPEGFileDataSample extends DataSample{ /** the JPEG image */ private final byte[] data; /** the JPEG file */ private final File file; /** *...
package org.objectweb.proactive.core.rmi; import org.apache.log4j.Logger; import org.objectweb.proactive.core.util.UrlBuilder; import java.net.UnknownHostException; public class ClassServer implements Runnable { protected static Logger logger = Logger.getLogger(ClassServer.class.getName()); public static final ...
package org.opencms.workplace.search; import org.opencms.db.CmsUserSettings.CmsSearchResultStyle; import org.opencms.jsp.CmsJspActionElement; import org.opencms.main.CmsIllegalStateException; import org.opencms.main.OpenCms; import org.opencms.search.CmsSearchIndex; import org.opencms.search.CmsSearchParameters; import...
package org.yuanheng.cookcc.codegen.java; import java.io.File; import java.io.FileWriter; import java.util.HashMap; import java.util.Map; import java.util.Properties; import org.yuanheng.cookcc.OptionMap; import org.yuanheng.cookcc.codegen.TemplatedCodeGen; import org.yuanheng.cookcc.codegen.options.AbstractOption; imp...
package radlab.rain.workload.rubis.util; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.sql.Connection; import java.sql.Date; import java.sql.Driver...