answer
stringlengths
17
10.2M
package com.jsonrpclib.observers; import android.content.Context; import android.util.Pair; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.HashMap; import java.util.Lis...
package com.kyokomi.srpgquest.logic; import com.kyokomi.srpgquest.actor.ActorPlayer; import android.util.Log; /** * . * @author kyokomi * */ public class BattleLogic { private final static String TAG = "BattleLogic"; public void attack(ActorPlayer from, ActorPlayer to) { Log.d(TAG, " Log.d(T...
package com.marcusortiz.flippad; import com.marcusortiz.flippad.R; import android.app.Activity; import android.content.SharedPreferences; import android.os.Bundle; import android.view.MotionEvent; import android.view.View; import android.view.Window; import android.widget.ImageView; public class FlipPadActivity extends...
package com.swabunga.spell.swing; import java.awt.*; import java.awt.event.*; import java.io.File; import java.util.List; import javax.swing.*; import javax.swing.plaf.TextUI; import javax.swing.text.*; import com.swabunga.spell.engine.*; /** * * use: * JTextPane pane = new JTextPane(); * pane.setEditorKit(new Spel...
package com.tactfactory.harmony; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.regex.Pattern; import org.jdom2.Document; import org....
package com.xyberviri.amchat; import java.util.ArrayList; import java.util.Calendar; import java.util.HashMap; import java.util.Map; import java.util.Set; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.entity.Player; import com.xyberviri.uti...
package backend.github; import backend.interfaces.Repo; import backend.interfaces.TaskRunner; import org.apache.commons.lang3.tuple.ImmutablePair; import java.io.IOException; import java.time.LocalDateTime; public class CheckRateLimitTask extends GitHubRepoTask<ImmutablePair<Integer, Long>> { public CheckRateLimitT...
package br.eti.rslemos.bitsmagic; import static br.eti.rslemos.bitsmagic.Store.BYTE_ADDRESS_LINES; import static br.eti.rslemos.bitsmagic.Store.BYTE_ADDRESS_MASK; import static br.eti.rslemos.bitsmagic.Store.CHAR_ADDRESS_LINES; import static br.eti.rslemos.bitsmagic.Store.CHAR_ADDRESS_MASK; import static br.eti.rslemos...
package ccare.symboltable.impl; import ccare.symboltable.Symbol; import ccare.symboltable.SymbolDefinition; import ccare.symboltable.SymbolReference; import ccare.symboltable.SymbolTable; import ccare.symboltable.exceptions.CannotForgetException; import org.mozilla.javascript.Undefined; import java.lang.ref.SoftReferen...
package ch.tkuhn.memetools; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.nio.file.FileVisitOption; import java.nio.file.FileVisitResult; import java.nio.file.Files; import java.nio.file.Pa...
package com.Sackboy.TOM.proxy; import com.Sackboy.TOM.init.TOMItems; public class ClientProxy extends CommonProxy { @Override public void registerRenders() { TOMItems.registerRenders(); } }
package com.akiban.http; import org.eclipse.jetty.server.Handler; import org.eclipse.jetty.server.Request; import org.eclipse.jetty.server.handler.AbstractHandler; import org.eclipse.jetty.util.MultiException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http...
package com.algolia.search.saas; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.net.URI; import java.net.URISyntaxException; import java.net.URLEncoder; import java.security.InvalidKeyExcep...
package com.almasb.fxgl.asset; import com.almasb.fxgl.app.FXGL; import com.almasb.fxgl.audio.Music; import com.almasb.fxgl.audio.Sound; import com.almasb.fxgl.logging.Logger; import com.almasb.fxgl.parser.KVFile; import com.almasb.fxgl.scene.CSS; import com.almasb.fxgl.texture.Texture; import com.almasb.fxgl.ui.FontFac...
package com.bananity.util; // Java Utils import java.util.HashSet; import java.util.ArrayList; import java.util.Comparator; public class CandidatesCache<T> { private final int limit; private final HashSet<T> used; private final ArrayList<T> queue; private final Comparator<T> comparator; /** * C...
package com.chuck.service; import java.lang.invoke.MethodHandles; import java.util.Random; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.R...
package marmalade; import static marmalade.Marmalade.*; import static marmalade.test.http.Condition.when; import static marmalade.test.http.Expressions.any; import static org.apache.http.entity.ContentType.APPLICATION_JSON; import java.io.IOException; import java.nio.ByteBuffer; import java.util.ArrayList; import java....
package com.github.rinfield; import javax.inject.Inject; import javax.ws.rs.ApplicationPath; import org.glassfish.hk2.api.DynamicConfigurationService; import org.glassfish.jersey.filter.LoggingFilter; import org.glassfish.jersey.server.ResourceConfig; import org.glassfish.jersey.server.ServerProperties; import org.glas...
package com.github.timp.anagram; /** * An unordered collection of letters, which stores the number of occurrences * of each letter. * * Lowercase ascii letters are assumed. * */ public class LetterBag { private int[] histogram = new int[26]; /** * Add the word to the letter counts. * * @param word th...
package com.haogrgr.algorithm.utils; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedList; import java.util.List; /** * List, , Guava * * @author desheng.tu * @date 2015916 10:36:06 * */ public class Lists { public static <T> List<T> empty() { return Collections.emptyL...
package com.hellosign.sdk; import java.io.File; import java.lang.reflect.Constructor; import java.net.HttpURLConnection; import java.util.List; import java.util.Map; import org.json.JSONException; import org.json.JSONObject; import com.hellosign.sdk.http.Authentication; import com.hellosign.sdk.http.HttpClient; import ...
package com.hpcloud.mon.app; import javax.annotation.Nullable; import javax.inject.Inject; import kafka.javaapi.producer.Producer; import kafka.producer.KeyedMessage; import com.codahale.metrics.Meter; import com.codahale.metrics.MetricRegistry; import com.google.common.collect.ImmutableMap; import com.google.common.co...
package com.messners.gitlab.api; /** * This class is provides a simplified interface to a GitLab API server, and divides the API up into * a separate API class for each concern. * * @author Greg Messner <greg@messners.com> */ public class GitLabApi { GitLabApiClient apiClient; private CommitsApi commitsApi...
package com.pump.showcase.demo; import java.awt.Color; import java.awt.Component; import java.awt.Dialog; import java.awt.Dialog.ModalExclusionType; import java.awt.Dialog.ModalityType; import java.awt.FlowLayout; import java.awt.Font; import java.awt.Frame; import java.awt.Graphics; import java.awt.Graphics2D; import ...
package com.rarchives.ripme.ui; import java.awt.*; import java.awt.TrayIcon.MessageType; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.io.*...
// of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // copies or substantial p...
package com.threerings.gwt.util; import java.util.Map; import com.google.common.base.Function; import com.google.common.base.Predicate; /** * A collection of general purpose functions. To be replaced by Google Collections when same is * usable via GWT. */ public class Functions { /** Implements boolean not. */ ...
package com.unb.tracker; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.http.MediaType; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.w...
package com.xqbase.apool.util; import java.util.Collection; import java.util.Iterator; import java.util.NoSuchElementException; /** * This class provides the ability to remove the arbitrary interior element ( * neither head nor tail) from the queue in O(1) time. * * Adding to and removing from head or tail also run...
package comeon.ui.actions; import java.awt.Color; import java.awt.Cursor; import java.awt.Dimension; import java.awt.GraphicsEnvironment; import java.awt.Rectangle; import java.awt.event.ActionEvent; import java.awt.event.KeyEvent; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import ...
package de.dhbw.humbuch.guice; import com.google.inject.Provides; import com.google.inject.TypeLiteral; import com.google.inject.multibindings.MapBinder; import com.google.inject.persist.jpa.JpaPersistModule; import com.google.inject.servlet.ServletModule; import com.google.inject.servlet.SessionScoped; import com.vaad...
package fr.pgrimaud.savemywork; import org.quartz.JobBuilder; import org.quartz.JobDetail; import org.quartz.Scheduler; import org.quartz.SchedulerException; import org.quartz.SchedulerFactory; import org.quartz.SimpleScheduleBuilder; import org.quartz.Trigger; import org.quartz.TriggerBuilder; import org.quartz.impl.S...
package fredboat.command.util; import fredboat.commandmeta.ICommand; import java.time.Clock; import java.time.LocalDateTime; import java.time.OffsetDateTime; import net.dv8tion.jda.entities.Guild; import net.dv8tion.jda.entities.Message; import net.dv8tion.jda.entities.TextChannel; import net.dv8tion.jda.entities.User;...
package hk.ust.comp4321.test; import java.io.FileOutputStream; import java.io.IOException; import java.io.PrintStream; import java.util.List; import hk.ust.comp4321.database.DocInfo; import hk.ust.comp4321.database.ForwardIndexTable; import hk.ust.comp4321.database.InvertedPageTable; import hk.ust.comp4321.database.Inv...
package hudson.plugins.ws_cleanup; import hudson.FilePath.FileCallable; import hudson.Util; import hudson.model.BuildListener; import hudson.plugins.ws_cleanup.Pattern.PatternType; import hudson.remoting.VirtualChannel; import hudson.slaves.EnvironmentVariablesNodeProperty; import java.io.File; import java.io.IOExcepti...
package hudson.remoting; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.Serializable; import java.net.URL; import java.net.MalformedURLException; import java.net.URLClassLoader; import java.util.Enumerati...
package hudson.remoting; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.Serializable; import java.net.URL; import java.net.MalformedURLException; import java.net.URLClassLoader; import java.util.Enumerati...
package i5.las2peer.tools; import java.io.File; import java.io.FilenameFilter; import java.io.IOException; import java.io.Serializable; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.HashMap; import java.util.Hashtable; import java.util.Iterator; import ...
package info.faceland.beast; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.entity.EntityType; import org.bukkit.entity.Monster; import org.bukkit.entity.Skeleton; import org.bukkit.entity.Wolf; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPrio...
package io.github.data4all.view; import io.github.data4all.logger.Log; import io.github.data4all.model.drawing.DrawingMotion; import io.github.data4all.model.drawing.MotionInterpreter; import io.github.data4all.model.drawing.WayMotionInterpreter; import java.util.ArrayList; import java.util.List; import android.content...
package io.hgraphdb.models; import io.hgraphdb.*; import io.hgraphdb.mutators.EdgeIndexRemover; import io.hgraphdb.mutators.EdgeIndexWriter; import io.hgraphdb.mutators.Mutator; import io.hgraphdb.mutators.Mutators; import io.hgraphdb.readers.EdgeIndexReader; import org.apache.hadoop.hbase.Cell; import org.apache.hadoo...
package io.inbot.xmltools; import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.google.common.cache.LoadingCache; import io.inbot.xmltools.exceptions.RethrownException; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.IOException; import j...
package io.rocketchat.common.data.rpc; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; public class RPC { //Currently Used private static final String TYPE_PING = "ping"; private static final String TYPE_CONNECTED = "connected"; private static final String TYPE_ADDE...
package io.sigpipe.sing.dataset; import java.util.ArrayList; import java.util.List; import java.util.NavigableSet; import java.util.TreeSet; import io.sigpipe.sing.dataset.feature.Feature; /** * Handles quantization of {@link Feature} values. In other words, a Quantizer * instance takes in high-resolution data and ou...
package konstructs.plugin; import java.util.HashMap; import java.util.Map; import java.util.concurrent.TimeUnit; import konstructs.api.messages.BoxQueryResult; import scala.concurrent.duration.Duration; import akka.actor.ActorRef; import akka.actor.UntypedActorWithStash; import konstructs.api.*; import konstructs.api.m...
package kuleuven.group2.data; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.HashSet; import java.util.List; import java.util.Set; import kuleuven.group2.data.signature.JavaSignature; import kuleuven.group2.data.testrun.TestRun; /** ...
package net.alpenblock.bungeeperms; import java.io.File; import java.util.ArrayList; import java.util.List; import net.alpenblock.bungeeperms.config.FileConfiguration; import net.alpenblock.bungeeperms.config.YamlConfiguration; import net.alpenblock.bungeeperms.platform.PlatformPlugin; public class Config { private...
package net.finmath.time; import net.finmath.time.ScheduleGenerator.DaycountConvention; import net.finmath.time.ScheduleGenerator.Frequency; import net.finmath.time.ScheduleGenerator.ShortPeriodConvention; import net.finmath.time.businessdaycalendar.BusinessdayCalendar; import net.finmath.time.businessdaycalendar.Busin...
package net.finmath.time; import java.io.Serializable; import java.time.LocalDate; import net.finmath.modelling.descriptor.ScheduleDescriptor; import net.finmath.time.ScheduleGenerator.DaycountConvention; import net.finmath.time.ScheduleGenerator.Frequency; import net.finmath.time.ScheduleGenerator.ShortPeriodConventio...
package net.imagej.ops.math; import java.util.Random; import net.imagej.ops.AbstractNamespace; import net.imagej.ops.MathOps; import net.imagej.ops.OpMethod; import net.imglib2.IterableInterval; import net.imglib2.IterableRealInterval; import net.imglib2.RandomAccessibleInterval; import net.imglib2.img.array.ArrayImg; ...
package net.spy.memcached; import java.io.IOException; import java.net.InetSocketAddress; import java.net.SocketAddress; import java.nio.channels.CancelledKeyException; import java.nio.channels.ClosedSelectorException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Ha...
package nl.b3p.kar.inform; import java.util.Date; import java.util.List; import javax.persistence.EntityManager; import nl.b3p.kar.Mailer; import nl.b3p.kar.hibernate.InformMessage; import nl.b3p.kar.hibernate.RoadsideEquipment; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import...
package nl.topicus.mssql2monetdb; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.Inp...
package org.animotron.statement.query; import javolution.util.FastList; import javolution.util.FastMap; import javolution.util.FastSet; import org.animotron.Executor; import org.animotron.graph.index.Order; import org.animotron.io.PipedInput; import org.animotron.manipulator.Evaluator; import org.animotron.manipulator....
package org.animotron.statement.query; import javolution.util.FastMap; import javolution.util.FastSet; import javolution.util.FastTable; import org.animotron.graph.index.Order; import org.animotron.io.Pipe; import org.animotron.manipulator.Evaluator; import org.animotron.manipulator.OnContext; import org.animotron.mani...
package org.benchmarkdp.toolevaluator; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.benchmarkdp.toolevaluator.measure.IMeasure; import org.benchmarkdp.toolevaluator.measure.PercCorMeasure; import org.benchmarkdp.toolevaluator.measure.TextHistogramDiffMeasure; import org.benchma...
package org.dita.dost.module; import static org.dita.dost.util.Constants.*; import static org.dita.dost.util.Job.*; import static org.dita.dost.util.URLUtils.*; import static org.dita.dost.util.XMLUtils.*; import java.io.File; import java.io.IOException; import java.net.URI; import java.util.*; import org.dita.dost.uti...
package org.lightmare.cache; import java.io.File; import java.io.IOException; import java.net.URL; import java.util.Collection; import java.util.HashSet; import java.util.Iterator; import java.util.Map; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; impor...
package org.lightmare.cache; import java.io.File; import java.io.IOException; import java.net.URL; import java.util.Collection; import java.util.HashSet; import java.util.Iterator; import java.util.Map; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; impor...
package org.mcphoton.impl.world; import com.electronwill.utils.Bag; import com.electronwill.utils.IndexMap; import com.electronwill.utils.SimpleBag; import java.io.File; import java.util.Collection; import org.mcphoton.Photon; import org.mcphoton.command.WorldCommandRegistry; import org.mcphoton.entity.Entity; import o...
package org.purl.wf4ever.robundle; import static java.nio.file.StandardCopyOption.ATOMIC_MOVE; import static java.nio.file.StandardCopyOption.REPLACE_EXISTING; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.net.URI; import java.nio.charset.Charset; import java.nio....
package org.sahagin.share.srctree; // TODO define ASTData also on sahagin-js-share public class ASTData { // Memo data are not written to nor read from YAML data. // They are only temporal data mainly used for SrcTree generation private Object rawASTObjectMemo; private Object rawASTTypeMemo; public ...
package org.sfm.map.column; import java.text.Format; public class FormatProperty implements ColumnProperty { private final Format format; public FormatProperty(Format format) { this.format = (Format) format.clone(); } public Format format() { return format; } }
package org.spideruci.tacoco; import java.io.File; import java.io.IOException; import java.lang.reflect.Method; import java.net.URI; import java.net.URL; import java.net.URLClassLoader; import java.nio.file.FileVisitResult; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.n...
package org.synchronoss.utils.cpo; import java.awt.*; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import javax.swing.UIManager; import javax.swing.JOptionPane; import java.net.URL; import java.net.MalformedURLException; import java.util.*; import java.io.*; import java.security.*; import jav...
package org.zendesk.client.v2.model; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Date; import java.util.List; public class Forum { private Long id; private String url; private String name; private String description; private Long categoryId; private Long organizationId...
package pipe.views.viewComponents; import pipe.gui.Constants; import pipe.gui.PetriNetTab; import pipe.gui.ZoomController; import pipe.handlers.ArcPathPointHandler; import pipe.historyActions.HistoryItem; import pipe.models.component.ArcPoint; import pipe.utilities.math.Cubic; import pipe.views.ArcView; import pipe.vie...
package pt.davidafsilva.shb; import com.eclipsesource.json.JsonObject; import java.util.Arrays; import java.util.Base64; import java.util.Optional; import io.vertx.core.AbstractVerticle; import io.vertx.core.Future; import io.vertx.core.buffer.Buffer; import io.vertx.core.http.HttpServer; import io.vertx.core.http.Http...
package seedu.address.logic.parser; import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.address.commons.core.Messages.MESSAGE_UNKNOWN_COMMAND; import java.util.regex.Matcher; import java.util.regex.Pattern; import seedu.address.logic.commands.AddCommand; import seedu.ad...
package seedu.address.logic.parser; import seedu.address.logic.commands.*; import seedu.address.commons.util.StringUtil; import seedu.address.commons.exceptions.IllegalValueException; import java.io.File; import java.text.ParseException; import java.util.*; import java.util.regex.Matcher; import java.util.regex.Pattern...
package seedu.jimi.model; import java.time.DayOfWeek; import java.time.LocalDateTime; import java.time.format.TextStyle; import java.util.HashMap; import java.util.Locale; import java.util.Optional; import java.util.Set; import java.util.logging.Logger; import javafx.collections.transformation.FilteredList; import seed...
package seedu.whatnow.logic.parser; import static seedu.whatnow.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.whatnow.commons.core.Messages.MESSAGE_UNKNOWN_COMMAND; import static seedu.whatnow.commons.core.Messages.MESSAGE_INVALID_TASK_DISPLAYED_INDEX; import java.text.ParseException; import...
package tigase.xmpp.impl; import java.util.Map; import java.util.List; import tigase.xmpp.XMPPResourceConnection; import tigase.xml.Element; import tigase.xmpp.JID; import tigase.xmpp.NotAuthorizedException; /** * Interface <code>DynamicRosterIfc</code> is to dynamically generate user roster * entries when the user r...
package ua.yandex.shad.stream; import ua.yandex.shad.containers.FunctionList; import ua.yandex.shad.containers.IntList; import ua.yandex.shad.function.IntFunction; import ua.yandex.shad.function.IntUnaryOperator; import ua.yandex.shad.function.IntToIntStreamFunction; import ua.yandex.shad.function.IntPredicate; import ...
package ui.components.pickers; import backend.resource.TurboIssue; import backend.resource.TurboLabel; import javafx.application.Platform; import javafx.beans.property.BooleanProperty; import javafx.beans.property.ReadOnlyStringWrapper; import javafx.beans.property.SimpleBooleanProperty; import javafx.stage.Stage; impo...
package uk.ac.cam.ucs.webauth; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.security.KeyStore; import java.security.KeyStoreException; import java.security.NoSuchAlgorithmException; import java.security.Principal; import java.security.cert.Certificate; im...
package xyz.thepathfinder.android; public class Cluster { public static final String DEFAULT_PATH = "/"; private String path; private PathfinderConnection connection; public Cluster(String path, PathfinderConnection connection) { this.path = path; this.connection = connection; } ...
package org.testng.reporters; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.text.DecimalFormat; import java.text.NumberFormat; import java.util.Collection; import java.util.Comparator; import java.util.List; import java...
package fr.inria.jessy.consistency; import java.util.HashSet; import java.util.Set; import net.sourceforge.fractal.utils.CollectionUtils; import org.apache.log4j.Logger; import fr.inria.jessy.communication.message.TerminateTransactionRequestMessage; import fr.inria.jessy.store.DataStore; import fr.inria.jessy.store.Jes...
package gov.nih.nci.calab.service.util; import java.text.SimpleDateFormat; import java.util.Date; import org.apache.log4j.Logger; import java.util.List; /** * This class contains a set of utilities for converting Strings to other * formats or converting other formats to String. * * @author pansu * */ /* CVS $Id: ...
package gov.nih.nci.calab.ui.core; import gov.nih.nci.calab.dto.characterization.CharacterizationBean; import gov.nih.nci.calab.dto.characterization.CharacterizationTypeBean; import gov.nih.nci.calab.dto.common.InstrumentBean; import gov.nih.nci.calab.dto.common.LabFileBean; import gov.nih.nci.calab.dto.common.Protocol...
package org.hbase.async; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.Arrays; import org.jboss.netty.buffer.ChannelBuffer; import org.jboss.netty.buffer.ChannelBuffers; import org.jboss.netty.util.CharsetUtil; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.stumbleup...
package doublex.lib.lockableContainers; import doublex.lib.locks.ILocks; /** * * @author DoubleX * @param <C> * @param <K> */ public final class LockableContainer<C, K> implements IContainable<C> { public final ILocks<K> mLocks; private final C mNullContents; private C mContents; public LockableCo...
package ibis.ipl.impl.registry.central.server; import ibis.ipl.impl.IbisIdentifier; import ibis.ipl.impl.Location; import ibis.ipl.impl.registry.Connection; import ibis.ipl.impl.registry.central.Election; import ibis.ipl.impl.registry.central.ElectionSet; import ibis.ipl.impl.registry.central.Event; import ibis.ipl.imp...
package info.tregmine.listeners; import java.util.EnumSet; import java.util.Set; import org.bukkit.Location; import org.bukkit.entity.Arrow; import org.bukkit.entity.Entity; import org.bukkit.entity.EntityType; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; impo...
// Depot library - a Java relational persistence library // 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 com.sun.facelets.compiler; import java.io.BufferedInputStream; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.el.ELException; import javax.faces.FacesException; import javax.xml.parsers.ParserConfiguration...
package com.vaklinov.zcashui; import java.awt.BorderLayout; import java.awt.Desktop; import java.awt.FlowLayout; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.io.UnsupportedEncodingException; import java.net.URL; import java...
package io.compgen.ngsutils.cli.gtf; import io.compgen.cmdline.annotation.Command; import io.compgen.cmdline.annotation.Exec; import io.compgen.cmdline.annotation.Option; import io.compgen.cmdline.annotation.UnnamedArg; import io.compgen.cmdline.exceptions.CommandArgumentException; import io.compgen.cmdline.impl.Abstra...
package org.apache.velocity.anakia; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.Writer; import java.util.StringTokenizer; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.DirectoryScanner; import org.apache.tools.ant.Project; import org.apache.too...
package org.apache.velocity.io; import java.io.IOException; import java.io.Writer; /** * Implementation of a fast Writer. It was originally taken from JspWriter * and modified to have less syncronization going on. * * @author <a href="mailto:jvanzyl@apache.org">Jason van Zyl</a> * @author <a href="mailto:jon@latch...
package org.jdesktop.swingx; import java.awt.AlphaComposite; import java.awt.BorderLayout; import java.awt.Component; import java.awt.Composite; import java.awt.Container; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.LayoutManager; import java.awt.Rectangle; import ja...
package lbms.plugins.mldht.kad; import java.net.InetSocketAddress; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import lbms.plugins.mldht.kad.Node.RoutingTableEntry; import lbms.plugins.mldht.kad.utils.PackUtil; /** * @author Damokles * */ public class...
package at.ac.tuwien.inso.entity; import static java.util.Arrays.asList; import java.util.ArrayList; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.OneToMany; @Entity public class Student extends UisUser { @OneToMany(cascade = CascadeType.ALL, ...
package main.java.author.view.tabs; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.Dimension; import java.awt.Font; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.ItemEvent; import java.awt.event...
package checkdep.parse; import jdepend.framework.JavaPackage; import checkdep.value.depend.Dependency; class JDependDependency implements Dependency { private final JavaPackage raw; public JDependDependency(JavaPackage raw) { this.raw = raw; } @Override public String getName() { return raw.getName(); ...
package com.bio4j.exporter; import java.util.Scanner; import org.apache.commons.cli.BasicParser; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.HelpFormatter; import org.apache.commons.cli.OptionBuilder; import org.apache.commons.cli.Options; import org.apache.commons.cli.ParseException; publi...
package com.bloatit.model.data; import java.math.BigDecimal; import java.util.Date; import java.util.HashSet; import java.util.Set; import javax.persistence.Basic; import javax.persistence.Entity; import javax.persistence.OneToMany; import javax.persistence.OneToOne; import org.hibernate.HibernateException; import org....
package com.example.person; import com.example.ip.IpService; import com.mongodb.util.JSON; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Service; import reactor.core.publisher.BufferOverflowStrategy; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono;...
package com.j256.ormlite.dao; import java.io.IOException; import java.sql.SQLException; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.concurrent.Callable; import java.util.concurrent.Concurr...