answer
stringlengths
17
10.2M
package cd4017be.indlog.tileentity; import net.minecraft.block.Block; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.network.Ne...
package clojurewerkz.cassaforte; import org.apache.cassandra.thrift.*; import org.apache.thrift.TException; import org.apache.thrift.transport.TFramedTransport; import org.apache.thrift.transport.TSocket; import org.apache.thrift.transport.TTransport; import org.apache.thrift.transport.TTransportException; import java....
// $Id: Colorization.java,v 1.9 2004/09/29 01:54:14 mdb Exp $ // 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...
// $Id: SoundManager.java,v 1.39 2002/12/09 04:42:54 shaper Exp $ package com.threerings.media; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.File; import java.io.FileInputStream; import java.io.FilenameFilter; import java.util.ArrayList; import java.util.Ha...
// Nenya 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 ...
package org.apache.log4j.chainsaw; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import javax.swing.JPopupMenu; /** * * Ensures that a specific popupMenu is displayed when the relevant * mouse events are trapped. * * @author Scott Deboy <sdeboy@apache.org> * @author Paul Smith <psmith@apac...
package org.jdesktop.swingx.decorator; import javax.swing.DefaultListSelectionModel; import javax.swing.ListSelectionModel; import javax.swing.event.ListSelectionEvent; import javax.swing.event.ListSelectionListener; /** * Responsible for keeping track of selection in model coordinates.<p> * * updates view selection...
package com.fsck.k9.activity; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.EnumMap; import java.util.Iterator; import java.util.List; import java.util.Map; import android.app.AlertDialog; import android.app.Dialog; import android.conten...
package org.jsimpledb.util; import java.util.Arrays; import javax.xml.namespace.QName; import javax.xml.stream.XMLStreamConstants; import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamReader; import javax.xml.stream.XMLStreamWriter; /** * Support superclass for classes that serialize and deseri...
package com.izforge.izpack.uninstaller; import java.io.BufferedReader; import java.io.File; import java.io.InputStream; import java.io.InputStreamReader; import java.io.ObjectInputStream; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.TreeSet...
package com.faveset.khttp; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.SelectionKey; import java.nio.channels.Selector; import java.nio.channels.SocketChannel; class NonBlockingConnection { /** * Called when the connection is closed by the peer. The callback should * ...
package ai.elimu.dao.jpa; import java.util.List; import javax.persistence.NoResultException; import ai.elimu.dao.ApplicationDao; import ai.elimu.model.admin.Application; import org.springframework.dao.DataAccessException; import ai.elimu.model.enums.Locale; import ai.elimu.model.enums.admin.ApplicationStatus; import ai...
package br.com.sistemaescolar.dao; import java.util.List; import javax.inject.Inject; import javax.persistence.EntityManager; import javax.persistence.Query; import br.com.sistemaescolar.modelo.Curso; /** * Classe de acesso aos mtodos de persistncia. * * @author Daniel Correia * @since 22-10-2015 * */ public clas...
package cn.momia.mapi.api.v1; import cn.momia.api.feed.Feed; import cn.momia.api.feed.PagedFeeds; import cn.momia.api.user.UserServiceApi; import cn.momia.mapi.common.config.Configuration; import cn.momia.mapi.common.img.ImageFile; import cn.momia.mapi.common.util.MetaUtil; import cn.momia.mapi.api.AbstractApi; import ...
package com.bitmechanic.barrister; import java.io.File; import java.io.PrintWriter; import java.io.FileWriter; import java.util.ArrayList; import java.util.List; import java.util.Map; /** * Code generator. Provides a command line interface for generating Java classes * based on an IDL JSON file. * * Usage: * * j...
package com.dak.duty.api.util; import lombok.Getter; @Getter public class JsonResponse { private final ResponseStatus response; private final String detail; public JsonResponse(final ResponseStatus r, final String d){ this.response = r; this.detail = d; } public static enum ResponseStatus { ...
package com.egf.db.services.impl; import com.egf.db.core.define.ColumnType; import com.egf.db.core.define.column.ColumnDefine; import com.egf.db.core.define.column.Comment; import com.egf.db.core.define.column.Default; import com.egf.db.core.define.column.Limit; import com.egf.db.core.define.column.NotNull; import com....
package com.enderio.core.common; import java.util.ArrayList; import javax.annotation.Nullable; import net.minecraft.block.Block; import net.minecraft.block.material.MapColor; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.entity.player.Enti...
package com.github.onsdigital.api; import java.io.IOException; import java.io.Reader; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.io.IOUtils; import com.github.davidcarboni.ResourceUtils; import com.github.davidcarboni.restolino.framework.Home; ...
package com.gmail.trentech.simplechat; import java.net.MalformedURLException; import java.net.URL; import java.util.HashMap; import org.slf4j.Logger; import org.spongepowered.api.Game; import org.spongepowered.api.Sponge; import org.spongepowered.api.event.Listener; import org.spongepowered.api.event.game.state.GameIni...
package com.hpe.caf.worker.core; import com.hpe.caf.api.Codec; import com.hpe.caf.api.CodecException; import com.hpe.caf.api.DecodeMethod; import com.hpe.caf.api.ServicePath; import com.hpe.caf.api.worker.InvalidTaskException; import com.hpe.caf.api.worker.QueueException; import com.hpe.caf.api.worker.TaskCallback; imp...
package com.kancolle.server.utils; import java.lang.reflect.Method; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.sql.ResultSet; import java.util.Arrays; import java.util.function.Function; import java.util.function.Predicate; import java.util.regex.Matcher; import java.util.reg...
package com.krux.stdlib.sample; import joptsimple.OptionParser; import joptsimple.OptionSet; import joptsimple.OptionSpec; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.krux.stdlib.KruxStdLib; /** * A sample program leverages the KruxStdLib for logging, cli, statsd and http * status functionalit...
package com.matt.forgehax.util; import static com.matt.forgehax.Helper.getLocalPlayer; import static com.matt.forgehax.Helper.getWorld; import static com.matt.forgehax.util.entity.LocalPlayerUtils.getServerViewAngles; import static com.matt.forgehax.util.entity.LocalPlayerUtils.isInReach; import com.google.common.colle...
package com.mireau.timeseries; import java.io.File; import java.io.FilenameFilter; import java.io.IOException; import java.util.Collection; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import java.util.regex.Matcher; import java.util.regex.Pattern; public class TimeSeriesDB ...
package com.nilhcem.fakesmtp.gui; import com.nilhcem.fakesmtp.core.Configuration; import com.nilhcem.fakesmtp.core.exception.UncaughtExceptionHandler; import com.nilhcem.fakesmtp.model.UIModel; import com.nilhcem.fakesmtp.server.SMTPServerHandler; import org.slf4j.LoggerFactory; import javax.swing.JFrame; import java.a...
package com.ninty.nativee.lang; import com.ninty.nativee.INativeMethod; import com.ninty.nativee.NaMethodManager; import com.ninty.runtime.NiFrame; import com.ninty.runtime.heap.NiClass; import com.ninty.runtime.heap.NiMethod; import com.ninty.runtime.heap.NiObject; import com.ninty.runtime.heap.NiString; public class ...
package org.jgroups.protocols.pbcast; import org.apache.commons.logging.Log; import org.jgroups.*; import org.jgroups.stack.Protocol; import org.jgroups.util.*; import org.jgroups.util.Queue; import java.io.*; import java.util.*; import java.util.List; import java.util.concurrent.Future; import java.util.concurrent.Tim...
package com.offbytwo.jenkins; import java.io.IOException; import java.net.URI; import java.net.URL; import java.net.URLEncoder; import java.util.List; import java.util.Map; import javax.xml.bind.JAXBException; import com.google.common.base.Function; import com.google.common.collect.Maps; import com.offbytwo.jenkins.cli...
package org.jgroups.util; import org.jgroups.Message; /** * A store for messages to be retransmitted or delivered. Used on sender and receiver side, as a replacement for * HashMap. RetransmitTable should use less memory than HashMap, as HashMap.Entry has 4 fields, plus arrays for storage. * <p/> * RetransmitTable m...
package com.sdl.bootstrap.form; import com.sdl.selenium.web.WebLocator; import com.sdl.selenium.web.form.ICombo; public class MultiSelect extends WebLocator implements ICombo { public MultiSelect() { setClassName("SelectPicker"); setBaseCls("btn dropdown-toggle"); setTag("button"); } ...
package com.shapesecurity.salvation; import com.shapesecurity.salvation.data.*; import com.shapesecurity.salvation.directiveValues.*; import com.shapesecurity.salvation.directives.*; import com.shapesecurity.salvation.tokens.*; import javax.annotation.Nonnull; import javax.annotation.Nullable; import java.util.*; impor...
package com.skraylabs.poker; import com.skraylabs.poker.model.Board; import com.skraylabs.poker.model.Card; import com.skraylabs.poker.model.CardUtils; import com.skraylabs.poker.model.GameState; import com.skraylabs.poker.model.Pocket; import com.skraylabs.poker.model.Rank; import java.util.ArrayList; import java.util...
package com.soasta.jenkins; import hudson.CopyOnWrite; import hudson.Extension; import hudson.ProxyConfiguration; import hudson.model.AbstractDescribableImpl; import hudson.model.Descriptor; import hudson.util.FormValidation; import hudson.util.Secret; import hudson.util.VersionNumber; import jenkins.model.Jenkins; imp...
package dta.pizzeria.backend.entity; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.OneToMany; @Entity public class Client implements Serializable { @Id private Long id; private String nom...
package edu.uib.info310.util; import java.io.File; import java.io.FileOutputStream; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.hp.hpl.jena.rdf.model.Model; import com.hp.hpl.jena.rdf.model.ModelFactory; import edu.uib.info310.sparql.QueryEndPoint; import edu.uib.info310.sparql.QueryEndPointImp;...
package eu.goodlike.functional; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Sets; import eu.goodlike.misc.ReflectUtils; import eu.goodlike.neat.Null; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util.Set; import java.util.function.Consumer; imp...
package openmods.utils; import net.minecraft.block.Block; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.tileentity.TileEntity; import net.minecraft.world.World; import net.minecraft.world.biome.BiomeGenBase; import net.minecraftforge.common.ForgeDirection; public class Coord { public int x; ...
package hudson.ivy; import hudson.console.ConsoleNote; import hudson.model.BuildListener; import hudson.model.Cause; import hudson.model.Result; import hudson.model.StreamBuildListener; import hudson.util.AbstractTaskListener; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream...
package org.bds.run; /** * Run state: Thread execution state * * @author pcingola */ public enum RunState { OK // Normal state , FATAL_ERROR // Finished executing due to a fatal error , FINISHED // Thread execution completely finished (all tasks and threads also finished execution) , THREAD_KILLED /...
/* * IGV.java * * Represents an IGV instance. * * Note: Currently, only one instance is allowed per JVM. * */ package org.broad.igv.ui; import apple.dts.samplecode.osxadapter.OSXAdapter; import com.google.common.collect.Iterables; import com.google.common.collect.Lists; import com.google.common.eventbus.Subscri...
package net.whydah.identity.util; import com.sun.jersey.api.client.Client; import com.sun.jersey.api.client.ClientResponse; import com.sun.jersey.api.client.WebResource; import com.sun.jersey.core.util.MultivaluedMapImpl; import net.whydah.identity.config.AppConfig; import net.whydah.identity.data.ApplicationCredential...
/** * This is an adopted version of the corresponding classes shipped * with Jetty. */ package org.exist.start; import java.io.BufferedReader; import java.io.File; import java.io.FileFilter; import java.io.FileReader; import java.io.FilenameFilter; import java.io.IOException; import java.io.InputStream; import java....
package org.fore.math; import java.lang.reflect.Array; import java.util.Arrays; import org.fore.IConfig; import org.fore.impl.ForeEngine; import static org.fore.utils.Assert.*; /** * The keyword <code>strictfp</code> is used to ensure portability on floating point calculation between all plateforms. * @author riadh ...
// $Id: JChannel.java,v 1.40 2005/09/07 07:01:55 belaban Exp $ package org.jgroups; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.jgroups.conf.ConfiguratorFactory; import org.jgroups.conf.ProtocolStackConfigurator; import org.jgroups.stack.ProtocolStack; import org.jgro...
package org.cf.resequencer.patch; import java.io.File; import java.util.ArrayList; import java.util.List; import java.util.Collections; import java.util.Map; import java.util.HashMap; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.cf.resequencer.Console; import org.cf.resequencer.sequence.St...
package org.clafer.compiler; import java.util.ArrayList; import java.util.List; import java.util.Random; import java.util.Set; import org.clafer.ast.AstAbstractClafer; import org.clafer.ast.AstClafer; import org.clafer.ast.AstConcreteClafer; import org.clafer.ast.AstModel; import org.clafer.ast.AstRef; import org.clafe...
package org.jgroups; import org.jgroups.annotations.MBean; import org.jgroups.annotations.ManagedAttribute; import org.jgroups.annotations.ManagedOperation; import org.jgroups.blocks.MethodCall; import org.jgroups.conf.ConfiguratorFactory; import org.jgroups.conf.ProtocolConfiguration; import org.jgroups.conf.ProtocolS...
package org.grobid.trainer; import org.grobid.core.GrobidModels; import org.grobid.core.exceptions.GrobidException; import org.grobid.core.features.FeaturesVectorQuantities; import org.grobid.core.lexicon.QuantityLexicon; import org.grobid.core.mock.MockContext; import org.grobid.core.utilities.GrobidProperties; import...
package gcm.gui.schematic; import gcm.gui.GridPanel; import gcm.gui.DropComponentPanel; import gcm.gui.GCM2SBMLEditor; import gcm.gui.Grid; import gcm.gui.InfluencePanel; import gcm.gui.modelview.movie.MovieContainer; import gcm.gui.modelview.movie.SchemeChooserPanel; import gcm.parser.GCMFile; import gcm.util.GlobalCo...
package org.jojo; import java.awt.Event; import java.awt.event.ActionEvent; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.io.File; import java.util.ArrayList; import java.util.Iterator; import javax.swing.event.Docum...
package org.icij.extract.cli; import org.icij.extract.core.*; import org.icij.extract.cli.options.*; import org.icij.extract.http.PinnedHttpClientBuilder; import java.util.logging.Logger; import java.io.IOException; import org.apache.commons.cli.Option; import org.apache.commons.cli.CommandLine; import org.apache.commo...
package gcm2sbml.gui; import gcm2sbml.network.GeneticNetwork; import gcm2sbml.parser.GCMFile; import gcm2sbml.parser.GCMParser; import gcm2sbml.util.Utility; import java.awt.BorderLayout; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseEven...
package org.joml; import java.io.Externalizable; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectOutput; //#ifdef __HAS_NIO__ import java.nio.ByteBuffer; import java.nio.FloatBuffer; //#endif import java.text.DecimalFormat; import java.text.NumberFormat; /** * Quaternion of 4 single-precis...
package org.jcors.web; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.jcors.config.JCorsConfig; import org.jcors.util.Constraint; /** * Specialized handler for Preflight Requests * * @author Di...
package kg.apc.jmeter; import java.awt.*; import java.awt.event.InputEvent; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.List; import jav...
package org.kered.dko; import static org.kered.dko.Constants.DIRECTION.DESCENDING; import java.lang.ref.WeakReference; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql...
package org.jfrog.hudson; import hudson.maven.MavenBuild; import hudson.maven.MavenModule; import hudson.maven.MavenModuleSetBuild; import hudson.maven.reporters.MavenAbstractArtifactRecord; import hudson.maven.reporters.MavenAggregatedArtifactRecord; import hudson.maven.reporters.MavenArtifact; import hudson.maven.rep...
package hex.glm; import hex.DataInfo; import hex.ModelBuilder; import hex.ModelCategory; import hex.ModelMetricsBinomial; import hex.glm.GLMModel.*; import hex.optimization.ADMM.L1Solver; import hex.optimization.L_BFGS; import hex.glm.GLMModel.GLMParameters.Family; import hex.glm.GLMModel.GLMParameters.Link; import hex...
package org.lantern; import java.lang.Thread.UncaughtExceptionHandler; import java.net.InetSocketAddress; import java.util.concurrent.Executors; import java.util.concurrent.ThreadFactory; import org.jboss.netty.bootstrap.ServerBootstrap; import org.jboss.netty.channel.Channel; import org.jboss.netty.channel.group.Chann...
package org.lightmare.config; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Properties; import java.util.Set; import org.apache.log4j.Logger; import org.lightmare.cac...
package org.lightmare.config; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Properties; import java.util.Set; import org.apache.log4j.Logger; import org.lightmare.cac...
package org.lightmare.config; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Properties; import java.util.Set; import org.apache.log4j.Logger; import org.lightmare.cac...
package org.lightmare.config; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Properties; import java.util.Set; import org.apache.log4j.Logger; import org.lightmare.cac...
package org.myrobotlab.service; import java.io.File; import java.io.IOException; import java.util.Locale; import java.util.Timer; import java.util.TimerTask; import java.util.concurrent.ThreadLocalRandom; import org.apache.commons.io.FilenameUtils; import org.myrobotlab.framework.Service; import org.myrobotlab.framewor...
package org.openhmis.manager; import java.util.ArrayList; import java.util.Date; import java.util.Iterator; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.openhmis.code.ClientDischargeStatus; import org.openhmis.code.ClientDobDataQuality; import org.openhmis.code.Clien...
package org.openspaces.core.space; import com.gigaspaces.internal.utils.StringUtils; import com.j_spaces.core.IJSpace; import com.gigaspaces.start.SystemInfo; import net.jini.core.discovery.LookupLocator; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.eclipse.jetty.serve...
package org.recap.camel.activemq; import org.apache.activemq.broker.jmx.DestinationViewMBean; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; import javax.management.MBeanServerConnection; import javax.m...
package org.scribe.builder.api; import org.scribe.model.*; import java.util.*; public class LinkedInApi extends DefaultApi10a { private static final String AUTHORIZE_URL = "https://api.linkedin.com/uas/oauth/authenticate?oauth_token=%s"; private static final String REQUEST_TOKEN_URL = "https://api.linkedin.com/uas/...
package org.urish.gwtit.client.util; /** * Wrappers around setTimeout, setInterval * * @author Uri */ public class Timers { private static class TimeoutTimer implements Timer { private int id; private boolean isCanceled = false; private native void nativeClearTimeout(int id) /*-{...
package org.zalando.pazuzu.feature; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.JoinTable...
package permafrost.tundra.data; import com.wm.data.IData; import com.wm.data.IDataCursor; import com.wm.data.IDataFactory; import com.wm.data.IDataPortable; import com.wm.data.IDataUtil; import com.wm.util.Table; import com.wm.util.coder.IDataCodable; import com.wm.util.coder.ValuesCodable; import permafrost.tundra.flo...
package picard.sam; import htsjdk.samtools.*; import htsjdk.samtools.filter.FilteringSamIterator; import htsjdk.samtools.filter.SamRecordFilter; import htsjdk.samtools.reference.ReferenceSequenceFileWalker; import htsjdk.samtools.SAMFileHeader.SortOrder; import htsjdk.samtools.util.*; import picard.PicardException; imp...
package redis.clients.jedis; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import java.util.Set; import redis.clients.util.JedisByteHashMap; import redi...
package ro.robertgabriel.entities; import org.springframework.data.mongodb.core.mapping.Document; import org.springframework.format.annotation.DateTimeFormat; import javax.persistence.Basic; import javax.persistence.Id; import javax.validation.constraints.NotNull; import java.io.Serializable; import java.util.Date; imp...
package seedu.tache.storage; import java.util.ArrayList; import java.util.List; import java.util.Optional; import javax.xml.bind.annotation.XmlElement; import seedu.tache.commons.exceptions.IllegalValueException; import seedu.tache.model.tag.Tag; import seedu.tache.model.tag.UniqueTagList; import seedu.tache.model.task...
package seedu.taskboss.storage; import java.io.IOException; import seedu.taskboss.model.ReadOnlyTaskBoss; /** * StorageStub class for dependency injection */ public class StorageStub extends Storage { private TaskBossStorage taskBoss; private String tbFilePath; public StorageStub(String tbFilePath) { ...
package seedu.taskell.model.task; import java.util.Objects; import seedu.taskell.commons.exceptions.IllegalValueException; import seedu.taskell.commons.util.CollectionUtil; import seedu.taskell.model.tag.UniqueTagList; /** * Represents an Event task in the task manager. * Guarantees: details are present and not null,...
package parser; import java.util.Enumeration; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.ResourceBundle; import java.util.regex.Pattern; import errors.NoInputFoundException; public class TreeGenerator { private static final int PARAM_INDEX = 0; private static final i...
package stexfires.io.config; import stexfires.core.Record; import stexfires.core.comparator.NULLS; import stexfires.core.comparator.RecordComparators; import stexfires.core.mapper.RecordMapper; import stexfires.core.message.CompareMessageBuilder; import stexfires.core.modifier.DistinctModifier; import stexfires.core.mo...
package wiccanArts.block; import net.minecraft.block.Block; import net.minecraft.block.SoundType; import net.minecraft.block.material.Material; import wiccanArts.lib.Strings; public class BlockMoldaviteOre extends Block { public BlockMoldaviteOre(){ super(Material.ROCK); setUnlocalizedName(Strings.M...
package net.nanase.nanasetter.plugin; import net.nanase.nanasetter.twitter.TwitterList; import net.nanase.nanasetter.window.dialog.Dialog; import java.util.logging.Logger; public class PluginHost { private final Plugin plugin; private final Logger logger; private final TwitterList twitterList; private f...
// E n d i n g I n t e r // // <editor-fold defaultstate="collapsed" desc="hdr"> // This program is free software: you can redistribute it and/or modify it under the terms of the // </editor-fold> package org.audiveris.omr.sig.inter; import org.a...
package org.ctrip.ops.sysdev.outputs; import java.util.List; import java.util.Map; import java.util.concurrent.ArrayBlockingQueue; import com.hubspot.jinjava.Jinjava; public class BaseOutput implements Runnable { protected Map config; protected List<String> IF; protected Jinjava jinjava; protected Array...
package org.openspaces.grid.esm; import java.text.NumberFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import java.util.Map.Entry; import java.util.concur...
package org.smoothbuild.eval; import static com.google.common.truth.Truth.assertThat; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import static org.smoothbuild.io.fs.base.Path.path; import static org.smoothbuild.io.fs.space.FilePath.fil...
package nerd.tuxmobil.fahrplan.congress; import nerd.tuxmobil.fahrplan.congress.CustomHttpClient.HTTP_STATUS; import nerd.tuxmobil.fahrplan.congress.MyApp.TASKS; import com.actionbarsherlock.app.SherlockDialogFragment; import com.actionbarsherlock.app.SherlockFragmentActivity; import com.actionbarsherlock.view.Menu; im...
package net.kevxu.purdueassist.course; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import net.kevxu.purdueassist.course.elements.Predefined.Subject; import net.kevxu.purdueassist.course.elements.Predefined.Term; import net.kevxu.pur...
// function : main component of the module, contains a list of all opened // files (editor) // todo : // modified : package net.sf.openedfiles; import net.sf.openedfiles.actions.AbstractListPopupAction; import net.sf.openedfiles.actions.BringToFrontAction; import java.awt.Point; import java.awt.e...
package nl.b3p.viewer.config.security; import java.util.*; import javax.persistence.NoResultException; import javax.servlet.http.HttpServletRequest; import nl.b3p.viewer.config.services.*; import nl.b3p.viewer.config.app.*; import org.stripesstuff.stripersist.Stripersist; /** * Utility class for authorization checking...
package cgeo.geocaching; import cgeo.geocaching.enumerations.LogType; import cgeo.geocaching.geopoint.Geopoint; import cgeo.geocaching.test.RegExPerformanceTest; import cgeo.geocaching.test.mock.MockedCache; import cgeo.geocaching.utils.BaseUtils; import cgeo.geocaching.utils.CancellableHandler; import android.test.And...
package polyglot.util; public class Base64 { /** No options specified. Value is zero. */ public final static int NO_OPTIONS = 0; /** Specify encoding. */ public final static int ENCODE = 1; /** Specify decoding. */ public final static int DECODE = 0; /** Specify that data should be gzip-comp...
package org.apache.xerces.impl.xs; import org.apache.xerces.impl.dv.XSSimpleType; import org.apache.xerces.impl.dv.ValidatedInfo; import org.apache.xerces.impl.dv.InvalidDatatypeValueException; import org.apache.xerces.impl.xs.identity.*; import org.apache.xerces.impl.Constants; import org.apache.xerces.impl.validation...
package org.cocolab.inpro.gui.greifarm; import java.util.Random; import javax.swing.JFrame; import org.apache.log4j.Logger; import com.sri.oaa2.agentlib.AgentException; import com.sri.oaa2.agentlib.AgentImpl; import com.sri.oaa2.icl.IclFloat; import com.sri.oaa2.icl.IclList; import com.sri.oaa2.icl.IclTerm; public clas...
package org.jgroups.protocols.dns; import java.lang.invoke.MethodHandles; import java.util.ArrayList; import java.util.Hashtable; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.naming.NamingEnumeration; import javax.naming.NamingException; import javax.naming.directo...
package org.mtransit.android.ui.fragment; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashSet; import java.util.Iterator; import org.mtransit.android.R; import org.mtransit.android.commons.ArrayUtils; import org.mtransit.android.commons.BundleUtils; import org.mtra...
package org.pentaho.di.job.entries.mail; import java.io.BufferedInputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.util.Date; import java.util.Iterator; import java.util.List; import java.util.Properties; import java.util.zip.ZipEntry; import java.util.zip.ZipOutp...
package org.pentaho.di.repository; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.pentaho.di.cluster.ClusterSchema; import org.pentaho.di.cluster.SlaveServer; import org.pentaho.di.core.Const; import org.pentaho.di.core.ObjectLocationSpecificationMethod; import org.pentaho.di.core....
package org.supercsv.cellprocessor.constraint; import java.util.HashSet; import org.supercsv.cellprocessor.CellProcessorAdaptor; import org.supercsv.cellprocessor.ift.CellProcessor; import org.supercsv.cellprocessor.ift.StringCellProcessor; import org.supercsv.exception.NullInputException; import org.supercsv.exception...
package org.swellrt.server.box.events; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; public class EventQueueImpl implements EventQueue { private List<EventQueueListener> listeners = new ArrayList<EventQueueListener>()...