answer stringlengths 17 10.2M |
|---|
package org.scijava.util;
import java.math.BigDecimal;
import java.math.BigInteger;
/**
* Useful methods for working with {@link Number} objects.
*
* @author Curtis Rueden
* @author Barry DeZonia
*/
public final class NumberUtils {
private NumberUtils() {
// prevent instantiation of utility class
}... |
package gov.nasa.jpl.mbee;
import gov.nasa.jpl.mbee.ems.sync.AutosyncStatusConfigurator;
import gov.nasa.jpl.mbee.ems.sync.OutputQueueStatusConfigurator;
import gov.nasa.jpl.mbee.ems.sync.OutputSyncRunner;
import gov.nasa.jpl.mbee.lib.Debug;
import gov.nasa.jpl.mbee.patternloader.PatternLoaderConfigurator;
import gov.n... |
package org.vetmeduni.readtools;
import htsjdk.samtools.util.Log;
import htsjdk.samtools.util.StringUtil;
import org.vetmeduni.tools.Tool;
import org.vetmeduni.tools.ToolNames;
import org.vetmeduni.tools.implemented.TrimFastq;
import org.vetmeduni.utils.TimeWatch;
import java.io.PrintWriter;
import java.util.Arrays;
pu... |
package hudson.plugins.ec2;
import edu.umd.cs.findbugs.annotations.CheckForNull;
import hudson.Util;
import hudson.model.Node;
import hudson.slaves.SlaveComputer;
import java.io.IOException;
import org.kohsuke.stapler.HttpRedirect;
import org.kohsuke.stapler.HttpResponse;
import com.amazonaws.AmazonClientException;
imp... |
package org.yinwang.pysonar;
import com.fasterxml.jackson.core.JsonFactory;
import com.fasterxml.jackson.core.JsonGenerator;
import com.google.common.collect.Lists;
import org.jetbrains.annotations.NotNull;
import org.yinwang.pysonar.ast.FunctionDef;
import org.yinwang.pysonar.ast.Node;
import org.yinwang.pysonar.types... |
package info.faceland.mint;
import net.milkbowl.vault.economy.Economy;
import net.milkbowl.vault.economy.EconomyResponse;
import org.bukkit.Bukkit;
import org.bukkit.OfflinePlayer;
import org.nunnerycode.mint.MintPlugin;
import java.text.DecimalFormat;
import java.util.List;
import java.util.UUID;
public class MintEcon... |
package etomica.spin.heisenberg_interacting.heisenberg;
import etomica.math.SpecialFunctions;
import etomica.util.numerical.BesselFunction;
import static etomica.util.numerical.BesselFunction.doCalc;
public class FunctionCosIntegral {
/**
* thetaDot for mean-field mapping of XY model, calculation of correlatio... |
// Pythagoras - a collection of geometry classes
package pythagoras.f;
import pythagoras.util.NoninvertibleTransformException;
/**
* Implements an affine (3x2 matrix) transform. The transformation matrix has the form:
* <pre>{@code
* [ m00, m10, tx ]
* [ m01, m11, ty ]
* [ 0, 0, 1 ]
* }</pre>
*/
public clas... |
package ru.stqa.selenium.zkgrid;
import com.beust.jcommander.IStringConverter;
import com.beust.jcommander.JCommander;
import com.beust.jcommander.Parameter;
import com.beust.jcommander.ParametersDelegate;
import com.beust.jcommander.internal.Lists;
import com.google.common.io.Files;
import ru.stqa.selenium.zkgrid.hub.... |
package io.pivotal.gemfire.demo;
import com.gemstone.gemfire.DataSerializer;
import com.gemstone.gemfire.cache.EntryEvent;
import com.gemstone.gemfire.cache.InterestResultPolicy;
import com.gemstone.gemfire.cache.Region;
import com.gemstone.gemfire.cache.client.ClientCache;
import com.gemstone.gemfire.cache.client.Clie... |
package seedu.taskitty.logic;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.collections.transformation.FilteredList;
import seedu.taskitty.logic.commands.Command;
import static seedu.taskitty.commons.core.Messages.MESSAGE_UNKNOWN_COMMAND;
//@@author A0139930B
public cl... |
package io.pivotal.gemfire.demo;
import com.gemstone.gemfire.cache.Operation;
import com.gemstone.gemfire.cache.Region;
import com.gemstone.gemfire.cache.client.ClientCache;
import com.gemstone.gemfire.cache.client.ClientCacheFactory;
import com.gemstone.gemfire.cache.client.ClientRegionShortcut;
import com.gemstone.ge... |
package seedu.todo.models;
import java.io.IOException;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
import seedu.todo.commons.exceptions.CannotRedoException;
import seedu.todo.commons.exceptions.CannotUndoException;
import seedu... |
package io.sigpipe.sing.stat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Random;
public class Reservoir<T> {
private long count;
private int size;
private List<Entry> reservoir;
private Random random = new Random();
/**
... |
package teetime.framework.pipe;
import teetime.framework.InputPort;
import teetime.framework.OutputPort;
import teetime.framework.signal.ISignal;
/**
* Represents an interface, which should be adapted by all implementations of pipes.
*/
public interface IPipe {
/**
* Adds an element to the Pipe.
*
... |
package linenux.control;
import java.util.ArrayList;
import linenux.command.AddCommand;
import linenux.command.Command;
import linenux.command.DeleteCommand;
import linenux.command.DoneCommand;
import linenux.command.EditCommand;
import linenux.command.ExitCommand;
import linenux.command.HelpCommand;
import linenux.com... |
package com.github.timofeevda.gwt.rxjs.interop.observable;
import jsinterop.annotations.JsFunction;
import jsinterop.annotations.JsMethod;
import jsinterop.annotations.JsType;
import com.github.timofeevda.gwt.rxjs.interop.subject.Subject;
import com.github.timofeevda.gwt.rxjs.interop.functions.Action0;
import com.githu... |
package visitors;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import javax.annotation.processing.ProcessingEnvironment;
import annotations.Morph;
import checkers.types.AnnotatedTypeFactory;
import com.sun.source.tree.Tree.Kind;
import com.sun.source.util.TreePath;
import com.sun... |
package logbook.bean;
import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
import java.util.function.Predicate;
import java.util.stream.Collectors;
import logbook.internal.Operator;
import logbook.internal.QuestCollect;
import logbook.internal.QuestCollect.Count;
impo... |
package macaca.client.commands;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import macaca.client.common.DriverCommand;
import macaca.client.common.MacacaDriver;
import macaca.client.common.Utils;
public class Element {
private MacacaDriver driver;
private Utils utils = new Uti... |
package net.hyperic.sigar;
/**
* Flag constants for network related ops.
*/
public class NetFlags {
private NetFlags () { }
/**
* value of unknown or non-existent hardware address
*/
public final static String NULL_HWADDR = "00:00:00:00:00:00";
/**
* interface is up
*/
public f... |
package me.paulbgd.bgdcore.io;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.zip.ZipEntry;
import java.util.zip.... |
package org.fidonet.binkp;
import org.apache.mina.core.service.IoService;
import org.apache.mina.core.service.IoServiceListener;
import org.apache.mina.core.session.IdleStatus;
import org.apache.mina.core.session.IoSession;
import org.apache.mina.filter.codec.ProtocolCodecFilter;
import org.apache.mina.transport.socket... |
package me.rkfg.pfe.gui;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.layout.RowLayout;
import org.eclipse.swt.widgets.Button;
import org.... |
package top.cardone.configuration.service.impl;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;
import org.apache.commons.collections.CollectionUtils;
import org.springframework.data.domain.Page;
import org.springframework.transaction.annotation.Tran... |
// jTDS JDBC Driver for Microsoft SQL Server and Sybase
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// This library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
/... |
package mousio.hbase.async;
import com.google.protobuf.RpcCallback;
import com.google.protobuf.RpcController;
import org.apache.hadoop.hbase.HRegionLocation;
import org.apache.hadoop.hbase.TableName;
import org.apache.hadoop.hbase.client.*;
import org.apache.hadoop.hbase.filter.BinaryComparator;
import org.apache.hadoo... |
package net.imagej.updater;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;
import java.security.NoSuchAlgorithmException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
i... |
package nl.pvanassen.ns;
import java.util.Date;
import nl.pvanassen.ns.model.stations.Stations;
import nl.pvanassen.ns.model.storingen.Storingen;
import nl.pvanassen.ns.model.vertrektijden.ActueleVertrekTijden;
public class RequestBuilder {
// Only one instance possible. Pre-instantiating this
private static fi... |
package org.amc.dao;
import org.amc.DAOException;
import org.amc.game.chessserver.ServerChessGame;
import org.amc.game.chessserver.observers.ObserverFactoryChain;
import org.apache.log4j.Logger;
import java.util.HashSet;
import java.util.Set;
import javax.annotation.Resource;
import javax.persistence.EntityManager;
imp... |
package org.apdplat.word;
import java.io.*;
import java.nio.charset.Charset;
import java.util.*;
import org.apdplat.word.segmentation.SegmentationAlgorithm;
import org.apdplat.word.segmentation.SegmentationFactory;
import org.apdplat.word.recognition.StopWord;
import org.apdplat.word.segmentation.Word;
import org.apdpl... |
package org.gitlab4j.api.models;
import java.util.Date;
import java.util.List;
import org.gitlab4j.api.utils.JacksonJson;
public class Commit {
private Author author;
private Date authoredDate;
private String authorEmail;
private String authorName;
private Date committedDate;
private String comm... |
package org.jbake.launcher;
import java.io.File;
import java.net.MalformedURLException;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.configuration.CompositeConfiguration;
import org.eclipse.jetty.server.Handler;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.handler.D... |
package org.jsapar.convert;
import org.jsapar.compose.Composer;
import org.jsapar.concurrent.ConcurrentConsumer;
import org.jsapar.error.JSaParException;
import org.jsapar.model.Line;
import org.jsapar.parse.ParseTask;
import java.io.IOException;
import java.io.UncheckedIOException;
import java.util.List;
import java.u... |
package org.jsoup.select;
import org.jsoup.helper.Validate;
import org.jsoup.nodes.Element;
import org.jsoup.nodes.Node;
import org.jsoup.select.NodeFilter.FilterResult;
/**
* Depth-first node traversor. Use to iterate through all nodes under and including the specified root node.
* <p>
* This implementation does no... |
package org.lightmare.jpa;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.util.Enumeration;
import org.lightmare.utils.StringUtils;
import org.lightmare.utils.fs.codecs.ArchiveUtils;
/**
* For getting resources from persistence.xml path
*
* @author Levan
* @since 0.0.16-SNAPSHOT
... |
package org.myrobotlab.service;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.... |
package org.myrobotlab.service;
import java.io.File;
import java.io.IOException;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.TreeSet;
import org.apache.commons.io.FilenameUtils;
import org.myrobotlab.framework.Platform;
import org.myrobotlab.framew... |
package org.myrobotlab.service;
import static org.myrobotlab.service.data.Mpu6050Data.dmpAddress1;
import static org.myrobotlab.service.data.Mpu6050Data.dmpAddress2;
import static org.myrobotlab.service.data.Mpu6050Data.dmpAddress3;
import static org.myrobotlab.service.data.Mpu6050Data.dmpAddress4;
import static org.my... |
package polyglot.ext.jl5.types;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.LinkedList;
impo... |
package org.usfirst.frc.team4828;
public class Ports {
// PWM
public static final int INTAKE = 9;
public static final int CLIMBER = 8;
public static final int AGITATOR_LEFT = 6;
public static final int AGITATOR_RIGHT = 7;
// Drivetrain
public static final int DT_FRONT_LEFT = 1;
public st... |
package se.tla.mavenversionbumper;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.*;
import joptsimple.OptionException;
import joptsimple.OptionParser;
import joptsimple.OptionSet;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.input.AutoCloseInpu... |
package seedu.doist.model;
import java.io.IOException;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.Set;
import java.util.logging.Logger;
import org.apache.commons.lang.StringUtils;
import javafx.collections.transformation.FilteredList;
impo... |
package sklearn2pmml.decoration;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Collection;
import java.util.Collections;
import java.util.GregorianCalendar;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import com.google.common.base.Function;
import com.goog... |
package starpunk.services;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.TextureAtlas;
import com.badlogic.gdx.utils.Disposable;
import java.util.HashMap;
import java.util.Map;
public final class AssetManager
implements Disposable
{
private final HashMap... |
package team.unstudio.udpl.util;
import javax.annotation.Nullable;
import com.google.common.base.Strings;
public final class Result {
private static final Result SUCCESS_RESULT = new Result(true);
public static Result success() {
return SUCCESS_RESULT;
}
public static Result failure() {
... |
package wasdev.sample.servlet;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileFilter;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.U... |
package edu.iu.grid.oim.model.db;
import java.io.IOException;
import java.security.KeyStore;
import java.security.KeyStoreException;
import java.security.NoSuchAlgorithmException;
import java.security.PrivateKey;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import java.sql.... |
package edu.washington.escience.myria.operator;
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.DataInput;
import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputS... |
package gameEngine.view.gameFrame.inputAndDisplay;
import java.awt.Dimension;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import javax.swing.BorderFactory;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.border.Border;
import net.miginfocom.swing.MigLayout;
imp... |
package gov.nih.nci.calab.ui.core;
import gov.nih.nci.calab.domain.nano.characterization.Characterization;
import gov.nih.nci.calab.domain.nano.characterization.DerivedBioAssayData;
import gov.nih.nci.calab.domain.nano.characterization.physical.Morphology;
import gov.nih.nci.calab.domain.nano.characterization.physical.... |
package gov.nih.nci.ncicb.cadsr.loader.ui;
import gov.nih.nci.ncicb.cadsr.loader.UserSelections;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import gov.nih.nci.ncicb.cadsr.loader.util.*;
import gov.nih.nci.ncicb.cadsr.loader.ui.util.UIUtil;
/**
* Wizard step to choose run mode
*
* @author <a hr... |
package module1;
import processing.core.PApplet;
import processing.core.PImage;
import de.fhpotsdam.unfolding.UnfoldingMap;
import de.fhpotsdam.unfolding.geo.Location;
import de.fhpotsdam.unfolding.providers.AbstractMapProvider;
import de.fhpotsdam.unfolding.providers.Google;
import de.fhpotsdam.unfolding.providers.Imm... |
package io.myweb;
import io.myweb.http.MimeTypes;
import io.myweb.http.Response;
import java.io.*;
public class ResponseWriter {
public static final int BUFFER_LENGTH = 32 * 1024;
private final OutputStream os;
private final String produces;
private boolean closed = false;
public ResponseWriter(Stri... |
package com.matthewtamlin.spyglass.library.default_annotations;
import com.matthewtamlin.spyglass.library.default_processors.DefaultToBooleanProcessor;
import com.matthewtamlin.spyglass.library.meta_annotations.Default;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.ann... |
package info.guardianproject.fakepanicresponder;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageInfo;
import android.content.pm.Pa... |
/* @java.file.header */
package org.gridgain.grid.util.direct;
import org.apache.ignite.internal.util.*;
import org.apache.ignite.internal.util.direct.*;
import org.jetbrains.annotations.*;
import sun.misc.*;
import sun.nio.ch.*;
import java.nio.*;
/**
* Portable stream based on {@link ByteBuffer}.
*/
public class Gr... |
package net.powermatcher.api.data;
import java.security.InvalidParameterException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
* <p>
* Bid is an immutable data class specifying a bid curve in either price points
* or by an demand array representation.
* </p>
*
* @author FAN
* ... |
package aQute.bnd.osgi;
import java.util.*;
import aQute.libg.generics.*;
public class Descriptors {
Map<String,TypeRef> typeRefCache = Create.map();
Map<String,Descriptor> descriptorCache = Create.map();
Map<String,PackageRef> packageCache = Create.map();
// MUST BE BE... |
package miner;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import database.DownloadedFile;
import database.FileHandler;... |
package org.navalplanner.ws.subcontract.impl;
import static org.navalplanner.web.I18nHelper._;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import org.apache.commons.lang.StringUtil... |
package org.apache.commons.vfs;
import org.apache.avalon.excalibur.i18n.ResourceManager;
import org.apache.avalon.excalibur.i18n.Resources;
import org.apache.commons.vfs.impl.DefaultFileReplicator;
import org.apache.commons.vfs.impl.DefaultFileSystemManager;
import org.apache.commons.vfs.impl.PrivilegedFileReplicator;
... |
package ca.carleton.gcrc.couch.user.agreement;
import java.util.Set;
import org.json.JSONArray;
import org.json.JSONObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ca.carleton.gcrc.couch.client.CouchDb;
import ca.carleton.gcrc.couch.client.CouchDesignDocument;
import ca.carleton.gcrc.couch.clien... |
package org.jdesktop.swingx.plaf.basic;
import java.awt.Color;
import java.awt.Component;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Insets;
import java.awt.LayoutManager;
import java.awt.... |
package net.nemerosa.ontrack.repository;
import net.nemerosa.ontrack.common.Document;
import net.nemerosa.ontrack.model.Ack;
import net.nemerosa.ontrack.model.exceptions.*;
import net.nemerosa.ontrack.model.structure.*;
import net.nemerosa.ontrack.repository.support.AbstractJdbcRepository;
import org.apache.commons.lan... |
package edu.mit.streamjit.impl.common;
import com.google.common.base.Function;
import static com.google.common.base.Preconditions.*;
import com.google.common.base.Strings;
import com.google.common.collect.BoundType;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import co... |
package eu.socialsensor.main;
import eu.socialsensor.benchmarks.FindNeighboursOfAllNodesBenchmark;
import eu.socialsensor.benchmarks.MassiveInsertionBenchmark;
import eu.socialsensor.benchmarks.SingleInsertionBenchmark;
public class GraphDatabaseBenchmark {
private final static String enronDataset = "data/enronEdge... |
package nars.predict;
import automenta.vivisect.TreeMLData;
import automenta.vivisect.swing.NWindow;
import automenta.vivisect.swing.PCanvas;
import automenta.vivisect.timeline.LineChart;
import automenta.vivisect.timeline.TimelineVis;
import java.awt.Color;
import nars.core.Events.TaskImmediateProcess;
import nars.cor... |
package edu.umd.cs.findbugs.util;
import java.io.BufferedReader;
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.OutputStream;
import java.... |
package aeronicamc.mods.mxtune.items;
import aeronicamc.mods.mxtune.inventory.InstrumentContainer;
import aeronicamc.mods.mxtune.managers.PlayIdSupplier;
import aeronicamc.mods.mxtune.managers.PlayManager;
import aeronicamc.mods.mxtune.util.IInstrument;
import aeronicamc.mods.mxtune.util.SheetMusicHelper;
import aeroni... |
package com.rethinkdb.ast;
import com.rethinkdb.gen.exc.ReqlDriverError;
import com.rethinkdb.gen.proto.TermType;
import com.rethinkdb.model.Arguments;
import com.rethinkdb.model.OptArgs;
import com.rethinkdb.net.Connection;
import com.rethinkdb.net.ConnectionInstance;
import org.json.simple.JSONArray;
import java.util... |
package alokawi.poc.spark.core;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import org.apache.spark.SparkConf;
import org.apache.spark.SparkContext;
import org.apache.spark.sql.Column;
import org.apache.spark.sql.Dataset;
import org.apache.spark.sql.Row;
... |
package org.strategoxt.imp.runtime.services.outline;
import java.util.LinkedList;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.imp.parser.IModelListener;
import org.eclipse.imp.parser.IParseController;
import org.eclipse.jface.text.TextSelection;
import org.eclipse.jface.viewers.SelectionChanged... |
package one.noa.onusbutton;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.PorterDuff;
import android.graphics.Typeface;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.support.v7.content.res.AppCompatResources;
import android.util.Attri... |
package org.devgateway.toolkit.persistence.mongo.reader;
import java.math.BigDecimal;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.apache.poi.ss.usermodel.DateUtil;
import org.devgateway.toolkit.persistence.mongo... |
package com.amediamanager.service;
import javax.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.amazonaws.regions.Region;
import com.amazonaws.regions.Regions;
import com.amazonaws.services.cloudwatch.AmazonCloudWatchClie... |
package com.yahoo.vespa.flags;
import com.yahoo.component.Vtag;
import com.yahoo.vespa.defaults.Defaults;
import java.time.Instant;
import java.time.LocalDate;
import java.time.ZoneOffset;
import java.time.format.DateTimeFormatter;
import java.util.List;
import java.util.Optional;
import java.util.TreeMap;
import stati... |
package com.malhartech.stram;
import com.malhartech.api.Operator.InputPort;
import com.malhartech.api.Operator.OutputPort;
import com.malhartech.api.Operator.Unifier;
import com.malhartech.api.*;
import com.malhartech.bufferserver.server.Server;
import com.malhartech.bufferserver.storage.DiskStorage;
import com.malhart... |
package com.bitsofproof.supernode.api;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.List;
import java.util.StringTokenizer;
public class ScriptFormat
{
public static final int SIGHASH_ALL = 1;
public s... |
package com.malhartech.stram;
import com.malhartech.dag.BackupAgent;
import com.malhartech.dag.Component;
import com.malhartech.dag.ComponentContextPair;
import com.malhartech.dag.Node;
import com.malhartech.dag.NodeConfiguration;
import com.malhartech.dag.NodeContext;
import com.malhartech.dag.NodeSerDe;
import com.ma... |
package com.blamejared.mcbot.commands;
import java.awt.Color;
import java.io.IOException;
import java.net.SocketTimeoutException;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.time.LocalDateTime;
import java.util.Comparator;
import java.util.Optional;
import java.util.Random;
import java.ut... |
package com.borderfree.kata.numerals;
import java.util.EnumSet;
public class RomanNumerals {
private static class AccNumeral {
final String str;
final int remaining;
public AccNumeral(String str, int remaining) {
this.str = str;
this.remaining = remaining;
}
... |
package cpw.mods.fml.client;
import java.io.File;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.logging.Level;
import java.util.logging.Logge... |
package com.btk5h.skriptmirror.skript;
import com.btk5h.skriptmirror.Descriptor;
import com.btk5h.skriptmirror.JavaType;
import com.btk5h.skriptmirror.LRUCache;
import com.btk5h.skriptmirror.Util;
import org.bukkit.event.Event;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.lang.invoke.MethodHandl... |
package com.canoo.webtest.steps.request;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import org.apache.log4j.Logger;
import org.xml.sax.SAXException;
i... |
package com.codebrig.jvmmechanic.agent;
import com.google.common.cache.Cache;
import com.google.common.cache.CacheBuilder;
import com.google.common.collect.Maps;
import java.nio.ByteBuffer;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicInteger;
/**
* @author Brand... |
package com.demigodsrpg.chitchat.format;
import com.demigodsrpg.chitchat.Chitchat;
import com.demigodsrpg.chitchat.tag.PlayerTag;
import com.google.common.collect.ImmutableList;
import org.bukkit.ChatColor;
import org.bukkit.entity.Player;
import java.util.*;
/**
* A class representing the format of chat.
*/
public c... |
package com.dumptruckman.lockandkey;
import org.jetbrains.annotations.NotNull;
import pluginbase.config.annotation.Comment;
import pluginbase.config.annotation.NoTypeKey;
import pluginbase.plugin.PluginBase;
import pluginbase.plugin.Settings;
import java.util.ArrayList;
import java.util.List;
@NoTypeKey
public final cl... |
package com.educode.minecraft.gui;
import com.educode.helper.ArrayHelper;
import com.educode.minecraft.CompilerMod;
import com.educode.minecraft.networking.MessageSaveFile;
import net.minecraft.client.gui.GuiButton;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.util.ChatAllowedCharacters;
import net.m... |
package com.frostwire.jlibtorrent;
import com.frostwire.jlibtorrent.swig.*;
import java.util.ArrayList;
import java.util.List;
/**
* The {@link AddTorrentParams} is a parameter pack for adding torrents to a
* session. The key fields when adding a torrent are:
* <ul>
* <li>ti - when you have a .torrent file</li>
* ... |
package com.github.cstroe.spendhawk.entity;
import com.github.cstroe.spendhawk.util.HibernateUtil;
import org.hibernate.criterion.Order;
import org.hibernate.criterion.Restrictions;
import javax.annotation.Nonnull;
import java.util.Collection;
import java.util.Date;
import java.util.List;
import java.util.Optional;
imp... |
package com.github.maven_nar;
import java.util.ArrayList;
import java.util.List;
public class ProcessLibraryCommand {
/**
* The executable to run
*
* @parameter default-value=""
*/
private String executable;
/**
* The library type that this command is valid for
*
* @parame... |
package com.github.pagehelper.page;
import com.github.pagehelper.Dialect;
import com.github.pagehelper.PageException;
import com.github.pagehelper.dialect.AbstractHelperDialect;
import com.github.pagehelper.dialect.helper.*;
import com.github.pagehelper.util.StringUtil;
import org.apache.ibatis.mapping.MappedStatement;... |
package com.github.phantomthief.util;
import static com.google.common.base.Preconditions.checkNotNull;
import java.io.Serializable;
import java.util.function.Supplier;
/**
* @author w.vela
*/
public class MoreSuppliers {
public static <T> CloseableSupplier<T> lazy(Supplier<T> delegate) {
if (delegate inst... |
package com.github.tonivade.resp;
import static com.github.tonivade.purefun.Precondition.checkNonEmpty;
import static com.github.tonivade.purefun.Precondition.checkNonNull;
import static com.github.tonivade.purefun.Precondition.checkRange;
import static com.github.tonivade.resp.SessionListener.nullListener;
import java... |
package com.imnotjames.tribbleengine.engine;
import com.imnotjames.tribbleengine.Family;
import com.imnotjames.tribbleengine.entity.Entity;
import java.util.ArrayList;
import java.util.List;
public class Engine {
private List<Entity> entities;
private List<EngineSystem> engineSystems;
private List<EngineEve... |
package com.jtj.web.service.impl;
import com.jtj.web.common.ResultDto;
import com.jtj.web.dao.UserDao;
import com.jtj.web.entity.User;
import com.jtj.web.service.SystemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.servlet.http.HttpSer... |
package com.kodcu.controller;
import com.esotericsoftware.yamlbeans.YamlReader;
import com.kodcu.bean.Config;
import com.kodcu.bean.RecentFiles;
import com.kodcu.bean.ShortCuts;
import com.kodcu.component.MenuBuilt;
import com.kodcu.component.MenuItemBuilt;
import com.kodcu.other.Current;
import com.kodcu.other.IOHelpe... |
package com.maddyhome.idea.vim.group;
import com.intellij.codeInsight.editorActions.CopyPastePostProcessor;
import com.intellij.codeInsight.editorActions.CopyPastePreProcessor;
import com.intellij.codeInsight.editorActions.TextBlockTransferable;
import com.intellij.codeInsight.editorActions.TextBlockTransferableData;
i... |
package com.minespaceships.mod.spaceship;
import javax.vecmath.Vector3d;
import com.minespaceships.util.BlockCopier;
import com.minespaceships.util.Vec3Op;
import net.minecraft.client.multiplayer.WorldClient;
import net.minecraft.util.BlockPos;
import net.minecraft.util.Vec3;
import net.minecraft.util.Vec3i;
import net... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.