answer
stringlengths
17
10.2M
package radiancetops.com.resistora; import android.hardware.Camera; import android.util.Log; import android.widget.TextView; import java.io.*; import java.util.ArrayList; import java.util.Arrays; public class ImageHandler implements Camera.PreviewCallback { private int width, height, stripheight; private double...
package com.example.androidfileexplorer; import java.io.File; import java.util.List; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; public class DirListArrayAdapter extends A...
package org.bimserver.client; import java.io.EOFException; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set;...
package uk.co.pilllogger.fragments; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.app.Fragment; import android.support.v4.widget.SlidingPaneLayout; import android.util.SparseIntArray; import android.view.LayoutInflater; import android.view.View; import android.vie...
package com.fullmetalgalaxy.model.persist.gamelog; import java.util.ArrayList; import com.fullmetalgalaxy.model.EnuColor; import com.fullmetalgalaxy.model.HexCoordinateSystem; import com.fullmetalgalaxy.model.LandType; import com.fullmetalgalaxy.model.Location; import com.fullmetalgalaxy.model.RpcFmpException; import c...
package xyz.egie.sharetoreadingam; import android.app.Dialog; import android.content.Intent; import android.graphics.Paint; import android.net.Uri; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.text.TextUtils; import android.view.Vie...
package org.commcare.dalvik.activities; import org.commcare.android.adapters.AppManagerAdapter; import org.commcare.android.database.SqlStorage; import org.commcare.android.database.global.models.ApplicationRecord; import org.commcare.android.models.notifications.NotificationMessageFactory; import org.commcare.android....
package edu.neu.ccs.pyramid.eval; import edu.neu.ccs.pyramid.dataset.MultiLabel; import edu.neu.ccs.pyramid.dataset.MultiLabelClfDataSet; import edu.neu.ccs.pyramid.multilabel_classification.MultiLabelClassifier; import edu.neu.ccs.pyramid.multilabel_classification.Utils; import java.util.List; import java.util.stream....
package hudson.model; import hudson.security.ACL; import org.acegisecurity.Authentication; import org.acegisecurity.context.SecurityContextHolder; import org.kohsuke.stapler.StaplerRequest; import org.kohsuke.stapler.StaplerResponse; import org.kohsuke.graph_layouter.Layout; import org.kohsuke.graph_layouter.Navigator;...
package org.atlasapi.output; import java.util.List; import java.util.Optional; import javax.annotation.Nullable; import javax.servlet.http.HttpServletRequest; import org.atlasapi.annotation.Annotation; import org.atlasapi.application.ApplicationSources; import org.atlasapi.channel.Region; import org.atlasapi.output.ann...
package i5.las2peer.p2p; import i5.las2peer.api.p2p.ServiceNameVersion; import i5.las2peer.api.security.*; import i5.las2peer.classLoaders.ClassManager; import i5.las2peer.logging.L2pLogger; import i5.las2peer.persistency.SharedStorage; import i5.las2peer.registry.*; import i5.las2peer.registry.data.RegistryConfigurati...
package com.jmex.model.ogrexml.anim; import com.jme.math.Matrix4f; import com.jme.math.Vector3f; import java.util.Map; import com.jme.scene.Controller; import com.jme.scene.state.GLSLShaderObjectsState; import com.jme.scene.state.RenderState; import com.jme.util.export.InputCapsule; import com.jme.util.export.JMEExport...
package com.lwz.android.viewholderadapter; import java.util.ArrayList; import java.util.Collection; import java.util.List; import android.content.Context; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; /** * ViewHodler * <p> ViewHolder AdapterView * * <p> ViewHolder ...
package org.chromium.base; import android.content.Context; import android.content.SharedPreferences; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.content.res.AssetManager; import android.os.AsyncTask; import android.preference.PreferenceManager; import android.util.Log...
package com.mebigfatguy.fbcontrib.collect; import java.util.Set; import org.apache.bcel.Constants; import org.apache.bcel.classfile.AnnotationEntry; import org.apache.bcel.classfile.Code; import org.apache.bcel.classfile.JavaClass; import org.apache.bcel.classfile.Method; import com.mebigfatguy.fbcontrib.utils.Unmodifi...
package com.mebigfatguy.fbcontrib.detect; import java.util.Arrays; import java.util.BitSet; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.bcel.Constants; import org.apache.bcel.Repository;...
package com.redhat.ceylon.model.typechecker.model; import static com.redhat.ceylon.model.typechecker.model.SiteVariance.IN; import static com.redhat.ceylon.model.typechecker.model.SiteVariance.OUT; import static java.lang.Character.charCount; import static java.lang.Character.isLowerCase; import static java.util.Arrays...
package org.ow2.proactive.utils.console; import java.io.BufferedReader; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import java.io.Writer; import java.util.ArrayList; import java.util.Map; import javax.script.Bindings; import javax.script.ScriptContext; import javax.script.Scrip...
package cz.cuni.lf1.lge.ThunderSTORM.results; import cz.cuni.lf1.lge.ThunderSTORM.UI.RenderingOverlay; import cz.cuni.lf1.lge.ThunderSTORM.rendering.RenderingQueue; import ij.ImagePlus; import java.awt.Color; import java.lang.reflect.InvocationTargetException; import java.math.BigDecimal; import java.math.MathContext; ...
package de.lmu.ifi.dbs.algorithm.clustering; import de.lmu.ifi.dbs.algorithm.AbstractAlgorithm; import de.lmu.ifi.dbs.algorithm.Algorithm; import de.lmu.ifi.dbs.algorithm.result.clustering.ClustersPlusNoise; import de.lmu.ifi.dbs.data.RealVector; import de.lmu.ifi.dbs.database.AssociationID; import de.lmu.ifi.dbs.datab...
package de.lmu.ifi.dbs.elki.algorithm.itemsetmining; import gnu.trove.iterator.TLongIntIterator; import gnu.trove.map.hash.TLongIntHashMap; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.List; import de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm; import de.lmu.if...
package dr.evomodel.coalescent; import dr.evomodel.tree.TreeModel; import dr.inference.model.Likelihood; /** * Calculates a product of exponential densities and exponential tail probabilities. * * @author Guy Baele */ public class ExponentialProductLikelihood extends Likelihood.Abstract { private TreeModel tree...
package dr.math.distributions; /** * @author Marc Suchard * @author Guy Baele */ public class MultivariateGammaDistribution implements MultivariateDistribution { //TODO: Currently this implements a product of independent Gammas, need to re-code as true multivariate distribution public static final String TYP...
package edu.mit.streamjit.impl.compiler; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Iterables; import edu.mit.streamjit.impl.compiler.insts.Instruction; import edu.mit.streamjit.impl.compiler.insts.PhiInst; import edu.mit.streamjit.imp...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.Joystick; import edu.wpi.first.wpilibj.templates.OI; /** * * @author Robotics */ public class RunClimber extends CommandBase { public ...
@Override public void onChannelInvited(final Channel channel) { channel.join(new StatusListener() { @Override public void onSuccess() { Log.d(TAG, "Joined Channel: " + channel.getFriendlyName()); } }); }
package com.timogroup.tomcat; import com.timogroup.tomcat.config.FilterConfig; import com.timogroup.tomcat.config.InitParameter; import com.timogroup.tomcat.config.ListenerConfig; import com.timogroup.tomcat.config.ServletConfig; import org.apache.catalina.Context; import org.apache.catalina.LifecycleException; import ...
package org.rstudio.core.client.patch; import org.rstudio.core.client.Debug; import org.rstudio.core.client.js.JsObject; public class SubstringDiff { public SubstringDiff(String origVal, String newVal) { try { JsObject diff = diffImpl(origVal, newVal); replacement_ = diff.getString(...
package ie.gmit.sw.ai.traversers; /* Taken from AI-MAZE_ALGOS project from moodle */ import ie.gmit.sw.ai.node.*; import java.util.HashSet; import java.util.LinkedList; import java.util.Set; public class DepthLimitedDFSTraversator implements Traversator{ private Node[][] maze; private int limit; private bo...
package fredboat.command.fun; import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; import com.mashape.unirest.http.async.Callback; import com.mashape.unirest.http.exceptions.UnirestException; import fredboat.commandmeta.abs.Command; import fredboat.commandmeta.abs.ICommandOwnerRestrict...
package com.splunk.shep.archiver.archive; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import org.apache.http.HttpResponse; import org.apache.http.HttpStatus; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.HttpClient; import org.apache.http...
package com.twitter.mesos.scheduler.log.mesos; import java.lang.annotation.Retention; import java.lang.annotation.Target; import java.util.Iterator; import java.util.List; import java.util.NoSuchElementException; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import java.util.concur...
package org.jsmpp.session; import org.jsmpp.bean.DeliverSm; import org.jsmpp.extra.ProcessMessageException; /** * This listener will listen to every incoming short message, recognized by * deliver_sm command. The logic on this listener should be accomplish in a * short time, because the deliver_sm_resp will be proce...
package net.sf.picard.illumina; import net.sf.picard.illumina.parser.*; import net.sf.picard.util.IlluminaUtil; import net.sf.picard.util.Log; import net.sf.picard.util.TabbedTextFileWithHeaderParser; import net.sf.picard.cmdline.CommandLineProgram; import net.sf.picard.cmdline.Option; import net.sf.picard.cmdline.Stan...
package com.parc.ccn.security.access; import java.io.IOException; import java.security.InvalidKeyException; import java.security.Key; import java.security.NoSuchAlgorithmException; import java.security.PrivateKey; import java.security.PublicKey; import java.security.SecureRandom; import java.security.spec.AlgorithmPara...
package org.javarosa.demo.shell; import java.util.Hashtable; import javax.microedition.lcdui.Displayable; import org.javarosa.core.Context; import org.javarosa.core.JavaRosaPlatform; import org.javarosa.core.api.Constants; import org.javarosa.core.api.IModule; import org.javarosa.core.api.IShell; import org.javarosa.co...
package alma.acs.logging; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.logging.Filter; import java.util.logging.Level; import java.util.logging.LogRecord; import java.util.logging.Logger; import alma.acs.logging.adapters.JacORBFilter; import alma.acs.logg...
package org.apache.commons.dbcp; import java.io.ByteArrayInputStream; import java.sql.Connection; import java.util.Enumeration; import java.util.Hashtable; import java.util.Properties; import javax.naming.Context; import javax.naming.Name; import javax.naming.RefAddr; import javax.naming.Reference; import javax.naming....
package org.apache.commons.logging.impl; import java.lang.reflect.Constructor; import java.lang.reflect.Method; import java.util.Enumeration; import java.util.Hashtable; import java.util.Vector; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogConfigurationException; import org.apache.commons...
package org.tuckey.web.filters.urlrewrite; import org.apache.commons.httpclient.Header; import org.apache.commons.httpclient.HostConfiguration; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.HttpMethod; import org.apache.commons.httpclient.ProxyHost; import org.apache.commons.http...
package org.helioviewer.gl3d.camera; public class GL3DSpaceObject { private final String urlName; private final String labelName; private final double sizeInMeters; private static GL3DSpaceObject objectList[]; public static GL3DSpaceObject earth; public static int LINESEPPLANETS = 9; public ...
package sx.lambda.mstojcevich.voxel.world; import io.netty.util.internal.ConcurrentSet; import sx.lambda.mstojcevich.voxel.VoxelGame; import sx.lambda.mstojcevich.voxel.api.VoxelGameAPI; import sx.lambda.mstojcevich.voxel.api.events.worldgen.EventFinishChunkGen; import sx.lambda.mstojcevich.voxel.block.Block; import sx...
package be.bagofwords.db.filedb; import be.bagofwords.application.BowTaskScheduler; import be.bagofwords.application.memory.MemoryGobbler; import be.bagofwords.application.memory.MemoryManager; import be.bagofwords.application.memory.MemoryStatus; import be.bagofwords.db.CoreDataInterface; import be.bagofwords.db.DBUti...
package ch.pontius.nio.smb; import jcifs.smb.SmbFile; import jcifs.smb.SmbRandomAccessFile; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.ClosedChannelException; import java.nio.channels.SeekableByteChannel; import java.nio.file.FileAlreadyExistsException; public final class SeekableS...
package cn.momia.mapi.api.v1.teacher; import cn.momia.api.course.CourseServiceApi; import cn.momia.api.course.dto.Course; import cn.momia.api.course.dto.CourseSku; import cn.momia.api.course.dto.TeacherCourse; import cn.momia.api.teacher.OldTeacherServiceApi; import cn.momia.api.teacher.dto.Material; import cn.momia.ap...
package co.andrewbates.grade.data; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.nio.file.FileVisitResult; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.SimpleFileVisitor; import java...
package com.akiban.server; import java.math.BigDecimal; import java.math.BigInteger; import com.akiban.ais.model.CharsetAndCollation; import com.akiban.ais.model.Column; import com.akiban.qp.operator.Cursor; import com.akiban.server.collation.AkCollator; import com.akiban.server.collation.AkCollatorFactory; import com....
package com.akiban.server.service.ui; import com.akiban.server.service.ServiceManager; import java.awt.*; import java.awt.event.*; import java.io.File; import java.io.IOException; import javax.swing.*; import javax.swing.text.*; import java.net.URL; import java.io.PrintStream; public class SwingConsole extends JFrame i...
package soot.jimple.infoflow.android; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util...
package com.celements.web.service; import java.io.FileNotFoundException; import java.io.IOException; import java.math.BigDecimal; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import jav...
package com.github.hi_fi.testapp; import java.awt.FlowLayout; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; imp...
package com.codeborne.selenide; import com.codeborne.selenide.ex.UIAssertionError; import com.codeborne.selenide.impl.*; import com.codeborne.selenide.logevents.SelenideLog; import com.codeborne.selenide.logevents.SelenideLogger; import org.openqa.selenium.WebDriverException; import org.openqa.selenium.WebElement; impo...
package com.networknt.schema; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.ArrayNode; import io.undertow.Undertow; import io.undertow.server.handlers.resource.FileResourceManager; import org.junit.AfterClass; import org.ju...
package com.commafeed.backend.model; import java.io.Serializable; import javax.persistence.Cacheable; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; import org.hibe...
package com.epam.ta.reportportal.job; import com.epam.ta.reportportal.database.dao.*; import com.epam.ta.reportportal.database.entity.item.TestItem; import com.epam.ta.reportportal.database.entity.project.KeepLogsDelay; import com.google.common.util.concurrent.ThreadFactoryBuilder; import org.quartz.Job; import org.qua...
package moe.pine.bottler; import org.apache.commons.io.IOUtils; import org.junit.Assert; import org.junit.Test; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.net.*; import java.util.List; public class CookieStoreUtilsTest { @Test public void t...
package net.sf.gaboto.test; import net.sf.gaboto.Gaboto; import net.sf.gaboto.GabotoSnapshot; import net.sf.gaboto.SPARQLQuerySolutionProcessorImpl; import net.sf.gaboto.node.GabotoEntity; import net.sf.gaboto.node.pool.EntityPool; import net.sf.gaboto.node.pool.EntityPoolConfiguration; import net.sf.gaboto.time.TimeIn...
package notpure.antlr4.macro; import notpure.antlr4.macro.model.lang.ExpressionValue; import notpure.antlr4.macro.model.lang.ExpressionValueType; import notpure.antlr4.macro.model.parser.ParserExceptionListener; import notpure.antlr4.macro.model.lang.Expression; import notpure.antlr4.macro.model.lang.ExpressionType; im...
package org.jgroups.ping.kube.test; import static org.junit.Assert.assertEquals; import java.util.List; import org.jgroups.protocols.kubernetes.Client; import org.jgroups.protocols.kubernetes.Pod; import org.junit.Assert; import org.junit.Test; /** * @author <a href="mailto:ulrich.romahn@gmail.com">Ulrich Romahn</a> ...
package com.jomofisher.cmakeify; import com.jomofisher.cmakeify.CMakeify.OSType; import com.jomofisher.cmakeify.model.*; import java.io.*; import java.util.*; public class BashScriptBuilder extends ScriptBuilder { final private static String ABORT_LAST_FAILED = "rc=$?; if [[ $rc != 0 ]]; then exit -$rc; fi"; final ...
package org.purl.wf4ever.robundle; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.io.IOException; import java.io.InputStream; import java.net.URI; import java.nio.charset.Ch...
package com.kpelykh.docker.client.model; import java.util.List; import org.codehaus.jackson.annotate.JsonIgnoreProperties; import org.codehaus.jackson.annotate.JsonProperty; /** * * @author Konstantin Pelykh (kpelykh@gmail.com) * */ @JsonIgnoreProperties(ignoreUnknown = true) public class Container { @JsonPrope...
package seedu.taskell.model.task; import seedu.taskell.commons.exceptions.IllegalValueException; import org.junit.Test; import java.time.LocalDate; import java.time.format.DateTimeFormatter; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNot...
package com.laytonsmith.core.constructs; import com.laytonsmith.PureUtilities.Version; import com.laytonsmith.annotations.typeof; import com.laytonsmith.core.MSVersion; import com.laytonsmith.core.natives.interfaces.Mixed; import java.util.concurrent.atomic.AtomicLong; /** * A resource is a large or mutable data struc...
package tests.tickets; import org.testng.Assert; import org.testng.annotations.Test; import pages.HomePage; import pages.TicketsPage; import tests.BaseTest; public class SearchInfantTicketsTest extends BaseTest { @Test(dataProvider = "tickets", dataProviderClass = TicketsData.class) public void searchInfantTick...
package com.lesserhydra.secondchance; import java.util.Arrays; import java.util.Deque; import java.util.Iterator; import java.util.UUID; import java.util.stream.Stream; import org.bukkit.Bukkit; import org.bukkit.Chunk; import org.bukkit.Location; import org.bukkit.World; import org.bukkit.entity.ArmorStand; import org...
package trinity.tests; import org.antlr.v4.runtime.ANTLRInputStream; import org.antlr.v4.runtime.CommonTokenStream; import org.antlr.v4.runtime.tree.ParseTree; import org.junit.Test; import trinity.ErrorReporter; import trinity.StandardErrorReporter; import trinity.TrinityLexer; import trinity.TrinityParser; import tri...
package com.lothrazar.cyclic.util; import com.lothrazar.cyclic.ModCyclic; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.Blocks; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.item.BlockItem; import net.minecraft.item.BlockItemUseContext; impor...
package com.nincraft.modpackdownloader; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import java.text.SimpleDateFormat; impo...
package com.orangebot.pitch.strats; import com.orangebot.pitch.CardGame.Card; import com.orangebot.pitch.CardGame.Rank; import com.orangebot.pitch.PitchGame.PlayedCard; import com.orangebot.pitch.PitchGame.Player; import com.orangebot.pitch.PitchGame.PlayerStrategy; public class SimpleStrategy implements PlayerStrategy...
package com.owz.furry.module.enums; import com.owz.furry.common.mybatis.EnumTrait; public enum UserStatusType implements EnumTrait { INACTIVE(1, ""), ACTIVATED(2, ""); private int code; private String text; private UserStatusType(int code, String text) { this.code = code; this.text =...
package com.redhat.ukiservices.jdg; import com.redhat.ukiservices.common.CommonConstants; import com.redhat.ukiservices.jdg.model.HEElementModel; import io.vertx.core.Context; import io.vertx.core.Vertx; import io.vertx.core.eventbus.Message; import io.vertx.core.eventbus.MessageConsumer; import io.vertx.core.json.Json...
package com.sandwell.JavaSimulation3D; import static com.sandwell.JavaSimulation.Util.formatNumber; import java.util.ArrayList; import java.util.HashMap; import com.jaamsim.input.InputAgent; import com.jaamsim.math.Color4d; import com.sandwell.JavaSimulation.BooleanInput; import com.sandwell.JavaSimulation.BooleanListI...
package com.atexpose; import com.atexpose.dispatcher.IDispatcher; import com.atexpose.dispatcherfactories.WebServerBuilder; import io.schinzel.basicutils.Sandman; import org.jsoup.Connection; import org.jsoup.Jsoup; import org.junit.After; import org.junit.Test; import java.io.IOException; import static org.assertj.cor...
package com.softinstigate.restheart; import ch.qos.logback.classic.Level; import com.softinstigate.restheart.utils.URLUtilis; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; impo...
package uk.org.cinquin.mutinack.misc_util; public class VersionNumber { public static final float version = 0.7f; }
package com.trontheim.expstore.common; import com.trontheim.expstore.ExperienceStore; import com.trontheim.expstore.block.BlockExpChanger; import com.trontheim.expstore.client.renderer.block.RenderBlockExpStore; import com.trontheim.expstore.init.ESBlocks; import com.trontheim.expstore.tileentity.TileEntityExpStore; im...
// SiteMapServlet.java // blogwt package com.willshex.blogwt.server; import java.io.IOException; import java.io.PrintWriter; import java.util.List; import javax.servlet.ServletException; import javax.servlet.http.HttpServletResponse; import com.willshex.blogwt.server.helper.ServletHelper; import com.willshex.blogwt.s...
package com.xtremelabs.robolectric.util; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class Scheduler { private List<PostedRunnable> postedRunnables = new ArrayList<PostedRunnable>(); private long currentTime = 0; private boolean paused = false; public void pau...
package com.zavteam.plugins.packets; import com.zavteam.plugins.utils.PluginPM; import com.zavteam.plugins.utils.PluginPM.MessageType; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.OfflinePlayer; import org.bukkit.entity.Player; import org.bukkit.util.ChatPaginator; import java.util.*; public...
package com.zero_x_baadf00d.partialize; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.ArrayNode; import com.fasterxml.jackson.databind.node.ContainerNode; import com.fasterxml.jackson.databind.node.ObjectNode; import com.ze...
package de.bmoth.backend.z3; import com.microsoft.z3.BoolExpr; import com.microsoft.z3.Context; import com.microsoft.z3.Expr; import com.microsoft.z3.Sort; import de.bmoth.parser.ast.nodes.*; import java.util.*; public class MachineToZ3Translator { private final MachineNode machineNode; private final Context z3...
package de.mxro.maven.tools; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.text.SimpleDateFormat; import java.util.Date; import de.mxro.process.Spawn; public class MavenRemoteRepository { public static void downloadOrCreateRepositoryXml(final String repositoryUrl, fi...
package de.slackspace.openkeepass; import java.io.BufferedInputStream; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.nio.Byte...
package de.themoep.inventorygui; import org.bukkit.inventory.ItemStack; import java.util.function.Supplier; /** * Represents an element in a gui that will query all it's data when drawn. */ public class DynamicGuiElement extends GuiElement { private Supplier<GuiElement> query; private GuiElement cachedElement...
package eu.europeana.controller; import java.io.IOException; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.Re...
package hudson.plugins.perforce; import hudson.scm.*; import hudson.model.AbstractBuild; import hudson.model.Action; import hudson.model.Hudson; import hudson.model.TaskListener; import hudson.model.LargeText; import hudson.scm.SubversionSCM.SvnInfo; import hudson.util.CopyOnWriteMap; import hudson.util.FormFieldValida...
package in.twizmwaz.cardinal.command; import com.sk89q.minecraft.util.commands.*; import in.twizmwaz.cardinal.GameHandler; import in.twizmwaz.cardinal.chat.ChatConstant; import in.twizmwaz.cardinal.chat.LocalizedChatMessage; import in.twizmwaz.cardinal.chat.UnlocalizedChatMessage; import in.twizmwaz.cardinal.match.Matc...
package innovimax.mixthem.join; import innovimax.mixthem.exceptions.MixException; import innovimax.mixthem.interfaces.IJoinLine; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; /** * <p>Joins two lines on a common field.</p> * <p>This is the default implementation of IJoinLine.</p> *...
package io.atomicbits.scraml.mvnplugin; import io.atomicbits.scraml.generator.ScramlGenerator; import io.atomicbits.scraml.mvnplugin.util.ListUtils; import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureException; import org.apache....
package javax.time.calendrical; import java.io.Serializable; import javax.time.CalendricalException; /** * The range of valid values for a date-time field. * <p> * All {@link DateTimeField} instances have a valid range of values. * For example, the ISO day-of-month runs from 1 to somewhere between 28 and 31. * Thi...
package markharder.physicsdemos.demo.demos; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.awt.Rectangle; import markharder.physicsdemos.demo.interfacing.Slider; public class Rocket implements Demo { private static double EXHAUST_VELOCITY = -5.0; private static double FUEL_MA...
package mcjty.rftoolsdim.items; import mcjty.rftoolsdim.RFToolsDim; import net.minecraft.client.renderer.block.model.ModelResourceLocation; import net.minecraft.item.Item; import net.minecraftforge.client.model.ModelLoader; import net.minecraftforge.fml.common.registry.GameRegistry; import net.minecraftforge.fml.relaun...
package net.anyflow.menton.http; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.SimpleChannelInboundHandler; import io.netty.handler.codec.http.DefaultFullHttpResponse; import io.netty.handler.codec.http.FullHttpRequest; import io.netty.handler.codec.http.HttpHeaders; import io.netty.handler.cod...
package net.engin33r.luaspigot.lua.type; import net.engin33r.luaspigot.lua.WeakType; import net.engin33r.luaspigot.lua.annotation.DynFieldDef; import net.engin33r.luaspigot.lua.annotation.MethodDef; import org.bukkit.Location; import org.bukkit.OfflinePlayer; import org.bukkit.entity.Player; import org.luaj.vm2.LuaValu...
package net.mingsoft.cms.biz.impl; import cn.hutool.core.lang.Assert; import cn.hutool.core.util.ObjectUtil; import cn.hutool.core.util.StrUtil; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import net.mingsoft.base.biz.impl.BaseBizImpl; import net.mingsoft.base.dao.IBaseDao; import net.mingsoft.b...
package net.rushhourgame.managedbean; import java.io.Serializable; import java.util.List; import java.util.logging.Logger; import javax.annotation.PostConstruct; import javax.inject.Named; import javax.faces.view.ViewScoped; import javax.inject.Inject; import javax.transaction.Transactional; import net.rushhourgame.Rus...
package net.sf.jabref.importer; import java.io.*; import java.util.*; import net.sf.jabref.importer.fileformat.*; import net.sf.jabref.logic.id.IdGenerator; import net.sf.jabref.logic.l10n.Localization; import net.sf.jabref.model.database.BibtexDatabase; import net.sf.jabref.model.entry.BibtexEntry; import org.apache.c...
package net.sourceforge.cilib.algorithm; import java.util.ArrayList; import java.util.List; import net.sourceforge.cilib.entity.visitor.TopologyVisitor; import net.sourceforge.cilib.problem.OptimisationProblem; import net.sourceforge.cilib.problem.OptimisationSolution; import net.sourceforge.cilib.stoppingcondition.Sto...
package no.ntnu.okse.protocol.wsn; import com.sun.org.apache.xerces.internal.dom.ElementNSImpl; import no.ntnu.okse.Application; import no.ntnu.okse.core.CoreService; import no.ntnu.okse.core.messaging.Message; import no.ntnu.okse.core.messaging.MessageService; import no.ntnu.okse.core.subscription.Publisher; import no...