answer
stringlengths
17
10.2M
package org.openbmap.activity; import java.io.File; import java.util.ArrayList; import java.util.Iterator; import org.mapsforge.core.graphics.Color; import org.mapsforge.core.graphics.Paint; import org.mapsforge.core.graphics.Style; import org.mapsforge.core.model.BoundingBox; import org.mapsforge.core.model.LatLong; i...
package com.carlosefonseca.common.utils; import android.content.Context; import android.graphics.Bitmap; import android.view.View; import android.widget.ImageView; import com.carlosefonseca.common.CFApp; import com.nostra13.universalimageloader.cache.disc.impl.UnlimitedDiscCache; import com.nostra13.universalimageloade...
package lan.dk.podcastserver.service; import lan.dk.podcastserver.entity.Cover; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import javax...
package com.chipcollector.data; import com.avaje.ebean.EbeanServer; import com.avaje.ebean.event.BeanPersistListener; import com.chipcollector.domain.*; import java.util.HashSet; import java.util.List; import java.util.Set; public class PokerChipDAO { private EbeanServer ebeanServer; public PokerChipDAO(EbeanSe...
package lemming.context.inbound; import lemming.context.Context; import lemming.data.EntityManagerListener; import lemming.data.GenericDao; import org.hibernate.StaleObjectStateException; import org.hibernate.UnresolvableObjectException; import javax.persistence.EntityManager; import javax.persistence.EntityTransaction...
package com.cjmalloy.torrentfs.model; import com.cjmalloy.torrentfs.util.JsonUtil.Factory; import com.cjmalloy.torrentfs.util.JsonUtil.HasJson; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.turn.ttorrent.common.Torrent; public class Nested implements HasJson { public static final...
package lucene4ir.indexer; import lucene4ir.Lucene4IRConstants; import org.apache.lucene.document.Document; import org.apache.lucene.document.Field; import org.apache.lucene.document.StringField; import org.apache.lucene.document.TextField; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import org.xml.sax.InputS...
// @author A0112725N /** * This interface specifies any undoable actions */ package com.epictodo.model.command; public interface Undoable { /** * This method enforces the ability to undo an action * * @return the result */ public String undo(); /** * This method enforces the abili...
package mho.wheels.numberUtils; import mho.wheels.math.BinaryFraction; import mho.wheels.structures.Pair; import org.jetbrains.annotations.NotNull; import java.math.BigInteger; import java.util.Optional; /** * Methods for manipulating and analyzing {@link float}s and {@link double}s. */ public final strictfp class Fl...
package ml.duncte123.skybot.objects; import java.lang.reflect.Array; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.util.AbstractMap; import java.util.ArrayList; import java.util.Arrays; import java.util.Hash...
package com.gamingmesh.jobs.dao; import java.io.IOException; import com.gamingmesh.jobs.Jobs; import com.gamingmesh.jobs.container.LoadStatus; import net.Zrips.CMILib.FileHandler.ConfigReader; import net.Zrips.CMILib.Logs.CMIDebug; public class JobsManager { private JobsDAO dao; private Jobs plugin; private...
package network.aika.neuron.activation; import network.aika.Thought; import network.aika.neuron.phase.Phase; import java.util.Arrays; import java.util.Collection; import java.util.Comparator; import java.util.TreeSet; public class QueueState<P extends Phase> { private TreeSet<P> pendingPhases = new TreeSet<>(Compar...
package com.github.intangir.Tweaks; import java.io.File; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.entity.Boat; import org.bukkit.entity.Horse; import org.bukkit.entity.LivingEntity; import org.bukkit.entity.Minecart; import org.bukkit.entity.Player; import org.bukkit.entity.Vehicle; imp...
package nl.hsac.fitnesse.fixture.slim; import nl.hsac.fitnesse.fixture.util.FileUtil; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; /** * Utility fixture to work with files. */ public class FileFixture extends SlimFixtureWithMap { private St...
package com.github.sbouclier; import com.github.sbouclier.utils.Base64Utils; import com.github.sbouclier.utils.ByteUtils; import com.github.sbouclier.utils.CryptoUtils; import javax.net.ssl.HttpsURLConnection; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.Ou...
package fr.tpt.s3.ls_mxc.generator; import java.util.HashSet; import java.util.Iterator; import java.util.Set; import fr.tpt.s3.ls_mxc.model.Actor; import fr.tpt.s3.ls_mxc.model.ActorSched; import fr.tpt.s3.ls_mxc.model.DAG; import fr.tpt.s3.ls_mxc.model.Edge; import fr.tpt.s3.ls_mxc.util.RandomNumberGenerator; public ...
package com.google.sps.servlets; import com.google.gson.Gson; import java.io.IOException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * Provides interaction between front-end part of ...
package com.doos.commons.core; import com.doos.commons.ApplicationConstants; import com.doos.commons.registry.RegistryCanNotReadInfoException; import com.doos.commons.registry.RegistryCanNotWriteInfoException; import com.doos.commons.registry.RegistryManager; import org.apache.log4j.Logger; import static com.doos.commo...
package boundary.Question; import boundary.Point.PointResource; import entity.Point; import entity.Question; import javax.ejb.EJB; import javax.ejb.Stateless; import javax.ws.rs.*; import javax.ws.rs.core.GenericEntity; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import java.util.List; @Path("/...
package com.j256.ormlite.jdbc; import java.sql.SQLException; import java.sql.Types; import java.util.HashMap; import java.util.Map; import com.j256.ormlite.field.SqlType; import com.j256.ormlite.misc.VersionUtils; /** * Map from {@link SqlType} to the constants in the {@link Types} class. * * @author graywatson */ ...
package com.jaamsim.BasicObjects; import com.jaamsim.Thresholds.Threshold; import com.jaamsim.Thresholds.ThresholdUser; import com.jaamsim.input.Keyword; import com.jaamsim.input.ValueInput; import com.jaamsim.units.TimeUnit; import com.sandwell.JavaSimulation.EntityInput; import com.sandwell.JavaSimulation.EntityTarge...
package com.eddysystems.eddy.engine; import com.eddysystems.eddy.EddyThread; import com.intellij.openapi.project.Project; import com.intellij.psi.*; import com.intellij.psi.search.GlobalSearchScope; import com.intellij.psi.search.PsiShortNamesCache; import com.intellij.util.Processor; import com.intellij.util.indexing....
package org.domeos.framework.engine.k8s; import io.fabric8.kubernetes.api.model.Pod; import io.fabric8.kubernetes.api.model.PodList; import io.fabric8.kubernetes.api.model.Service; import org.apache.commons.lang.StringUtils; import org.domeos.exception.DataBaseContentException; import org.domeos.exception.DeploymentEve...
package org.fedoraproject.jenkins.copr; import hudson.EnvVars; import hudson.Extension; import hudson.Launcher; import hudson.model.BuildListener; import hudson.model.Result; import hudson.model.AbstractBuild; import hudson.model.AbstractProject; import hudson.tasks.BuildStepDescriptor; import hudson.tasks.BuildStepMon...
package com.devbox.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.design.widget.Snackbar; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.MotionEvent; import android.view.View; impor...
package net.ME1312.SubServers.Bungee; import net.ME1312.SubServers.Bungee.Host.Host; import net.ME1312.SubServers.Bungee.Host.Server; import net.ME1312.SubServers.Bungee.Host.SubCreator; import net.ME1312.SubServers.Bungee.Host.SubServer; import net.ME1312.SubServers.Bungee.Library.Util; import net.ME1312.SubServers.Bu...
package com.silverpop.api.client; import com.silverpop.api.client.authentication.LogoutCommand; import com.silverpop.api.client.command.GetListsCommand; import com.silverpop.api.client.result.GetListsResult; import com.silverpop.api.client.result.elements.ListElementType; import com.silverpop.api.client.xmlapi.XmlApiCl...
package org.jabref.model.entry.field; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.EnumSet; import java.util.HashSet; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import java.util.function.Predicate; import java.util.stream.Collectors...
package com.github.noxan.aves.server; import java.io.IOException; import java.net.InetSocketAddress; import java.net.ServerSocket; import java.net.Socket; import java.net.SocketTimeoutException; import java.util.HashSet; import java.util.Set; import java.util.concurrent.BlockingQueue; import java.util.concurrent.Linked...
package com.skraylabs.poker.model; /** * The state of a Texas Hold 'Em Poker game. */ public class GameState { /** * The "board" is the set of 5 community cards shared by all players in a game Texas Hold 'Em * Poker. */ public class Board { /** * First of three cards dealt in the second round (t...
package com.tellerulam.hue2mqtt; import java.nio.charset.*; import java.util.*; import java.util.logging.*; import java.util.regex.*; import org.eclipse.paho.client.mqttv3.*; import org.eclipse.paho.client.mqttv3.persist.*; import com.eclipsesource.json.*; import com.eclipsesource.json.JsonObject.Member; import com.phi...
package org.jboss.msc.service; import java.io.IOException; import java.io.Writer; import java.util.Arrays; import java.util.Set; import java.util.concurrent.Executor; import java.util.concurrent.RejectedExecutionException; import org.jboss.msc.value.Value; /** * @author <a href="mailto:david.lloyd@redhat.com">David M....
package com.googlecode.objectify; import java.lang.reflect.Field; import com.google.appengine.api.datastore.AsyncDatastoreService; import com.google.appengine.api.datastore.DatastoreService; import com.google.appengine.api.datastore.DatastoreService.KeyRangeState; import com.google.appengine.api.datastore.DatastoreServ...
package com.thales.window.deckView; import com.thales.model.Manifest; import com.thales.window.deckView.CargoView.CargoView; import com.thales.window.deckView.CargoView.ItemView; import com.thales.window.deckView.color.DestinationColorFactory; import com.thales.window.deckView.color.IColorFactory; import javafx.scene.D...
package com.wandrell.velocity.tool; import static com.google.common.base.Preconditions.checkNotNull; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.LinkedList; import java.util.Map; import java.util.Map.Entry; import org.apache.velocity.tools.config.DefaultKey; i...
package org.junit.experimental.theories; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Annotating an field or method with &#064;Da...
package com.ids1024.whitakerswords; import java.io.InputStream; import java.io.InputStreamReader; import java.io.BufferedReader; import java.io.FileOutputStream; import java.io.File; import java.io.IOException; import android.app.Activity; import android.view.View; import android.view.Menu; import android.view.MenuItem...
package com.woawi.wx.message; import com.woawi.wx.Environment; import lombok.extern.slf4j.Slf4j; import me.chanjar.weixin.common.api.WxConsts; import me.chanjar.weixin.common.exception.WxErrorException; import me.chanjar.weixin.common.session.WxSessionManager; import me.chanjar.weixin.mp.api.WxMpMessageHandler; import ...
package com.xqbase.apool.impl; import com.xqbase.apool.AsyncPool; import com.xqbase.apool.CreateLatch; import com.xqbase.apool.LifeCycle; import com.xqbase.apool.callback.Callback; import com.xqbase.apool.callback.SimpleCallback; import com.xqbase.apool.exceptions.SizeLimitExceededException; import com.xqbase.apool.sta...
package com.moeyinc.formulamorph; import java.util.*; import java.io.*; import java.net.*; import java.util.concurrent.LinkedBlockingDeque; import javax.swing.SwingUtilities; public class PhidgetInterface implements Parameter.ActivationStateListener { String host; int port; Socket socket; LinkedBlocking...
package courgette.runtime; import courgette.integration.reportportal.ReportPortalProperties; import courgette.runtime.utils.FileUtils; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import org.xml.sax.InputSource; import org.xml.sax.SAXException; import ja...
package org.minimalj.repository; import java.sql.SQLException; import java.util.logging.Logger; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; import javax.sql.DataSource; import org.apache.derby.jdbc.EmbeddedDataSource; import org.h2.jdbcx.JdbcDataSource; import o...
package crazypants.enderio.item; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; import net.minecraftforge.oredict.ShapedOreRecipe; import cpw.mods.fml.common.registry.GameRegistry; import crazypants.enderio.EnderIO; import crazypants.enderio.material.Alloy; import crazypants.enderio.material.Mach...
package com.opera.core.systems; //import java.util.HashMap; //import java.util.ArrayList; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.List; import java.util.Map; import com.ope...
package org.minimalj.repository.sql; import java.io.InputStream; import java.io.Serializable; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.math.BigDecimal; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java....
package de.dakror.arise.layer; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Graphics2D; import java.awt.Point; import java.awt.Polygon; import java.awt.Stroke; import java.awt.event.MouseEvent; import java.awt.geom.AffineTransform; import java.io.IOException; import de.dakror.arise.game.Game; imp...
package com.reason.lang.ocaml; import com.intellij.lang.ASTNode; import com.intellij.lang.ParserDefinition; import com.intellij.lang.PsiParser; import com.intellij.lexer.Lexer; import com.intellij.openapi.project.Project; import com.intellij.psi.FileViewProvider; import com.intellij.psi.PsiElement; import com.intellij....
package de.dwslab.risk.gui; import static java.awt.Dialog.ModalityType.APPLICATION_MODAL; import static java.lang.Boolean.FALSE; import static java.lang.Boolean.TRUE; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.util.EventObject; import javax.swing.JButton; impo...
package org.owasp.esapi.reference; import java.util.HashMap; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; import org.apache.log4j.Level; import org.owasp.esapi.ESAPI; import org.owasp.esapi.LogFactory; import org.owasp.esapi.Logger; import org.owasp.esapi.User; public class Log4J...
package org.procrastinationpatients.tts.core; /** * @Author Decker & his father -- Jeffrey */ public class Lane { Vehicle[] vehicles; Lane input; Lane output; Container container ; public Lane() { } public Lane(Container container, Lane input , Lane output) { this.contain...
package org.taktik.mpegts.sources; import java.nio.ByteBuffer; import java.util.Map; import com.google.common.collect.Maps; import org.taktik.mpegts.MTSPacket; /** * This class will attempt to fix timestamp discontinuities * when switching from one source to another. * This should allow for smoother transitions betw...
package foodtruck.schedule; import java.util.List; import java.util.Set; import java.util.logging.Level; import java.util.logging.Logger; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.annotation.Nullable; import com.google.common.collect.ImmutableList; import com.google.inject.Inject; imp...
package io; import java.util.Collection; import gui.ConsolePane; import vk.core.api.CompilationUnit; import vk.core.api.CompileError; import vk.core.api.CompilerResult; import vk.core.api.JavaStringCompiler; import vk.core.api.TestFailure; import vk.core.api.TestResult; import vk.core.internal.InternalCompiler; public ...
package io.bastillion.common.util; import io.bastillion.manage.util.EncryptionUtil; import org.apache.commons.configuration.PropertiesConfiguration; import org.apache.commons.io.FileUtils; import org.apache.commons.lang3.StringUtils; import java.io.File; import java.util.*; import org.slf4j.Logger; import org.slf4j.Log...
package gov.nih.nci.calab.service.login; import java.util.HashSet; import java.util.Hashtable; import java.util.Iterator; import java.util.List; import java.util.Set; import org.apache.log4j.Logger; import gov.nih.nci.security.AuthenticationManager; import gov.nih.nci.security.authorization.domainobjects.ProtectionElem...
package de.fosd.jdime.strategy; import java.io.BufferedReader; import java.io.IOException; import java.io.StringReader; import java.util.ArrayList; import org.apache.log4j.Logger; import de.fosd.jdime.common.ASTNodeArtifact; import de.fosd.jdime.common.FileArtifact; import de.fosd.jdime.common.Level; import de.fosd.jdi...
package reborncore.common.blocks; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.Material; import net.minecraft.block.entity.BlockEntity; import net.minecraft.entity.EntityType; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.player.PlayerEntity...
package it.matjaz.numerus.core; import java.io.Serializable; import java.util.Objects; import java.util.regex.Matcher; import java.util.regex.Pattern; public class RomanNumeral implements Serializable, Cloneable, CharSequence { /** * The passed string representing the roman numeral. * * It is a seria...
package gov.nih.nci.calab.service.remote; import gov.nih.nci.cagrid.cananolab.service.globus.resource.ResourceConstants; import gov.nih.nci.cagrid.common.Utils; import gov.nih.nci.cagrid.discovery.client.DiscoveryClient; import gov.nih.nci.cagrid.metadata.MetadataUtils; import gov.nih.nci.cagrid.metadata.ResourceProper...
package de.jungblut.classification.eval; import java.text.NumberFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorCompletionService; import java.util.concurrent.Exe...
package it.polimi.hegira.queue; import it.polimi.hegira.exceptions.QueueException; import it.polimi.hegira.utils.DefaultSerializer; import java.io.IOException; import org.apache.log4j.Logger; import com.rabbitmq.client.Channel; import com.rabbitmq.client.Connection; import com.rabbitmq.client.ConnectionFactory; import ...
package me.rkfg.xmpp.bot.plugins.game; import static me.rkfg.xmpp.bot.plugins.game.misc.Attrs.*; import static me.rkfg.xmpp.bot.plugins.game.misc.Utils.*; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Optional; import ja...
package de.mrapp.android.adapter.logging; /** * Defines the interface, a class, which should allow to use logging, must * implement. * * @author Michael Rapp * * @since 1.0.0 */ public interface Loggable { /** * Returns the current log level. Only log messages with a rank greater or * equal than th...
package seedu.doit.logic.parser; import static seedu.doit.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import seedu.doit.logic.commands.Command; import seedu.doit.logic.commands.IncorrectCommand; import seedu.doit.logic.commands.SortCommand; /** * Parses input arguments and creates a new SortCommand object *...
package mho.haskellesque.math; import mho.haskellesque.iterables.Exhaustive; import mho.haskellesque.iterables.IndexedIterable; import mho.haskellesque.tuples.Pair; import mho.haskellesque.tuples.Quadruple; import mho.haskellesque.tuples.Triple; import java.math.BigInteger; import java.util.List; import java.util.Optio...
package seedu.task.logic.parser; import static seedu.task.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.task.logic.parser.CliSyntax.PREFIX_TAG; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.Optional; import seedu.task.commons.exceptions.Il...
package org.xins.server; import java.io.IOException; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.log4j.NDC; import org.apache.oro.text.regex.MalformedPatternException; import org...
package dr.evomodel.antigenic; import dr.evolution.util.*; import dr.inference.model.*; import dr.math.MathUtils; import dr.math.distributions.NormalDistribution; import dr.util.*; import dr.xml.*; import java.io.*; import java.util.*; import java.util.logging.Logger; /** * @author Andrew Rambaut * @author Trevor Bed...
package mho.haskellesque.math; import mho.haskellesque.iterables.CachedIterable; import mho.haskellesque.iterables.Exhaustive; import mho.haskellesque.ordering.Ordering; import mho.haskellesque.structures.*; import org.jetbrains.annotations.NotNull; import java.math.BigInteger; import java.util.*; import java.util.func...
// $Id: Getdown.java,v 1.15 2004/07/20 01:27:32 mdb Exp $ package com.threerings.getdown.launcher; import java.awt.BorderLayout; import java.awt.EventQueue; import java.awt.Rectangle; import java.awt.image.BufferedImage; import javax.imageio.ImageIO; import javax.swing.JFrame; import java.io.File; import java.io.FileNo...
package dr.evomodel.antigenic; import dr.inference.model.*; import dr.util.Author; import dr.util.Citable; import dr.util.Citation; import dr.xml.*; import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * @author Andrew Rambaut * @author Trevor Bedford * @author Marc Suchard * @version $Id...
package mho.wheels.iterables; import mho.wheels.math.MathUtils; import mho.wheels.ordering.Ordering; import mho.wheels.random.IsaacPRNG; import mho.wheels.structures.*; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.math.BigDecimal; import java.math.BigInteger; import j...
package sword.java.class_analyzer; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.util.HashSet; import java.util.Set; import sword.java.class_analyzer.ref.ClassReference; import sword.java.class_analyzer.ref.PackageReference; import swo...
// $Id: ResourceManager.java,v 1.34 2003/08/09 05:51:12 mdb Exp $ package com.threerings.resource; import java.awt.EventQueue; import java.io.BufferedInputStream; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import ja...
package mho.wheels.iterables; import mho.wheels.math.MathUtils; import mho.wheels.ordering.Ordering; import mho.wheels.random.IsaacPRNG; import mho.wheels.structures.*; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.math.BigDecimal; import java.math.BigInteger; import j...
package tigase.server.sreceiver.sysmon; import java.util.LinkedHashMap; import java.util.LinkedList; import java.util.Map; import java.util.logging.Handler; import java.util.logging.Level; import java.util.logging.LogRecord; import java.util.logging.Logger; import java.util.logging.MemoryHandler; import tigase.conf.Con...
package io.compgen.ngsutils.cli.vcf; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import org.apache.commons.math3.distribution.PoissonDistribution; import io.compgen.cmdline.annotation.Command; import io.compgen.cmdline.annotation.Exec; import io.compgen.cmdline.annotation.Option; import i...
package dr.evomodel.treelikelihood; import dr.evolution.tree.NodeRef; import dr.evolution.tree.Tree; import dr.evolution.util.Taxa; import dr.evolution.util.TaxonList; import dr.evomodel.tree.TMRCAStatistic; import dr.evomodel.tree.TreeModel; import dr.inference.loggers.LogColumn; import dr.inference.loggers.Loggable; ...
package mountainrangepvp.input; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Input.Keys; import com.badlogic.gdx.math.Vector2; import mountainrangepvp.chat.ChatLine; import mountainrangepvp.game.GameWorld; import mountainrangepvp.player.Player; /** * @author lachlan */ public class InputHandler { private ...
package com.lightcrafts.platform; import com.lightcrafts.app.Application; import com.lightcrafts.app.ExceptionDialog; import com.lightcrafts.splash.SplashImage; import com.lightcrafts.splash.SplashWindow; import com.lightcrafts.utils.ForkDaemon; import com.lightcrafts.utils.Version; import javax.swing.*; import java.la...
package tonius.simplyjetpacks.integration; import net.minecraft.block.Block; import net.minecraft.item.ItemStack; import net.minecraftforge.oredict.OreDictionary; import tonius.simplyjetpacks.SimplyJetpacks; import cpw.mods.fml.common.Loader; import cpw.mods.fml.common.registry.GameRegistry; public abstract class BCIte...
package dr.inferencexml.distribution; import java.io.File; import java.io.FileNotFoundException; import dr.inference.distribution.DistributionLikelihood; import dr.inference.model.Likelihood; import dr.inference.model.Statistic; import dr.inference.trace.LogFileTraces; import dr.inference.trace.TraceException; import d...
package net.aksingh.owmjapis; import org.json.JSONException; import org.json.JSONObject; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.net.*; import java.util.zip.GZIPInputStream; import java.util.zip.Inflater; impor...
package uk.co.drnaylor.quickstart; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Maps; import ninja.leaping.configurate.ConfigurationNode; import ninja.leaping.configurate.loader.ConfigurationLoader; import ninja.leaping.configurate.objectma...
package edu.mit.streamjit.impl.interp; import static com.google.common.base.Preconditions.*; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import com.google.common.collect.ImmutableTable; import com.google.common.collect.Ite...
package florian_haas.lucas.util; import java.math.BigDecimal; import java.util.*; public class Utils { @SuppressWarnings("unchecked") public static <K, V> Map<K, V> deepUnmodifiableMap(Map<K, V> map) { Map<K, V> tmp = new HashMap<>(); map.forEach((key, value) -> { Object valueO = val...
package uk.co.pols.bamboo.gitplugin; import com.atlassian.bamboo.commit.CommitFile; import com.atlassian.bamboo.repository.*; import com.atlassian.bamboo.v2.build.BuildChanges; import com.atlassian.bamboo.v2.build.BuildContext; import com.atlassian.bamboo.v2.build.repository.RepositoryEventAware; import com.atlassian.b...
package org.apache.solr.core; import java.io.IOException; import java.util.concurrent.atomic.AtomicInteger; import org.apache.lucene.store.Directory; import org.apache.lucene.store.RAMDirectory; public class RefCntRamDirectory extends RAMDirectory { private final AtomicInteger refCount = new AtomicInteger(); public...
package edu.wpi.first.wpilibj.templates; import edu.wpi.first.wpilibj.IterativeRobot; import edu.wpi.first.wpilibj.command.Command; import edu.wpi.first.wpilibj.command.CommandGroup; import edu.wpi.first.wpilibj.command.Scheduler; import edu.wpi.first.wpilibj.livewindow.LiveWindow; import edu.wpi.first.wpilibj.template...
package com.flybuy.cordova.location; import java.util.List; import java.util.Iterator; import java.util.Random; import org.json.JSONException; import org.json.JSONObject; import android.annotation.TargetApi; import android.media.AudioManager; import android.media.ToneGenerator; import android.telephony.PhoneStateListen...
/** * Interfaces specifying operations on random variables. For implementation see also * {@link net.finmath.montecarlo} e.g. {@link net.finmath.montecarlo.RandomVariableFromDoubleArray}. * * @author Christian Fries */ package net.finmath.stochastic;
package plugin.google.maps; import java.io.IOException; import java.io.InputStream; import java.util.HashMap; import org.apache.cordova.CallbackContext; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.content.res.AssetManager; import android.graphics.Bitmap; import a...
package net.imagej.patcher; import java.util.HashSet; import java.util.Set; /** * Assorted legacy patches / extension points for use in the legacy mode. * * <p> * The Fiji distribution of ImageJ accumulated patches and extensions to ImageJ * 1.x over the years. * </p> * * <p> * However, there was a lot of over...
package plugin.google.maps; import android.content.res.AssetManager; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Color; import android.graphics.Point; import android.os.AsyncTask; import android.os.Bundle; import android.os.Handler; import android.os.SystemClock; impor...
package net.mcft.copy.backpacks; import java.util.HashSet; import java.util.Map; import java.util.Objects; import java.util.Set; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.block.model.BakedQuad; import net.minecraft.client.renderer.block.model.IBakedModel; import net.minecraft.client.re...
package plugin.google.maps; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.Locale; import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaResourceApi; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android....
package net.mingsoft.cms.util; import java.io.File; import java.io.IOException; import java.io.StringWriter; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import cn.hutool.core.io.FileUtil; import cn.hutool.core.util.PageUtil; import freemarker.cache.FileTemplateLoad...
package dyvilx.tools.gensrc.ast; import dyvil.annotation.internal.NonNull; import dyvil.lang.Name; import dyvil.reflect.Modifiers; import dyvilx.tools.compiler.DyvilCompiler; import dyvilx.tools.compiler.ast.attribute.AttributeList; import dyvilx.tools.compiler.ast.classes.ClassBody; import dyvilx.tools.compiler.ast.cl...
package net.mingsoft.cms.util; import cn.hutool.core.io.FileUtil; import cn.hutool.core.util.PageUtil; import freemarker.cache.FileTemplateLoader; import freemarker.core.ParseException; import freemarker.template.MalformedTemplateNameException; import freemarker.template.Template; import freemarker.template.TemplateExc...
package no.sonat.battleships; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import no.sonat.battleships.models.*; import org.java_websocket.client.WebSocketClient; import org.java_websocket.handshake.ServerH...