answer stringlengths 17 10.2M |
|---|
package org.lp20.aikuma.storage;
import java.util.List;
import java.util.Map;
public interface Index {
/**
* Downloads metadata for the item.
*
* @param identifier
* @return The metadata for the item as a key-value pairs. Null if item is
* not found in the index.
*/
public abstra... |
package edu.umd.cs.findbugs;
import java.util.ArrayList;
import java.util.BitSet;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.bcel.Repository;
import org.apache.bcel.classfile.Code;
import org.apache.bcel.classfile.CodeException;
import org.apache.bcel.classfile.Constant;
im... |
package org.minimalj.frontend.editor;
import java.util.ArrayList;
import java.util.List;
import java.util.function.Consumer;
import java.util.logging.Logger;
import org.minimalj.application.Configuration;
import org.minimalj.frontend.Frontend;
import org.minimalj.frontend.Frontend.IContent;
import org.minimalj.frontend... |
package com.fede.Utilities;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import android.app.AlertDialog;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import andr... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.jbpm.console.ng.ht.service;
import java.util.Date;
import java.util.List;
import java.util.Map;
import org.jboss.errai.bus.server.annotations.Remote;
import org.jbpm.console.ng.ht.model.CommentSummary;
import... |
package org.neo4j.com;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.LinkedList;
import java.util.List;
import org.jboss.netty.buffer.ChannelBuffer;
import org.jboss.netty.channel.Channel;
import org.jboss.netty.channel.ChannelPipeline;
import org.jboss.netty.handler.codec.frame.LengthFieldBa... |
package edu.umd.cs.findbugs;
import java.util.ArrayList;
import java.util.List;
import org.apache.bcel.Repository;
import org.apache.bcel.classfile.Constant;
import org.apache.bcel.classfile.ConstantUtf8;
import org.apache.bcel.classfile.ConstantInteger;
import org.apache.bcel.classfile.ConstantDouble;
import org.apach... |
package org.nanopub.extra.server;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import net.trustyuri.TrustyUriUtils;
import org.apache.http.client.HttpClient;
i... |
package com.mapswithme.maps.bookmarks.data;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.annotation.IntRange;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import java.util.HashMap;
import java.util.Map;
public class Metadata implements Parcelab... |
package com.frostwire.jlibtorrent;
import com.frostwire.jlibtorrent.swig.*;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* The Entry class represents one node in a bencoded hierarchy. It works as a
* variant typ... |
package org.bouncycastle.asn1;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import org.bouncycastle.util.Arrays;
/**
* ASN.1 TaggedObject - in ASN.1 notation this is any object preceded by
* a [n] where n is some number - these are assumed to follow the constr... |
package ${package};
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.sprin... |
package xiaren;
import com.badlogic.gdx.Files;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.files.FileHandle;
import com.badlogic.gdx.utils.GdxRuntimeException;
public class Background {
private final String backgroundimage;
public Background(String imagetoload) { // imagetoload is the file path of the ... |
package org.narwhal.core;
import org.narwhal.annotation.Column;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.lang.annotation.Annotation;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
impo... |
package com.mapswithme.util.statistics;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.provider.Settings.Secure;
import android.util.Log;
import com.flurry.android.FlurryAgent;
import com.mapswithme.maps.BuildConfig;
import com.mapswithme.maps.R;
import com.mapswit... |
package com.fsck.k9;
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;
import java.uti... |
package org.bouncycastle.crypto;
/**
* Ciphers producing a key stream which can be reset to particular points in the stream.
*/
public interface SkippingCipher
{
long skip(long numberOfBlocks);
} |
package org.orbeon.oxf.xml.dom4j;
import org.orbeon.dom.*;
import org.orbeon.dom.io.*;
import org.orbeon.oxf.common.OXFException;
import org.orbeon.oxf.pipeline.api.TransformerXMLReceiver;
import org.orbeon.oxf.processor.generator.DOMGenerator;
import org.orbeon.oxf.resources.URLFactory;
import org.orbeon.oxf.util.Stri... |
package eic.beike.projectx.model;
import eic.beike.projectx.network.busdata.SimpleBusCollector;
import android.util.Log;
import eic.beike.projectx.network.busdata.BusCollector;
import eic.beike.projectx.network.busdata.Sensor;
import eic.beike.projectx.util.Constants;
/**
*@author Simon
*/
public class Count implemen... |
package com.googlecode.ant_deb_task;
import org.apache.tools.ant.*;
import org.apache.tools.ant.taskdefs.Tar;
import org.apache.tools.ant.types.*;
import org.apache.tools.tar.TarOutputStream;
import java.io.*;
import java.util.*;
import java.util.regex.*;
import java.util.zip.*;
import java.security.MessageDigest;
impo... |
package org.jtransfo;
import org.jtransfo.internal.SyntheticField;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
* Abstract type converter for converting lists with object of specific type. Can only be used as declared converter.
*/
public abstract class AbstractListTypeConverte... |
package io.branch.rnbranch;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.BroadcastReceiver;
import android.net.Uri;
import android.support.annotation.Nullable;
import android.support.v4.content.LocalBroadcastManag... |
package com.jme.animation;
import java.io.IOException;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Set;
import java.util.logging.Level;
import java.util.logging.Logger;
import com.jme.scene.Controller;
import com.jme.scene.Spatial;
import ... |
package io.crate.planner.symbol;
import io.crate.metadata.FunctionInfo;
import org.cratedb.DataType;
import org.elasticsearch.common.Preconditions;
import org.elasticsearch.common.io.stream.StreamInput;
import org.elasticsearch.common.io.stream.StreamOutput;
import java.io.IOException;
import java.util.ArrayList;
impor... |
package io.branch.rnbranch;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.BroadcastReceiver;
import android.net.Uri;
import android.support.annotation.Nullable;
import android.support.v4.content.LocalBroadcastManag... |
package com.stripe.android;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.util.concurrent.Executor;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.Robolec... |
package org.spongepowered.api.data.key;
import com.flowpowered.math.vector.Vector3d;
import com.flowpowered.math.vector.Vector3i;
import org.spongepowered.api.block.BlockState;
import org.spongepowered.api.block.BlockType;
import org.spongepowered.api.block.BlockTypes;
import org.spongepowered.api.block.entity.Banner;
... |
package com.nullprogram.maze;
import java.awt.Dimension;
import javax.swing.JApplet;
/**
* Runs the maze animation as an applet.
*/
public class MazeApplet extends JApplet implements SolverListener {
private static final long serialVersionUID = 7742407602430714892L;
/* Defaults */
private static final int... |
package org.opencms.gwt.client.ui.tree;
import org.opencms.gwt.client.dnd.CmsDNDHandler.Orientation;
import org.opencms.gwt.client.dnd.I_CmsDraggable;
import org.opencms.gwt.client.dnd.I_CmsDropTarget;
import org.opencms.gwt.client.ui.CmsList;
import org.opencms.gwt.client.ui.CmsListItem;
import org.opencms.gwt.client.... |
package org.opennms.netmgt.provision.persist;
import java.util.Set;
import java.util.TreeSet;
import javax.servlet.http.HttpServletRequest;
import org.apache.log4j.Category;
import org.opennms.core.utils.ThreadCategory;
import org.opennms.netmgt.EventConstants;
import org.opennms.netmgt.config.SnmpEventInfo;
import org... |
package org.vovkasm.WebImage;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Matrix;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.support.annotation.ColorInt;
import android.support.annotation.IntDef;
import and... |
package org.wiztools.restclient.xml;
import java.io.BufferedOutputStream;
import java.io.ByteArrayOutputStream;
import nu.xom.ParsingException;
import org.wiztools.restclient.*;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.net.MalformedURLExc... |
package com.transloadit.sdk;
import org.apache.commons.codec.binary.Hex;
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
import java.nio.charset.StandardCharsets;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.time.Instant;
import java.time.ZoneOffs... |
package org.opencms.gwt.client;
import org.opencms.gwt.client.rpc.CmsLog;
import org.opencms.gwt.client.ui.CmsNotification;
import org.opencms.gwt.client.ui.css.I_CmsImageBundle;
import org.opencms.gwt.client.ui.css.I_CmsInputLayoutBundle;
import org.opencms.gwt.client.ui.css.I_CmsLayoutBundle;
import org.opencms.gwt.c... |
package annotator.find;
import annotator.Main;
import java.io.*;
import java.util.*;
import javax.tools.*;
import com.sun.source.tree.*;
import com.sun.source.util.*;
import com.sun.source.util.TreeScanner;
import com.sun.tools.javac.tree.*;
import com.sun.tools.javac.tree.JCTree.*;
import javax.lang.model.element.Modi... |
package org.owasp.dependencycheck;
import org.junit.Before;
import org.junit.After;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
import org.junit.rules.TestName;
import org.owasp.dependencycheck.analyzer.AnalysisPhase;
import org.owasp.dependencycheck.dependency.Dependency;
impo... |
package permafrost.tundra.lang;
import com.wm.data.IData;
import com.wm.data.IDataCursor;
import com.wm.data.IDataFactory;
import com.wm.data.IDataUtil;
import permafrost.tundra.data.IDataHelper;
import permafrost.tundra.data.transform.Transformer;
import permafrost.tundra.data.transform.string.Uncontroller;
import per... |
package com.wizzardo.tools.http;
import com.wizzardo.tools.misc.WrappedException;
import javax.net.ssl.HttpsURLConnection;
import java.io.*;
import java.net.*;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
public class Request extends RequestArguments<Request> {
protected String url;
p... |
package org.eclipse.che.ide.ext.datasource.client.ssl;
import com.google.gwt.i18n.client.LocalizableResource.DefaultLocale;
import com.google.gwt.i18n.client.Messages;
@DefaultLocale("en")
public interface SslMessages extends Messages {
@DefaultMessage("Cancel")
String cancelButton();
@DefaultMessage("Uploa... |
package io.spacedog.examples;
import java.util.Optional;
import java.util.Random;
import org.junit.Test;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.ObjectNode;
import io.spacedog.client.SpaceClient;
import io.spacedog.client.SpaceRequest;
import io.spacedog.client.SpaceTa... |
package org.realityforge.arez;
import java.lang.reflect.Field;
import java.util.Objects;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import org.realityforge.guiceyloops.shared.ValueUtil;
import org.testng.Assert;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMetho... |
package sc.iview.commands.demo;
import cleargl.GLVector;
import com.jogamp.opengl.math.Quaternion;
import graphics.scenery.*;
import graphics.scenery.backends.ShaderType;
import net.imagej.mesh.Mesh;
import org.scijava.command.Command;
import org.scijava.command.CommandService;
import org.scijava.io.IOService;
import o... |
package org.nnsoft.shs;
import org.nnsoft.shs.http.Response.Status;
/**
* The Server configuration.
*
* It has been designed as interface so users are free to implement their proxies on
* Properties, XML, JSON, YAML, ...
*/
public interface HttpServerConfigurator
{
/**
* Configure the host name or the tex... |
package org.pocketcampus.plugin.freeroom.android.adapter;
import java.util.List;
import java.util.Map;
import org.pocketcampus.plugin.freeroom.R;
import org.pocketcampus.plugin.freeroom.android.FreeRoomModel;
import org.pocketcampus.plugin.freeroom.android.views.FreeRoomHomeView;
import org.pocketcampus.plugin.freeroom... |
package orca.ahab.libndl.ndl;
import java.util.Calendar;
import java.util.Date;
import java.util.HashSet;
import java.util.UUID;
import com.hp.hpl.jena.ontology.Individual;
import com.hp.hpl.jena.rdf.model.Resource;
import edu.uci.ics.jung.graph.SparseMultigraph;
import edu.uci.ics.jung.graph.util.Pair;
import orca.aha... |
package se.cybercom.rest.doc;
import java.io.File;
import java.io.IOException;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.lang.reflect.Parameter;
import java.net.URL;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.security.CodeSou... |
package com.lsm;
import java.util.Arrays;
public interface ListSortMerger {
static int[] createResultArray(InsertPosition insertPosition, int[] left, int[] right) {
if (insertPosition == InsertPosition.BACK) {
// result array = left + right
int[] result = Arrays.copyOf(left, left.len... |
package org.whattf.checker;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Set;
import org.xml.sax.Attributes;
import org.xml.sax.Locator;
import org.xml.sax.SAXException;
public class UsemapChecker extends Checker {
private final Map<Strin... |
// Triple Play - utilities for use in PlayN-based games
package tripleplay.ui.bgs;
import pythagoras.f.IDimension;
import playn.core.ImmediateLayer;
import playn.core.PlayN;
import playn.core.Surface;
import tripleplay.ui.Background;
/**
* A background that displays a bevel around a solid color.
*/
public class Bevel... |
package com.twotoasters.jazzylistview;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Point;
import android.os.Build;
import android.util.AttributeSet;
import android.util.Log;
import android.view.Display;
import android.view.View;
imp... |
package com.opencsv;
import com.lmax.disruptor.*;
public abstract interface RowHandler<T> extends EventHandler<T>,LifecycleAware {
} |
package us.myles.ViaVersion.api;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;
import org.bukkit.entity.Player;
import org.bukkit.event.Listener;
import us.myles.ViaVersion.ViaVersionPlugin;
import us.myles.ViaVersion.api.data.UserConnection;
import us.my... |
package android.network.socket;
import android.network.socket.codec.Decode;
import android.network.socket.codec.Encode;
import android.network.socket.codec.Handle;
import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.InetSocketAddress;
import jav... |
package com.rapid.core;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.servlet.ServletContext;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.json.JSONException;
import org.json.JSONObje... |
package org.deidentifier.arx.framework.data;
import java.util.Arrays;
/**
* Encodes a data object consisting of a dictionary encoded two-dimensional
* array, an associated dictionary, a header and a mapping to the columns in the
* input data set
*
* @author Fabian Prasser
* @author Florian Kohlmayer
*/
public cl... |
package org.eclipse.birt.report.designer.internal.ui.views.actions;
import java.util.Iterator;
import org.eclipse.birt.report.designer.internal.ui.util.ExceptionHandler;
import org.eclipse.birt.report.designer.nls.Messages;
import org.eclipse.birt.report.model.api.DesignFileException;
import org.eclipse.birt.report.mod... |
package com.oasisfeng.android.base;
import android.app.Activity;
import android.app.Application.ActivityLifecycleCallbacks;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.annotation.NonNull;
import com.oasisfeng.android.base.Scopes.Scope;
impor... |
package io.branch.referral;
import java.util.Collections;
import java.util.ConcurrentModificationException;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.NoSuchElementException;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import... |
package com.sksamuel.jqm4gwt.list;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import com.google.gwt.dom.client.Element;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.event.dom.client.HasClickHandlers;
im... |
package gov.nih.nci.cabig.report2caaers;
import static gov.nih.nci.cabig.caaers2adeers.track.IntegrationLog.Stage.CAAERS_WS_INVOCATION_COMPLETED;
import static gov.nih.nci.cabig.caaers2adeers.track.IntegrationLog.Stage.CAAERS_WS_INVOCATION_INITIATED;
import static gov.nih.nci.cabig.caaers2adeers.track.IntegrationLog.St... |
package org.eclipse.smarthome.binding.wemo.handler;
import static org.eclipse.smarthome.binding.wemo.WemoBindingConstants.*;
import java.math.BigDecimal;
import java.net.URL;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ScheduledFuture;
import java.util.concurrent.TimeUnit;
import org.apa... |
package org.springframework.ide.vscode.boot.java.handlers;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import org.springframework.ide.vscode.commons.boot.app.cli.SpringBootApp;
import org.springframework.ide.vscode.commons.java.IClasspath;
import org.spring... |
package org.innovateuk.ifs.project.spendprofile.transactional;
import org.innovateuk.ifs.BaseServiceUnitTest;
import org.innovateuk.ifs.application.domain.Application;
import org.innovateuk.ifs.commons.error.CommonFailureKeys;
import org.innovateuk.ifs.commons.error.Error;
import org.innovateuk.ifs.commons.error.Valida... |
package org.innovateuk.ifs.management.admin.viewmodel;
import org.innovateuk.ifs.management.admin.form.InviteUserView;
import org.innovateuk.ifs.user.resource.Role;
import org.junit.Test;
import static java.util.stream.Collectors.toSet;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertT... |
package org.eclipse.persistence.testing.tests.jpa.criteria.metamodel;
import java.util.Set;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.HashSet;
i... |
package fertilizers;
import database.DatabaseConnection;
import java.sql.SQLException;
import java.sql.Statement;
import javax.swing.JFrame;
/**
*
* @author ProjectTeam
*/
public class FarmerForm extends AbstractForm {
public FarmerForm(JFrame prev) {
super(prev);
initComponents();
}
/**
... |
package io.trane.future;
import java.time.Duration;
import java.util.List;
import java.util.Optional;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.ScheduledFuture;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.AbstractQueuedSynchronizer;
import java.util.fu... |
package com.github.longkerdandy.mithril.mqtt.storage.redis.sync;
import com.fasterxml.jackson.databind.JsonNode;
import com.github.longkerdandy.mithril.mqtt.api.internal.InternalMessage;
import com.github.longkerdandy.mithril.mqtt.api.internal.PacketId;
import com.github.longkerdandy.mithril.mqtt.api.internal.Publish;
... |
package phrase;
import gnu.trove.TIntArrayList;
import io.FileUtil;
import java.io.File;
import java.io.IOException;
import java.io.PrintStream;
import java.util.Arrays;
import java.util.List;
import phrase.Corpus.Edge;
/**
* @brief context generates phrase
* @author desaic
*
*/
public class C2F {
public int K;... |
package raptor.connector.ics;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import raptor.Raptor;
import raptor.chat.Bugger;
import raptor.chat.ChatEvent;
import raptor.chat.ChatType;
import raptor.chat.Partnership;
import ... |
package org.neo4j.kernel;
import java.io.IOException;
import java.io.Serializable;
import java.nio.channels.ReadableByteChannel;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.regex.Pattern;
import org.neo4j.graphdb.GraphDa... |
package org.neo4j.kernel;
import java.io.IOException;
import java.io.Serializable;
import java.nio.channels.ReadableByteChannel;
import java.util.HashMap;
import java.util.Map;
import java.util.regex.Pattern;
import org.neo4j.graphdb.GraphDatabaseService;
import org.neo4j.graphdb.Node;
import org.neo4j.graphdb.Relation... |
package org.pentaho.ui.xul.swt.tags;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Vector;
import org.apache.commons.lang.StringUtils;
import org.apache.c... |
package jonathanfinerty.once;
import android.content.Context;
import android.content.SharedPreferences;
import java.util.HashSet;
import java.util.Set;
class PersistedSet {
private static final String STRING_SET_KEY = "PersistedSetValues";
private SharedPreferences preferences;
private Set<String> set;
... |
package conversioncalculator;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import javax.swing.JComboBox;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JTextField;
import... |
package com.yahoo.squidb.sql;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicReference;
/**
* Default implementation of {@link ArgumentResolver} that unwraps AtomicReferences, AtomicBooleans, ThreadLocals, and
* Enum values. Users can extend DefaultArgumentResolver by overr... |
package org.postgresql.jdbc;
import static org.postgresql.util.internal.Nullness.castNonNull;
import org.postgresql.PGStatement;
import org.postgresql.core.JavaVersion;
import org.postgresql.core.Oid;
import org.postgresql.core.Provider;
import org.postgresql.util.ByteConverter;
import org.postgresql.util.GT;
import or... |
package org.exist.jetty;
import java.io.IOException;
import java.io.InputStream;
import java.io.LineNumberReader;
import java.io.Reader;
import java.net.*;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.*;
import java.util.stream.Collectors;
import javax.servlet.Serv... |
package verification.platu.logicAnalysis;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.PriorityQueue;
import java.util.Stack;
... |
package org.minimalj.rest;
import java.io.IOException;
import java.util.logging.Logger;
import org.minimalj.application.Application;
import org.minimalj.application.Configuration;
import org.minimalj.model.test.ModelTest;
import org.minimalj.util.StringUtils;
import fi.iki.elonen.NanoHTTPD;
public class RestServer {
... |
package org.jgrapes.portal;
import freemarker.template.Configuration;
import freemarker.template.SimpleScalar;
import freemarker.template.Template;
import freemarker.template.TemplateException;
import freemarker.template.TemplateExceptionHandler;
import freemarker.template.TemplateMethodModelEx;
import freemarker.templ... |
package org.xwiki.wiki.script;
import java.util.ArrayList;
import java.util.Collection;
import javax.inject.Inject;
import javax.inject.Named;
import javax.inject.Provider;
import javax.inject.Singleton;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.xwiki.component.annotation.Componen... |
package hex.ensemble;
import hex.DistributionFactory;
import hex.Model;
import hex.ModelBuilder;
import hex.ensemble.Metalearner.Algorithm;
import hex.genmodel.utils.DistributionFamily;
import hex.glm.GLM;
import hex.glm.GLMModel;
import hex.glm.GLMModel.GLMParameters;
import water.exceptions.H2OIllegalArgumentExceptio... |
package org.eclipse.birt.report.designer.internal.ui.editors.schematic.editparts;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.eclipse.birt.report.designer.internal.ui.editors.schematic.editpolicies.ReportContainerEditPolicy;
import org.eclipse.birt.report.designer.internal.u... |
package com.fazend.web;
import com.rexsl.page.HttpHeadersMocker;
import com.rexsl.page.UriInfoMocker;
import com.rexsl.test.JaxbConverter;
import com.rexsl.test.XhtmlMatchers;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.SecurityContext;
import org.hamcrest.MatcherAssert;
import org.junit.Test;
import org.... |
package hex;
import water.*;
import water.fvec.Vec;
abstract public class SupervisedModelBuilder<M extends SupervisedModel<M,P,O>, P extends SupervisedModel.SupervisedParameters, O extends SupervisedModel.SupervisedOutput> extends ModelBuilder<M,P,O> {
protected transient Vec _response; // Handy response column
pub... |
package net.bootsfaces.listeners;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.ListIterator;
import java.util.Map;
import java.util.Map.Entry;
import java.util.logging.Logger;
import javax.faces.FacesException;
i... |
package io.cattle.platform.agent.connection.delegate;
import io.cattle.platform.agent.RemoteAgent;
import io.cattle.platform.agent.server.connection.AgentConnection;
import io.cattle.platform.async.utils.AsyncUtils;
import io.cattle.platform.eventing.EventCallOptions;
import io.cattle.platform.eventing.model.Event;
imp... |
package bisq.network.p2p.network;
import bisq.common.UserThread;
import bisq.common.proto.network.NetworkEnvelope;
import javafx.beans.property.DoubleProperty;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.LongProperty;
import javafx.beans.property.SimpleDoubleProperty;
import javafx.beans.... |
package ro.isdc.wro.http;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.io.IOException;
import java.lang.management.ManagementFactory;
import java.util.Calendar;
import java.util.Date;
import java.util.LinkedHashMap;
import java.util.Map;
import javax.management.JMExceptio... |
package com.heroku.api.json;
import java.util.Iterator;
import java.util.ServiceLoader;
public class Json {
private static volatile boolean initialized = false;
private static JsonParser parser;
private static Object lock = new Object();
public static JsonParser getJsonParser() {
if (parser != n... |
package net.xisberto.work_schedule;
import java.util.Calendar;
import net.xisberto.work_schedule.Settings.Period;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.os.B... |
package odontosoft.controller;
import java.io.IOException;
import java.net.URL;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.ResourceBundle;
import java.util.Timer;
import java.util.TimerTask;
import java.util.logging.Level;
import java.util.logging.Logger;
import javafx.application.P... |
package edu.umd.cs.daveho.ba.bcp;
import java.util.regex.*;
import org.apache.bcel.Repository;
import org.apache.bcel.Constants;
import org.apache.bcel.generic.*;
import edu.umd.cs.daveho.ba.*;
/**
* A PatternElement to match a method invocation.
* Currently, we don't allow variables in this element (for arguments
*... |
package org.innovateuk.ifs.application.terms.controller;
import org.innovateuk.ifs.application.resource.ApplicationResource;
import org.innovateuk.ifs.application.service.ApplicationRestService;
import org.innovateuk.ifs.commons.security.SecuredBySpring;
import org.innovateuk.ifs.competition.resource.CompetitionResourc... |
package opendap.semantics.IRISail;
import opendap.wcs.v1_1_2.*;
import org.jdom.Element;
import org.jdom.filter.ElementFilter;
import org.jdom.output.XMLOutputter;
import org.jdom.output.Format;
import org.openrdf.query.*;
import org.slf4j.Logger;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import j... |
package edu.umd.cs.findbugs.detect;
import edu.umd.cs.findbugs.ResourceCreationPoint;
import edu.umd.cs.findbugs.ba.BasicBlock;
import edu.umd.cs.findbugs.ba.Hierarchy;
import edu.umd.cs.findbugs.ba.Location;
import edu.umd.cs.findbugs.ba.RepositoryLookupFailureCallback;
import edu.umd.cs.findbugs.ba.ResourceValue;
imp... |
package edu.kit.iti.formal.pse.worthwhile.interpreter;
import static org.junit.Assert.*;
import java.math.BigInteger;
import org.junit.Test;
import edu.kit.iti.formal.pse.worthwhile.common.tests.TestASTProvider;
/**
* @author matthias and stefan
*/
public class InterpreterASTNodeVisitorTest {
@Test
public voi... |
package org.TexasTorque.TorqueLib.util;
import com.sun.squawk.io.BufferedWriter;
import com.sun.squawk.microedition.io.FileConnection;
import java.io.IOException;
import java.io.OutputStreamWriter;
import javax.microedition.io.Connector;
public class TorqueLogging2
{
private static TorqueLogging2 instance;
priv... |
package com.thinkbiganalytics.util;
import org.junit.Assert;
import org.junit.Test;
import java.io.IOException;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
public class ColumnSpecTest {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.