answer stringlengths 17 10.2M |
|---|
package nu.studer.gradle.rocker;
import org.gradle.api.Action;
import org.gradle.api.DefaultTask;
import org.gradle.api.Task;
import org.gradle.api.file.ConfigurableFileCollection;
import org.gradle.api.file.DirectoryProperty;
import org.gradle.api.file.FileCollection;
import org.gradle.api.file.FileSystemOperations;
i... |
package org.col.release;
import java.io.*;
import java.nio.charset.StandardCharsets;
import java.nio.file.Path;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.Statement;
import java.time.LocalDate;
import java.util.HashMap;
import java.util.List;
import java... |
package cruise.umple.compiler;
import java.io.File;
import java.util.*;
import org.junit.*;
import cruise.umple.util.*;
public class UmpleParserTest
{
public UmpleParser parser;
public UmpleModel model;
public String pathToInput;
public String umpleParserName;
@Before
public void setUp()
{
pathToInput... |
package hudson.util.jelly;
import org.apache.commons.jelly.JellyContext;
import org.apache.commons.jelly.JellyException;
import org.apache.commons.jelly.JellyTagException;
import org.apache.commons.jelly.Tag;
import org.apache.commons.jelly.TagLibrary;
import org.apache.commons.jelly.XMLOutput;
import org.apache.common... |
package at.ac.ait.ubicity.core;
import java.io.File;
import java.net.URI;
import java.util.ArrayList;
import java.util.List;
import net.xeoh.plugins.base.Plugin;
import net.xeoh.plugins.base.impl.PluginManagerFactory;
import net.xeoh.plugins.base.util.PluginManagerUtil;
import org.apache.log4j.Logger;
import at.ac.ait.... |
package nz.hogwild.oauth;
import org.apache.oltu.oauth2.client.request.OAuthClientRequest;
import org.apache.oltu.oauth2.common.OAuthProviderType;
import org.apache.oltu.oauth2.common.exception.OAuthSystemException;
import org.apache.oltu.oauth2.common.message.types.ResponseType;
import javax.servlet.ServletException;
... |
package carpentersblocks.entity.item;
import java.util.ArrayList;
import java.util.List;
import net.minecraft.block.Block;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import ne... |
package bpsm.edn.parser;
import java.util.ArrayList;
import java.util.Collections;
final class DefaultListFactory implements BuilderFactory {
public CollectionBuilder builder() {
return new CollectionBuilder() {
ArrayList<Object> list = new ArrayList<Object>();
public void add(Object... |
package openrdffork;
import anonymize.Anonymizer;
import org.apache.log4j.Logger;
import org.openrdf.model.impl.ValueFactoryImpl;
import org.openrdf.query.Dataset;
import org.openrdf.query.IncompatibleOperationException;
import org.openrdf.query.MalformedQueryException;
import org.openrdf.query.algebra.TupleExpr;
impor... |
package com.anders.michigantendiesapi;
import com.heroku.sdk.jdbc.DatabaseUrl;
import java.io.StringReader;
import java.sql.*;
import javax.json.*;
import static spark.Spark.*;
/**
*
* @author Anders
*/
public class Main {
public static String mDiningData;
public static String items;
public static String... |
package openrdffork;
import anonymize.Anonymizer;
import org.apache.commons.lang3.math.NumberUtils;
import org.apache.log4j.Logger;
import org.openrdf.model.impl.ValueFactoryImpl;
import org.openrdf.query.Dataset;
import org.openrdf.query.IncompatibleOperationException;
import org.openrdf.query.MalformedQueryException;... |
package org.apereo.cas.config;
import org.apereo.cas.authentication.principal.resolvers.InternalGroovyScriptDao;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.configuration.model.core.authentication.JdbcPrincipalAttributesProperties;
import org.apereo.cas.configuration.support.Be... |
package org.animotron.bridge;
import java.io.File;
import java.io.IOException;
/**
* Repository loader
*
* @author <a href="mailto:gazdovsky@gmail.com">Evgeny Gazdovsky</a>
*
*/
public abstract class AbstractFSBridge {
public void load(String path) throws IOException {
load(new File(path));
}
p... |
package jahmm.learn;
import jahmm.RegularHmm;
import jahmm.calculators.ForwardBackwardCalculator;
import jahmm.calculators.RegularForwardBackwardCalculatorBase;
import jahmm.observables.Observation;
import jahmm.observables.Opdf;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import java.uti... |
package com.systematic.trading.simulation.logic;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.mockito.Matchers.any;
import static org.mockito.Matchers.eq;
import static o... |
package nl.mpi.kinnate.ui;
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.io.File;
import java.net.URI;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import javax.swing.JPanel;
import javax.swing.JPro... |
package com.chargebee.models.enums;
public enum Gateway {
CHARGEBEE,
SAMURAI,
BRAINTREE,
TCO,
STRIPE,
WORLDPAY,
PAYPAL_PRO,
WIRECARD,
OGONE,
HDFC,
_UNKNOWN; /*Indicates unexpected value for this enum. You can get this when there is a
java-client version incompatibility. W... |
package steamcondenser.steam.sockets;
import java.io.IOException;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.channels.ReadableByteChannel;
import java.nio.channels.SelectableChannel;
import java.nio.channels.SelectionKey;
import... |
package net.silentchaos512.gems.item;
import java.util.List;
import org.lwjgl.input.Mouse;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft... |
package universalcoins.util;
import net.minecraft.block.Block;
import net.minecraft.inventory.InventoryCrafting;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.IRecipe;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import net.minecraft.world.World;
import net.min... |
package com.geeksville.apiproxy;
import java.io.IOException;
import java.net.UnknownHostException;
public class TestClient {
/**
* Do one full connection/upload session
*
* @throws IOException
* @throws UnknownHostException
*/
public static void runTest() throws UnknownHostException, IO... |
package com.github.sesameloader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.BlockingQueue... |
package org.batgen.generators;
import org.batgen.Table;
import static org.batgen.generators.GenUtil.*;
public class TestBoGenerator extends Generator {
private String daoName = "";
private boolean getCreatedCalled = false;
private String filePath;
public TestBoGenerator( Table table ) {
super( t... |
package org.concord.energy3d.model;
import java.awt.geom.Path2D;
import java.nio.FloatBuffer;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.List;
import org.concord.energy3d.scene.Scene;
import org.concord.energy3d.scene.Scene.TextureMode;
import org.concord.energy3d.scene.SceneManager;
i... |
package com.mdsol.mauth;
import org.apache.commons.codec.binary.Base64;
import org.apache.commons.codec.binary.Hex;
import org.apache.commons.httpclient.HttpMethod;
import org.apache.commons.httpclient.methods.PostMethod;
import org.apache.commons.io.output.ByteArrayOutputStream;
import org.bouncycastle.crypto.CryptoEx... |
package org.concord.energy3d.model;
import java.nio.FloatBuffer;
import javax.swing.JOptionPane;
import org.concord.energy3d.gui.MainFrame;
import org.concord.energy3d.scene.Scene;
import org.concord.energy3d.scene.Scene.TextureMode;
import org.concord.energy3d.util.Util;
import com.ardor3d.bounding.OrientedBoundingBox... |
package info.bitrich.xchangestream.coinmate.dto.auth;
import com.pusher.client.util.ConnectionFactory;
import org.knowm.xchange.coinmate.CoinmateException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.net.URLEncoder;
import java.util.Iterator;
import java.util.Map;
pu... |
package com.microsoft.graph.info;
/** Multi-purpose constants holder used accross the SDK */
public final class Constants {
private Constants() {
}
// Constants for functional tests
// TO-DO: document how to register an application for functional
// testing purposes
/** The application ID to use... |
package org.devdom.commons.util;
public interface Configuration {
public final String DATA_DEVDO_URL_V1 = "http://data.developers.do/api/v1/";
public final String DATA_RNC_URL = DATA_DEVDO_URL_V1 + "empresas/";
public final String DATA_PROVINCIAS_URL = DATA_DEVDO_URL_V1 + "provincias";
public final Stri... |
package com.xpn.xwiki.user.impl.xwiki;
import java.security.MessageDigest;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import java.util.TimeZone;
import javax.crypto.Cipher;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest... |
package com.rmn.testrail.entity;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonProperty;
import java.io.Serializable;
/**
* @author mmerrell
*
* If you have custom fields on TestResults in TestRails, it will be necessary to extend this class and add those fields ... |
package org.devocative.wickomp.grid;
import org.apache.wicket.WicketRuntimeException;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.core.request.handler.IPartialPageRequestHandler;
import org.apache.wicket.core.util.lang.PropertyResolver;
import org.apache.wicket.model.IModel;
import org.apa... |
package org.eclipse.birt.report.designer.core.commands;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.eclipse.birt.report.designer.core.DesignerConstants;
import org.eclipse.birt.report.designer.core.model.SessionHandleAdapter;
import org.eclipse.birt.report.designer.core.model.schematic.L... |
package com.simsilica.state;
import org.slf4j.*;
import com.jme3.app.*;
import com.jme3.app.state.BaseAppState;
import com.jme3.light.*;
import com.jme3.material.*;
import com.jme3.math.*;
import com.jme3.renderer.queue.RenderQueue.ShadowMode;
import com.jme3.scene.*;
import com.jme3.scene.shape.Box;
/**
* A simple s... |
package org.gunisalvo.grappa.http;
import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;
import org.gunisalvo.grappa.Grappa;
@WebListener
public class ContextoWeb implements ServletContextListener{
@Ov... |
package org.eclipse.birt.report.designer.ui.dialogs;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import java.util.logging.Level;
import org.eclipse.birt.core.data.DataTypeUtil;
import org.eclipse.birt.... |
package io.dropwizard;
import io.dropwizard.cli.CheckCommand;
import io.dropwizard.cli.Cli;
import io.dropwizard.cli.ServerCommand;
import io.dropwizard.logging.BootstrapLogging;
import io.dropwizard.setup.Bootstrap;
import io.dropwizard.setup.Environment;
import io.dropwizard.util.Generics;
import io.dropwizard.util.J... |
package de.learnlib.algorithms.features.observationtable.reader;
import de.learnlib.algorithms.features.observationtable.InvalidRowException;
import de.learnlib.algorithms.features.observationtable.NoSuchRowException;
import de.learnlib.algorithms.features.observationtable.ObservationTable;
import de.learnlib.algorithm... |
package org.jtrfp.trcl.core;
import java.nio.ByteBuffer;
import javax.media.opengl.GL3;
import org.jtrfp.trcl.gpu.GLTexture;
import org.jtrfp.trcl.gpu.GPU;
import org.jtrfp.trcl.pool.IndexPool;
public class VQCodebookManager {
private final IndexPool codebook256Indices = new IndexPool();
private final ... |
package nodomain.freeyourgadget.gadgetbridge.service.devices.miband.operations;
import android.bluetooth.BluetoothGatt;
import android.bluetooth.BluetoothGattCharacteristic;
import android.net.Uri;
import android.widget.Toast;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import j... |
package com.thevoxelbox.voxelsniper;
import java.io.File;
import java.io.PrintWriter;
import java.util.Collections;
import java.util.EnumMap;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.Scanner;
import java.util.logging.Level;
import org.bukkit.ChatColor;
import or... |
package org.lightmare.jpa.jta;
/**
* Properties to use JTA in Hibernate environment
*
* @author levan
*
*/
public enum HibernateConfig {
// JTA configuration for Hibernate deployment - JTA platform
PLATFORM("hibernate.transaction.jta.platform",
"org.hibernate.service.jta.platform.internal.BitronixJ... |
package org.lightmare.libraries;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.Method;
import java.net.URL;
import java.net.URLClassLoader;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.Collection;
import java.util.HashSet;
import java.util.Se... |
package org.csstudio.alarm.table.preferences;
import org.csstudio.alarm.table.JmsLogsPlugin;
import org.csstudio.alarm.table.internal.localization.Messages;
import org.eclipse.jface.dialogs.InputDialog;
import org.eclipse.jface.preference.FieldEditorPreferencePage;
import org.eclipse.jface.preference.ListEditor;
import... |
package com.xthena.gcgl.web;
import com.xthena.api.user.UserConnector;
import com.xthena.core.hibernate.PropertyFilter;
import com.xthena.core.mapper.BeanMapper;
import com.xthena.core.page.Page;
import com.xthena.core.spring.MessageHelper;
import com.xthena.ext.export.Exportor;
import com.xthena.ext.export.TableModel;... |
package org.lightmare.libraries;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.Method;
import java.net.URL;
import java.net.URLClassLoader;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.Collection;
import java.util.HashSet;
import java.util.Se... |
package org.csstudio.sds.behavior.desy;
import java.util.Arrays;
import java.util.List;
import org.csstudio.sds.components.model.TextInputModel;
import org.epics.css.dal.simple.MetaData;
/**
* @author hrickens
* @author $Author$
* @version $Revision$
* @since 26.03.2010
*/
public class TextinputAlarmBehavior exten... |
package configs.cloud.client.entity;
import java.io.Serializable;
public class Config implements Serializable {
private static final long serialVersionUID = 1L;
private Long configid;
private String key;
private String value;
private String ispassword;
private String isenabled;
private int ... |
package org.lightmare.utils.reflect;
import java.io.IOException;
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;
import java.lang.reflect.Modifier;
import java.util.ArrayLis... |
package de.ifcore.metis.client.pixel;
public class Pixel
{
private final String publicId;
private final String privateId;
private final String host;
public Pixel(String publicId, String privateId, String host)
{
this.publicId = publicId;
this.privateId = privateId;
this.host ... |
package org.lightmare.utils.reflect;
import java.io.IOException;
import java.lang.annotation.Annotation;
import java.lang.reflect.AccessibleObject;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.... |
package com.microsoft.azure.management.compute.childresource;
import com.microsoft.azure.management.compute.implementation.ExternalChildResourceImpl;
import org.junit.Assert;
import org.junit.Test;
import rx.Observer;
import rx.Subscriber;
import rx.exceptions.CompositeException;
import java.util.ArrayList;
import java... |
package de.prob2.ui.prob2fx;
import com.google.inject.Inject;
import com.google.inject.Injector;
import com.google.inject.Singleton;
import de.prob.statespace.AnimationSelector;
import de.prob.statespace.Trace;
import de.prob2.ui.animation.tracereplay.TraceReplayView;
import de.prob2.ui.internal.StageManager;
import de... |
package org.mastodon.trackmate;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.scijava.AbstractContextual;
import org.scijava.InstantiableException;
import org.scijava.plugin.PluginInfo;
import org.scijava.plugin.PluginService;... |
package com.microsoft.azure.management.documentdb.implementation;
import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.documentdb.*;
import com.microsoft.azure.management.resources.fluentcore.arm.Region;
import com.microsoft.azure.management.resources.fluentcore.arm.... |
package org.minimalj.backend.db;
import java.io.InputStream;
import java.math.BigDecimal;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.Array... |
package org.mozilla.geckobrowser;
import org.mozilla.gecko.GeckoView;
import org.mozilla.gecko.GeckoView.Browser;
import org.mozilla.gecko.GeckoViewChrome;
import org.mozilla.gecko.GeckoViewContent;
import org.mozilla.gecko.PrefsHelper;
import android.app.Activity;
import android.app.AlertDialog;
import android.content... |
package org.openhab.binding.omnilink.internal;
import java.io.IOException;
import java.util.Collections;
import java.util.Dictionary;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Vector;
import org.apache.commons.lang.StringUtils;
import org.openhab.... |
package info.elexis.server.core.connector.elexis.internal.services;
import java.util.List;
import org.eclipse.core.runtime.IProgressMonitor;
import org.osgi.service.component.annotations.Activate;
import org.osgi.service.component.annotations.Component;
import org.osgi.service.component.annotations.Reference;
import or... |
package org.openlmis.fulfillment.domain;
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.da... |
package fr.insee.rmes.config;
import java.io.IOException;
import java.util.Properties;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
public class Configuration {
private static Logger logger = LogManager.getLogger(Configuration.class);
private PropertiesLoading propertiesLo... |
package org.osiam.storage.helper;
import com.google.common.base.Strings;
import org.springframework.stereotype.Service;
import java.math.BigDecimal;
import java.math.BigInteger;
@Service
public class NumberPadder {
private static final String OFFSET = "100000000000000000000";
private static final BigInteger BIG... |
package frc.team4215.stronghold;
import edu.wpi.first.wpilibj.Victor;
import edu.wpi.first.wpilibj.Timer;
/**
* The class for Autonomous.
*
* @author James
*/
public class Autonomous {
private Victor frontLeft, frontRight, backLeft, backRight,
armMotor, intake;
private Interface choiceAuto;
... |
package org.eclipse.birt.chart.ui.swt.wizard.format.series;
import java.util.Collection;
import java.util.Hashtable;
import java.util.List;
import org.eclipse.birt.chart.model.ChartWithAxes;
import org.eclipse.birt.chart.model.attribute.ChartDimension;
import org.eclipse.birt.chart.model.attribute.LegendItemType;
impor... |
package org.rundeck.client.tool.commands;
import com.lexicalscope.jewel.cli.CommandLineInterface;
import com.lexicalscope.jewel.cli.Option;
import com.lexicalscope.jewel.cli.Unparsed;
import com.simplifyops.toolbelt.Command;
import com.simplifyops.toolbelt.CommandOutput;
import okhttp3.MediaType;
import okhttp3.Request... |
package hex.deeplearning;
import static java.lang.Double.isNaN;
import hex.FrameTask.DataInfo;
import hex.VarImp;
import water.*;
import water.api.*;
import water.api.Request.API;
import water.fvec.Frame;
import water.fvec.Vec;
import water.util.*;
import java.util.Arrays;
import java.util.Random;
/**
* The Deep Learn... |
package org.scijava.command;
import java.lang.reflect.Field;
import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.List;
import org.scijava.ItemIO;
import org.scijava.ItemVisibility;
import org.scijava.Optional;
import org.scijava.module.AbstractModuleItem;
import org.scijava.module.ModuleInfo;
im... |
package io.github.ledge.asset;
public class AssetManager {
public static final char SEPARATOR = ':';
} |
package org.scijava.convert;
import java.lang.reflect.Type;
/**
* Currency for use in {@link Converter} and {@link ConvertService}
* methods.
* <p>
* {@link #ConversionRequest} provides a variety of constructors. Note that only
* one destination type needs to be set (e.g. either a {@link Type} or a
* {@link Class... |
package io.reist.visum.model;
import java.util.List;
import rx.Observable;
import rx.functions.Func1;
public abstract class CachedService<T> extends BaseService<T> {
protected final VisumService<T> local;
protected final VisumService<T> remote;
public CachedService(VisumService<T> local, VisumService<T> rem... |
package co.aikar.commands;
import co.aikar.locales.MessageKey;
import java.lang.reflect.Method;
import java.lang.reflect.Parameter;
import java.util.*;
@SuppressWarnings("WeakerAccess")
public abstract class CommandManager {
/**
* This is a stack incase a command calls a command
*/
static ThreadLocal<... |
@Document(fileName = "index.adoc")
@GenModule(name = "vertx-mysql-postgresql") package io.vertx.ext.asyncsql;
import io.vertx.codegen.annotations.GenModule;
import io.vertx.docgen.Document; |
package de.larmic.butterfaces.component.renderkit.html_basic.action;
import de.larmic.butterfaces.component.behavior.JsfAjaxRequest;
import de.larmic.butterfaces.component.html.action.HtmlCommandLink;
import de.larmic.butterfaces.resolver.AjaxClientIdResolver;
import de.larmic.butterfaces.resolver.ClientBehaviorResolve... |
package org.tndata.android.compass.model;
import android.content.Context;
import android.widget.ImageView;
import org.tndata.android.compass.R;
import org.tndata.android.compass.util.ImageCache;
import java.io.Serializable;
import java.util.ArrayList;
public class Goal extends TDCBase implements Serializable, Comparabl... |
package org.openas2.message;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Map;
import javax.mail.Header;
import javax.mail.MessagingException;
import javax.mail.internet.InternetHeaders;
import javax.mail.internet.MimeBodyPart... |
package org.ubicollab.ubibazaar.core;
import java.util.Set;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.google.common.collect.Sets;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@... |
package com.cellules.cordova.audiofrequency;
import org.apache.cordova.CordovaPlugin;
import org.apache.cordova.CallbackContext;
import org.apache.cordova.PluginResult;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.lang.ref.WeakReference;
import android.os.Handler;
im... |
package hudson.maven;
import hudson.AbortException;
import hudson.FilePath;
import hudson.FilePath.FileCallable;
import hudson.Launcher;
import hudson.Util;
import hudson.maven.MavenBuild.ProxyImpl2;
import hudson.maven.reporters.MavenFingerprinter;
import hudson.model.AbstractBuild;
import hudson.model.AbstractProject... |
package javax.util.streamex;
import java.util.Comparator;
import java.util.EnumSet;
import java.util.List;
import java.util.Set;
import java.util.function.BiConsumer;
import java.util.function.BiFunction;
import java.util.function.BinaryOperator;
import java.util.function.Function;
import java.util.function.IntFunction... |
package io.bitsquare.locale;
import io.bitsquare.user.Preferences;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.*;
import java.util.stream.Collectors;
public class CurrencyUtil {
private static final Logger log = LoggerFactory.getLogger(CurrencyUtil.class);
private static final List... |
package me.zbl.fullstack.mapper;
import java.util.List;
import me.zbl.fullstack.entity.User;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;
i... |
package org.webbitserver.netty;
import org.jboss.netty.bootstrap.ServerBootstrap;
import org.jboss.netty.channel.Channel;
import org.jboss.netty.channel.ChannelPipeline;
import org.jboss.netty.channel.ChannelPipelineFactory;
import org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory;
import org.jboss.netty... |
package jenkins.agents;
import edu.umd.cs.findbugs.annotations.CheckForNull;
import hudson.FilePath;
import hudson.remoting.Channel;
import hudson.remoting.VirtualChannel;
import jenkins.util.JenkinsJVM;
public final class AgentComputerUtil {
private AgentComputerUtil() {
}
/**
* Obtains a {@link Virtu... |
package org.bouncycastle.asn1.x9;
import java.math.BigInteger;
import org.bouncycastle.asn1.ASN1EncodableVector;
import org.bouncycastle.asn1.ASN1Integer;
import org.bouncycastle.asn1.ASN1Object;
import org.bouncycastle.asn1.ASN1ObjectIdentifier;
import org.bouncycastle.asn1.ASN1OctetString;
import org.bouncycastle.asn... |
package de.setsoftware.reviewtool.changesources.svn;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import org.tmatesoft.svn.core.ISVNLogEntryHandler;
import org.tmatesoft.svn.core.SVNErrorCode;
import org.tmatesoft.svn.core.SVNException;
import org.tmatesoft.sv... |
package nallar.collections;
import java.util.*;
public class SynchronizedSet<T> extends HashSet<T> {
public SynchronizedSet() {
super();
}
@Override
public synchronized boolean equals(final Object o) {
return super.equals(o);
}
@Override
public synchronized int hashCode() {
... |
package com.bitdubai.fermat_bnk_api.layer.bnk_wallet.bank_money.exceptions;
import java.util.List;
public interface BankMoneyBalance {
long getBalance() throws CantCalculateBalanceException;
// List<BankMoneyList> getBankMoneyBalancesAvailable() throws CantCalculateBalanceException;
// List<BankMoneyList> ge... |
package net.citringo.hageplugin;
import com.google.gson.Gson;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLEncoder;
import java.nio.charset.StandardChar... |
package net.f85.SmartCart;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.block.Sign;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Minecart;
import org.bukkit.entity.Player;
import org.bukkit.entity.minecart.*;
import org.bukkit.util.Vector;
import ... |
package com.gentics.mesh.util;
import static com.gentics.mesh.core.data.search.SearchQueueEntryAction.DELETE_ACTION;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import sta... |
package net.hamnaberg.json.util;
public final class Predicates {
private Predicates() {
}
public static <A> Predicate<A> not(final Predicate<A> p) {
return new Predicate<A>() {
@Override
public boolean apply(A input) {
return !p.apply(input);
}
... |
package org.cytoscape.group.session.restore.shim.internal;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import org.cytoscape.group.CyGroup;
import org.cytoscape.group.CyGroupFactory;
import org.cytoscape.group.CyGroupManager;
import org.cytoscape.model.CyEdge;
import org.cytoscape.model.CyNe... |
package seedu.task.commons.util;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import java.util.logging.Logger;
import com.joestelmach.natty.DateGroup;
import com.joestelmach.natty.Parser;
import seedu.task.commons.core.LogsCenter;
import seedu.task.logic.parser.AddCommandParser;
//@@author A... |
package net.sf.jabref.logic.l10n;
import java.util.Map;
import java.util.TreeMap;
public class Languages {
public static final Map<String, String> LANGUAGES;
static {
LANGUAGES = new TreeMap<>();
// LANGUAGES contains mappings for supported languages.
LANGUAGES.put("Dansk", "da");
... |
package seedu.task.logic.commands;
import java.util.List;
import java.util.Optional;
import seedu.task.commons.core.Messages;
import seedu.task.commons.exceptions.IllegalValueException;
import seedu.task.commons.util.CollectionUtil;
import seedu.task.logic.commands.exceptions.CommandException;
import seedu.task.model.t... |
package net.thechunk.playpen.client;
import com.google.protobuf.ByteString;
import com.google.protobuf.InvalidProtocolBufferException;
import io.netty.channel.Channel;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelOption;
import io.netty.channel.EventLoopGroup;
import io.netty.channel.nio.NioEve... |
package com.konkerlabs.platform.registry.test.web.controllers;
import com.konkerlabs.platform.registry.business.model.RestTransformationStep;
import com.konkerlabs.platform.registry.business.model.Tenant;
import com.konkerlabs.platform.registry.business.model.Transformation;
import com.konkerlabs.platform.registry.busi... |
package ucar.nc2.dt.grid;
import ucar.unidata.geoloc.LatLonRect;
import ucar.unidata.geoloc.Projection;
import ucar.unidata.geoloc.ProjectionPointImpl;
import ucar.unidata.geoloc.LatLonPointImpl;
import ucar.unidata.geoloc.projection.LatLonProjection;
import ucar.nc2.*;
import ucar.nc2.units.DateFormatter;
import ucar.... |
package me.denley.courier;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.Dialog;
import android.app.Service;
import android.content.Context;
import android.net.Uri;
import android.os.Build;
import android.os.Looper;
import android.support.v4.app.Fragment;
import android.view.View;... |
package zielu.svntoolbox;
import java.io.File;
import java.util.Collection;
import java.util.List;
import com.google.common.base.Optional;
import com.google.common.collect.Lists;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.vcs.ProjectLevelVcsMa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.