answer stringlengths 17 10.2M |
|---|
package com.mebigfatguy.fbcontrib.detect;
import java.util.ArrayDeque;
import java.util.BitSet;
import java.util.Deque;
import java.util.Iterator;
import org.apache.bcel.classfile.Code;
import org.apache.bcel.classfile.CodeException;
import org.apache.bcel.classfile.Method;
import org.apache.bcel.generic.Type;
import c... |
package com.codeaffine.extras.ide.test;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IEditorSite;
import org.eclipse.ui.part.EditorPart;
public class TestEditorPart extends EditorPart {
public static final String ... |
package net.sf.taverna.t2.workbench.run;
import java.text.DateFormat;
import java.util.Date;
import java.util.Map;
import java.util.Map.Entry;
import net.sf.taverna.t2.facade.ResultListener;
import net.sf.taverna.t2.facade.WorkflowInstanceFacade;
import net.sf.taverna.t2.invocation.TokenOrderException;
import net.sf.ta... |
package org.unitime.timetable.webutil;
import java.awt.Color;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Collections;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.StringTokenizer;
import org.unitime.commons.web.WebTable;
import org.un... |
package beast.app.beastapp;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import ja... |
package com.uvg.expo.login;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;... |
package ar.com.ada3d.controller;
import java.util.ArrayList;
import java.util.Calendar;
import java.math.*;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.io.Serializable;
import javax.faces.model.SelectItem;
import org.openntf.domino.Document;
import org.openntf.domino.Session;
i... |
package com.intellij.psi.impl.search;
import com.intellij.ant.PsiAntElement;
import com.intellij.aspects.psi.PsiAspect;
import com.intellij.aspects.psi.PsiPointcut;
import com.intellij.aspects.psi.PsiPointcutDef;
import com.intellij.ide.todo.TodoConfiguration;
import com.intellij.j2ee.J2EERolesUtil;
import com.intellij... |
package com.offbytwo.jenkins.client;
import static org.apache.commons.lang.StringUtils.isNotBlank;
import com.offbytwo.jenkins.client.validator.HttpResponseValidator;
import com.offbytwo.jenkins.model.BaseModel;
import com.offbytwo.jenkins.model.Crumb;
import org.apache.http.HttpResponse;
import org.apache.http.auth.Au... |
package com.speedment.common.injector;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.util.function.Predicate;
import static java.util.Objects.requireNonNull;
/**
* An InjectorProxy can be used to create/manipulate
* instances on b... |
package org.antlr.v4.test.runtime;
import org.antlr.v4.Tool;
import org.antlr.v4.runtime.misc.Pair;
import org.antlr.v4.runtime.misc.Utils;
import org.antlr.v4.tool.ANTLRMessage;
import org.antlr.v4.tool.DefaultToolListener;
import org.junit.*;
import org.junit.rules.TestRule;
import org.junit.rules.TestWatcher;
import... |
package com.badlogic.gdx.ingenuity.utils.helper;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import com.badlogic.gdx.Application.ApplicationType;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.files.FileHandle;
import com.badlogic... |
package com.rsomeara.factorio.modlauncher;
import java.io.IOException;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import java.util.stream.Collectors;
import javafx.beans.value.ObservableValue;
import javafx.collections.FXCollections;
import javafx.event.ActionEvent;
import javafx.fxml.F... |
package bisq.core.btc.wallet;
import bisq.core.btc.exceptions.AddressEntryException;
import bisq.core.btc.exceptions.InsufficientFundsException;
import bisq.core.btc.exceptions.TransactionVerificationException;
import bisq.core.btc.exceptions.WalletException;
import bisq.core.btc.model.AddressEntry;
import bisq.core.bt... |
package sagan.app.site;
import sagan.blog.web.feed.BlogPostAtomViewer;
import sagan.guides.support.GettingStartedGuides;
import sagan.util.service.CachedRestClient;
import sagan.util.service.DateService;
import sagan.util.service.db.DatabaseConfig;
import sagan.util.web.SiteUrl;
import java.util.ArrayList;
import java.... |
package ch.ntb.inf.deep.linkerPPC;
import java.io.PrintStream;
import ch.ntb.inf.deep.classItems.Class;
import ch.ntb.inf.deep.classItems.Constant;
import ch.ntb.inf.deep.classItems.ICclassFileConsts;
import ch.ntb.inf.deep.classItems.ICdescAndTypeConsts;
import ch.ntb.inf.deep.classItems.Item;
import ch.ntb.inf.deep.c... |
package org.openmrs.reference;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.openmrs.reference.page.HeaderPage;
import org.openmrs.reference.page.HomePage;
import org.openmrs.reference.page.PatientCaptureVit... |
package com.jme3.renderer.lwjgl;
import org.lwjgl.opengl.EXTAbgr;
import com.jme3.texture.Image;
import com.jme3.texture.Image.Format;
import java.nio.ByteBuffer;
import org.lwjgl.opengl.ARBDepthBufferFloat;
import org.lwjgl.opengl.ARBHalfFloatPixel;
import org.lwjgl.opengl.ARBTextureFloat;
import org.lwjgl.opengl.ARBT... |
package de.pitkley.ddcci.monitor;
import java.util.Iterator;
import java.util.ServiceConfigurationError;
import java.util.ServiceLoader;
public class Monitors {
private static MonitorManager monitorManager = null;
static {
loadManagers();
}
private static void loadManagers() {
Iterator<M... |
package me.yokeyword.fragmentation;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.support.annotation.IntDef;
import android.support.v4.app.Fragment;
import android.support.v4.... |
package com.namelessdev.mpdroid;
import org.a0z.mpd.MPD;
import org.a0z.mpd.MPDStatus;
import org.a0z.mpd.exception.MPDServerException;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Build;
import an... |
// Narya library - tools for developing networked games
// This library is free software; you can redistribute it and/or modify it
// (at your option) any later version.
// This library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// You should ... |
package org.springframework.jdbc.core;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.BeanWrapper;
import org.sp... |
package org.traccar.protocol;
import org.junit.Test;
import org.traccar.ProtocolTest;
public class CarscopProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecode() throws Exception {
CarscopProtocolDecoder decoder = new CarscopProtocolDecoder(new CarscopProtocol());
verifyNull(de... |
import java.util.Random;
import javax.swing.JOptionPane;
import java.util.Arrays;
public class LotteryGeneratorGui {
public static void main (String []args) {
int duplicate = Integer.parseInt(JOptionPane.showInputDialog("How many tickets do you want to make?"));
int digits = Integer.parseInt(JOption... |
package com.axelor.rpc;
import java.io.IOException;
import java.io.Writer;
import java.lang.reflect.Method;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.... |
package halive.visualsort.core;
import halive.visualsort.core.algorithms.datageneration.DataGenerator;
import halive.visualsort.core.algorithms.options.OptionDialogResult;
import halive.visualsort.core.algorithms.sorting.SortingAlgorithm;
import halive.visualsort.core.export.SortingExporter;
import halive.visualsort.co... |
package com.namelessdev.mpdroid;
import java.util.ArrayList;
import java.util.List;
import org.a0z.mpd.MPD;
import org.a0z.mpd.MPDStatus;
import org.a0z.mpd.exception.MPDServerException;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.app.ActionBar;
import android.app.ActionB... |
package okapi.service;
import okapi.bean.ModuleDescriptor;
import okapi.bean.ModuleInstance;
import okapi.bean.Modules;
import okapi.bean.Ports;
import okapi.bean.ProcessModuleHandle;
import okapi.bean.Tenant;
import io.vertx.core.Vertx;
import io.vertx.core.buffer.Buffer;
import io.vertx.core.http.HttpClient;
import i... |
package com.topsy.jmxproxy.resource;
import java.io.UnsupportedEncodingException;
import java.lang.StringBuilder;
import java.net.URLEncoder;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Response;
import org.apache.log4j.Logger;
impo... |
package com.jakewharton.scalpel;
import android.content.Context;
import android.graphics.Camera;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.graphics.Rect;
import android.util.AttributeSet;
import android.util.Log;
import android.view.MotionEvent;
import... |
package hudson.scm;
import org.tmatesoft.svn.core.internal.util.SVNPathUtil;
import org.tmatesoft.svn.core.internal.wc.SVNFileUtil;
import org.tmatesoft.svn.core.wc.SVNEvent;
import org.tmatesoft.svn.core.wc.SVNEventAction;
import org.tmatesoft.svn.core.wc.SVNEventAdapter;
import org.tmatesoft.svn.core.wc.SVNStatusType... |
package okapi;
import io.vertx.core.Vertx;
import io.vertx.core.logging.Logger;
import io.vertx.core.logging.LoggerFactory;
import io.vertx.ext.unit.Async;
import io.vertx.ext.unit.TestContext;
import io.vertx.ext.unit.junit.VertxUnitRunner;
import org.folio.okapi.bean.DeploymentDescriptor;
import org.folio.okapi.bean.... |
package com.topsy.jmxproxy.resource;
import java.io.UnsupportedEncodingException;
import java.lang.StringBuilder;
import java.net.URLEncoder;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Response;
import org.apache.log4j.Logger;
impo... |
package org.jvnet.hudson.test;
import hudson.Extension;
import hudson.Launcher;
import hudson.model.AbstractBuild;
import hudson.model.BuildListener;
import hudson.model.Descriptor;
import hudson.model.Result;
import hudson.tasks.Builder;
import java.io.IOException;
import net.sf.json.JSONObject;
import org.kohsuke.sta... |
package com.wizzardo.http.websocket;
import com.wizzardo.epoll.ByteBufferProvider;
import com.wizzardo.epoll.readable.ReadableBuilder;
import com.wizzardo.epoll.readable.ReadableData;
import com.wizzardo.http.Handler;
import com.wizzardo.http.HttpConnection;
import com.wizzardo.http.InputListener;
import com.wizzardo.h... |
package reflection;
import junit.UnitTestRunner;
import org.junit.Test;
import static org.junit.Assert.*;
public class ClassLoaderTest {
public static void main(String[] args) {
UnitTestRunner.run(ClassLoaderTest.class);
}
@Test
public void sysClassLoader() {
ClassLoader sysCl = ClassLoa... |
package org.jenetics;
import static org.jenetics.util.arrays.subset;
import java.util.Random;
import org.jenetics.util.IndexStream;
import org.jenetics.util.RandomRegistry;
public abstract class Recombinator<G extends Gene<?, G>>
extends AbstractAlterer<G>
{
private final int _order;
public Recombinator(fin... |
package com.genymobile.scrcpy.wrappers;
import com.genymobile.scrcpy.Ln;
import android.os.IInterface;
import android.view.InputEvent;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
public final class InputManager {
public static final int INJECT_INPUT_EVENT_MODE_ASYNC = 0;
... |
package com.metamx.druid.coordination;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.base.Throwables;
import com.google.common.collect.Lists;
import com.google.common.util.concurrent.ThreadFactoryBuilder;
import com.metamx.common.lifecycle.LifecycleStart;
import com.metamx.common.lifecycl... |
package cz.brmlab.yodaqa.analysis.tycor;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import org.apache.uima.UimaContext;
import org.apache.uima.analysis_engine.AnalysisEngineProcessException;
import org.apache.uima.cas.FeatureStructure;
import... |
package controllers.user;
import javax.validation.Valid;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
import org.springframe... |
package io.spine.server.aggregate.imports;
import com.google.common.collect.Streams;
import io.spine.core.EventClass;
import io.spine.core.TenantId;
import io.spine.server.aggregate.ImportEvent;
import io.spine.server.bus.Bus;
import io.spine.server.bus.BusBuilder;
import io.spine.server.bus.DeadMessageHandler;
import ... |
package de.exciteproject.refext.train.pipe;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import cc.mallet.pipe.Pipe;
import cc.mallet.types.Instance;
import cc.mallet.types.Token;
import cc.mallet.types.TokenSequence;
/**
* Computes featu... |
package com.google.android.apps.paco;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.joda.time.DateTime;
import org.joda.time.format.DateTimeFormat;
import org.joda.time.format.DateTimeFormatter;
import android.annotation.SuppressLint;
import android.conten... |
package cz.brmlab.yodaqa.analysis.tycor;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import net.didion.jwnl.data.IndexWord;
import net.didion.jwnl.data.POS;
import net.didion.jwnl.data.Pointe... |
package org.bouncycastle.asn1.test;
import java.text.DateFormat;
import java.util.Date;
import java.util.Locale;
import org.bouncycastle.asn1.DERGeneralizedTime;
import org.bouncycastle.asn1.DERUTCTime;
import org.bouncycastle.util.test.SimpleTest;
public class LocaleTest
extends SimpleTest
{
public String getN... |
package de.i3mainz.chronontology.rest;
import de.i3mainz.chronontology.chronontology.ChronOntology;
import de.i3mainz.chronontology.errorlog.Logging;
import de.i3mainz.chronontology.restconfig.ResponseGZIP;
import javax.ws.rs.Produces;
import javax.ws.rs.GET;
import javax.ws.rs.HeaderParam;
import javax.ws.rs.Path;
imp... |
package de.webshop.kundenverwaltung.domain;
public class Kunde {
private String Name;
private String Vorname;
private long ID;
public String getName() {
return Name;
}
public void setName(String name) {
Name = name;
}
public String getVorname() {
return Vorn... |
package org.zanata.security;
import static org.jboss.seam.ScopeType.SESSION;
import static org.jboss.seam.annotations.Install.APPLICATION;
import javax.servlet.http.HttpServletRequest;
import org.jboss.seam.Component;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Create;
import org.jboss.seam.annot... |
package de.maredit.tar.controllers;
import com.unboundid.ldap.sdk.LDAPException;
import de.maredit.tar.models.User;
import de.maredit.tar.models.Vacation;
import de.maredit.tar.models.enums.FormMode;
import de.maredit.tar.models.enums.State;
import de.maredit.tar.models.validators.VacationValidator;
import de.maredit.t... |
package de.lessvoid.nifty.controls;
import java.util.ArrayList;
import java.util.List;
import de.lessvoid.nifty.input.NiftyInputEvent;
import de.lessvoid.nifty.input.NiftyInputMapping;
import de.lessvoid.nifty.input.keyboard.KeyboardInputEvent;
import de.lessvoid.nifty.screen.KeyInputHandler;
import de.lessvoid.nifty.s... |
package de.retest.recheck.ui.review;
import java.util.Collections;
import java.util.Map;
import java.util.function.Predicate;
import java.util.stream.Collectors;
import de.retest.recheck.report.ActionReplayResult;
import de.retest.recheck.ui.descriptors.IdentifyingAttributes;
import de.retest.recheck.ui.diff.ElementDif... |
package de.thischwa.c5c.requestcycle;
import javax.servlet.ServletContext;
import de.thischwa.c5c.Connector;
/**
* Interface for building the path to <i>userfiles</i>. <br/>
* <br/>
* <b>Hint:</b> You are free to implement this interface they way you need it. The return value
* can be global (regardless of a reques... |
package de.theit.hudson.crowd;
import static de.theit.hudson.crowd.ErrorMessages.accountExpired;
import static de.theit.hudson.crowd.ErrorMessages.applicationAccessDenied;
import static de.theit.hudson.crowd.ErrorMessages.applicationPermission;
import static de.theit.hudson.crowd.ErrorMessages.expiredCredentials;
impor... |
package de.htwberlin.liar.activities;
import java.io.IOException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
import java.util.Observable;
import java.util.Observer;
import java.util.UUID;
import com.neurosky.thinkgear.TGDevice;
import android.app.LoaderManager;
import android.ap... |
package desutine.kismet.target;
import com.google.common.collect.ImmutableList;
import com.google.gson.*;
import com.google.gson.reflect.TypeToken;
import desutine.kismet.Kismet;
import desutine.kismet.ModLogger;
import desutine.kismet.server.WSDTargetDatabase;
import desutine.kismet.util.StackHelper;
import net.minecr... |
package edu.stanford.prpl.junction.impl;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import org.jivesoftware.smack.XMPPConnection;
import org.jivesoftware.smack.XMPPException;
import org.jivesoftware.smackx.muc.MultiUserChat;
import org.jivesoftware.smackx.muc.RoomInfo;
import org.json... |
package eu.amidst.core.header.statics;
import eu.amidst.core.database.statics.readers.Kind;
public final class VariableBuilder {
private static String name;
private static boolean observable;
private static int numberOfStates;
private static boolean isLeave = false;
private static Kind stateSpaceKin... |
package fi.csc.microarray.description;
import java.util.LinkedList;
import java.util.List;
import fi.csc.microarray.description.SADLSyntax.InputType;
import fi.csc.microarray.description.SADLSyntax.ParameterType;
/**
* SADL description for one analysis tool. Describes analysis tools so
* that they can be used in Chip... |
package edu.harvard.iq.dataverse;
import edu.harvard.iq.dataverse.settings.SettingsServiceBean;
import java.io.IOException;
import java.io.Serializable;
import java.util.*;
import java.util.logging.Logger;
import javax.faces.context.FacesContext;
import javax.inject.Inject;
import javax.inject.Named;
import javax.servl... |
package uk.ac.ic.wlgitbridge.util;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import java.io.*;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.*;
public class Util {
private static String SERVICE_NAME;
private static String HOSTNAME;
private stat... |
package info.faceland.strife.listeners;
import com.google.common.base.CharMatcher;
import info.faceland.beast.BeastData;
import info.faceland.strife.StrifePlugin;
import info.faceland.strife.attributes.StrifeAttribute;
import info.faceland.strife.data.Champion;
import info.faceland.utils.StringConverter;
import org.buk... |
package io.domisum.lib.auxiliumlib.util;
import io.domisum.lib.auxiliumlib.annotations.API;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
import java.time.Duration;
import java.time.Instant;
import java.time.temporal.Temporal;
@API
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public final class Durati... |
package edu.umd.cs.daveho.ba;
import java.util.List;
import java.util.LinkedHashMap;
import java.util.Map;
import org.apache.bcel.classfile.JavaClass;
/**
* A context for analysis of a complete project.
* This serves as the repository for whole-program information
* and data structures.
* @author David Hovemeyer
*... |
package com.kii.thingif.command;
public interface Action {
} |
package com.winterwell.maths.timeseries;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Comparator;
import java.util.... |
package io.fabric8.maven.docker.service;
import com.google.common.collect.ImmutableMap;
import io.fabric8.maven.docker.access.DockerAccess;
import io.fabric8.maven.docker.access.DockerAccessException;
import io.fabric8.maven.docker.config.BuildImageConfiguration;
import io.fabric8.maven.docker.config.CleanupMode;
impor... |
package edu.umd.cs.findbugs.ba.npe;
import edu.umd.cs.findbugs.SystemProperties;
import edu.umd.cs.findbugs.annotations.NonNull;
import edu.umd.cs.findbugs.ba.Debug;
import edu.umd.cs.findbugs.ba.Location;
import edu.umd.cs.findbugs.ba.XField;
import edu.umd.cs.findbugs.ba.XMethod;
import edu.umd.cs.findbugs.ba.XMethod... |
package edu.umd.cs.findbugs.detect;
import java.util.HashSet;
import java.util.Iterator;
import org.apache.bcel.classfile.Attribute;
import org.apache.bcel.classfile.Code;
import org.apache.bcel.classfile.CodeException;
import org.apache.bcel.classfile.Constant;
import org.apache.bcel.classfile.ConstantClass;
import or... |
package com.autonomy.abc.topnavbar.notifications;
import com.autonomy.abc.config.ABCTestBase;
import com.autonomy.abc.config.TestConfig;
import com.autonomy.abc.selenium.actions.PromotionActionFactory;
import com.autonomy.abc.selenium.config.ApplicationType;
import com.autonomy.abc.selenium.element.GritterNotice;
impor... |
package jenkins.plugins.play.extensions;
import org.kohsuke.stapler.DataBoundConstructor;
import org.kohsuke.stapler.QueryParameter;
import hudson.Extension;
import hudson.util.FormValidation;
/**
* @author rafaelrezende
*
*/
public class PlayTestOnly extends PlayExtension {
private final static String command =... |
package io.domisum.lib.auxiliumlib.util.math;
import io.domisum.lib.auxiliumlib.PHR;
import io.domisum.lib.auxiliumlib.annotations.API;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.Validate;
@API
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public final class MathUtil
... |
package io.fabric8.jenkins.openshiftsync;
import static io.fabric8.jenkins.openshiftsync.Annotations.DISABLE_SYNC_CREATE;
import static io.fabric8.jenkins.openshiftsync.BuildConfigToJobMap.getJobFromBuildConfig;
import static io.fabric8.jenkins.openshiftsync.BuildConfigToJobMap.putJobWithBuildConfig;
import static io.f... |
package lk.grp.synergy.control.impl;
import lk.grp.synergy.control.SampleControllerInterface;
public class SampleController implements SampleControllerInterface{
/**
* Use this package to create controller classes
* Please remove this class once you begin actual development work
*/
public void sa... |
package ml.duncte123.skybot.commands.fun;
import me.duncte123.botcommons.messaging.EmbedUtils;
import ml.duncte123.skybot.Settings;
import ml.duncte123.skybot.objects.command.Command;
import ml.duncte123.skybot.objects.command.CommandCategory;
import ml.duncte123.skybot.objects.command.CommandContext;
import ml.duncte1... |
package io.pivotal.poc.bac.authrouteservice;
import netegrity.siteminder.javaagent.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.HttpMethod;
import org.spri... |
package org.workcraft.gui;
import org.mozilla.javascript.Context;
import org.workcraft.Framework;
import org.workcraft.utils.DesktopApi;
import org.workcraft.utils.GuiUtils;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.FocusEvent;
import java.awt.event.FocusListener;... |
package org.knopflerfish.framework;
import java.io.*;
import java.net.*;
import java.security.*;
import java.util.Set;
import java.util.Map;
import java.util.HashMap;
import java.util.List;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Locale;
import java.util.Dictionary;
import java.util.Enumer... |
package li.tengfei.apng.opt.optimizer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.awt.*;
import java.util.*;
/**
* K-Means++ Color Reducer
*
* @author ltf
* @since 16/12/14, 9:52
*/
public class KMeansPpReducer implements ColorReducer {
private static final Logger log = LoggerFactory.... |
package com.xeiam.xchange.btce;
import com.xeiam.xchange.btce.dto.account.BTCEAccountInfo;
import com.xeiam.xchange.btce.dto.marketdata.BTCETicker;
import com.xeiam.xchange.btce.dto.marketdata.BTCETrade;
import com.xeiam.xchange.btce.dto.trade.BTCEOrder;
import com.xeiam.xchange.currency.MoneyUtils;
import com.xeiam.xc... |
package org.reldb.rel.v0.storage;
import java.io.*;
import java.util.*;
import java.util.concurrent.TimeUnit;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoa... |
package net.glowstone.block.blocktype;
import net.glowstone.block.GlowBlock;
import net.glowstone.block.entity.TEContainer;
import net.glowstone.block.entity.TileEntity;
import net.glowstone.entity.GlowPlayer;
import org.bukkit.block.BlockFace;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.Vector;
impor... |
package me.dmillerw.remoteio.tile;
import me.dmillerw.remoteio.block.BlockRemoteInterface;
import me.dmillerw.remoteio.block.ModBlocks;
import me.dmillerw.remoteio.core.frequency.DeviceRegistry;
import me.dmillerw.remoteio.core.frequency.IFrequencyProvider;
import me.dmillerw.remoteio.lib.property.RenderState;
import n... |
package net.kyori.membrane.facet.internal;
import net.kyori.lunar.exception.Exceptions;
import net.kyori.membrane.facet.Connectable;
import net.kyori.membrane.facet.Enableable;
import net.kyori.membrane.facet.Facet;
import java.util.Set;
import java.util.stream.Stream;
import javax.annotation.Nonnull;
import javax.inje... |
package me.rkfg.xmpp.bot.plugins;
import java.util.LinkedList;
import java.util.List;
import java.util.Random;
import java.util.concurrent.LinkedBlockingDeque;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import me.rkfg.xmpp.bot.Main;
import me.rkfg.xmpp.bot.domain.Markov;
import me.rkfg.xmpp.bot.dom... |
package com.thoughtworks.xstream.mapper;
import com.thoughtworks.xstream.alias.ClassMapper;
import java.lang.ref.WeakReference;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/**
* Mapper that caches which names map to which classes. Prevent... |
package mil.nga.geopackage.features.user;
import java.util.List;
import mil.nga.geopackage.GeoPackageException;
import mil.nga.geopackage.core.contents.Contents;
import mil.nga.geopackage.core.contents.ContentsDataType;
import mil.nga.geopackage.features.columns.GeometryColumns;
import mil.nga.geopackage.user.UserTable... |
package net.openhft.chronicle.core.cooler;
import net.openhft.affinity.Affinity;
import net.openhft.chronicle.core.Jvm;
import java.beans.XMLDecoder;
import java.beans.XMLEncoder;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.util.concurrent.locks.LockSupport;
public enum CpuCoo... |
package mpicbg.spim.data.generic.sequence;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.scijava.Priority;
import org.scijava.annotations.Indexable;
/**
* Annotation for a class that creates a ... |
package net.MCAds.advertisements;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.URL;
public class DependencyDownloader {
public static void download() {
boolean holoAPI = false;
boolean barAP... |
package org.sagebionetworks.repo.web.controller;
import org.sagebionetworks.repo.model.AuthorizationConstants;
import org.sagebionetworks.repo.model.MembershipRequest;
import org.sagebionetworks.repo.model.MembershipRqstSubmission;
import org.sagebionetworks.repo.model.PaginatedResults;
import org.sagebionetworks.repo.... |
package net.darkhax.bookshelf.registry;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.function.Function;
import java.util.function.Supplier;
import javax.annotation.Nullable;
import org.apache.l... |
package net.spy.memcached.vbucket;
import net.spy.memcached.MemcachedNode;
import net.spy.memcached.NodeLocator;
import net.spy.memcached.vbucket.config.Config;
import java.util.Collection;
import java.util.Iterator;
import java.util.Map;
import java.util.HashMap;
import java.util.List;
import java.net.InetSocketAddres... |
package net.darkhax.darkutils.blocks;
import net.minecraft.block.properties.IProperty;
import net.minecraft.block.properties.PropertyDirection;
import net.minecraft.block.state.BlockStateContainer;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving... |
package net.wouterdanes.docker.remoteapi;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.ws.rs.client.Entity;
import javax.ws.rs.core.MediaType;
import net.wouterdanes.docker.remoteapi.exception.DockerException;
import net.wouterdanes.docker.remoteapi.model.DockerVersionInfo;
/**
* The cl... |
package net.emaze.dysfunctional.iterations;
import net.emaze.dysfunctional.adapting.ArrayIterator;
import java.util.Iterator;
import net.emaze.dysfunctional.consumers.EagerConsumer;
import java.util.List;
import net.emaze.dysfunctional.delegates.Action;
import net.emaze.dysfunctional.delegates.Delegate;
import net.emaz... |
package net.zomis.minesweeper.analyze;
import java.util.List;
public interface RuleConstraint<T> {
/**
* Apply various values to this rule to potentially simplify it and learn something new
*
* @param knownValues Known values that can be removed and cleaned up from this rule to simplify it
* @re... |
package nl.jqno.equalsverifier.api;
import nl.jqno.equalsverifier.EqualsVerifier;
import nl.jqno.equalsverifier.Func.Func1;
import nl.jqno.equalsverifier.Func.Func2;
import nl.jqno.equalsverifier.Warning;
/**
* Helps to construct an {@link EqualsVerifier} test with a fluent API.
*
* @param <T> The class under test.
... |
package net.minecraft.launchwrapper;
import cpw.mods.fml.relauncher.FMLRelaunchLog;
import nallar.tickthreading.patcher.PatchHook;
import java.io.*;
import java.lang.reflect.*;
import java.net.*;
import java.security.*;
import java.util.*;
import java.util.jar.*;
import java.util.jar.Attributes.*;
import java.util.logg... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.