answer
stringlengths
17
10.2M
/* * $Id: PortlandPressArticleIteratorFactory.java,v 1.4 2013-10-02 19:15:14 etenbrink Exp $ */ package org.lockss.plugin.portlandpress; import java.util.Iterator; import java.util.regex.*; import org.lockss.daemon.*; import org.lockss.extractor.*; import org.lockss.plugin.*; import org.lockss.util.Logger; public cla...
package org.mybatis.jpetstore.domain; import java.io.Serializable; import java.math.BigDecimal; public class Calculate implements Serializable { public void hello() { System.out.println("JPET Store Application"); System.out.println("Class name: Calculate.java"); System.out.println("Hello World"); System.out.println("Ma...
// $Id: ParlorManager.java,v 1.16 2002/02/20 02:10:02 shaper Exp $ package com.threerings.parlor.server; import com.samskivert.util.Config; import com.samskivert.util.HashIntMap; import com.threerings.presents.server.InvocationManager; import com.threerings.presents.server.ServiceFailedException; import com.threerings....
package org.mybatis.jpetstore.domain; import java.io.Serializable; import java.math.BigDecimal; public class Calculate implements Serializable { public void hello() { System.out.println("JPET Store Application"); System.out.println("Class name: Calculate.java"); System.out.println("Hello World"); System.out.println("Ma...
package org.apache.cassandra.heartbeat; import java.lang.management.ManagementFactory; import java.net.InetAddress; import java.nio.ByteBuffer; import java.util.Comparator; import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.Concu...
package org.mybatis.jpetstore.domain; import java.io.Serializable; import java.math.BigDecimal; public class Calculate implements Serializable { public void hello() { System.out.println("JPET Store Application"); System.out.println("Class name: Calculate.java"); System.out.println("Hello World"); System.out.println("Ma...
package org.apache.commons.digester; import java.lang.reflect.Method; import java.lang.ClassLoader; import org.xml.sax.Attributes; import org.apache.commons.beanutils.ConvertUtils; public class CallMethodRule extends Rule { /** * Construct a "call method" rule with the specified method name. The * parame...
package org.cleartk.classifier.opennlp; import java.io.DataInputStream; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.jar.JarFile; import java.util.zip.GZIPInputStream; import java.util.zip.ZipEntry; import opennlp.maxent.MaxentModel; impor...
package org.openspaces.servicegrid; import java.net.URI; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import javax.ws.rs.core.MediaType; import org.openspaces.servicegrid.state.Etag; import org.openspaces.servicegrid.state.EtagPreconditionNotMetException; import org.openspaces...
package org.exist.xquery.modules.sql; import java.sql.Connection; import java.sql.SQLException; import java.util.HashMap; import java.util.Iterator; import java.util.Set; import org.apache.log4j.Logger; import org.exist.xquery.AbstractInternalModule; import org.exist.xquery.FunctionDef; import org.exist.xquery.XQueryCo...
package org.cocolab.inpro.features; import weka.core.Attribute; import weka.core.FastVector; import weka.core.Instance; import weka.core.Instances; import edu.cmu.sphinx.util.props.Resetable; public class EOTFeatureAggregator implements Resetable { private static final int[] energyRegressionSteps = {5, 10, 20, 50, ...
package com.charlesmadere.hummingbird.activities; import android.content.Intent; import android.os.Bundle; import android.support.annotation.LayoutRes; import android.support.annotation.Nullable; import android.support.annotation.StringRes; import android.support.v4.app.NavUtils; import android.support.v4.app.TaskStack...
package org.apache.commons.vfs; import org.apache.commons.vfs.util.Messages; import java.io.IOException; public final class FileSystemException extends IOException { /** * The Throwable that caused this exception to be thrown. */ private final Throwable throwable; /** * The message code. ...
package org.orbeon.oxf.xforms; import org.orbeon.oxf.common.ValidationException; import org.orbeon.oxf.properties.Properties; import org.orbeon.oxf.xml.dom4j.LocationData; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.Set; public class XFormsProperties { public stati...
package org.duckdns.raven.ttscallresponder; import org.duckdns.raven.ttscallresponder.answeredCallList.ActivityAnsweredCallList; import org.duckdns.raven.ttscallresponder.domain.PersistentAnsweredCallList; import org.duckdns.raven.ttscallresponder.domain.PersistentPreparedResponseList; import org.duckdns.raven.ttscallr...
package org.batfish.common.bdd; import static com.google.common.base.Preconditions.checkArgument; import static org.batfish.common.bdd.BDDUtils.swapPairing; import com.google.common.base.Suppliers; import com.google.common.collect.ImmutableMap; import com.google.errorprone.annotations.concurrent.LazyInit; import java.i...
package com.groupon.lex.metrics; import com.groupon.lex.metrics.api.ApiServer; import com.groupon.lex.metrics.config.Configuration; import com.groupon.lex.metrics.config.ConfigurationException; import com.groupon.lex.metrics.history.CollectHistory; import com.groupon.lex.metrics.httpd.EndpointRegistration; import java....
package org.osiam.storage.entities; import java.util.HashSet; import java.util.Set; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.ManyToMany; import javax.persistence.Table; import org.osiam.resources.scim.Group; import com.google.common.collect.ImmutableSet; /** * Entity c...
package com.firefly.mvc.web.view; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Set; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.Ht...
package gov.nih.nci.cabig.caaers.api; import gov.nih.nci.cabig.caaers.CaaersTestCase; import gov.nih.nci.cabig.caaers.api.impl.StudyProcessorImpl; import gov.nih.nci.cabig.caaers.dao.StudyDao; import gov.nih.nci.cabig.caaers.domain.CtepStudyDisease; import gov.nih.nci.cabig.caaers.domain.Identifier; import gov.nih.nci....
package org.osiam.storage.query; import java.util.Date; import java.util.HashMap; import java.util.Map; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.Expression; import javax.persistence.criteria.Join; import javax.persistence.criteria.JoinType; import javax.persistence.criteria.P...
package test.http.router.handler; import com.firefly.$; import com.firefly.client.http2.*; import com.firefly.codec.http2.frame.DataFrame; import com.firefly.codec.http2.frame.HeadersFrame; import com.firefly.codec.http2.frame.SettingsFrame; import com.firefly.codec.http2.model.*; import com.firefly.codec.http2.stream....
package com.opengamma.masterdb.holiday; import java.sql.Date; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Timestamp; import java.sql.Types; import java.util.ArrayList; import java.util.Arrays; import java.util.EnumMap; import java.util.List; import org.apache.commons.lang.StringUtils; impor...
package com.dtflys.forest.utils; import java.util.Base64; /** * Base64 * @author gongjun[dt_flys@hotmail.com] * @since 2020-08-04 19:05 */ public class Base64Utils { private final static Base64.Decoder DECODER = Base64.getDecoder(); private final static Base64.Encoder ENCODER = Base64.getEncoder(); publ...
package org.jdesktop.swingx.painter; import java.awt.*; import java.awt.geom.RoundRectangle2D; /** * Draws a capsule. This is a rectangle capped by two semi circles. You can draw only a * portion of a capsule using the portion property. * @author joshy */ public class CapsulePainter extends AbstractAreaPainter { ...
package org.rslite.worldselector; import org.rslite.RSLiteConfig; import org.rslite.jagex.world.Location; import org.rslite.jagex.world.WorldInfo; import org.rslite.jagex.world.WorldParser; import org.rslite.loader.Loader; import org.rslite.loader.LoaderConfigs; import org.rslite.util.LatencyChecker; import javax.image...
package org.elasticsearch.upgrades; import org.apache.http.HttpEntity; import org.apache.http.entity.ContentType; import org.apache.http.entity.StringEntity; import org.elasticsearch.client.Response; import org.hamcrest.Matchers; import java.util.Collections; import java.util.List; import java.util.Map; public class In...
package org.kwstudios.play.ragemode.commands; import org.bukkit.ChatColor; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.entity.Player; import org.kwstudios.play.ragemode.gameLogic.PlayerList; import org.kwstudios.play.ragemode.toolbox.ConstantHolder; import org.kwstudios.play.ragemode.toolb...
package com.sshtools.forker.client; import java.io.BufferedReader; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.File; import java.io.FilterInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.ne...
package org.snomed.otf.scheduler.domain; import java.util.*; import javax.persistence.*; @Entity public class JobRun { @Id @GeneratedValue(strategy = GenerationType.AUTO) UUID id; String jobName; @ElementCollection @CollectionTable(name = "job_run_parameters") @MapKeyColumn(name="param_name"...
package org.jaxen.saxpath.base; import junit.framework.TestCase; public class XPathLexerTest extends TestCase { private XPathLexer lexer; private Token token; public XPathLexerTest(String name) { super( name ); } public void setUp() { } public void tearDown() { ...
package tests; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; import org.eclipse.jgit.api.Git; import org.eclips...
package sudoku.parse; import common.Pair; import java.io.File; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.List; import java.util.Scanner; import java.util.function.Function; import sudoku.Sudoku; /** * <p>A utility class that tries to parse a target out of a text source via a sp...
package org.rabix.executor.service.impl; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUn...
package org.intermine.api.bag; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.Collection; import java.util.Date; import java.util.List; import org.apache.commons.lang.ObjectUtils; import org.apache.commons.lang.StringUtils; import...
/* * $Id: SubTreeArticleIteratorBuilder.java,v 1.5 2014-01-06 18:18:45 etenbrink Exp $ */ package org.lockss.plugin; import java.util.*; import java.util.regex.*; import org.lockss.extractor.MetadataTarget; import org.lockss.util.Logger; public class SubTreeArticleIteratorBuilder { /** * <p> * A programmatica...
package org.spongepowered.api.block; /** * An enumeration of all possible {@link BlockType}s in vanilla minecraft. */ public class BlockTypes { public static final BlockType AIR = null; public static final BlockType STONE = null; public static final BlockType GRASS = null; public static final BlockTyp...
package io.spine.server.delivery; import com.google.common.annotations.VisibleForTesting; import com.google.common.collect.ImmutableList; import com.google.protobuf.Duration; import com.google.protobuf.util.Durations; import io.spine.annotation.Internal; import io.spine.logging.Logging; import io.spine.server.BoundedCo...
package org.objectweb.proactive.core.rmi; import org.apache.log4j.Logger; public class RegistryHelper { protected static Logger logger = Logger.getLogger(RegistryHelper.class.getName()); protected final static int DEFAULT_REGISTRY_PORT = 1099; /** * settings of the registry */ protected int re...
package org.spout.physics.engine; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import gnu.trove.map.TObjectIntMap; import gnu.trove.map.hash.TObjectIntHashMap; import org.spout.physics.ReactDefaults; import org.spout.physics.ReactDefaults.ContactsPositionCorrectionT...
package jadx.core.dex.visitors; import java.util.ArrayList; import java.util.List; import org.jetbrains.annotations.Nullable; import jadx.core.codegen.TypeGen; import jadx.core.deobf.NameMapper; import jadx.core.dex.attributes.AFlag; import jadx.core.dex.attributes.AType; import jadx.core.dex.attributes.nodes.EnumClass...
package org.team2471.frc.lib.io; import java.util.function.DoubleFunction; @FunctionalInterface public interface ControllerAxis { double get(); default ControllerAxis map(DoubleFunction<Double> function) { return () -> function.apply(get()); } default ControllerAxis withDeadband(double tolerance, boolean sc...
package org.opencms.ade.contenteditor; import org.opencms.acacia.shared.CmsAttributeConfiguration; import org.opencms.acacia.shared.CmsEntity; import org.opencms.acacia.shared.CmsEntityAttribute; import org.opencms.acacia.shared.CmsEntityHtml; import org.opencms.acacia.shared.CmsType; import org.opencms.acacia.shared.C...
package jadx.gui.ui.codearea; import java.util.Set; import javax.swing.text.Segment; import org.fife.ui.rsyntaxtextarea.Token; import org.fife.ui.rsyntaxtextarea.TokenImpl; import org.fife.ui.rsyntaxtextarea.TokenTypes; import org.fife.ui.rsyntaxtextarea.modes.JavaTokenMaker; import org.jetbrains.annotations.NotNull; i...
package org.testng.reporters; import org.testng.IInvokedMethod; import org.testng.IReporter; import org.testng.IResultMap; import org.testng.ISuite; import org.testng.ISuiteResult; import org.testng.ITestClass; import org.testng.ITestContext; import org.testng.ITestNGMethod; import org.testng.ITestResult; import org.te...
package alien4cloud.brooklyn; import java.util.Date; import java.util.List; import java.util.Map; import java.util.Map.Entry; import javax.ws.rs.core.Response; import lombok.SneakyThrows; import org.elasticsearch.common.collect.Lists; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.b...
package com.love320.stats.core; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.concurrent.CopyOnWriteArrayList; import javax.annotation.PostConstruct; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springfram...
package org.pentaho.di.core.database; import org.pentaho.di.core.Const; import org.pentaho.di.core.exception.KettleDatabaseException; import org.pentaho.di.core.row.ValueMetaInterface; /** * Contains Oracle specific information through static final members * * @author Matt * @since 11-mrt-2005 */ public class Ora...
package permafrost.tundra.server; import com.wm.app.b2b.server.BaseService; import com.wm.app.b2b.server.InvokeState; import com.wm.app.b2b.server.ServerAPI; import com.wm.app.b2b.server.Service; import com.wm.app.b2b.server.ServiceException; import com.wm.app.b2b.server.ServiceSetupException; import com.wm.app.b2b.ser...
package at.ac.tuwien.kr.alpha.common; import at.ac.tuwien.kr.alpha.grounder.NonGroundRule; import at.ac.tuwien.kr.alpha.grounder.Substitution; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.stream.Collectors; import static at.ac.tuwien.kr.alpha.common.ConstantTerm.getInst...
package net.ossrs.yasea; import android.content.Context; import android.content.res.Configuration; import android.graphics.ImageFormat; import android.graphics.SurfaceTexture; import android.hardware.Camera; import android.opengl.GLES20; import android.opengl.GLSurfaceView; import android.opengl.Matrix; import android....
package org.pikater.core.options; import java.io.File; import java.io.FileNotFoundException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Scanner; import org.pikater.core.dataStructures.options.OptionDefault; import org.pikater.core.dataStructures.options.StepanuvOption; import org.pikater.c...
package org.broadinstitute.sting.utils.sam; import net.sf.samtools.CigarOperator; import net.sf.samtools.SAMRecord; import net.sf.samtools.Cigar; import net.sf.samtools.CigarElement; import net.sf.samtools.util.StringUtil; import org.broadinstitute.sting.gatk.contexts.ReferenceContext; import org.broadinstitute.sting.u...
package name.raev.kaloyan.android.sapdkomsofia2013; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.Date; import java.util.List; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.res.Configurat...
package org.plantuml.idea.toolwindow; import com.intellij.openapi.actionSystem.ActionGroup; import com.intellij.openapi.actionSystem.ActionManager; import com.intellij.openapi.actionSystem.ActionPlaces; import com.intellij.openapi.actionSystem.ActionToolbar; import com.intellij.openapi.application.ApplicationManager; i...
package pixlepix.minechem.common; import cpw.mods.fml.common.registry.LanguageRegistry; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraftforge.common.Configuration; import net.minecraftforge.oredict.OreDictionary; import pixlepix.minechem.api.core.EnumElement; import pixlepix.min...
package org.plugins.simplefreeze.managers; import org.bukkit.entity.Player; import org.plugins.simplefreeze.objects.FrozenPlayer; import java.util.HashMap; import java.util.UUID; public class PlayerManager { // private final SimpleFreezeMain plugin; private HashMap<UUID, FrozenPlayer> frozenPlayers = new HashMap...
// FIXME audit for any concurrency issues. It seems highly likely that the // invalidation implied by the changed dict is robust, but need to verify // via scenario analysis. // However, current structures should be resilient against corruption. // FIXME replace commented-out prints with appropriate logging, or remove ...
package cat.nyaa.nyaacore.utils; import net.minecraft.server.v1_13_R2.*; import org.bukkit.GameMode; import org.bukkit.World; import org.bukkit.block.Block; import org.bukkit.craftbukkit.v1_13_R2.CraftWorld; import org.bukkit.craftbukkit.v1_13_R2.entity.CraftEntity; import org.bukkit.craftbukkit.v1_13_R2.entity.CraftLi...
package com.krillsson.sysapi.core.metrics.macos; import com.krillsson.sysapi.core.domain.drives.Drive; import com.krillsson.sysapi.core.domain.drives.DriveLoad; import com.krillsson.sysapi.core.domain.drives.DriveSpeed; import com.krillsson.sysapi.core.domain.drives.DriveValues; import com.krillsson.sysapi.core.metrics...
package com.jayway.jsonpath.old; import com.jayway.jsonpath.BaseTest; import com.jayway.jsonpath.Configuration; import com.jayway.jsonpath.Criteria; import com.jayway.jsonpath.DocumentContext; import com.jayway.jsonpath.Filter; import com.jayway.jsonpath.JsonPath; import com.jayway.jsonpath.Option; import com.jayway.js...
package org.zkoss.ganttz.data; import static java.util.Arrays.asList; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.EnumSet; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.LinkedHashSet; import java.util.Link...
package pokefenn.totemic.ceremony; import net.minecraft.core.BlockPos; import net.minecraft.server.level.ServerLevel; import net.minecraft.world.level.Level; import pokefenn.totemic.api.ceremony.CeremonyEffectContext; import pokefenn.totemic.api.ceremony.CeremonyInstance; public class CeremonyRain extends CeremonyInsta...
package co.zpdev.bots.jitters.cmd; import co.zpdev.bots.jitters.Jitters; import co.zpdev.bots.jitters.lstnr.JoinLeaveLog; import co.zpdev.core.discord.command.Command; import co.zpdev.core.discord.exception.ExceptionHandler; import net.dv8tion.jda.core.entities.Message; import java.io.BufferedReader; import java.io.IOE...
package com.sintef_energy.ubisolar.resources; import com.sintef_energy.ubisolar.ServerDAO; import com.sintef_energy.ubisolar.structs.Device; import com.sintef_energy.ubisolar.structs.DeviceUsage; import com.yammer.dropwizard.jersey.params.LongParam; import javax.ws.rs.*; import javax.ws.rs.core.MediaType; import javax....
package com.horcrux.svg; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.PorterDuff; import android.graphics.Rect; import android.net.Uri; import com.facebook.common.executors.UiThreadImmediateExecutorService; import c...
package programminglife.model.drawing; import javafx.scene.canvas.GraphicsContext; import javafx.scene.paint.Color; import org.eclipse.collections.impl.factory.Sets; import programminglife.model.GenomeGraph; import programminglife.model.XYCoordinate; import programminglife.utility.Console; import java.util.*; /** * A ...
package project.drawwordchain.controller; import java.io.IOException; import java.util.Queue; import java.util.concurrent.ConcurrentLinkedQueue; import java.util.ArrayList; import java.util.List; import java.util.Iterator; import javax.websocket.OnOpen; import javax.websocket.OnClose; import javax.websocket.OnMessage; ...
package com.abusalimov.mrcalc.ui; import com.abusalimov.mrcalc.CalcExecutor; import com.abusalimov.mrcalc.diagnostic.Diagnostic; import javax.swing.*; import javax.swing.event.DocumentEvent; import javax.swing.event.DocumentListener; import javax.swing.text.BadLocationException; import javax.swing.text.DefaultHighlight...
package cgeo.geocaching.geopoint; import java.util.Locale; /** * Formatting of Geopoint. */ public class GeopointFormatter { /** * Predefined formats. */ public static enum Format { /** Example: "10,123456 -0,123456" */ LAT_LON_DECDEGREE, /** Example: "10.123456,-0.123456" (u...
package org.oskari.service.wfs.client; import java.util.concurrent.TimeUnit; import org.geotools.data.simple.SimpleFeatureCollection; import org.geotools.geometry.jts.ReferencedEnvelope; import org.opengis.filter.Filter; import org.opengis.referencing.crs.CoordinateReferenceSystem; import com.vividsolutions.jts.geom.En...
package com.kerb4j.client; import com.kerb4j.common.jaas.sun.Krb5LoginContext; import com.kerb4j.common.util.JreVendor; import com.kerb4j.common.util.LRUCache; import com.kerb4j.common.util.SpnegoProvider; import org.ietf.jgss.GSSContext; import org.ietf.jgss.GSSCredential; import org.ietf.jgss.GSSException; import org...
package com.bio4j.model.uniprot.nodes; import com.bio4j.model.uniprot.UniprotGraph; import com.bio4j.model.uniprot.relationships.ProteinKeyword; import com.ohnosequences.typedGraphs.Node; import com.ohnosequences.typedGraphs.Property; import java.util.List; public interface Keyword < N extends Keyword<N, NT>, ...
package org.kie.scanner; import org.drools.core.common.ProjectClassLoader; import org.drools.core.util.ClassUtils; import org.drools.compiler.kproject.ReleaseIdImpl; import org.drools.compiler.kproject.models.KieModuleModelImpl; import org.drools.core.rule.TypeMetaInfo; import org.kie.api.builder.ReleaseId; import org....
package org.kie.scanner; import junit.framework.TestCase; import org.drools.core.rule.TypeMetaInfo; import org.junit.Ignore; import org.junit.Test; import org.kie.api.KieServices; import org.kie.api.builder.KieBuilder; import org.kie.api.builder.KieFileSystem; import org.kie.api.builder.KieModule; import org.kie.api.bu...
package io.mangoo.core; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import com.google.inject.Singleton; import io.mangoo.exceptions.MangooSchedulerException; import io.mangoo.interfaces.MangooLifecycle; import io.mangoo.managers.ExecutionManager; import io.mangoo.providers.CacheP...
package natlab.backends.vrirGen; import java.util.HashMap; import java.util.Map; public class LibFuncMapper { private static Map<String, String> libFuncMap = new HashMap<String, String>(); static { libFuncMap = new HashMap<>(); libFuncMap.put("sqrt", "sqrt"); libFuncMap.put("sin", "sin")...
package ui.components.pickers; import backend.resource.TurboLabel; import util.Utility; import java.util.*; import java.util.stream.Collectors; public class LabelPickerState { Set<String> addedLabels; Set<String> removedLabels; Set<String> initialLabels; List<String> matchedLabels; OptionalInt curre...
package com.comandante.creeper.Items; import com.comandante.creeper.player.EquipmentBuilder; import com.comandante.creeper.server.Color; import com.comandante.creeper.world.TimeTracker; import com.google.common.collect.Sets; import java.util.Arrays; import java.util.List; import java.util.Set; import java.util.UUID; im...
package matlabcontrol.link; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.Serializable; import java.lang.reflect.GenericArrayType; import java.lang.reflect.Method; import java...
package xdi2.connect.acmepizza; import java.net.URI; import java.util.ArrayDeque; import java.util.Date; import java.util.Deque; import java.util.Iterator; import xdi2.agent.impl.XDIBasicAgent; import xdi2.agent.routing.impl.http.XDIHttpDiscoveryAgentRouter; import xdi2.client.XDIClientRoute; import xdi2.client.excepti...
package com.github.nsnjson; import com.fasterxml.jackson.databind.*; import com.fasterxml.jackson.databind.node.*; import java.util.Optional; import static com.github.nsnjson.format.Format.*; public abstract class AbstractFormatTest extends AbstractTest { @Override protected JsonNode getNullPresentation() { ...
package org.sagebionetworks.bridge.dynamodb; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBHashKey; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBIgnore; import ...
package com.eaglesakura.android.util; import com.eaglesakura.lambda.Matcher1; import android.annotation.SuppressLint; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.Matrix; import android.graphics.Rect; import android.support.annotation.IdRes; import android.support.annotation.NonN...
package com.doos.update_module.update; import com.doos.settings_manager.ApplicationConstants; import com.doos.update_module.gui.UpdateDialog; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import org.bridj.Pointer; import org.b...
package com.ecbeta.common.core; import static com.ecbeta.common.constants.Constants.AA_REFRESH_ZONES_NAME; import static com.ecbeta.common.constants.Constants.ACTION_NAME; import static com.ecbeta.common.constants.Constants.BTN_OPTION; import static com.ecbeta.common.constants.Constants.JSON_REFRESH_TYPE; import static...
package model; import java.io.IOException; import org.apache.log4j.Logger; public class ShellNotificationTarget implements NotificationTarget { static Logger logger = Logger.getLogger(ShellNotificationTarget.class); String template; Runtime runtime; int suppressedMinutes = 0; public ShellNotificatio...
package cmput301f17t26.smores.all_models; import java.util.UUID; public class Request { private String mToUser; private String mFromUser; private String mID; public Request(String fromUser, String toUser) { mToUser = toUser; mFromUser = fromUser; mID = mToUser + mFromUser; } ...
package org.aksw.kbox; import java.io.File; import java.io.FileInputStream; import java.io.InputStream; import java.net.URL; import java.nio.file.InvalidPathException; import org.aksw.kbox.utils.ArrayUtils; import org.aksw.kbox.utils.ObjectUtils; import org.apache.log4j.Logger; public class KBox extends ObjectUtils { ...
package com.github.davidcarboni.restolino; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.UnsupportedEncodingException; import java.lang.annotation.Annotation; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.net.URL; import...
package co.epitre.aelf_lectures; import android.accounts.Account; import android.accounts.AccountManager; import android.annotation.SuppressLint; import android.content.ContentResolver; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.Pac...
package com.github.davidcarboni.restolino; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.UnsupportedEncodingException; import java.lang.annotation.Annotation; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.net.URL; import...
package com.youcruit.onfido.api; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.io.IOException; import java.net.URI; import java.util.Calendar; import java.util.TimeZone; import java.util.UUID; import org.junit.Test; import com.neovisionaries.i18n.CountryCode; import com.y...
package com.abplus.qiitaly.app.utils; import android.util.Log; import com.abplus.qiitaly.app.api.models.Comment; import com.abplus.qiitaly.app.api.models.Item; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; public class HtmlBuilder { private Item item; public HtmlBuilder(@N...
package com.github.dockerjava.core; import java.util.regex.Pattern; import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.ToStringBuilder; import org.apache.commons.lang.builder.ToStringStyle; import com.github.dockerjava.api.model.AuthConfig; public class NameParser { private...
package hudson.plugins.git.util; import hudson.model.Api; import hudson.model.Result; import hudson.plugins.git.Branch; import hudson.plugins.git.Revision; import hudson.plugins.git.UserRemoteConfig; import java.util.ArrayList; import java.util.Collection; import java.util.Random; import org.eclipse.jgit.lib.ObjectId; ...
package com.github.lwhite1.tablesaw.api; import com.github.lwhite1.tablesaw.columns.Column; import com.github.lwhite1.tablesaw.filtering.Filter; import com.github.lwhite1.tablesaw.io.csv.CsvReader; import com.github.lwhite1.tablesaw.io.csv.CsvWriter; import com.github.lwhite1.tablesaw.io.html.HtmlTableWriter; import co...
package com.bedrock.padder.activity; import android.annotation.TargetApi; import android.app.Activity; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.media.AudioManager; import android.media.SoundPool; import android.net.Uri; import androi...
package innovimax.mixthem.test001; import innovimax.mixthem.MixThem; import innovimax.mixthem.Constants; import innovimax.mixthem.MixException; import java.io.*; import java.net.URL; import org.junit.Assert; import org.junit.Test; public class GenericTest { @Test public final void check1() throws MixException, Fi...
/* * $Id: TestVoteBlockTallier.java,v 1.4 2012-06-25 23:30:10 barry409 Exp $ */ package org.lockss.poller.v3; import org.lockss.protocol.VoteBlock; import org.lockss.test.*; public class TestVoteBlockTallier extends LockssTestCase { private ParticipantUserData[] testPeers; public void setUp() throws Exception { ...