answer
stringlengths
17
10.2M
package loci.formats; import java.io.IOException; import java.util.Vector; import loci.common.DateTools; import loci.common.RandomAccessInputStream; import loci.common.ReflectException; import loci.common.ReflectedUniverse; import loci.common.services.DependencyException; import loci.common.services.ServiceException; i...
import java.io.*; import java.util.*; import java.math.*; public class Solution { // Instance variables private static BufferedReader dataStream; // Main program public static void main(String[] args) throws Exception{ // New Data Stream Instance dataStream = new BufferedReader(new Inpu...
package com.dptsolutions.pathbutton; import android.annotation.TargetApi; import android.content.Context; import android.content.res.ColorStateList; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Path; import android.graphics.RectF; import a...
package ru.revdaalex.oodsrp; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; public class CalculatorTest { private static Calculator calculator; /** *Initialization Calculator object */ @BeforeClass public static void runTest(){ calculator = new Calculator...
package org.broad.igv.tools; import org.broad.igv.Globals; import org.broad.igv.tools.parsers.DataConsumer; import org.broad.igv.track.TrackType; import org.junit.BeforeClass; import org.junit.Test; import java.io.IOException; import java.util.HashMap; import java.util.Map; import static org.junit.Assert.assertEquals; ...
package org.obolibrary.robot; import java.util.*; import java.util.stream.Collectors; import org.obolibrary.robot.checks.InvalidReferenceChecker; import org.obolibrary.robot.checks.InvalidReferenceViolation; import org.obolibrary.robot.checks.InvalidReferenceViolation.Category; import org.semanticweb.owlapi.model.*; im...
package ca.uwaterloo.joos.ast.decl; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import ca.uwaterloo.joos.ast.ASTNode; import ca.uwaterloo.joos.ast.body.TypeBody; import ca.uwaterloo.joos.ast.descriptor.ChildDescriptor; import ca.uwaterloo.joos.ast.descriptor.ChildL...
package com.akjava.bvh.client.threejs; import java.util.ArrayList; import java.util.List; import com.akjava.bvh.client.BVHNode; import com.akjava.bvh.client.Channels; import com.akjava.bvh.client.Vec3; import com.akjava.gwt.lib.client.LogUtils; import com.akjava.gwt.three.client.core.Matrix4; import com.akjava.gwt.thre...
package com.fieldexpert.fbapi4j; import java.io.PrintWriter; import java.io.StringWriter; import com.fieldexpert.fbapi4j.common.Attachment; public class DefaultCaseBuilder { private String project; private String area; public DefaultCaseBuilder(String project, String area) { this.project = project; ...
package com.fsck.k9.activity.setup; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.os.Vibrator; import android.preference.CheckBoxPreference; import android.preference.EditTextPreference; import android.preference.ListPre...
package com.fsck.k9.controller; import java.io.CharArrayWriter; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java....
package cn.christian.msdl; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Created in IntelliJ IDEA. * MSDL * cn.christian.msdl * * @author Christian_Chen * @github freestyletime@foxmail.com * @...
package com.occidere.kookmincarteparser; import android.content.Intent; import android.graphics.Color; import android.os.StrictMode; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.TextView; import android.widget.Toast; import org.jsoup.Jsoup; i...
package com.malhartech.lib.io; import javax.jms.Connection; import javax.jms.Destination; import javax.jms.JMSException; import javax.jms.Session; import javax.validation.constraints.NotNull; import org.apache.activemq.ActiveMQConnectionFactory; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.malhar...
package mustache.clojure.glue; import com.github.mustachejava.DefaultMustacheFactory; import com.github.mustachejava.DefaultMustacheVisitor; import com.github.mustachejava.Mustache; import com.github.mustachejava.TemplateContext; import com.github.mustachejava.codes.NotIterableCode; /** * * @author bill */ public cl...
package com.squareup.seismic; import android.hardware.Sensor; import android.hardware.SensorEvent; import android.hardware.SensorEventListener; import android.hardware.SensorManager; import java.util.ArrayList; import java.util.List; /** * Detects phone shaking. If more than 75% of the samples taken in the past 0.5s a...
package com.maddyhome.idea.vim.group; import com.intellij.openapi.diagnostic.Logger; import org.jdom.Element; /** * This singleton maintains the instances of all the key groups. All the key/action mappings get created the first * this singleton is accessed. */ public class CommandGroups { /** * Gets the sin...
package io.fotoapparat.hardware.v1; import android.graphics.SurfaceTexture; import android.hardware.Camera; import android.support.annotation.NonNull; import android.view.SurfaceHolder; import java.io.IOException; import java.util.concurrent.CountDownLatch; import java.util.concurrent.atomic.AtomicReference; import io....
package org.broadinstitute.sting.utils; import edu.mit.broad.picard.util.Interval; import edu.mit.broad.picard.directed.IntervalList; import net.sf.picard.reference.ReferenceSequenceFile; import net.sf.samtools.SAMRecord; import net.sf.samtools.SAMSequenceDictionary; import net.sf.samtools.SAMSequenceRecord; import org...
package com.opencms.workplace; import com.opencms.file.*; import com.opencms.core.*; import com.opencms.util.*; import com.opencms.template.*; import org.w3c.dom.*; import org.xml.sax.*; import javax.servlet.http.*; import java.util.*; import java.io.*; public class CmsNewResourceUpload extends CmsWorkplaceDefault impl...
package org.ligboy.selectphoto; import android.Manifest; import android.content.Context; import android.content.pm.PackageManager; import android.os.Build; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.text.TextUtils; import java.io.File; import java.io.IOExceptio...
package org.openqa.selenium; import java.util.List; import static org.openqa.selenium.Ignore.Driver.IPHONE; import static org.openqa.selenium.Ignore.Driver.SELENESE; @Ignore({IPHONE, SELENESE}) public class ElementEqualityTest extends AbstractDriverTestCase { public void testElementEqualityShouldWork() { driver.g...
package com.wrapp.android.webimage; import android.graphics.Bitmap; import java.util.*; public abstract class TaskQueueThread extends Thread { private static final long SHUTDOWN_TIMEOUT_IN_MS = 100; private final Queue<ImageRequest> pendingRequests; private boolean isRunning; protected abstract Bitmap processRe...
package be.fedict.dcat.scrapers; import be.fedict.dcat.helpers.Storage; import java.io.File; import java.net.MalformedURLException; import java.net.URL; import org.dom4j.Node; import org.eclipse.rdf4j.model.IRI; import org.eclipse.rdf4j.model.vocabulary.DCAT; /** * Scraper for the Data Store Brussels portal * * @aut...
package org.helioviewer.jhv.camera; import java.awt.Point; import org.helioviewer.base.logging.Log; import org.helioviewer.base.math.GL3DMat4d; import org.helioviewer.base.math.GL3DQuatd; import org.helioviewer.base.math.GL3DVec2d; import org.helioviewer.base.math.GL3DVec3d; import org.helioviewer.base.physics.Constant...
package me.mattlogan.library; import android.animation.Animator; import android.content.Context; import android.os.Bundle; import android.view.View; import android.view.ViewGroup; import android.view.ViewTreeObserver; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Ar...
package me.lcw.jil.awt; import static org.junit.Assert.assertEquals; import java.io.IOException; import java.security.NoSuchAlgorithmException; import me.lcw.jil.Color; import me.lcw.jil.BaseImage; import me.lcw.jil.ImageException; import me.lcw.jil.JilImage; import me.lcw.jil.TestUtils; import org.junit.After; import ...
package org.helioviewer.jhv.camera; import java.awt.Point; import java.util.Date; import org.helioviewer.base.astronomy.Sun; import org.helioviewer.base.logging.Log; import org.helioviewer.base.math.GL3DMat4d; import org.helioviewer.base.math.GL3DQuatd; import org.helioviewer.base.math.GL3DVec2d; import org.helioviewer...
package shadow.typecheck; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import shadow.AST.ASTUtils; import shadow.AST.ASTWalker.WalkType; import shadow.parser.javacc.ASTAdditiveExpression; import shadow.parser.javacc.ASTAllocationExpression; import shadow.parser.jav...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.badrobot.commands; import com.badrobot.OI; import edu.wpi.first.wpilibj.Utility; import edu.wpi.first.wpilibj.command.Subsystem; import edu.wpi.first.wpilibj.tables.ITable; import java.util.Timer; import java...
package org.cyanogenmod.launcher.home.api.cards; import android.content.ContentResolver; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import android.text.TextUtils; imp...
package com.fsck.k9.controller; import java.io.ByteArrayOutputStream; import java.io.PrintStream; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedList; impo...
package org.jsimpledb; import com.google.common.base.Preconditions; import com.google.common.primitives.Ints; import com.google.common.reflect.TypeToken; import java.lang.reflect.AnnotatedElement; import java.lang.reflect.Method; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.Collections; i...
package com.sailthru.client.params; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.InputStream; import java.util.Map; public interface ApiFileParams { public Map<String, FileInputStream> getFileParams(); }
package application; import java.io.File; import java.io.IOException; import java.net.InetSocketAddress; import java.net.ServerSocket; import java.net.Socket; import java.net.URI; import java.net.URISyntaxException; import java.rmi.server.RMISocketFactory; import java.util.ArrayList; import java.util.Optional; import j...
package com.google.javascript.jscomp; import com.google.javascript.jscomp.graph.DiGraph; import java.util.*; /** * @author arcadoss */ class AnalyzerState implements LatticeElement, BaseObj<AnalyzerState> { Store store; Stack stack; Marker marker; AnalyzerState(Store store, Stack stack, Marker marker) { t...
package com.macro.mall.dao; import com.macro.mall.dto.SmsCouponParam; import org.apache.ibatis.annotations.Param; public interface SmsCouponDao { SmsCouponParam getItem(@Param("id") Long id); }
package aeronicamc.mods.mxtune.util; import org.apache.commons.lang3.RandomUtils; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.builder.CompareToBuilder; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; public class Color3f im...
package algorithms.search; import algorithms.util.PairInt; import gnu.trove.iterator.TIntIterator; import gnu.trove.set.TIntSet; import gnu.trove.set.hash.TIntHashSet; import gnu.trove.map.TIntIntMap; import gnu.trove.map.hash.TIntIntHashMap; import java.util.HashSet; import java.util.Set; import java.util.logging.Logg...
package br.uff.ic.provviewer.GUI; import br.uff.ic.utility.graph.Edge; import br.uff.ic.utility.GraphAttribute; import br.uff.ic.provviewer.Variables; import br.uff.ic.utility.graph.ActivityVertex; import br.uff.ic.utility.graph.AgentVertex; import br.uff.ic.utility.graph.EntityVertex; import br.uff.ic.utility.graph.Ve...
package manifold.internal.javac; import com.sun.source.util.JavacTask; import com.sun.source.util.Trees; import com.sun.tools.javac.main.JavaCompiler; import com.sun.tools.javac.model.JavacElements; import com.sun.tools.javac.processing.JavacProcessingEnvironment; import com.sun.tools.javac.tree.JCTree; import com.sun....
package bisq.network; import org.bitcoinj.core.NetworkParameters; import org.bitcoinj.net.discovery.PeerDiscovery; import org.bitcoinj.net.discovery.PeerDiscoveryException; import com.runjva.sourceforge.jsocks.protocol.Socks5Proxy; import java.net.InetSocketAddress; import java.util.concurrent.TimeUnit; /** * Socks5Se...
package com.beowulfe.hap.accessories; import java.util.Collection; import java.util.Collections; import java.util.concurrent.CompletableFuture; import com.beowulfe.hap.*; import com.beowulfe.hap.impl.services.OutletService; /** * A power outlet with boolean power and usage states. * * @author Andy Lintner */ public...
package com.incidentlocator.client; import android.app.Activity; import android.app.AlertDialog; import android.os.Bundle; import android.view.View; import android.widget.EditText; import android.content.Context; import android.content.Intent; import android.content.DialogInterface; import android.location.Location; im...
package de.gurkenlabs.litiengine.sound; import java.awt.geom.Point2D; import java.io.ByteArrayInputStream; import java.io.IOException; import java.util.Queue; import java.util.concurrent.ConcurrentLinkedQueue; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.logging.L...
package com.intellij.psi.stubs; import com.intellij.psi.PsiNamedElement; import com.intellij.util.io.StringRef; /** * @author yole */ public abstract class NamedStubBase<T extends PsiNamedElement> extends StubBase<T> implements NamedStub<T> { private final StringRef myName; protected NamedStubBase(StubElement par...
package mb.p_raffrayi.impl; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Optional; import org.metaborg.util.future.CompletableFuture; import org.metaborg.util.future.IFuture; import org.metaborg.util.unit.Unit; import mb.p_raffrayi.IUnitResult; import mb.p_raffrayi.actors.IA...
package com.bloatit.framework; import com.bloatit.model.Member; import com.bloatit.model.exceptions.ElementNotFoundException; import java.util.ArrayList; import java.util.List; public class MemberManager { private final static ArrayList<Member> members = new ArrayList<Member>(); static { members.add(new...
package com.incidentlocator.client; import android.app.Activity; import android.app.AlertDialog; import android.os.Bundle; import android.view.View; import android.widget.EditText; import android.content.Context; import android.content.Intent; import android.content.DialogInterface; import android.location.Location; im...
package org.micromanager.imageDisplay; import com.google.common.eventbus.EventBus; import com.google.common.eventbus.Subscribe; import ij.ImagePlus; import ij.gui.StackWindow; import java.awt.Component; import java.awt.Dimension; import java.awt.event.MouseEvent; import java.awt.event.WindowEvent; import java.awt.Point...
package com.comandante.creeper; import com.google.common.collect.Lists; import java.util.List; import java.util.stream.Collectors; public class CreeperUtils { public static String asciiColorPattern = "\u001B\\[[;\\d]*m"; public static String printStringsNextToEachOther(List<String> inputStrings, String seperato...
package com.michaldabski.fileexplorer; import java.io.File; import java.util.Arrays; import java.util.List; import android.app.Activity; import android.app.Fragment; import android.content.Intent; import android.content.res.Configuration; import android.os.Bundle; import android.os.Environment; import android.support.v...
package com.opencms.workplace; import com.opencms.file.*; import com.opencms.core.*; import com.opencms.util.*; import com.opencms.template.*; import org.w3c.dom.*; import org.xml.sax.*; import javax.servlet.http.*; import java.util.*; import java.io.*; public class CmsNewResourceFolder extends CmsWorkplaceDefault impl...
//@author A0112918H package com.epictodo.engine; import com.epictodo.logic.CRUDLogic; import com.epictodo.model.Task; import java.util.ArrayList; public class WorkDistributor { private static CRUDLogic _logic = new CRUDLogic(); private final static String[] COMMAND_EXIT = {"exit", "quit"}; private final sta...
package com.redpois0n.gitj.ui.components; import java.awt.Dimension; import java.awt.FontMetrics; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.RenderingHints; import javax.swing.JPanel; import com.redpois0n.git.Chunk; import com.redpois0n.git.CodeLine; import com.redpois0n.git.Diff; @SuppressWa...
package com.google.sps.data; import java.util.Date; /** Class that creates constants for tables. **/ public final class EntityConstants { /** Class that creates entity constants for the Attendee table. **/ final static class AttendeeEntity { public final static String TABLE_NAME = "Attendee"; public final s...
package com.lenis0012.bukkit.npc; import net.minecraft.server.v1_7_R3.WorldServer; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.World; import org.bukkit.craftbukkit.v1_7_R3.CraftWorld; import org.bukkit.craftbukkit.v1_7_R3.entity.CraftEntity; import org.bukkit.entity.Entity; import org.bukkit...
package com.montealegreluis.yelpv3; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; public class Business { private final String id; private final String name; private final String ph...
package piano; import java.io.IOException; import java.util.Vector; import javax.microedition.media.Manager; import javax.microedition.media.MediaException; import javax.microedition.media.Player; import javax.microedition.media.control.MIDIControl; /** * Player of MIDI events. * * @author Wincent Balin */ class MI...
package com.pump.text.html.view; import java.awt.Color; import java.awt.Graphics2D; import java.awt.Insets; import java.awt.Rectangle; import java.awt.RenderingHints; import java.awt.Shape; import java.awt.geom.Path2D; import java.util.List; import java.util.Objects; import javax.swing.text.AttributeSet; import javax.s...
package com.rultor.agents.github; import com.google.common.base.Joiner; import com.google.common.collect.ImmutableMap; import com.jcabi.aspects.Immutable; import com.jcabi.aspects.Tv; import com.jcabi.github.Repo; import com.jcabi.github.RepoCommit; import com.jcabi.github.Smarts; import java.io.IOException; import jav...
package com.tallcraft.chatreplay; import net.md_5.bungee.api.ChatColor; import net.md_5.bungee.api.chat.ComponentBuilder; import net.md_5.bungee.api.chat.HoverEvent; import net.md_5.bungee.api.chat.TextComponent; import org.bukkit.entity.Player; import java.util.concurrent.ConcurrentLinkedQueue; public class ChatBuffer...
package com.tectonica.gae; import java.util.HashMap; import java.util.Map; import com.google.inject.Guice; import com.google.inject.Injector; import com.google.inject.matcher.Matchers; import com.google.inject.servlet.GuiceServletContextListener; import com.google.inject.servlet.ServletModule; import com.sun.jersey.api...
package com.toomasr.sgf4j.board; import javafx.geometry.Pos; import javafx.scene.image.Image; import javafx.scene.image.ImageView; import javafx.scene.layout.StackPane; import javafx.scene.paint.Color; import javafx.scene.shape.Circle; import javafx.scene.shape.Line; import javafx.scene.text.Font; import javafx.scene.t...
package com.typesafe.netty; import io.netty.channel.ChannelDuplexHandler; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelInboundHandler; import io.netty.channel.ChannelPipeline; import io.netty.util.ReferenceCountUtil; import io.netty.util.internal.TypeParameterMatcher; import org.reactiv...
package com.ubervu.river.github; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonStreamParser; import org.apache.commons.codec.digest.DigestUtils; import org.elasticsearch.action.bulk.BulkProcessor; import org.elasticsearch.action.bulk....
package com.vzome.core.editor; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import java.beans.PropertyChangeSupport; import java.io.OutputStream; import java.io.StringWriter; import java.text.DecimalFormat; import java.text.NumberFormat; import java.util.ArrayList; import java.util.A...
package controller; import handler.ConfigHandler; import handler.StatisticsHandler; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.event.Event; import javafx.event.EventHandler; import javafx.scene.Scene; import javafx.scene.control.Tooltip; import javafx.scene.image.Im...
package de.ddb.pdc.metadata; import java.util.ArrayList; import java.util.LinkedHashMap; import org.springframework.web.client.RestClientException; import org.springframework.web.client.RestTemplate; /** * Implementation of the {@link MetaFetcher} interface. */ public class MetaFetcherImpl implements MetaFetcher { ...
package org.lla_private.rest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; /** * Hilfsobjekt, Macht aus einem String ein JSON Objekt * */ public class ObjectMapperService implements IObjectMappe...
package edu.clemson.cs.r2jt; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.util.HashMap; import edu.clemson.cs.r2jt.compilereport.CompileReport; import edu.clemson.cs.r2jt.data.MetaFile; import edu.clemson.cs.r2jt.data.ModuleKind; import edu.clemson.cs.r2jt.proving.Prover; import ...
package pluginlib; import java.io.File; import java.io.IOException; import java.lang.reflect.Constructor; import java.lang.reflect.Method; import java.util.jar.JarFile; public class Plugin { private File file; private String mainClass; private Class<?> clazz; private Object instance; /** * Trie...
package edu.uib.info310.search; import java.io.ByteArrayOutputStream; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import j...
package edu.uw.zookeeper.client; import static com.google.common.base.Preconditions.checkNotNull; import java.util.Collections; import java.util.EnumSet; import java.util.Set; import java.util.concurrent.Callable; import java.util.concurrent.Executor; import org.apache.zookeeper.KeeperException; import com.google.commo...
package de.dakror.vloxlands.game.world; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.util.concurrent.CopyOnWriteArrayList; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.OrthographicCamera; imp...
package hudson.slaves; import hudson.model.*; import hudson.remoting.Channel; import hudson.remoting.VirtualChannel; import hudson.remoting.Callable; import hudson.util.StreamTaskListener; import hudson.util.NullStream; import hudson.util.RingBufferLogHandler; import hudson.util.Futures; import hudson.FilePath; import ...
package io.grpc; import com.google.common.base.Preconditions; import java.util.ArrayDeque; import java.util.Queue; import java.util.concurrent.Executor; import java.util.logging.Level; import java.util.logging.Logger; import javax.annotation.concurrent.GuardedBy; /** * Executor ensuring that all {@link Runnable} tasks...
package org.picojs; import java.io.IOException; import java.net.Inet4Address; import java.net.InetAddress; import java.net.UnknownHostException; public class MulticastEnabler { public static final InetAddress mCastAddress =init(); public static final int port = 9223; private static InetAddress init(){ ...
package jenkins.install; import java.io.File; import java.io.IOException; import java.util.Locale; import java.util.UUID; import java.util.logging.Logger; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.Servlet...
package io.github.classgraph; import java.io.File; import java.util.Arrays; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import java.util.concurrent.atomic.AtomicBoolean; import nonapi.io.github.classgraph.reflection.ReflectionUtils; import nonapi.io.github.classgraph.utils.JarUtils; imp...
package lucee.runtime.tag; import static lucee.runtime.tag.util.FileUtil.NAMECONFLICT_ERROR; import static lucee.runtime.tag.util.FileUtil.NAMECONFLICT_OVERWRITE; import static lucee.runtime.tag.util.FileUtil.NAMECONFLICT_SKIP; import static lucee.runtime.tag.util.FileUtil.NAMECONFLICT_UNDEFINED; import java.io.File; i...
package org.jeecqrs.events; /** * Provides the ability to send events to interested listeners (publish-subscribe). * * @param <E> the base message type */ public interface EventBus<E> { /** * Dispatches and event in the given bucket on the event bus. * * @param bucketId the bucket in which the...
package joshie.harvest.animals; import joshie.harvest.animals.item.ItemAnimalTool.Tool; import joshie.harvest.animals.tracker.AnimalTrackerServer; import joshie.harvest.api.HFApi; import joshie.harvest.api.animals.AnimalAction; import joshie.harvest.api.animals.AnimalStats; import joshie.harvest.api.animals.AnimalTest;...
package uk.gov.dvla.core; import java.util.regex.Pattern; public final class Validators { public static final String DLN_REGEX = "^(?=.{16}$)[A-Za-z]{1,5}9{0,4}[0-9](?:[05][1-9]|[16][0-2])(?:[0][1-9]|[12][0-9]|3[01])[0-9](?:99|[A-Za-z][A-Za-z9])(?![IOQYZioqyz01_])\\w[A-Za-z]{2}$"; public static final String POS...
package kr.co.leehana.chat.server; import javax.swing.*; import java.awt.*; /** * @author Hana Lee * @since 2015-11-13 16-01 */ public class ServerGui extends JFrame { private static final long serialVersionUID = 477016551457497985L; private ServerBackground serverBackground = new ServerBackground(this); ...
package meew0.slotrelay; import net.minecraft.inventory.IInventory; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.tileentity.TileEntity; public class TileEntitySlotRelay extends TileEntity { public int slotExtract, slotInsert; public TileEntitySlotRelay() { ...
package mho.wheels.iterables; import mho.wheels.math.BinaryFraction; import mho.wheels.math.MathUtils; import mho.wheels.ordering.Ordering; import mho.wheels.random.IsaacPRNG; import mho.wheels.structures.*; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.math.BigDecimal...
package net.alcuria.umbracraft.engine.map; import net.alcuria.umbracraft.Config; import net.alcuria.umbracraft.Game; import net.alcuria.umbracraft.definitions.map.MapDefinition; import net.alcuria.umbracraft.definitions.tileset.TilesetDefinition; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphic...
package net.mgsx.game.plugins.core; import com.badlogic.gdx.assets.loaders.ShaderProgramLoader; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.glutils.ShaderProgram; import net.mgsx.game.core.GameScreen; import net.mgsx.game.core.annotations.PluginDef; import net.mgsx.game.core.components.Hi...
package nl.b3p.kar.stripes; import nl.b3p.kar.ExportCreatorThread; import com.vividsolutions.jts.geom.GeometryCollection; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileWriter; impor...
package nl.mpi.kinnate.svg; import java.awt.geom.AffineTransform; import nl.mpi.arbil.ui.GuiHelper; import nl.mpi.kinnate.KinTermSavePanel; import nl.mpi.kinnate.kindata.EntityData; import nl.mpi.kinnate.kindata.EntityRelation; import org.apache.batik.bridge.UpdateManager; import org.w3c.dom.Element; import org.w3c.dom...
package no.difi.sdp.client2.domain; import no.digipost.api.representations.AvsenderOrganisasjonsnummer; public class Avsender { private final AvsenderOrganisasjonsnummer organisasjonsnummer; private String avsenderIdentifikator; private String fakturaReferanse; public Avsender(AvsenderOrganisasjonsnumme...
// Tapestry Web Application Framework // Howard Lewis Ship // mailto:hship@users.sf.net // This library is free software. // You may redistribute it and/or modify it under the terms of the GNU // included with this distribution, you may find a copy at the FSF web // Free Software Foundation, 675 Mass Ave, Cambridge, MA...
package controller.configuration; import hochberger.utilities.files.checker.FileChecker; import hochberger.utilities.files.checker.aspects.ExistingFolderFileAspect; import hochberger.utilities.properties.LoadProperties; import hochberger.utilities.text.Text; import java.io.File; import java.io.IOException; import java....
import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.RenderingHints; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.awt.geom.AffineTransform; import java.awt.geom.Ellipse2D; i...
package org.apdplat.word.util; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.HashMap; import java.util.Map; import java.util.concurrent.atomic.AtomicInteger; import org.slf4j....
package org.voovan.tools; import org.voovan.db.CallType; import org.voovan.tools.json.JSON; import org.voovan.tools.log.Logger; import org.voovan.tools.reflect.TReflect; import java.lang.reflect.Method; import java.math.BigDecimal; import java.sql.*; import java.text.ParseException; import java.text.SimpleDateFormat; i...
package org.voovan.tools; import org.voovan.db.CallType; import org.voovan.db.DataBaseType; import org.voovan.db.JdbcOperate; import org.voovan.tools.json.JSON; import org.voovan.tools.log.Logger; import org.voovan.tools.reflect.TReflect; import java.lang.reflect.Method; import java.math.BigDecimal; import java.sql.*; ...
package org.codelibs.fess.suggest; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.time.ZonedDateTime; import java.time.format.DateTimeFormatter; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ExecutorService; import java.util.stre...
package org.pentaho.ui.xul.swt.tags; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; impor...