answer
stringlengths
17
10.2M
package seedu.whatnow.model.task; import java.text.DateFormat; import java.text.SimpleDateFormat; import org.ocpsoft.prettytime.PrettyTime; import seedu.whatnow.commons.exceptions.IllegalValueException; public class TaskTime { // public static final String TWENTY_FOUR_HOUR_FORMAT = "HHmm"; //E.g. 2359 public sta...
package net.hearthstats.state; /** * Defines pixel tests that aren't in the standard locations. * They are usually used to identify elements on specific screens, * rather than to identify a screen itself. */ public enum UniquePixel { OPPONENT_DRUID_1 (1161, 185, 175, 225, 212, 235, 255, 255), OPPONENT_DRUID...
package tigase.collections; import java.util.Collection; import java.util.Collections; import java.util.Map; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; public class TwoHashBidiMap<K, V> implements BidiMap<K, V> { private final Map<K, V> keyValueMap = new ConcurrentHashMap<K, V>(); priv...
package tigase.xmpp; import java.util.Arrays; import java.util.EmptyStackException; import java.util.HashMap; import java.util.LinkedList; import java.util.Map; import java.util.Queue; import java.util.Stack; import java.util.TreeMap; import java.util.logging.Logger; import tigase.xml.DefaultElementFactory; import tiga...
package org.jboss.jca.validator.cli; import org.jboss.jca.validator.Validation; import java.io.File; import java.net.MalformedURLException; /** * A Main. * * @author Jeff Zhang</a> * @version $Revision: $ */ public class Main { private static final int SUCCESS = 0; private static final int FAIL = 1; priva...
package yanagishima.servlet; import com.facebook.presto.client.ClientException; import com.facebook.presto.client.ErrorLocation; import com.facebook.presto.client.QueryError; import com.fasterxml.jackson.databind.ObjectMapper; import me.geso.tinyorm.TinyORM; import org.apache.http.client.fluent.Request; import org.slf4...
// 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...
public class SquareWave extends Waveform { public SquareWave() { } protected double _at(double t) { return t > 0.5 ? 1 : -1; } }
package main.subtitle.subtitleObject; import main.srtFixer.config.SrtFixerConfig; import main.subtitle.fix.ChangeLsToIs; import main.subtitle.fix.FixAbbreviations; import main.subtitle.fix.FixAcronym; import main.subtitle.fix.FixAmpersand; import main.subtitle.fix.FixCapitalization; import main.subtitle.fix.FixCommonEr...
package markehme.factionsplus.listeners; import java.io.File; import markehme.factionsplus.FactionsPlusPlugin; import markehme.factionsplus.Utilities; import markehme.factionsplus.config.Config; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import com.massivecraft.factions.event.FPlayerJoinEve...
package multicast.search.message; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectOutput; import java.util.Arrays; import java.util.HashSet; import java.util.Set; import peer.message.MessageID; import peer.peerid.PeerID; /** * This class defines a message which is used to remove invalid ro...
package net.elprespufferfish.rssreader; import java.io.InputStream; import java.net.URL; import java.util.Collections; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Set; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import j...
package net.kevxu.purdueassist.course; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.List; import net.kevxu.purdueassist.course.elements.Predefined.Subject; import net.kevxu.purdueassist.course.elements.Predefined.Term; import net.kevxu.purdueassist.course.elements...
package nl.mpi.arbil.templates; import nl.mpi.arbil.*; import java.io.File; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.Hashtable; import javax.swing.ImageIcon; import nl.mpi.arbil.clarin.CmdiProfileReader; import nl.mpi.arbil.clarin.CmdiProfileReader.CmdiProfile; ...
package nu.validator.messages; import java.io.IOException; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; import nu.validator.io.SystemIdIOException; import nu.validator.messages.types.MessageType; import nu.validator.s...
package org.adligo.models.core.client; import org.adligo.i.util.client.ClassUtils; import org.adligo.models.core.client.ids.I_StorageIdentifier; public class NamedIdMutant implements I_NamedIdMutant, I_Validateable { public static final String NULL_TO_CONSTRUCTOR = "a null was passed to the NamedIdMutant construct...
package org.biojava.bio.alignment; import java.util.LinkedList; import java.util.List; import java.util.NoSuchElementException; import org.biojava.bio.BioException; import org.biojava.bio.seq.Sequence; import org.biojava.bio.seq.SequenceIterator; import org.biojava.bio.seq.db.SequenceDB; import org.biojava.bio.symbol.A...
package org.bouncycastle.jce.examples; import java.io.FileOutputStream; import java.math.BigInteger; import java.security.KeyFactory; import java.security.KeyStore; import java.security.PrivateKey; import java.security.PublicKey; import java.security.Security; import java.security.cert.Certificate; import java.security...
package org.clapper.util.cmdline; import org.clapper.util.io.WordWrapWriter; import org.clapper.util.misc.Logger; import org.clapper.util.misc.ArrayIterator; import java.util.Iterator; import java.util.NoSuchElementException; /** * <p><tt>CommandLineUtility</tt> is an abstract base class for * command-line utilities....
package org.helioviewer.jhv.view.uri.fits; import java.net.URI; import java.nio.ByteBuffer; import java.nio.ShortBuffer; import javax.annotation.Nullable; import nom.tam.fits.BasicHDU; import nom.tam.fits.Fits; import nom.tam.fits.Header; import nom.tam.fits.HeaderCard; import nom.tam.fits.ImageHDU; import nom.tam.imag...
package org.joval.plugin.adapter.solaris; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; import java.math.BigInteger; import java.util.ArrayList; import java.util.Collection; import java.util.Hashtable; import java.util.List; import java.util.StringTokenizer; import java.ut...
package org.lockss.extractor; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Node; import org.jsoup.select.Elements; import org.jsoup.select.NodeVisitor; import org.lockss.config.Configuration; import org.lockss.config.CurrentConfig; import org.lockss.daemon.PluginException; import org....
package org.objectweb.proactive.core.mop; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; /** * Instances of this class represent method calls performed on reified * objects. They are generated by a <I>stub object</I>, whose role is to act * as a representative for the reified ob...
package hashdb.storage.protocol.external; import org.apache.log4j.Logger; import hashdb.communication.ServerConnectionInstance; import hashdb.exceptions.NoSuchServerException; import hashdb.exceptions.SettingIsNotIntroductionException; import hashdb.main.MasterServer; import hashdb.main.Server; import java.math.BigInte...
package org.peg4d.jvm; import org.objectweb.asm.Label; import org.objectweb.asm.Opcodes; import org.objectweb.asm.Type; import org.objectweb.asm.commons.GeneratorAdapter; import org.objectweb.asm.commons.Method; import org.peg4d.Grammar; import org.peg4d.ParsingContext; import org.peg4d.ParsingObject; import org.peg4d....
package kbasesearchengine.test.search; import static kbasesearchengine.test.common.TestCommon.set; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import java.io.File; import java.io.IOException; import java.nio.file.Path; import java.nio.file.Paths; import java.time.Instant; impo...
package org.xins.common.manageable; import org.xins.common.MandatoryArgumentChecker; import org.xins.common.collections.InvalidPropertyValueException; import org.xins.common.collections.MissingRequiredPropertyException; import org.xins.common.collections.PropertyReader; import org.xins.common.collections.PropertyReader...
package org.jaxen.function.ext; import java.util.Collections; import java.util.Iterator; import java.util.List; import org.jaxen.BaseXPath; import org.jaxen.Context; import org.jaxen.ContextSupport; import org.jaxen.Function; import org.jaxen.Navigator; import org.jaxen.FunctionCallException; import org.jaxen.function....
package org.jsmpp.session; import org.jsmpp.bean.DeliverSm; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class ClientResponseHandler { private static final Logger logger = LoggerFactory.getLogger(ClientResponseHandler.class); public void processDeliverSm(ClientSession session, DeliverSm deliv...
package org.jivesoftware.sparkimpl.settings; public class JiveInfo { private JiveInfo() { } public static String getVersion() { return "2.0.1"; } public static String getOS() { return System.getProperty("os.name"); } }
package org.jdesktop.swingx; import java.awt.BorderLayout; import java.awt.Component; import java.awt.Container; import java.awt.LayoutManager; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import javax.swing.Action; import javax.swing.Icon; import javax.swing.JComponent; import javax...
package acmi.l2.clientmod.io; import java.io.EOFException; import java.io.UncheckedIOException; import java.nio.ByteBuffer; import java.nio.charset.Charset; import java.util.Arrays; public class RandomAccessMemory implements RandomAccess { private static final int DEFAULT_CAPACITY = 1 << 16; private final Strin...
package be.isach.samaritan.command; import net.dv8tion.jda.MessageHistory; import net.dv8tion.jda.entities.Message; import net.dv8tion.jda.entities.MessageChannel; import net.dv8tion.jda.entities.TextChannel; import java.time.ZoneId; import java.time.format.DateTimeFormatter; public class CommandQuote extends Command {...
package beaform.gui.formulaeditor; import java.awt.Color; import java.awt.Dimension; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Iterator; import java.util.List; import javax.swing.BorderFactory; import java...
package org.spongepowered.test; import org.spongepowered.api.Sponge; import org.spongepowered.api.command.CommandException; import org.spongepowered.api.command.CommandResult; import org.spongepowered.api.command.args.GenericArguments; import org.spongepowered.api.command.spec.CommandSpec; import org.spongepowered.api....
package com.backendless; import java.io.IOException; import java.util.HashMap; import java.util.regex.Matcher; import java.util.regex.Pattern; import android.content.Context; import android.media.AudioManager; import android.media.MediaPlayer; import android.media.MediaPlayer.OnPreparedListener; import android.view.Sur...
package com.bona.Entity; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Set; import org.jgrapht.DirectedGraph; import org.jgrapht.EdgeFactory; import org.jgrapht.GraphPath; public class Graph implements DirectedGraph<Vertex, Edge>, GraphPath { ...
//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.colinrtwhite; import java.io.*; import java.util.Arrays; import java.util.List; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; class Main { private static final String JPG = ".jpg", JPEG = ".jpeg", PNG = ".png", WEBP = ".webp", N...
package org.apache.james.util; import java.util.Hashtable; /** * @author Federico Barbieri <fede@apache.org> */ public class Lock { private Hashtable locks = new Hashtable(); public boolean isLocked(final Object key) { return (locks.get(key) != null); } public boolean canI(final Object key) { ...
package com.binatechnologies.varsim; import org.apache.log4j.Logger; import org.kohsuke.args4j.CmdLineException; import org.kohsuke.args4j.CmdLineParser; import org.kohsuke.args4j.Option; import java.io.*; import java.util.Random; /** * @author johnmu */ public class RandBED2VCF extends randVCFgenerator { private...
package org.voltdb.regressionsuites; import java.io.UnsupportedEncodingException; import java.net.URL; import java.net.URLDecoder; import junit.framework.Test; import org.voltdb.BackendTarget; import org.voltdb.VoltTable; import org.voltdb.VoltDB.Configuration; import org.voltdb.benchmark.tpcc.TPCCProjectBuilder; impor...
package com.jme.math; import java.io.Externalizable; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectOutput; import java.util.logging.Level; import com.jme.util.LoggingSystem; /* * -- Added *Local methods to cut down on object creation - JS */ /** * <code>Vector3f</code> defines a Vector...
package com.blocklaunch.spongewarps; import java.io.File; import java.io.IOException; import ninja.leaping.configurate.ConfigurationNode; import ninja.leaping.configurate.commented.CommentedConfigurationNode; import ninja.leaping.configurate.loader.ConfigurationLoader; import org.slf4j.Logger; import org.slf4j.LoggerFa...
package org.voltdb.regressionsuites; import java.io.IOException; import org.voltdb.BackendTarget; import org.voltdb.VoltTable; import org.voltdb.client.Client; import org.voltdb.client.ProcCallException; import org.voltdb.compiler.VoltProjectBuilder; public class TestFailureDetectSuite extends RegressionSuite { pub...
package com.jme.scene; import java.io.Serializable; import java.util.*; import com.jme.bounding.BoundingVolume; import com.jme.intersection.CollisionResults; import com.jme.intersection.PickResults; import com.jme.math.Matrix3f; import com.jme.math.Quaternion; import com.jme.math.Ray; import com.jme.math.Vector3f; impo...
package com.cobalt.cdpipeline.cdresult; import java.util.ArrayList; import java.util.Collections; import java.util.Date; import java.util.HashSet; import java.util.List; import java.util.Set; /** * CDResult contains all the information needed for one single row * of the table display for CDPipeline Plugin Project. *...
package com.rcv; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.xssf.usermodel.XSSFSheet; import org.apache.poi.xssf.usermodel.XSSFWorkbook; import java.io.FileOutputStream; import java.io.IOException; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.*; public class Resul...
package com.commafeed.backend.opml; import java.util.Collections; import java.util.Date; import java.util.List; import java.util.stream.Collectors; import javax.inject.Inject; import javax.inject.Singleton; import lombok.RequiredArgsConstructor; import com.commafeed.backend.dao.FeedCategoryDAO; import com.commafeed.bac...
package com.rehab.world; import java.util.ArrayDeque; import com.rehab.animation.Drawable; import com.rehab.animation.Sprite; /** * <p> * Frame holds all shallow copies ({@link Frame.Renderable}) of game objects to be rendered. * </p> */ public class Frame { // Shallow copies of Drawables private ArrayDeque...
package com.opengamma.financial.batch.db; import static org.junit.Assert.assertEquals; import java.math.BigDecimal; import java.sql.Date; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import javax.time.Instant; i...
package com.contained.game.handler; import java.awt.Point; import java.util.ArrayList; import java.util.Collections; import com.contained.game.Contained; import com.contained.game.ContainedRegistry; import com.contained.game.Settings; import com.contained.game.data.Data; import com.contained.game.data.DataItemStack; im...
package com.easternedgerobotics.rov.io; import com.easternedgerobotics.rov.event.EventPublisher; import com.easternedgerobotics.rov.value.ThrusterSpeedValue; import com.pi4j.io.i2c.I2CDevice; import java.io.IOException; import java.nio.ByteBuffer; public class Thruster { private static final byte WRITE_ADDRESS = 0x...
package com.enderio.core.common.util; import java.util.ArrayList; import java.util.List; import java.util.Random; import javax.annotation.Nonnull; import com.enderio.core.EnderCore; import com.enderio.core.common.vecmath.Vector3d; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.Entity; import ...
package com.github.onsdigital.api.taxonomy; import java.io.IOException; import java.net.URI; import java.nio.file.FileSystems; import java.nio.file.Files; import java.nio.file.Path; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.ws.rs.GET; import javax.ws.rs.co...
package com.gitrekt.resort.model.entities; public class Guest { private String firstName; private String lastName; private String emailAddress; private String phoneNumber; private MailingAddress mailingAddress; private boolean isCheckedIn = true; protected Guest(){ } public Guest(Str...
package com.hibegin.http.server; import com.hibegin.common.util.BytesUtil; import com.hibegin.common.util.EnvKit; import com.hibegin.common.util.LoggerUtil; import com.hibegin.http.server.api.HttpRequestDeCoder; import com.hibegin.http.server.api.HttpRequestListener; import com.hibegin.http.server.api.HttpResponse; imp...
package com.hibegin.http.server; import com.hibegin.common.util.BytesUtil; import com.hibegin.common.util.EnvKit; import com.hibegin.common.util.LoggerUtil; import com.hibegin.http.server.api.HttpRequestDeCoder; import com.hibegin.http.server.api.HttpResponse; import com.hibegin.http.server.api.ISocketServer; import co...
package com.liuxinglanyue.session; import java.io.IOException; import java.security.Principal; import org.apache.catalina.Manager; import org.apache.catalina.session.StandardSession; import org.apache.juli.logging.Log; import org.apache.juli.logging.LogFactory; public class CustomSession extends StandardSession { p...
package com.mixpanel.mixpanelapi; import java.util.Date; import java.util.Iterator; import java.util.Map; import java.util.TimeZone; import java.text.DateFormat; import java.text.SimpleDateFormat; import org.json.JSONException; import org.json.JSONObject; /** * This class writes JSONObjects of a form appropriate to se...
package com.mycompany.gitfirsttest; /** * * @author ingimar */ public class FailsToBuild { // nu ska det funka }
package com.rosshambrick.standardlib; import android.os.Bundle; import android.support.v4.app.DialogFragment; import android.support.v7.widget.Toolbar; import android.util.Log; import android.view.View; import android.widget.Toast; import butterknife.ButterKnife; import rx.Observable; import rx.Observer; import rx.Subs...
package com.ryanberg.alfresco.s3; import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.BasicAWSCredentials; import com.amazonaws.auth.profile.ProfileCredentialsProvider; import com.amazonaws.regions.Region; import com.amazonaws.regions.Regions; import com.amazonaws.services.s3.AmazonS3; import com.amazon...
package com.taskadapter.redmineapi.bean; import java.io.Serializable; import java.util.ArrayList; import java.util.Date; import java.util.List; /** * Redmine's Project. */ public class Project implements Identifiable, Serializable { private static final long serialVersionUID = 4529305420978716446L; /** *...
package com.whitein.threadpool; import com.sun.deploy.net.HttpRequest; import com.sun.xml.internal.messaging.saaj.util.ByteOutputStream; import org.junit.BeforeClass; import org.junit.Test; import java.io.*; import java.net.ServerSocket; import java.net.Socket; public class SimpleHttpServer { //http static Thre...
package com.wrapper.spotify.model_objects; import com.google.gson.Gson; import com.google.gson.JsonNull; import com.google.gson.JsonObject; import com.neovisionaries.i18n.CountryCode; /** * Retrieve information about tracks by building instances from this class. */ public class Track extends AbstractModelObject { p...
package com.xjeffrose.xio.SSL; import io.netty.handler.ssl.SslContext; import io.netty.handler.ssl.SslContextBuilder; import io.netty.handler.ssl.SupportedCipherSuiteFilter; import java.io.IOException; import java.security.KeyStore; import java.security.KeyStoreException; import java.security.NoSuchAlgorithmException; ...
package de.cronn.jira.sync.domain; import java.io.Serializable; import java.util.ArrayList; import java.util.Comparator; import java.util.List; import com.fasterxml.jackson.annotation.JsonIgnore; public class JiraChangeLog implements Serializable { private static final long serialVersionUID = 1L; private int to...
package de.otto.jlineup.report; import de.otto.jlineup.Util; import de.otto.jlineup.file.FileService; import org.thymeleaf.TemplateEngine; import org.thymeleaf.context.Context; import org.thymeleaf.templateresolver.ClassLoaderTemplateResolver; import java.io.FileNotFoundException; import java.util.*; public class HTMLR...
package eu.openanalytics.services; import java.io.FileInputStream; import java.io.IOException; import java.net.HttpURLConnection; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.nio.file.Files; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Arrays; imp...
package fi.csc.chipster.filebroker; import java.io.EOFException; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.UUID; import javax.ws.rs.BadRequestException; import javax.ws.rs.DefaultValue; import javax.ws.r...
package fi.csc.chipster.rest.hibernate; import java.io.File; import java.io.IOException; import java.math.BigInteger; import java.time.Instant; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.uti...
package fi.csc.microarray.client; import java.awt.Color; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.net.URL; import java.util.Iterator; import java.util.Lin...
package de.stonebone.cars.server; import java.io.IOException; import java.io.File; import java.io.PrintWriter; import java.nio.file.Files; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; import javax.servlet.ServletException; import javax.servlet.annotation.WebListener; import jav...
package api.web.gw2.mapping.core; import api.web.gw2.mapping.v2.account.Account; import api.web.gw2.mapping.v2.account.AccountAccessType; import api.web.gw2.mapping.v2.account.bank.BankSlot; import api.web.gw2.mapping.v2.account.finishers.FinisherUnlock; import api.web.gw2.mapping.v2.account.home.cats.Cat; import api.w...
package fr.liglab.lcm.internals; import gnu.trove.list.array.TIntArrayList; /** * Itemsets and patterns are represented by classic integer arrays * Aside static utility methods, instanciate it to create arrays without knowing their length beforehand */ public class ItemsetsFactory { // default constructor FTW ...
package org.bouncycastle.tls.crypto.impl; import java.io.IOException; import java.security.SecureRandom; import org.bouncycastle.tls.AlertDescription; import org.bouncycastle.tls.ProtocolVersion; import org.bouncycastle.tls.SecurityParameters; import org.bouncycastle.tls.TlsFatalAlert; import org.bouncycastle.tls.TlsUt...
package fr.netixx.AutoTopo.statistics; import au.com.bytecode.opencsv.CSVWriter; import fr.netixx.AutoTopo.agents.IScope; import fr.netixx.AutoTopo.agents.Scope; import java.io.BufferedWriter; import java.io.IOException; import java.nio.charset.Charset; import java.nio.file.Files; import java.nio.file.OpenOption; impor...
package ge.edu.freeuni.sdp.xo.rooms.service; import static org.junit.Assert.*; import ge.edu.freeuni.sdp.xo.rooms.service.PingService; import javax.ws.rs.core.Application; import javax.ws.rs.core.Response; import org.junit.Test; import org.glassfish.jersey.server.ResourceConfig; import org.glassfish.jersey.test.JerseyT...
package gg.uhc.uhc.modules.portals; import com.google.common.base.Joiner; import com.google.common.collect.Iterables; import com.google.common.collect.Sets; import gg.uhc.uhc.modules.DisableableModule; import gg.uhc.uhc.modules.ModuleRegistry; import gg.uhc.uhc.modules.team.FunctionalUtil; import org.bukkit.*; import o...
package hudson.plugins.dry.parser; import hudson.plugins.analysis.util.model.AbstractAnnotation; import hudson.plugins.analysis.util.model.FileAnnotation; import hudson.plugins.analysis.util.model.Priority; import hudson.plugins.dry.Messages; import java.io.IOException; import java.io.StringReader; import java.io.Strin...
package i5.las2peer.httpConnector; import i5.httpServer.HttpServer; import i5.httpServer.HttpsServer; import i5.httpServer.RequestHandler; import i5.las2peer.api.Connector; import i5.las2peer.api.ConnectorException; import i5.las2peer.logging.NodeObserver.Event; import i5.las2peer.p2p.AgentNotKnownException; import i5....
package soot.jimple.internal; import soot.*; public abstract class AbstractFloatBinopExpr extends AbstractBinopExpr { public Type getType() { Value op1 = op1Box.getValue(); Value op2 = op1Box.getValue(); Type op1t = op1.getType(); Type op2t = op2.getType(); if((op1t.equal...
package org.sagebionetworks.bridge.models.accounts; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.io.IOException; import java.util.Set; import org.junit.Test; import org.sagebi...
package info.iconmaster.typhon.util; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.stream.Collectors; import info.iconmaster.typhon.antlr.TyphonParser.ExprContext; impo...
package jsettlers.main.android.bg; import jsettlers.common.CommonConstants; import jsettlers.common.landscape.ELandscapeType; import jsettlers.common.map.EDebugColorModes; import jsettlers.common.map.IGraphicsBackgroundListener; import jsettlers.common.map.IGraphicsGrid; import jsettlers.common.map.partition.IPartition...
package innovimax.mixthem.interfaces; import innovimax.mixthem.io.ReadType; import java.io.IOException; /** * This interface provides for reading characters from an character-input. * @author Innovimax * @version 1.0 */ public interface IInputChar { /** * Returns true if there is more characters. * @return ...
package org.bouncycastle.jce.provider.test; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectOutputStream; import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; import java.security.NoSuchProviderException; imp...
package io.github.utplsql.api.reporter; import io.github.utplsql.api.DBHelper; import java.sql.*; import java.util.Calendar; public abstract class Reporter implements SQLData { private String selfType; private String reporterId; private java.sql.Date startDate; public Reporter() {} public Reporter i...
package jp.ac.keio.bio.fun.gomaotsu; import java.util.ArrayList; public class Combination { private int[] c; private int n, k, count; private boolean isOneOrigin; private ArrayList<ArrayList<Integer>> listOfCombinations; public Combination(int n, int k) { this.n = n; this.k = k; count = getCombina...
package jp.crafterkina.pipes.client; import jp.crafterkina.pipes.client.state.PipeStateMapper; import jp.crafterkina.pipes.client.tesr.TileEntityPipeRenderer; import jp.crafterkina.pipes.common.CommonProxy; import jp.crafterkina.pipes.common.RegistryEntries; import jp.crafterkina.pipes.common.block.BlockPipe; import jp...
package jp.gr.java_conf.dyama.rink.ml.svm; interface Score { int getBestLabelID(); /** * clear score information. */ void clear(); /** * Returns the number of labels. * @return the number of labels */ int getNumberOfLabels(); void addJudge(int pos, int neg, double dist);...
package kodkod.engine.ltl2fol; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import kodkod.ast.BinaryTempFormula; import kodkod.ast.ConstantExpression; import kodkod.ast.Expression; import kodkod.ast.Formula; import kodkod.ast.IntExpression; imp...
package BlueTurtle.TSE; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertTrue; import java.io.File; import java.io.IOException; import org.junit.After; import org.junit.Before; import org.junit.Test; import BlueTurtle.gui.GUIController.ASA...
package mariculture.core.handlers; import mariculture.core.Core; import mariculture.core.blocks.base.BlockFluid; import mariculture.core.items.ItemBuckets; import net.minecraft.block.Block; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; import net.minecraftforge.event.entity.player.FillBucketEven...
package com.cloudant.tests; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.not; import static org.junit.Assert.assertThat; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.UUID; import org.junit.After; import org.ju...
package com.github.fangzy.redis; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import redis.clients.jedis.Jedis; import java.util.concurrent.*; public class JLockTest extend...
package me.unrealization.jeeves.bot; import sx.blah.discord.handle.obj.IMessage; import me.unrealization.jeeves.interfaces.BotCommand; public class TaskHandler implements Runnable { private IMessage message; private BotCommand command; private String[] arguments; public TaskHandler(IMessage message, Bot...
package com.queen.acceptance; import com.airhacks.afterburner.injection.Injector; import com.google.code.tempusfugit.temporal.WaitFor; import com.queen.counter.clock.ClockView; import com.queen.di.SpringApplicationConfiguration; import javafx.geometry.VerticalDirection; import javafx.scene.Group; import javafx.scene.No...
package net.addradio.codec.mpeg.audio; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.List; import org.slf4j.Logger; import org.slf4j.Log...