answer
stringlengths
17
10.2M
package io.luna.game.model.item; import io.luna.game.model.def.ItemDefinition; import static com.google.common.base.Preconditions.checkArgument; public final class Item { /** * The identifier for this {@code Item}. */ private final int id; /** * The amount of this {@code Item}. */ pr...
package io.scif.formats; import io.scif.AbstractFormat; import io.scif.AbstractWriter; import io.scif.DefaultMetadata; import io.scif.Format; import io.scif.FormatException; import io.scif.Metadata; import io.scif.Plane; import io.scif.Reader; import io.scif.SCIFIO; import io.scif.config.SCIFIOConfig; import io.scif.fo...
package legends.web; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; import org.apache.velocity.Template; import org.apache.velocity.VelocityContext; import legends.helper.Templates; import legends.model.World; import legends.web.basic.Controller; import legends.web.basic.RequestM...
package loci.deepzoomplugin; import ij.IJ; import ij.ImageJ; import ij.ImagePlus; import ij.WindowManager; import ij.gui.GenericDialog; import ij.plugin.PlugIn; import ij.process.ImageProcessor; import java.util.prefs.Preferences; /** * * @author Aivar Grislis */ public class DeepZoom implements PlugIn { private...
package mezz.jei; import javax.annotation.Nullable; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; import com.abahgat.suffixtree.GeneralizedSuffixTree; import com.google.common.collect.ImmutableList; import ...
package mtr.render; import mtr.block.BlockRailwaySign; import mtr.block.BlockStationNameBase; import mtr.block.IBlock; import mtr.config.CustomResources; import mtr.data.*; import mtr.gui.ClientCache; import mtr.gui.ClientData; import mtr.gui.IDrawing; import mtr.gui.RenderingInstruction; import net.minecraft.block.Blo...
package net.bootsfaces.demo; /* * A Bean Used for Demo purposes */ import java.io.Serializable; import javax.faces.bean.ManagedBean; import javax.faces.bean.ViewScoped; /** * * @author TheCoder4eu */ @ManagedBean @ViewScoped public class TestBean implements Serializable { private static final long serialVersio...
package dr.evomodel.treelikelihood; import dr.evolution.alignment.*; import dr.evolution.datatype.DataType; import dr.evolution.tree.NodeRef; import dr.evolution.tree.Tree; import dr.evolution.util.TaxonList; import dr.evomodel.branchratemodel.BranchRateModel; import dr.evomodel.branchratemodel.DefaultBranchRateModel; ...
package net.sf.jabref.logic.util; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import java.net.URI; import java.net.URISyntaxException; import java.util.Objects; import java.util.Optional; import java.util.regex.Matcher; import java.util.regex.Pattern; public class DOI { priv...
package dr.inferencexml.distribution; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.Reader; import jebl.math.Binomial; import dr.evolution.coalescent.Coalescent; import dr.evolution.io.Importer.ImportException; import dr.evolution.io.TreeTrace; import dr.evomodel.t...
package nl.mpi.kinnate.svg; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; public class GraphData { protected GraphDataNode[] graphDataNodeArray = new GraphDataNode[]{}; public int gridWidth; public int gridHeight; // public void setEgoNodes(String[] treeNodesArray) { // ...
package com.alexvasilkov.events; import android.content.Context; import android.support.annotation.NonNull; import com.alexvasilkov.events.cache.CacheProvider; import com.alexvasilkov.events.cache.MemoryCache; import com.alexvasilkov.events.internal.Dispatcher; import com.alexvasilkov.events.internal.EventsParams; impo...
package edu.afs.commands; import edu.afs.subsystems.drivesubsystem.*; import edu.afs.subsystems.autoranger.*; import edu.afs.commands.AutoDriveToShotRangeCommand; /** * * @author User */ public class DriveWithJoystickCommand extends CommandBase { private static double RANGE_TOLERANCE = 12.0; // In inches. R...
package org.avaje.resteasy; import com.google.inject.Binding; import com.google.inject.Injector; import com.google.inject.Key; import com.google.inject.spi.DefaultBindingScopingVisitor; import org.avaje.resteasy.websocket.BasicWebSocketConfigurator; import org.avaje.resteasy.websocket.BasicWebSocketEndpointConfig; impo...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package controller; import entity.Planning; import java.sql.Timestamp; import junit.framework.Assert; import org.junit.Before; import org.junit.Test; /** * * @author Roy */ public class PlanningControllerTest { pu...
package com.mindera.skeletoid.logs; import com.mindera.skeletoid.logs.appenders.ILogAppender; import android.content.Context; import java.util.List; import java.util.Set; /** * LOG static class. It is used to abstract the LOG and have multiple possible implementations * It is used also to serve as static references f...
package edu.utdallas.robotchess.pathplanning; import java.util.ArrayList; import edu.utdallas.robotchess.robotcommunication.commands.Command; import edu.utdallas.robotchess.robotcommunication.commands.MoveToSquareCommand; public class Path { private int robotID; private int origin; private ArrayList<Integer...
package edu.washington.escience.myria; import java.io.Serializable; import java.util.Objects; import java.util.regex.Pattern; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.google.common.base.Joiner; import com.google.common.base.Preconditions; /** ...
package org.jtrfp.trcl; import org.jtrfp.trcl.core.TR; import org.jtrfp.trcl.gpu.Model; import org.jtrfp.trcl.mem.MemoryWindow; public abstract class PrimitiveList<PRIMITIVE_TYPE> { protected static final double coordDownScaler = 512; protected static final double uvUpScaler = 4096; private final PRIMITIVE_...
package org.jtrfp.trcl.obj; import org.apache.commons.math3.geometry.euclidean.threed.Vector3D; import org.jtrfp.trcl.Model; import org.jtrfp.trcl.beh.AdjustAltitudeToPlayerBehavior; import org.jtrfp.trcl.beh.AutoFiring; import org.jtrfp.trcl.beh.AutoLeveling; import org.jtrfp.trcl.beh.Bobbing; import org.jtrfp.trcl.be...
package org.kohsuke.github; import com.fasterxml.jackson.databind.JsonMappingException; import org.apache.commons.io.IOUtils; import org.apache.commons.lang3.StringUtils; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Interr...
package org.lightmare.jpa; import java.io.IOException; import java.net.URL; import java.util.Enumeration; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; import org.apache....
package org.lightmare.jpa; import java.io.IOException; import java.net.URL; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import org.apache.log4j.Logger; import org.hibernate.jpa.HibernatePersistenceProvider;...
package org.marat.advent.day03; import org.apache.commons.lang3.StringUtils; import org.marat.advent.common.Util; import java.util.ArrayList; import java.util.List; import java.util.regex.Pattern; import java.util.stream.Collectors; public class Day03 { public static void main(String[] args) { Pattern delim...
package org.myrobotlab.service; import java.util.Map; import java.util.TreeMap; import org.myrobotlab.framework.Service; import org.myrobotlab.framework.ServiceType; import org.myrobotlab.framework.repo.Repo; import org.myrobotlab.io.FileIO; import org.myrobotlab.logging.Level; import org.myrobotlab.logging.LoggerFacto...
package eu.fireblade.fireffa.ability; import java.util.ArrayList; import java.util.Random; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.Sound; import org.bukkit.enchantments.Enchantment; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import...
package org.opennars.io; import org.opennars.interfaces.pub.Reasoner; import org.opennars.main.NarParameters; import org.opennars.main.Parameters; import org.opennars.plugin.Plugin; import org.w3c.dom.Document; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import org.xml.sax.SAXException; import javax.xml.parse...
package org.voovan.tools; import java.io.File; import java.io.IOException; import java.io.StringReader; import java.util.HashMap; import java.util.Properties; import org.voovan.tools.log.Logger; public class TProperties { private static HashMap<File, Properties> propertiesCache = new HashMap<File, Properties>...
package scala_maven; import java.io.File; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.ArtifactUtils; import org.apache.maven.ar...
package edu.wustl.catissuecore.dao; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import edu.wustl.catissuecore.util.global.ApplicationProperties; import edu.wustl....
package seedu.tasklist.ui; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import com.google.common.eventbus.Subscribe; import javafx.beans.property.SimpleStringProperty; import javafx.beans.property.StringProperty; import javafx.beans.property.Strin...
package edu.wustl.catissuecore.domain; import java.io.Serializable; import java.util.Calendar; import java.util.Collection; import java.util.Date; import java.util.HashSet; import edu.wustl.catissuecore.actionForm.UserForm; import edu.wustl.catissuecore.util.global.Constants; import edu.wustl.common.actionForm.Abstract...
package team.unstudio.udpl.util; import java.io.File; import java.util.Locale; import org.bukkit.configuration.Configuration; import team.unstudio.udpl.config.ConfigurationHelper; public class I18n { public static final Locale LOCAL_LOCALE = Locale.getDefault(); public static final Locale DEFAULT_LOCALE = Local...
package fitnesse.wikitext.widgets; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.util.Calendar; import java.util.GregorianCalendar; import java.util.regex.Pattern; import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit.Test; public...
package org.micromanager.utils; import ij.ImagePlus; import ij.process.ByteProcessor; import ij.process.ColorProcessor; import ij.process.FloatProcessor; import ij.process.ImageProcessor; import ij.process.LUT; import ij.process.ShortProcessor; import java.awt.Color; import java.awt.Point; import mmcorej.CMMCore; impor...
package snake; import java.util.Random; import javafx.scene.canvas.GraphicsContext; import javafx.scene.input.KeyCode; import javafx.scene.input.KeyEvent; import javafx.scene.paint.Color; import snake.Snake.Direction; /** * Controls the entire functioning of the game including drawing graphical elements, * calculatin...
package sokoban.Elements; public class Box extends ElementMovable { String id="B"; /** * @author 160794 * Constructeur * */ public Box() { // TODO Auto-generated constructor stub } /* * (getter de id) * @160794 */ public String Show() { retu...
package mondrian.olap.fun; import mondrian.olap.*; import mondrian.util.Format; import java.util.*; /** * <code>BuiltinFunTable</code> contains a list of all built-in MDX functions. * * <p>Note: Boolean expressions return {@link Boolean#TRUE}, * {@link Boolean#FALSE} or null. null is returned if the expression can ...
package net.fortuna.ical4j.model; import java.text.ParseException; import java.util.Calendar; import junit.framework.TestCase; import junit.framework.TestSuite; import net.fortuna.ical4j.util.TimeZones; public class DateTest extends TestCase { private Date date; private java.util.Date date2; private String ...
package kernitus.plugin.OldCombatMechanics; import org.bukkit.Bukkit; import org.bukkit.World; import org.bukkit.entity.Player; import org.bukkit.scheduler.BukkitRunnable; import org.bukkit.scoreboard.Team; import java.util.Collection; import java.util.List; public class OCMTask extends BukkitRunnable { OCMMain plu...
package hu.pazsitz.pacuse.pages; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; public class GeneralWidgetImpl extends AbstractWidget { private WebElement container; public GeneralWidgetImpl(WebDriver webDriver, WebElement element) { super(web...
package ibis.impl.nameServer.tcp; import ibis.impl.nameServer.NSProps; import ibis.io.DummyInputStream; import ibis.io.DummyOutputStream; import ibis.ipl.ConnectionRefusedException; import ibis.ipl.ConnectionTimedOutException; import ibis.ipl.Ibis; import ibis.ipl.IbisConfigurationException; import ibis.ipl.IbisIdentif...
package io.github.lordjbs.ConCore.Console; import io.github.lordjbs.ConCore.ConCore; public class LogMore { static void Log(String log, int mode) { if(mode == 1) { System.out.println("MineCordBot > CodeName: Log -> "); }else if(mode == 2) { System.out.prin...
package it.unimi.dsi.sux4j.test; import it.unimi.dsi.Util; import it.unimi.dsi.fastutil.io.BinIO; import it.unimi.dsi.fastutil.io.FastByteArrayInputStream; import it.unimi.dsi.fastutil.io.FastByteArrayOutputStream; import it.unimi.dsi.fastutil.objects.Object2LongFunction; import it.unimi.dsi.io.FileLinesCollection; imp...
package org.lockss.kbart; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.io.PrintStream; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * This class replaces unknown publisher names in a tab-separated input * fi...
// Narya library - tools for developing networked games // This library is free software; you can redistribute it and/or modify it // (at your option) any later version. // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // You should ...
// Narya library - tools for developing networked games // This library is free software; you can redistribute it and/or modify it // (at your option) any later version. // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // You should ...
// $Id: Invoker.java,v 1.12 2003/10/08 04:10:29 mdb Exp $ package com.threerings.presents.util; import java.util.HashMap; import java.util.Iterator; import com.samskivert.util.Histogram; import com.samskivert.util.LoopingThread; import com.samskivert.util.Queue; import com.samskivert.util.StringUtil; import com.threeri...
package org.jaxen.util; public class SelfAxisIterator extends SingleObjectIterator { public SelfAxisIterator(Object node) { super(node); } }
package org.apache.commons.digester; import java.io.File; import java.io.FileReader; import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.io.Reader; import java.net.URL; import java.net.URLConnection; import java.util.ArrayList; import java.util.EmptyStackException; import jav...
package visualizer; import java.awt.Color; import java.awt.Paint; import org.apache.commons.collections15.Factory; import org.apache.commons.collections15.Transformer; import edu.uci.ics.jung.graph.util.Pair; public class Edge { private float weight; private Pair<Vertex> endpointsSave; public Edge() { ...
package org.orbeon.oxf.xforms; import org.dom4j.Element; import org.orbeon.oxf.common.OXFException; import org.orbeon.oxf.common.ValidationException; import org.orbeon.oxf.pipeline.api.PipelineContext; import org.orbeon.oxf.xforms.control.XFormsControl; import org.orbeon.oxf.xforms.control.XFormsControlFactory; import ...
package jsaf.provider.unix.io.driver; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Collection; import java.util.Date; import java.util.Iterator; import java.util.List; import java.util.StringTokenizer; import java.util.regex.Pattern; import org.slf4j.c...
package lama.tablegen.sqlite3; import java.sql.Connection; import java.sql.SQLException; import java.sql.Statement; import java.util.List; import lama.Expression; import lama.Main; import lama.Main.StateToReproduce; import lama.Randomly; import lama.schema.Schema.Column; import lama.schema.Schema.Table; import lama.sql...
package java.awt; import java.io.File; import java.lang.ref.WeakReference; import java.security.AccessController; import java.security.PrivilegedAction; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import org.videolan.Logger; public class BDFontMetrics extends F...
package io.mangoo.core; import java.io.InputStream; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.net.URISyntaxException; import java.net.URL; import java.time.LocalDateTime; import java.time.temporal.ChronoUnit; import java.util.ArrayList; import java.util.List; impor...
package magpie.data.materials.util; import java.util.*; import magpie.data.BaseEntry; import magpie.data.materials.CompositionDataset; import magpie.data.materials.CompositionEntry; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.math3.optim.PointValuePair; import org.apache.commons.math3.optim.li...
package battlecode.world; import static battlecode.common.GameConstants.BYTECODE_LIMIT_BASE; import static battlecode.common.GameConstants.NUMBER_OF_INDICATOR_STRINGS; import static battlecode.common.GameConstants.YIELD_BONUS; import static battlecode.common.GameActionExceptionType.*; import battlecode.common.*; import...
package ahuglajbclajep.linebot; import java.awt.image.BufferedImage; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.nio.charset.StandardCharsets; import java.security....
package backend.resource; import java.time.LocalDate; import java.util.Optional; import org.eclipse.egit.github.core.Milestone; import backend.resource.serialization.SerializableMilestone; import util.Utility; @SuppressWarnings("unused") public class TurboMilestone { private static final String STATE_CLOSED = "clos...
package com.Acrobot.ChestShop; import com.Acrobot.Breeze.Configuration.Configuration; import com.Acrobot.ChestShop.Commands.Give; import com.Acrobot.ChestShop.Commands.ItemInfo; import com.Acrobot.ChestShop.Commands.Toggle; import com.Acrobot.ChestShop.Commands.Version; import com.Acrobot.ChestShop.Configuration.Messag...
package com.contained.game.ui; import java.awt.Color; import java.text.DecimalFormat; import org.lwjgl.opengl.GL11; import codechicken.lib.packet.PacketCustom; import com.contained.game.network.ServerPacketHandler; import com.contained.game.user.PlayerTeamIndividual; import net.minecraft.client.gui.GuiButton; import ne...
package com.conveyal.gtfs; import com.github.benmanes.caffeine.cache.Caffeine; import com.github.benmanes.caffeine.cache.LoadingCache; import com.github.benmanes.caffeine.cache.RemovalCause; import org.locationtech.jts.geom.Envelope; import org.locationtech.jts.geom.Geometry; import org.locationtech.jts.index.strtree.S...
package com.fishercoder.solutions; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.PriorityQueue; import java.util.TreeMap; public class _1086 { public static class Solution1 { public int[][] highFive(int[][] items) { TreeMap<Integer, List<Intege...
package com.github.fjdbc.op; import java.sql.Connection; import java.sql.SQLException; import java.util.Collection; import java.util.logging.Logger; import com.github.fjdbc.FjdbcException; import com.github.fjdbc.util.FjdbcUtil; /** * Represents a sequence of statements that must be executed in a single transaction. ...
package com.jaamsim.events; import java.util.ArrayList; /** * Class EventManager - Sandwell Discrete Event Simulation * <p> * The EventManager is responsible for scheduling future events, controlling * conditional event evaluation, and advancing the simulation time. Events are * scheduled in based on: * <ul> * <...
package com.justjournal.core; import com.justjournal.db.SQLHelper; import org.apache.cayenne.CayenneRuntimeException; import org.apache.cayenne.ObjectContext; import org.apache.cayenne.access.DataContext; import org.apache.cayenne.query.SelectQuery; import org.apache.log4j.Logger; import java.sql.ResultSet; import java...
package com.mxgraph.online; import java.io.BufferedInputStream; import java.io.ByteArrayOutputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; ...
package com.pardot.rhombus; import com.datastax.driver.core.*; import com.datastax.driver.core.exceptions.AlreadyExistsException; import com.datastax.driver.core.utils.UUIDs; import com.fasterxml.jackson.core.JsonParseException; import com.fasterxml.jackson.databind.JsonMappingException; import com.google.common.collec...
package com.pardot.rhombus; import com.datastax.driver.core.*; import com.datastax.driver.core.exceptions.AlreadyExistsException; import com.datastax.driver.core.utils.UUIDs; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.pardot.rhombus.cobject.*; import com.pardot.rhombus.cob...
package com.sksamuel.jqm4gwt; import com.google.gwt.dom.client.Element; import com.google.gwt.user.client.ui.RootPanel; import com.google.gwt.user.client.ui.Widget; /** * @author Stephen K Samuel samspade79@gmail.com 9 Jul 2011 12:57:43 * * The {@link JQMContent} provides methods that facilitate interaction ...
package com.softartisans.timberwolf; import org.kohsuke.args4j.CmdLineException; import org.kohsuke.args4j.CmdLineParser; import org.kohsuke.args4j.Option; import org.apache.log4j.BasicConfigurator; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Driver class to grab emails and put them in HBase. */ fi...
package com.treelogic.proteus.model; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; public abstract class Row { protected int coilId; protected int varName; protected double value; protected byte type; protected double x; public Row...
package com.wizzardo.jrt; import com.wizzardo.tools.cache.Cache; import com.wizzardo.tools.collections.CollectionTools; import com.wizzardo.tools.io.FileTools; import com.wizzardo.tools.misc.Consumer; import com.wizzardo.tools.xml.Node; import com.wizzardo.tools.xml.XmlParser; import java.io.File; import java.util.Arra...
package com.xpn.xwiki.doc; import com.xpn.xwiki.XWiki; import com.xpn.xwiki.XWikiConstant; import com.xpn.xwiki.XWikiContext; import com.xpn.xwiki.XWikiException; import com.xpn.xwiki.content.parsers.LinkParser; import com.xpn.xwiki.content.parsers.DocumentParser; import com.xpn.xwiki.content.parsers.ParsingResultColle...
package com.xpn.xwiki.doc; import com.xpn.xwiki.XWiki; import com.xpn.xwiki.XWikiContext; import com.xpn.xwiki.XWikiException; import com.xpn.xwiki.XWikiConstant; import com.xpn.xwiki.validation.XWikiValidationInterface; import com.xpn.xwiki.validation.XWikiValidationStatus; import com.xpn.xwiki.api.DocumentSection; im...
package core.primitives; public class DoublePrimitive implements PrimitiveConstants { double d1 = 100; double d2 = BYTE; double d3 = SHORT; double d4 = INT; double d5 = LONG; double d6 = FLOAT; double d7 = DOUBLE; double d9 = CHAR; // COMPILE ERROR: incompatible types: boolean cannot...
package data.structure.tree; public class NodeBinTree<E extends Comparable<E>> { protected E element; protected NodeBinTree<E> father; protected NodeBinTree<E> leftChild; protected NodeBinTree<E> rightChild; protected NodeBinTree<E> demote; // Getters and Setters public E getElement() {...
package de.prob2.ui.menu; import java.io.File; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Set; import java.util.prefs.Preferences; import com.google.injec...
package de.tblsoft.solr.http; import com.google.common.base.Strings; import org.apache.commons.lang3.text.StrSubstitutor; import org.apache.http.Header; import org.apache.http.HttpResponse; import org.apache.http.client.methods.*; import org.apache.http.entity.StringEntity; import org.apache.http.impl.client.CloseableH...
package de.website.Bean; import java.io.File; import java.io.InputStream; import java.sql.*; import java.util.logging.Logger; import javax.faces.application.FacesMessage; import javax.faces.bean.ManagedBean; import javax.faces.bean.SessionScoped; import javax.faces.context.FacesContext; import javax.xml.transform.Resul...
package graphql.validation; import graphql.Internal; import graphql.language.Argument; import graphql.language.Directive; import graphql.language.Document; import graphql.language.Field; import graphql.language.FragmentDefinition; import graphql.language.FragmentSpread; import graphql.language.InlineFragment; import gr...
package hudson.plugins.scm.koji; import hudson.AbortException; import hudson.Extension; import hudson.FilePath; import hudson.Launcher; import hudson.model.Job; import hudson.model.Run; import hudson.model.TaskListener; import hudson.plugins.scm.koji.client.KojiBuildDownloader; import hudson.plugins.scm.koji.client.Koj...
package info.faceland.bolt; import info.faceland.hilt.HiltItemStack; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.block.BlockFace; import org.bukkit.block.Chest; import org.bukkit.block.DoubleChest; import org.bukkit.block.Hopper; import org.bukkit.entity.Player; import org.bukkit.event.Ev...
package info.faceland.mint; import com.tealcube.minecraft.bukkit.TextUtils; import com.tealcube.minecraft.bukkit.bullion.GoldDropEvent; import com.tealcube.minecraft.bukkit.facecore.ui.ActionBarMessage; import com.tealcube.minecraft.bukkit.facecore.utilities.MessageUtils; import com.tealcube.minecraft.bukkit.hilt.HiltI...
package kalang.compiler; import java.io.*; import java.nio.*; import java.net.*; import java.util.*; import java.util.logging.Level; import java.util.logging.Logger; import javax.annotation.Nonnull; import kalang.antlr.KalangLexer; import kalang.antlr.KalangParser; import kalang.ast.ClassNode; import kalang.util.AstBui...
package me.doubledutch.pikadb; import java.util.*; import org.json.*; public class ObjectSet{ private Map<String,Map<Integer,Variant>> columnValueMap=new HashMap<String,Map<Integer,Variant>>(); private Set<Integer> oidSet=new LinkedHashSet<Integer>(); private Set<LargeHash> oidHashSet=new LinkedHashSet<Larg...
package mil.dds.anet.database; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Optional; import javax.ws.rs.WebApplicationException; import javax.ws.rs.core.Response.Status; import org.joda.time.DateTime; import org.skife.j...
package net.malisis.core.util; import net.malisis.core.block.BoundingBoxType; import net.malisis.core.block.MalisisBlock; import net.malisis.core.util.chunkcollision.IChunkCollidable; import net.minecraft.block.Block; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.util.AxisAlignedBB; import net.minecraft...
package nl.wiegman.home.klimaat; import java.math.BigDecimal; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.ManyToOne; import javax.persisten...
package org.apache.maven.wrapper; /** * @author <a href="mailto:konstantin.sobolev@gmail.com">Konstantin Sobolev</a> */ public class Logger { private static final boolean VERBOSE = "true".equalsIgnoreCase(System.getenv(MavenWrapperMain.MVNW_VERBOSE)); public static void info(String msg) { if (VERBOSE) { ...
package org.concord.energy3d.model; import java.awt.geom.Path2D; import java.nio.FloatBuffer; import java.util.ArrayList; import java.util.List; import org.concord.energy3d.scene.Scene; import org.concord.energy3d.scene.Scene.TextureMode; import org.concord.energy3d.scene.SceneManager; import org.concord.energy3d.shape...
package org.dasein.cloud.platform; import java.util.HashMap; import java.util.Map; public class Alarm { private String name; private String description; /** * If function is set to true, expect the metric field to contain the alarm function or DSL. * If set to false, expect statistic, comparisonOperator, an...
package org.fxmisc.flowless; import java.util.Optional; import java.util.function.Function; import javafx.application.Platform; import javafx.beans.binding.Bindings; import javafx.beans.binding.DoubleBinding; import javafx.beans.property.ReadOnlyDoubleProperty; import javafx.collections.ObservableList; import javafx.ge...
package org.jpacman.framework.ui; import java.awt.BorderLayout; import java.util.Observable; import java.util.Observer; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JTextField; import org.jpacman.framework.controller.IController; import org.jpacman.framework.controller.RandomGhostMover; impo...
package org.lightmare.deploy.fs; import java.io.File; import java.io.FileFilter; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.nio.file.FileSystem; import java.nio.file.FileSystems; import java.nio.file.Path; import java.nio.file.StandardWatchEventKinds; import java...
package org.lightmare.deploy.fs; import java.io.File; import java.io.FileFilter; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.nio.file.FileSystem; import java.nio.file.FileSystems; import java.nio.file.Path; import java.nio.file.StandardWatchEventKinds; import java...
package org.nnsoft.shs; import static org.nnsoft.shs.lang.Preconditions.checkArgument; import static java.nio.channels.SelectionKey.OP_ACCEPT; import static java.nio.channels.ServerSocketChannel.open; import static java.nio.channels.spi.SelectorProvider.provider; import static java.util.concurrent.Executors.newFixedThr...
package org.sqlite.jdbc3; import java.sql.BatchUpdateException; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.SQLWarning; import java.util.Arrays; import org.sqlite.ExtendedCommand; import org.sqlite.ExtendedCommand.SQLExtension; import org.sqlite.SQLiteConnection;...
package org.testng.reporters; import org.testng.IReporter; import org.testng.IResultMap; import org.testng.ISuite; import org.testng.ISuiteResult; import org.testng.ITestContext; import org.testng.ITestResult; import org.testng.collections.ListMultiMap; import org.testng.collections.Maps; import org.testng.internal.Uti...