answer
stringlengths
17
10.2M
package com.sibisoft.faizaniftikhartdd; public class Franc extends Money { public Franc() { } public Franc(int amount) { this.amount= amount; } Franc times(int multiplier) { return new Franc(amount * multiplier); } public boolean equals(Object object) { ...
package com.tilioteo.hypothesis.ui; import java.util.Collection; import javax.servlet.annotation.WebServlet; import net.engio.mbassy.listener.Handler; import org.apache.log4j.Logger; import org.vaadin.jouni.animator.AnimatorProxy; import org.vaadin.jouni.animator.AnimatorProxy.AnimationEvent; import org.vaadin.jouni.an...
package algorithms.imageProcessing.matching; import algorithms.QuickSort; import algorithms.compGeometry.FurthestPair; import algorithms.imageProcessing.ColorHistogram; import algorithms.imageProcessing.FixedSizeSortedVector; import algorithms.imageProcessing.Image; import algorithms.imageProcessing.ImageIOHelper; impo...
package com.test.thalitest; import org.junit.runner.RunWith; import org.junit.runners.Suite; import io.jxcore.node.ConnectionHelperTest; import io.jxcore.node.ConnectionModelTest; import io.jxcore.node.ConnectivityMonitorTest; import io.jxcore.node.IncomingSocketThreadTest; import io.jxcore.node.LifeCycleMonitorTest; i...
package com.dwarfholm.activitystats.braizhauler; import java.util.HashMap; import org.bukkit.entity.Player; public class ASData { private HashMap <String, ASPlayer> playerlist; private ASDatabase database; private ActivityStats plugin; public ASData(ActivityStats plugin) { this.plugin = plugi...
package de.javawi.jstun.test.demo; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.Inet4Address; import java.net.InetAddress; import java.net.SocketException; import java.net.UnknownHostException; import java.util.Vector; import java.util.logging.FileHandler; ...
package de.kisi.android; import java.util.List; import org.json.JSONArray; import com.manavo.rest.RestCallback; import de.kisi.android.model.Gate; import de.kisi.android.model.Location; import android.os.Bundle; import android.support.v4.app.Fragment; import android.util.Log; import android.view.LayoutInflater; import ...
package com.gotech.tv.launcher.service; import com.gotech.tv.launcher.util.LogTool; import com.gotech.tv.launcher.util.NetworkUtil; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; public class NetStateTracker implements Runnable { private static final String TA...
package com.littlepanpc.downloader.db; import com.littlepanpc.downloader.util.LogUtils; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; public class DownloadDBHelper extends SQLiteOpenHelper { private static final String TAG = DownloadD...
package com.newrelic.plugins.mysql.instance; import java.sql.Connection; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.Map; import java.util.Set; import java.util.logging.Logger; import com.newrelic.metrics.publish.Agent; import com.newrelic.met...
package ess.jels; import java.io.IOException; import xal.model.IComponent; import xal.model.IElement; import xal.model.Lattice; import xal.model.ModelException; import xal.model.Sector; import xal.model.alg.EnvelopeTracker; import xal.model.alg.Tracker; import xal.model.elem.ElementSeq; import xal.model.probe.EnvelopeP...
package com.redhat.ceylon.model.typechecker.model; import static com.redhat.ceylon.model.typechecker.model.ModelUtil.NO_TYPE_ARGS; import static com.redhat.ceylon.model.typechecker.model.ModelUtil.addToIntersection; import static com.redhat.ceylon.model.typechecker.model.ModelUtil.addToUnion; import static com.redhat.c...
package com.solertium.util.gwt.charts.client; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; public class ChartData { private ArrayList<ChartDataStruct> data; private String defaultScaling; public ChartData() { data = new ArrayList<ChartDataStruct>(); } p...
package dr.app.beauti.generator; import dr.app.beauti.components.ComponentFactory; import dr.app.beauti.components.ancestralstates.AncestralStatesComponentOptions; import dr.app.beauti.options.*; import dr.app.beauti.types.TreePriorType; import dr.app.beauti.util.XMLWriter; import dr.evolution.datatype.DataType; import...
package dr.inference.markovchain; import dr.evomodel.operators.AbstractImportanceDistributionOperator; import dr.evomodel.operators.SimpleMetropolizedGibbsOperator; import dr.inference.model.Likelihood; import dr.inference.model.Model; import dr.inference.model.CompoundLikelihood; import dr.inference.operators.*; impor...
package dr.inference.operators; import dr.inference.model.Bounds; import dr.inference.model.Parameter; import dr.math.MathUtils; import dr.xml.*; /** * A generic scale operator for use with a multi-dimensional parameters. * Either scale all dimentions at once or scale one dimention at a time. * An optional bit vecto...
package dr.inferencexml.loggers; import dr.app.beast.BeastVersion; import dr.inference.loggers.*; import dr.math.MathUtils; import dr.util.FileHelpers; import dr.util.Identifiable; import dr.util.Property; import dr.xml.*; import java.io.File; import java.io.PrintWriter; import java.util.Date; /** * @author Alexei Dru...
package org.wyona.yanel.servlet; import java.io.InputStream; import java.io.IOException; import java.io.OutputStream; import java.io.PrintWriter; import java.io.Writer; import java.net.URL; import java.util.Enumeration; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.http...
package edu.incense.android.sensor; import java.util.List; import java.util.concurrent.ScheduledThreadPoolExecutor; import java.util.concurrent.TimeUnit; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.Inte...
package edu.rutgers.css.Rutgers; import java.util.ArrayList; import org.jdeferred.DoneCallback; import org.jdeferred.FailCallback; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.app.Activity; import android.app.Dialog; import android.content.Intent; import android.c...
package edu.ucsc.dbtune.core; import edu.ucsc.dbtune.spi.Environment; import org.hamcrest.CoreMatchers; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Condition; import org.junit.If; import org.junit.Ignore; import org.junit.Test; import java.io.File; import java.util.Properties; import sta...
package org.wyona.yanel.servlet; import java.io.IOException; import java.io.PrintWriter; import java.net.URL; import java.util.Enumeration; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet...
package edu.wustl.xipHost.gui; import javax.swing.*; import edu.wustl.xipHost.application.Application; import edu.wustl.xipHost.application.ApplicationManagerFactory; import edu.wustl.xipHost.avt2ext.AVTPanel; import edu.wustl.xipHost.caGrid.GridPanel; import edu.wustl.xipHost.dicom.DicomPanel; import edu.wustl.xipHost...
package de.haw.rnp01.newsticker; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class GeneralPurposeListener implements ActionListener { private Controller controller; public GeneralPurposeListener(Controller controller) { this.controller = controller; } @Overrid...
package eu.visualize.ini.convnet; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import com.jogamp.opengl.GL2; import com.jogamp.opengl.GLAutoDrawable; import com.jogamp.opengl.util.awt.TextRenderer; import java.awt.Font; import java.util.Arrays; import net.sf.jaer.Description; import ...
package de.mrapp.android.adapter; import java.util.Collection; import java.util.Iterator; import java.util.ListIterator; import android.widget.ExpandableListView; import de.mrapp.android.adapter.expandablelist.ExpandableListAdapterListener; import de.mrapp.android.adapter.expandablelist.ExpansionListener; /** * Define...
package foam.nanos.auth; import foam.core.FObject; import foam.core.X; import foam.dao.DAO; import foam.dao.ProxyDAO; import foam.mlang.MLang; import foam.mlang.sink.Count; import java.security.NoSuchAlgorithmException; //TODO: Throw exception for print statements when they are ready public class AuthenticatedUserDAO ...
package fr.tpt.s3.ls_mxc.avail; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.util.Iterator; import java.util.List; import fr.tpt.s3.ls_mxc.alloc.LS; ...
package dr.inference.model; import dr.evolution.tree.NodeRef; import dr.evolution.tree.Tree; import dr.evomodel.continuous.MultivariateDiffusionModel; import dr.evomodel.tree.TreeModel; import dr.evomodel.treedatalikelihood.TreeDataLikelihood; import dr.evomodel.treedatalikelihood.continuous.*; import dr.inference.mode...
package tlc2.value; import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.BenchmarkMode; import org.openjdk.jmh.annotations.Measurement; import org.openjdk.jmh.annotations.Mode; import org.openjdk.jmh.annotations.Scope; import org.openjdk.jmh.annotations.State; import org.openjdk.jmh.annotati...
package com.rho.sync; import com.rho.RhoClassFactory; import com.rho.RhoEmptyLogger; import com.rho.RhoEmptyProfiler; import com.rho.RhoLogger; import com.rho.RhoProfiler; import com.rho.RhodesApp; import com.rho.Tokenizer; import com.rho.net.*; import com.rho.db.*; import java.util.Enumeration; import java.util.Vector...
package condor.gahp; public class VersionHandler implements CommandHandler{ private GahpInterface gahp = null; public void setGahp (GahpInterface g) { this.gahp = g; } public CommandHandlerResponse handleCommand (String[] command) { return new CommandHandlerResponse ( ...
package edu.brandeis.cs.steele.wn; import java.io.*; import java.rmi.Remote; import java.rmi.RemoteException; /** <code>FileManagerInterface</code> defines the interface between the <code>FileBackedDictionary</code> and the file system. * <code>FileBackedDictionary</code> invokes methods from this interface to retriev...
package ibis.io; import java.io.ObjectInput; import java.io.ObjectStreamClass; import java.io.IOException; import java.io.NotActiveException; import java.io.Serializable; import java.io.Externalizable; import ibis.ipl.IbisIOException; public final class IbisSerializationInputStream extends SerializationInputStream impl...
package edu.cmu.cs.glacier; import java.util.HashMap; import java.util.Map; import java.util.Set; import javax.lang.model.element.AnnotationMirror; import javax.lang.model.element.Element; import javax.lang.model.element.ElementKind; import javax.lang.model.element.TypeParameterElement; import javax.lang.model.util.Typ...
package edu.mit.streamjit.test.sanity; import com.google.common.base.Supplier; import com.google.common.collect.ImmutableList; import com.jeffreybosboom.serviceproviderprocessor.ServiceProvider; import edu.mit.streamjit.api.Identity; import edu.mit.streamjit.api.Input; import edu.mit.streamjit.api.Joiner; import edu.mi...
package ee.ut.math.tvt.salessystem.ui.tabs; import ee.ut.math.tvt.salessystem.domain.controller.SalesDomainController; import ee.ut.math.tvt.salessystem.domain.data.SoldItem; import ee.ut.math.tvt.salessystem.domain.exception.VerificationFailedException; import ee.ut.math.tvt.salessystem.ui.model.SalesSystemModel; impo...
package gov.nih.nci.calab.service.util; public class CananoConstants { public static final String PARTICLE_PROPERTY = "particle.properties"; public static final String PHYSICAL_CHARACTERIZATION = "Physical"; public static final String COMPOSITION_CHARACTERIZATION = "Composition"; public static final Str...
// BUI - a user interface library for the JME 3D engine // 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 ...
package net.sf.jabref.gui; import java.io.File; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.logging.Logger; import javax.swing.JCheckBox; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JP...
//This library is free software; you can redistribute it and/or //modify it under the terms of the GNU Lesser General Public //This library is distributed in the hope that it will be useful, //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //You should have received a copy of the GNU Lesser General Publi...
package org.apache.log4j.chainsaw; import java.awt.BorderLayout; import java.awt.Component; import java.awt.Container; import java.awt.Dimension; import java.awt.Event; import java.awt.Frame; import java.awt.Point; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import ...
package org.jsimpledb.annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.jsimpledb.core.DeleteAction; /** * Java annotation for creating simple fi...
package org.jsimpledb.util; import com.google.common.base.Function; import java.io.File; import java.lang.reflect.Method; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.URL; import java.net.URLClassLoader; import java.net.UnknownHostException; import java.nio.charset.Charset; import jav...
package org.ligi.axt.helpers; import java.io.File; import java.io.FileInputStream; import java.io.FileWriter; import java.io.IOException; import java.nio.MappedByteBuffer; import java.nio.channels.FileChannel; import java.nio.charset.Charset; public class FileHelper { private final File file; public FileHelper(...
package org.xins.server; import org.apache.log4j.Logger; import org.xins.util.MandatoryArgumentChecker; import org.xins.util.text.FastStringBuffer; /** * Base class for function implementation classes. * * @version $Revision$ $Date$ * @author Ernst de Haan (<a href="mailto:znerd@FreeBSD.org">znerd@FreeBSD.org</a>) ...
package org.xins.server; import org.xins.util.MandatoryArgumentChecker; /** * Base class for function implementation classes. * * @version $Revision$ $Date$ * @author Ernst de Haan (<a href="mailto:znerd@FreeBSD.org">znerd@FreeBSD.org</a>) */ public abstract class Function extends Object { // Class fields //...
// $Id: BackgroundTiler.java,v 1.2 2002/05/07 03:23:46 mdb Exp $ package com.threerings.media.util; import java.awt.Graphics; import java.awt.Shape; import java.awt.image.BufferedImage; import com.threerings.media.Log; /** * Used to tile a background image into regions of various sizes. The * source image is divided ...
package org.apache.fop.fo.flow; // FOP import org.apache.fop.datatypes.ColorType; import org.apache.fop.fo.FOTreeVisitor; import org.apache.fop.fo.FONode; import org.apache.fop.fo.FObj; import org.apache.fop.fo.FOInputHandler; import org.apache.fop.fo.properties.CommonAccessibility; import org.apache.fop.fo.properties....
package org.jdesktop.swingx.image; import java.awt.image.BufferedImage; import java.awt.Color; import org.jdesktop.swingx.graphics.GraphicsUtilities; /** * <p>A color tint filter can be used to mix a solid color to an image. The * result is an image tinted by the specified color. The force of the effect * can be con...
package org.relique.jdbc.csv; import java.io.InputStream; import java.io.Reader; import java.math.BigDecimal; import java.net.URL; import java.sql.Array; import java.sql.Blob; import java.sql.Clob; import java.sql.Date; import java.sql.DriverManager; import java.sql.NClob; import java.sql.ParameterMetaData; import java...
package io.spine.core; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Optional; import com.google.common.base.Throwables; import com.google.protobuf.Any; import com.google.protobuf.Message; import io.spine.Identifier; import io.spine.annotation.Internal; import io.spine.base.Throw...
package VASSAL.preferences; import java.awt.Dimension; import java.awt.Frame; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.ComponentAdapter; import java.awt.event.ComponentEvent; import java.awt.event.WindowAdapter; import java.awt.event.WindowE...
package main.swapship.screens; import main.swapship.GameInfo.Level; import main.swapship.GameInfo.ShipType; import main.swapship.SwapShipGame; import main.swapship.common.Constants; import com.badlogic.gdx.scenes.scene2d.Actor; import com.badlogic.gdx.scenes.scene2d.ui.ButtonGroup; import com.badlogic.gdx.scenes.scene2...
package ly.count.android.api; import android.app.Activity; import android.os.Bundle; public class CountlyActivity extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentVie...
package fi.hu.cs.titokone; /** This data class contains all the register information. The registers are accessed via index numbers which are defined in the TTK91CPU interface. */ public class Registers { /** This field contains the register values. 0..4 are CU registers, 5..12 are general-purpose regist...
package BlueTurtle.parsers; import java.io.File; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.N...
package asa.controller; import asa.bean.Appointment; import asa.service.AppointmentService; import org.springframework.web.bind.annotation.*; import org.springframework.http.MediaType; import org.springframework.beans.factory.annotation.Autowired; import java.util.*; @RestController @RequestMapping("/appointment") publ...
package Application; import java.sql.Connection; import java.sql.ResultSet; import java.sql.Statement; import org.springframework.stereotype.Controller; //import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annota...
package au.com.southsky.jfreesane; import com.google.common.base.Strings; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import com.google.common.collect.Sets; import java.io.IOException; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.util...
import java.net.Socket; import java.net.InetSocketAddress; import java.net.ServerSocket; import java.net.InetAddress; import java.rmi.Naming; import java.rmi.RemoteException; import java.rmi.registry.LocateRegistry; import java.rmi.registry.Registry; import java.rmi.server.UnicastRemoteObject; import java.rmi.server.RM...
package be.isach.samaritan.stream; import com.google.common.util.concurrent.Futures; import com.mb3364.twitch.api.Twitch; import com.mb3364.twitch.api.handlers.StreamResponseHandler; import com.mb3364.twitch.api.models.Channel; import com.mb3364.twitch.api.models.Stream; import net.dv8tion.jda.JDA; import net.dv8tion.j...
package application; import com.sun.org.apache.xpath.internal.operations.Bool; import javafx.application.Platform; import javafx.concurrent.Task; import javafx.fxml.FXML; import javafx.fxml.Initializable; import javafx.scene.control.*; import javafx.scene.image.Image; import javafx.scene.image.ImageView; import javafx....
package cn.gyyx.gy4j.cache.redis; import org.apache.log4j.Logger; /** * @Author : east.Fu * @Description : * @Date : Created in 2017/10/5 21:54 */ public class RedisHelper { private static final Logger LOG = Logger.getLogger(RedisHelper.class); public boolean clear(){ return null; } }
package cn.com.lemon.framework; import java.util.List; import cn.com.lemon.framework.model.BaseEntity; /** * The <code>Dao</code> interface is the basic data persistence api. * <p> * Support the third utilities(e.g.<code>Mybatis</code>) implement this * interface * * @see List * @author shellpo shih * @version ...
package co.mewf.humpty.servlets; import co.mewf.humpty.Pipeline; import co.mewf.humpty.config.HumptyBootstrap; import java.io.IOException; import java.io.PrintWriter; import java.io.Reader; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletExce...
package com.amee.domain.sheet; import com.amee.base.utils.UidGen; import com.amee.base.utils.XMLUtils; import com.amee.domain.ValueType; import org.json.JSONException; import org.json.JSONObject; import org.w3c.dom.Document; import org.w3c.dom.Element; import java.io.Serializable; import java.util.Date; /** * Construc...
package com.amee.platform.science; import org.apache.commons.collections.CollectionUtils; import org.apache.commons.collections.Transformer; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.joda.time.DateTime; import org.json.JSONArray; import org.json.JSONException; impor...
package com.github.underscore; public class Trie { public static class TrieNode { // Initialize your data structure here. TrieNode[] children; boolean isWord; public TrieNode() { children = new TrieNode[1071]; } } private final TrieNode root; private b...
package com.google.sps.data; import com.google.appengine.api.datastore.Entity; import com.google.appengine.api.datastore.Key; import com.google.appengine.api.datastore.KeyFactory; import com.google.appengine.api.datastore.DatastoreService; import com.google.appengine.api.datastore.DatastoreServiceFactory; public final ...
package com.commafeed.backend.dao; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.Transaction; import org.hibernate.context.internal.ManagedSessionContext; public abstract class UnitOfWork<T> { private SessionFactory sessionFactory; public UnitOfWork(SessionFactory sessi...
package com.heroku.sdk; import static java.lang.String.format; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.Reader; import java.io.StringReader; import java.math.BigInte...
package com.conveyal.r5.transit; import com.conveyal.gtfs.GTFSFeed; import com.conveyal.gtfs.model.*; import com.conveyal.r5.api.util.TransitModes; import com.google.common.base.Strings; import com.google.common.collect.HashMultimap; import com.google.common.collect.Multimap; import gnu.trove.list.TIntList; import gnu....
/* Created in support of Team 2465 (Kauaibots). Go Thunderchicken! */ /* Open Source Software - may be modified and shared by FRC teams. Any */ /* in the root directory of the project. */ package com.kauailabs.nav6.frc; import java.util.Arrays; import com.kauailabs...
package com.cotescu.radu.commons; import java.io.File; import java.io.FileInputStream; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.util.zip.GZIPInputStream; /** * Class providing static methods for extracting GZIP compressed text files. * @author Radu Cotescu ...
package org.nick.wwwjdic.hkr; import java.util.Arrays; import java.util.List; import org.nick.wwwjdic.Analytics; import org.nick.wwwjdic.Constants; import org.nick.wwwjdic.R; import org.nick.wwwjdic.WebServiceBackedActivity; import org.nick.wwwjdic.ocr.WeOcrClient; import android.content.Intent; import android.content....
package com.facebook.litho; import javax.annotation.Nullable; import java.util.Arrays; import java.util.LinkedList; import java.util.List; import android.content.res.Resources; import android.content.res.TypedArray; import android.graphics.Color; import android.graphics.drawable.Drawable; import android.graphics.Rect; ...
package jlibs.xml.sax.binding; import jlibs.xml.sax.binding.impl.Registry; import jlibs.xml.sax.binding.impl.Relation; import jlibs.xml.sax.binding.impl.processor.BindingAnnotationProcessor; import javax.xml.namespace.QName; /** * @author Santhosh Kumar T */ @SuppressWarnings({"unchecked"}) public class BindingRegist...
package com.timepath.hex; import com.timepath.curses.Multiplexer; import com.timepath.curses.Terminal; import com.timepath.io.BitBuffer; import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.beans.*; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import ja...
package com.xpn.xwiki.web; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import javax.servlet.http.HttpServletResponse; import org.apache.commons....
package com.github.semres.gui; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.SerializationFeature; import com.github.semres.*; import com.github.semres.babelnet.BabelNetManager; import com.github.semres.babelnet.Babel...
package elucent.roots; import java.util.Random; import net.minecraft.block.Block; import net.minecraft.block.BlockCrops; import net.minecraft.block.BlockNetherWart; import net.minecraft.client.renderer.Tessellator; import net.minecraft.entity.item.EntityItem; import net.minecraft.init.Blocks; import net.minecraft.item....
package filter.expression; import java.util.ArrayList; import java.util.List; import java.util.function.Predicate; import backend.interfaces.IModel; import backend.resource.TurboIssue; import filter.MetaQualifierInfo; import filter.QualifierApplicationException; public class Negation implements FilterExpression { p...
package com.jcabi.aspects.aj; import com.jcabi.log.Logger; import java.lang.annotation.Annotation; import java.lang.reflect.Method; import java.util.Arrays; import java.util.Collection; import java.util.HashSet; import java.util.Set; import javax.validation.ConstraintViolation; import javax.validation.ConstraintViolati...
package gl8080.lifegame.logic; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Objects; public class Cell { /** * * @return */ public static Cell dead() { return new Cell(false); } /** * * @return */ public stati...
package io.mycat.buffer; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.concurrent.ConcurrentLinkedQueue; import org.apache.log4j.Logger; /** * @author wuzh */ public final class BufferPool { // this value not changed ,isLocalCacheThread use it public static final String LOCAL_BUF_TH...
package com.laytonsmith.core; import com.laytonsmith.PureUtilities.Vector3D; import com.laytonsmith.abstraction.MCBannerMeta; import com.laytonsmith.abstraction.MCBlockStateMeta; import com.laytonsmith.abstraction.MCBookMeta; import com.laytonsmith.abstraction.MCBrewerInventory; import com.laytonsmith.abstraction.MCCol...
package kalang.compiler; import kalang.MethodNotFoundException; import kalang.FieldNotFoundException; import kalang.AmbiguousMethodException; import kalang.AstNotFoundException; import javax.annotation.Nonnull; import kalang.ast.ClassNode; import kalang.ast.ElementExpr; import kalang.ast.AssignExpr; import kalang.ast.S...
package com.mollie.api.resource; import java.net.URISyntaxException; import org.apache.http.client.utils.URIBuilder; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import java.lang.reflect.ParameterizedType; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.util.Li...
package kembe.sim.runner; import fj.*; import fj.control.parallel.Actor; import fj.control.parallel.Strategy; import fj.function.Effect1; import kembe.sim.Timed; import kembe.util.Actors; import kembe.util.Order; import org.joda.time.DateTime; import java.util.Timer; import java.util.TimerTask; import java.util.concurr...
package com.ociweb.iot.grove.oled; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.ociweb.iot.maker.FogCommandChannel; import com.ociweb.iot.maker.image.FogBitmap; import com.ociweb.iot.maker.image.FogBitmapLayout; import com.ociweb.iot.maker.image.FogColorSpace; import com.ociweb.iot.maker.image.Fo...
package mooklabs.laputamod; import java.util.Iterator; import mooklabs.laputamod.blocks.VoluciteBlock; import mooklabs.laputamod.blocks.VoluciteIngot; import mooklabs.laputamod.blocks.VoluciteOre; import mooklabs.laputamod.items.NecklaceString; import mooklabs.laputamod.items.VoluciteNecklace; import mooklabs.laputamod...
package com.opentable.logging; import java.io.IOException; import java.util.Map.Entry; import java.util.concurrent.atomic.AtomicLong; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.SerializationFeature; import com.fa...
package com.pump.swing.io; import java.awt.Component; import java.awt.Dimension; import java.awt.Point; import java.awt.Rectangle; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.awt...
package nuclibook.models; import com.j256.ormlite.field.DatabaseField; import com.j256.ormlite.table.DatabaseTable; import nuclibook.entity_utils.ActionLogger; import nuclibook.server.Renderable; import org.joda.time.DateTime; import java.util.HashMap; /** * Model to represent an entry in the action log. */ @Database...
package com.suse.salt.netapi.calls; import static com.suse.salt.netapi.utils.ClientUtils.parameterizedType; import com.suse.salt.netapi.AuthModule; import com.suse.salt.netapi.calls.runner.Jobs; import com.suse.salt.netapi.client.SaltClient; import com.suse.salt.netapi.datatypes.Batch; import com.suse.salt.netapi.datat...
package com.thebuerkle.mcclient.model; import com.google.common.base.Objects; /** * A 16x16 region of the map. Consists of 16 chunks stacked vertically. */ public class Region { private final Chunk[] _chunks = new Chunk[16]; private final int _x; private final int _z; public Region(IntVec3 position) {...
package com.treetank.access; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import com.treetank.api.IAxis; import com.treetank.api.IWriteTransaction; import com.treetank.axis.DescendantAxis; import com.treetank.exception.TreetankExcepti...
/* P0006 * * Word Ladder * Given two words (start and end), and a dictionary, find the length of * shortest transformation sequence from start to end, such that * * 1) Olny one letter can be changed at a time. * 2) Each intermediate word must exist in the dictionary. * * For example, * * Given: * start = "h...
package org.basex.query.func; import static org.basex.query.func.Function.*; import static org.basex.query.util.Err.*; import static org.basex.util.Token.*; import java.io.*; import org.basex.io.*; import org.basex.io.in.*; import org.basex.io.out.*; import org.basex.io.serial.*; import org.basex.query.*; import org.ba...