answer
stringlengths
17
10.2M
package net.xprova.piccolo; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.PrintStream; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; impo...
package org.gbif.dwc.terms; import java.util.ArrayList; import java.util.List; public enum DwcTerm implements Term, AlternativeNames { Occurrence(DwcTerm.GROUP_OCCURRENCE, "DarwinCore", "SimpleDarwinCore"), Organism(DwcTerm.GROUP_ORGANISM), MaterialSample(DwcTerm.GROUP_MATERIAL_SAMPLE), Event(DwcTerm.GROUP_EVEN...
package org.gitlab4j.api; import java.util.Collections; import java.util.Map; import java.util.Optional; import java.util.WeakHashMap; import java.util.logging.Level; import java.util.logging.Logger; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import org.gitlab4j.api.Constants.TokenType; import...
package org.kohsuke.github; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.List; import java.util.Locale; import java.util.Map; /** * Utility class for creating and retrieving webhooks; removes duplication between GHOrganization and GHRepo...
package org.spoutcraft.client; import org.spoutcraft.client.input.Input; import org.spoutcraft.client.network.Network; import org.spoutcraft.client.nterface.Interface; import org.spoutcraft.client.universe.Universe; /** * The game class. */ public class Game { private final Object wait = new Object(); private...
package org.utplsql.api; import oracle.jdbc.OracleConnection; import org.utplsql.api.compatibility.CompatibilityProxy; import org.utplsql.api.exception.DatabaseNotCompatibleException; import org.utplsql.api.exception.SomeTestsFailedException; import org.utplsql.api.exception.UtPLSQLNotInstalledException; import org.utp...
package seedu.address.ui; import java.time.format.DateTimeFormatter; import javafx.fxml.FXML; import javafx.scene.Node; import javafx.scene.control.CheckBox; import javafx.scene.control.Label; import javafx.scene.layout.HBox; import seedu.address.model.task.ReadOnlyTask; import seedu.address.model.task.Time; public cla...
package services; import org.sql2o.Connection; import java.util.Date; import java.util.List; import java.util.Map; import org.sql2o.Sql2oException; import services.UserService.User; import services.SessionService.Session; import services.SessionService.SessionNotFound; import services.ExerciseService.Exercise; import s...
package si.mazi.rescu; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import si.mazi.rescu.utils.AssertUtil; import java.io.*; import java.net.*; import java.util.HashMap; import java.util.Map; /*...
package ui.components; import static ui.issuepanel.AbstractPanel.PANEL_WIDTH; import static ui.issuepanel.AbstractPanel.OCTICON_TICK_MARK; import static ui.issuepanel.AbstractPanel.OCTICON_UNDO; import static ui.issuepanel.AbstractPanel.OCTICON_RENAME_PANEL; import static ui.issuepanel.AbstractPanel.OCTICON_CLOSE_PANEL...
package yanagishima.util; import com.fasterxml.jackson.databind.ObjectMapper; import okhttp3.HttpUrl; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; import java.io.IOException; import java.time.ZonedDateTime; import java.time.format.DateTimeFormatter; import java.time.temporal.ChronoUnit;...
package ibis.constellation; import ibis.constellation.impl.ActivityIdentifierImpl; /** * An <code>ActivityIdentifier</code> uniquely identifies an {@link Activity} * instance. The only valid ActivityIdentifiers are those returned from the * constellation system. In other words, it is not possible to create your own ...
package org.rakam; import com.google.common.base.Throwables; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import org.rakam.analysis.AlreadyExistsException; import org.rakam.collection.SchemaField; import org.rakam.collection.event.metastore.Metastore; import org.rakam.pl...
import com.google.gson.Gson; import json.set.HikeJson; import json.set.PersonJson; import record.RecordGetter; import record.RecordSetter; import record.RecordUpdater; import static spark.SparkBase.port; import static spark.Spark.*; public class HikingSpots { public static void main(String[] args) { String ...
package MTR; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; import net.minecraftforge.fml.common.registry.GameRegistry; public class Recipes { public static void addShapelessRecipes() { // GameRegistry.addShapelessRecipe(new ItemStack(MTRItems.itemtra...
package app; import browserApp.BrowserApp; import controller.MainAppController; import javafx.application.Application; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.scene.layout.Ancho...
package applist; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.net.UnknownH...
package ay; import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; import com.google.common.cache.RemovalListener; import com.google.common.cache.RemovalNotification; import rx.Observable; import rx.Scheduler; import rx.Subscription; import rx.functions.Action1; import rx.subjects.*; import ...
package csci599; public class App { public static void main(String[] args) throws Exception { String usage = "Pass bfa to perform byte frequency analysis, bfc to perform byte frequency correlation, or fht to perform file/header trailer analysis."; if (args.length < 1) { System.out.printl...
package test1; public class Hello { Breaking build public static void main(String[] args) { System.out.println("Hello GitHub World."); } }
package hudson; import hudson.model.Action; import hudson.model.Computer; import hudson.model.Item; import hudson.model.ItemGroup; import hudson.model.TopLevelItem; import hudson.model.View; import hudson.model.ViewGroup; import java.io.PrintWriter; import java.io.StringWriter; import java.util.Arrays; import java.util...
package com.threerings.gwt.util; import java.util.Date; import com.google.gwt.core.client.GWT; import com.google.gwt.i18n.client.DateTimeFormat; /** * Time and date utility methods. */ public class DateUtil { /** * Creates a label of the form "9:15am". TODO: support 24 hour time for people who go for that ...
package org.apache.lucene.document; import java.io.Reader; import java.util.Date; import org.apache.lucene.index.IndexReader; import org.apache.lucene.search.Similarity; import org.apache.lucene.search.Hits; /** A field is a section of a Document. Each field has two parts, a name and a value. Values may be free t...
package org.jdesktop.swingx; import java.awt.Color; import java.awt.ComponentOrientation; import java.awt.FlowLayout; import java.awt.Font; import java.awt.GradientPaint; import java.awt.Graphics; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.beans.PropertyVetoException; import ja...
package jsaf.intf.windows.registry; /** * Interface to a Windows registry REG_NONE value. * * @author David A. Solin * @version %I% %G% * @since 1.0 */ public interface INoneValue extends IValue { /** * Get the data. * * @since 1.3.9 */ byte[] getData(); }
package bisq.core.app; import bisq.common.util.Utilities; import java.io.IOException; import lombok.extern.slf4j.Slf4j; @Slf4j public class OSXStandbyModeDisabler { public void doIt() { if (!Utilities.isOSX()) { return; } long pid = ProcessHandle.current().pid(); try { ...
package bisq.core.btc; import bisq.core.btc.wallet.BtcWalletService; import bisq.core.provider.fee.FeeService; import bisq.core.user.Preferences; import bisq.common.util.Tuple2; import org.bitcoinj.core.Coin; import org.bitcoinj.core.InsufficientMoneyException; import javax.inject.Inject; import com.google.common.annot...
package forklift.producers; import forklift.connectors.ForkliftMessage; import forklift.message.Header; import java.io.Closeable; import java.util.Map; public interface ForkliftProducerI extends Closeable { String send(String message) throws ProducerException; String send(ForkliftMessage message) throws Produce...
package io.bisq.core.btc.wallet; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Splitter; import com.google.common.collect.ImmutableList; import com.google.common.util.concurrent.Service; import com.google.inject.Inject; import com.runjva.sourceforge.jsocks.protocol.Socks5Proxy; i...
package jenkins.triggers; import hudson.Extension; import hudson.ExtensionList; import hudson.Util; import hudson.console.ModelHyperlinkNote; import hudson.model.AbstractBuild; import hudson.model.AbstractProject; import hudson.model.Action; import hudson.model.AutoCompletionCandidates; import hudson.model.Cause; impor...
// leaderboard server with rest api, supporting json or jsonp // rest server import static spark.Spark.*; import spark.*; // mysql import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.sql.Statement; //import ja...
package com.doubleleft.api; import android.util.Log; import org.json.JSONException; import org.json.JSONObject; import java.util.HashMap; import java.util.Vector; public class Collection { protected Client client; protected String name; protected String segments; protected CollectionOptions _options; ...
package bspkrs.mmv; import immibis.bon.IProgressListener; import java.io.File; import java.io.IOException; import java.security.DigestException; import java.security.NoSuchAlgorithmException; import java.util.Collection; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.TreeMap; i...
package com.areen.jlib.util; import com.areen.jlib.model.SimpleObject; import com.areen.jlib.tuple.Pair; import java.awt.event.KeyEvent; import java.io.BufferedInputStream; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.I...
package step.rtm; import java.io.File; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Properties; import org.apache.commons.lang3.StringUtils; import org.eclipse.jetty.webapp.WebAppContext; import org.rtm.commons.Configuration; import org.rtm.commons....
package com.badlogic.dcpu; import java.util.HashMap; import java.util.Map; import com.badlogic.dcpu.Cpu.Opcode; import com.badlogic.dcpu.Cpu.Register; public class Assembler { ShortArray mem = new ShortArray(); Map<String, Label> labels = new HashMap<String, Label>(); /** * @return the binary data for ...
package com.conveyal.gtfs; import com.conveyal.file.FileStorage; import com.conveyal.file.FileStorageKey; import com.conveyal.file.FileUtils; import com.github.benmanes.caffeine.cache.Caffeine; import com.github.benmanes.caffeine.cache.LoadingCache; import com.github.benmanes.caffeine.cache.RemovalListener; import org....
package com.elevenpaths.latch; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.UnsupportedEncodingException; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.net.URLEncoder; im...
package com.exedio.cope; import com.exedio.cope.function.LengthFunction; import com.exedio.cope.function.UppercaseFunction; import com.exedio.cope.search.GreaterCondition; import com.exedio.cope.search.GreaterEqualCondition; import com.exedio.cope.search.LessCondition; import com.exedio.cope.search.LessEqualCondition; ...
package com.hartveld.rx; import static com.google.common.base.Preconditions.checkNotNull; import java.util.concurrent.Executor; import java.util.concurrent.atomic.AtomicBoolean; import java.util.function.Block; import java.util.function.Function; import java.util.function.Predicate; import org.slf4j.Logger; import org....
package com.j256.ormlite.stmt; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import com.j256.ormlite.dao.CloseableIterator; import com.j256.ormlite.dao.Dao; import com.j256.ormlite.db.DatabaseType; import com.j256.ormlite.field.FieldType; import com.j256.ormlite.stmt.QueryBuilder.Inte...
package com.jdev.jsprite; import java.io.File; import java.io.IOException; import com.jdev.net.sf.jargs.CmdLineParser; /** * @author jdeverna */ public class SpriteMain { private static void printUsage() { System.err.println("Sprite Builder Usage:"); System.err.println("-u, --usage : this list...
package com.justjournal.model; import com.fasterxml.jackson.annotation.*; import javax.persistence.*; import java.io.Serializable; import java.util.Date; import java.util.HashSet; import java.util.Set; /** * Journal entry transfer object. Contains one journal entry. Maps relationship between table "entry" and java. ...
package com.lambdaworks.codec; /** * @author <a href="mailto:mpaluch@paluch.biz">Mark Paluch</a> * <ul> * <li>Name: XMODEM (also known as ZMODEM or CRC-16/ACORN)</li> * <li>Width: 16 bit</li> * <li>Poly: 1021 (That is actually x16 + x12 + x5 + 1)</li> * <li>Initialization: ...
package com.mdsol.mauth; import org.apache.commons.codec.binary.Base64; import org.bouncycastle.crypto.encodings.PKCS1Encoding; import org.bouncycastle.crypto.engines.RSAEngine; import org.bouncycastle.crypto.util.PrivateKeyFactory; import org.bouncycastle.crypto.util.PublicKeyFactory; import org.bouncycastle.jce.provi...
package com.mitchellbdunn.chip8; import java.util.Random; import java.util.Stack; /** * * @author Mitch */ public class Cpu { // Chip8 units private Keyboard keyboard; private Screen screen; private Memory memory; // Cpu variables private int[] registerV; private int registerI; privat...
package com.alamkanak.weekview; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.PointF; import android.graphics.Rect; import android.graphics.RectF; import android.graphics.Typefa...
package com.pump.swing.popup; import java.awt.Color; import java.awt.Component; import java.awt.Container; import java.awt.GraphicsConfiguration; import java.awt.GraphicsDevice; import java.awt.GraphicsEnvironment; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Point; import java.awt...
package com.alamkanak.weekview; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.PointF; import android.graphics.Rect; import android.graphics.RectF; import android.graphics.Region...
// samskivert library - useful routines for java programs // 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 shoul...
package com.sb.elsinore.html; import java.io.IOException; import org.rendersnake.HtmlCanvas; import org.rendersnake.Renderable; import com.sb.elsinore.LaunchControl; import static org.rendersnake.HtmlAttributesFactory.*; /** * Create a top bar for the web page. * @author Doug Edey */ public class TopBar implements R...
import javax.swing.JFrame; import javax.swing.JLabel; /* * This snippet shows how to make a very basic Swing window. * * Usage: * - compile: javac Hello.java * - execute: java Hello */ public class Hello { public static void main(String args[]) { // Create a frame and set the title JFrame fram...
package cspfj.problem; import java.util.Arrays; import cspfj.util.BitVector; public final class BooleanDomain implements Domain { private static final int HISTORY_INCREMENT = 20; private static final int[] UNKNOWN_ARRAY = new int[] { 0, 1 }; private static final int[] TRUE_ARRAY = new int[] { 1 }; priva...
package de.prob2.ui.beditor; import java.io.IOException; import java.io.PushbackReader; import java.io.StringReader; import java.time.Duration; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.Optional; import java.util.concurrent.ExecutorServic...
package graphsearcher; import java.io.File; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; import o...
package hu.bme.mit.spaceship; /** * A simple spaceship with two proton torpedos and four lasers */ public class GT4500 implements SpaceShip { private TorpedoStore primaryTorpedoStore; private TorpedoStore secondaryTorpedoStore; private boolean wasPrimaryFiredLast = false; public GT4500() { this.primaryTorpe...
package hudson.plugins.ec2; import static javax.servlet.http.HttpServletResponse.SC_BAD_REQUEST; import static javax.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR; import com.amazonaws.ClientConfiguration; import com.amazonaws.auth.DefaultAWSCredentialsProviderChain; import com.cloudbees.jenkins.plugins.aws...
package hudson.remoting; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.logging.Level; import j...
/* Find the common ancestor of two nodes. * */ public class P0413 { private class Node { int value; Node left, right; public Node(int value) { this.value = value; } } public Node findLCA(Node root, Node p, Node q) { //if (root == null || p == null || q == null) // return null; ...
package cruise.umple.compiler; import static org.junit.Assert.*; import java.io.File; import java.io.FileReader; import java.io.IOException; import org.junit.After; import org.junit.Before; import org.junit.Test; import cruise.umple.util.SampleFileWriter; public class UmpleImportTest { private static String pathToI...
package io.sigpipe.sing.query; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import io.sigpipe.sing.dataset.feature.Feature; import io.sigpipe.sing.graph.Vertex; import io.sigpipe.sing.serial...
package io.sqooba.traildbj; import java.io.File; import java.io.InputStream; import java.io.OutputStream; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; impor...
package is.ru.hugb; import java.util.ArrayList; public class TicTacToeService { private TicTacToe ticTacToe = new TicTacToe(); private int turnCount = 0; public String toString() { return ticTacToe.toString(); } public void initialize() { turnCount = 0; ticTacToe.initializeGa...
package is.ru.tictactoe; import java.awt.Point; public class Application { private Game game; private UI ui; public Application (Game game, UI ui) { this.game = game; this.ui = ui; } public void runApp () { while (true) { if (quitApp(getMenuChoice())) { ...
package ixa.kaflib; import org.jdom2.Document; import org.jdom2.Element; import org.jdom2.Comment; import org.jdom2.Namespace; import org.jdom2.output.XMLOutputter; import org.jdom2.output.Format; import org.jdom2.input.SAXBuilder; import org.jdom2.JDOMException; import org.jdom2.xpath.XPathExpression; import java.util...
package joptsimple.internal; import java.util.Iterator; import static java.lang.System.*; import static java.util.Arrays.*; /** * @author <a href="mailto:pholser@alumni.rice.edu">Paul Holser</a> */ public final class Strings { public static final String EMPTY = ""; public static final String LINE_SEPARATOR = ...
package looly.github.hutool; import java.net.Inet4Address; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.NetworkInterface; import java.net.Socket; import java.net.SocketException; import java.net.URL; import java.util.Enumeration; import java.util.HashSet; import java.util.Set; import ...
package me.qmx.jitescript; import org.objectweb.asm.MethodVisitor; import java.util.ArrayList; import java.util.List; import org.objectweb.asm.ClassWriter; import org.objectweb.asm.Opcodes; import static me.qmx.jitescript.util.CodegenUtils.*; /** * * @author qmx */ public class JiteClass implements Opcodes { pri...
package mezz.jei.input; import javax.annotation.Nonnull; import javax.annotation.Nullable; import java.util.ArrayList; import java.util.List; import net.minecraft.client.Minecraft; import net.minecraft.client.entity.EntityPlayerSP; import net.minecraft.client.gui.inventory.GuiContainer; import net.minecraft.item.ItemSt...
package com.hulab.debugkit; import android.content.Context; import android.content.SharedPreferences; import java.util.concurrent.Callable; /** * Use this class to add a function to the debug tool. The return type of {@code call()} method will * be logged to the console. * * @see Callable */ public abstract class ...
package org.amc.servlet; import java.util.ArrayList; import java.util.List; import javax.annotation.Resource; import javax.persistence.PersistenceException; import javax.servlet.http.HttpServletRequest; import javax.validation.Valid; import org.amc.dao.DAO; import org.amc.dao.UserRolesDAO; import org.amc.model.User; im...
package org.apdplat.word.util; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.Map; import java.util.regex.Pattern; /** * * @author */ public class Utils { private static final Pattern PATTERN = Pattern.compile("^[\\u4e00-\\u9fa5]{2,}...
package org.basex.core.cmd; import static org.basex.core.Text.*; import java.io.File; import java.io.IOException; import org.basex.build.FSParser; import org.basex.core.CommandBuilder; import org.basex.core.Prop; import org.basex.core.Commands.Cmd; import org.basex.core.Commands.CmdCreate; public final class CreateFS e...
package org.basex.server; import static org.basex.util.Token.*; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream; import org.basex.core.BaseXException; import org.basex.core.Context; import org.basex.io.PrintOutput; import org.basex.query.QueryException; public class LocalQu...
package org.jtrfp.trcl; import java.util.concurrent.ExecutionException; import javax.media.opengl.GL3; import org.apache.commons.math3.geometry.euclidean.threed.Vector3D; import org.jtrfp.trcl.core.TR; import org.jtrfp.trcl.core.TriangleVertex2FlatDoubleWindow; import org.jtrfp.trcl.core.TriangleVertex2FlatDoubleWindow...
package org.jtrfp.trcl; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import javax.media.opengl.GL3; import javax.media.opengl.GLAutoDrawable; import javax.media.opengl.GLRunnable; import org.apache.commons.math3.geometry.euclidean.threed.Vector3D; import org.jtrfp.trcl.core.TR; ...
package org.jtrfp.trcl.file; import java.beans.Introspector; import java.beans.PropertyDescriptor; import java.io.IOException; import java.io.InputStream; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import org.apache.commons.beanutils.BeanUtils; import org.jtrfp.jfdt.ClassInclusion; ...
package org.kitteh.irc; import java.io.BufferedWriter; import java.io.IOException; import java.util.Queue; import java.util.concurrent.ConcurrentLinkedQueue; final class IRCBotOutput extends Thread { private final Object wait = new Object(); private final BufferedWriter bufferedWriter; private final int del...
package org.kohsuke.github; import java.io.FileNotFoundException; import java.io.IOException; import java.util.Arrays; import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.TreeMap; /** * Common part of {@link GHUser} and {@link GHOrganization}. * * @a...
package org.realrest.domain; import lombok.Getter; import lombok.Setter; import java.time.LocalDate; /** * @author volodymyr.tsukur */ @Getter @Setter public final class Booking extends Identifiable { private User user; private Room room; private LocalDate from; private LocalDate to; private boole...
package org.testng.internal; import static org.testng.internal.invokers.InvokedMethodListenerMethod.AFTER_INVOCATION; import static org.testng.internal.invokers.InvokedMethodListenerMethod.BEFORE_INVOCATION; import org.testng.IClass; import org.testng.IConfigurable; import org.testng.IConfigurationListener; import org....
package pipeline; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; @Controller public class PipelineController { @RequestMapping("/pipelines") public ...
package main.java.player.panels; import java.util.List; import javax.swing.JTextArea; @SuppressWarnings("serial") public class UnitInfoPanel extends ObservingPanel{ public static final String TIME = "Time"; private JTextArea unitInfoArea; public UnitInfoPanel() { unitInfoArea = new JTextArea(5, 5); ...
package robertbosch.utils; 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.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Ou...
package sc.fiji.threed; import cleargl.GLMatrix; import cleargl.GLVector; import com.jogamp.opengl.GLAutoDrawable; import ij.ImagePlus; import net.imagej.ImageJ; import net.imglib2.RealLocalizable; import sc.fiji.threed.process.MeshConverter; import org.scijava.ui.behaviour.ClickBehaviour; import scenery.*; import scen...
package seedu.address.ui; import java.io.File; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.scene.Scene; import javafx.scene.control.MenuItem; import javafx.scene.control.TextInputControl; import javafx.scene.input.KeyCombination; import javafx.scene.input.KeyEvent; import javafx.scene.layout...
package starfish.type; import java.io.Serializable; import java.util.HashMap; import java.util.Map; import starfish.helper.Util; public class TableMetadata implements Serializable { private static final long serialVersionUID = 1L; public final String tableName, keyColname, valueColname, versionColname, timestam...
package teamasm.moh.block; import codechicken.lib.tile.IDisplayTickTile; import codechicken.lib.tile.IGuiTile; import codechicken.lib.tile.IHarvestTile; import codechicken.lib.tile.IRotatableTile; import codechicken.lib.util.ItemUtils; import codechicken.lib.util.RotationUtils; import net.minecraft.block.Block; import ...
package xpress.storage; import org.hibernate.Criteria; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.criterion.Expression; import org.hibernate.criterion.Restrictions; import org.hibernate.impl.SessionImpl; import org.joda.time.Interval; import org.springframework.beans.factory...
package mondrian.olap; import mondrian.util.PropertiesPlus; import org.apache.log4j.Logger; import javax.servlet.ServletContext; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.lang.ref.WeakReference; import java.io.File; import java.io.IOException; import java.net.MalformedURLException; im...
package net.hillsdon.svnwiki.vc; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.UnsupportedEncodingException; import java.util.HashMap; import junit.framework.AssertionFailedError; import org.tmatesoft.svn.core.SVNException; import org.tmatesoft.svn.core.SVNProperty; import or...
package com.arover.moment; import java.security.InvalidParameterException; import java.util.Calendar; /** * @author arover * created at 8/26/16 23:32 */ public class Editor { private Moment mMoment; private Calendar mCalendar; public Editor(Moment moment) { mMoment = moment; mCale...
// S i g R e d u c 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; import org.audiver...
package net.ohloh.ohcount4j; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import net.ohloh.ohcount4j.detect.SimpleDetector; import net.ohloh.ohcount4j.io.FileBlob; import net.ohloh.ohcount4j.scan.LineHandler; import net.ohloh.ohcount4j.scan.Scanner; import or...
package net.oschina.concurrency; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.lang.Thread.State; public class TestPriority { public static void main(String[] args) { // Thread priority infomation System.out.printf("Minimum Priority: %s\n",Thread.MIN_...
package soliddomino.game.dominos; import soliddomino.game.managers.Dealer; import soliddomino.game.boards.Board; import soliddomino.game.components.Piece; import soliddomino.game.components.Player; import soliddomino.game.movement.Turn; import soliddomino.game.movement.Movement; import java.util.ArrayList; import java....
package net.sf.cglib; import java.io.Serializable; import java.util.*; import java.lang.reflect.*; /** * This class is meant to be used as a drop-in replacement for * <code>java.lang.reflect.Proxy</code>. * There are some known subtle differences: * <ul> * <li>The exceptions returned by invoking <code>getException...
package org.adligo.cl; import org.adligo.i.adig.client.BaseGInvoker; import org.adligo.i.adig.client.I_GInvoker; public class MockConsoleInputReader extends BaseGInvoker implements I_GInvoker<Object, String> { public static final MockConsoleInputReader INSTANCE = new MockConsoleInputReader(); private String nex...
package org.bouncycastle.crypto.tls; import org.bouncycastle.crypto.Digest; import org.bouncycastle.crypto.digests.MD5Digest; import org.bouncycastle.crypto.digests.SHA1Digest; import org.bouncycastle.crypto.macs.HMac; import org.bouncycastle.crypto.params.KeyParameter; import org.bouncycastle.util.Strings; import org....
package org.encog.util.math; public class GaussianFunction { private double center; private double peak; private double width; public GaussianFunction(double center,double peak,double width) { this.center = center; this.peak = peak; this.width = width; } public double...