answer stringlengths 17 10.2M |
|---|
package wasdev.sample.servlet;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Servlet implementation class SimpleServ... |
package net.finmath.time;
import org.joda.time.LocalDate;
import net.finmath.time.daycount.DayCountConventionInterface;
import net.finmath.time.daycount.DayCountConvention_ACT_365;
/**
* This class provides the library wide conversion from a floating point number to a LocalDate.
*
* While in practical applications a... |
package meizhuo.org.lightmeeting.acty;
import java.io.IOException;
import java.util.Vector;
import com.google.zxing.BarcodeFormat;
import com.google.zxing.Result;
import android.app.Activity;
import android.content.Intent;
import android.content.res.AssetFileDescriptor;
import android.graphics.Bitmap;
import android.me... |
package org.xbill.DNS;
import java.io.*;
import java.util.*;
/**
* A helper class that tries to locate name servers and the search path to
* be appended to unqualified names. Currently, this works if either the
* appropriate properties are set, the OS has a unix-like /etc/resolv.conf,
* or the system is Windows ba... |
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 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 org.chai.kevin.fct;
import java.io.Serializable;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.chai.kevin.Organisation;
import org.chai.kevin.dsr.DsrObjective;
import org.chai.kevin.dsr.DsrTarget;
import org.hibernate.annotations.Cache;
import org.... |
package org.biojava.bio.search;
import org.biojava.bio.symbol.*;
import org.biojava.bio.seq.*;
import org.biojava.bio.*;
import java.util.*;
public final class KnuthMorrisPrattSearch {
private int[] kmpNext;// the table that defines the border lengths.
private SymbolList pattern;
/**
* Constructs a KMP matcher... |
package org.bouncycastle.crypto.agreement;
import java.math.BigInteger;
import java.security.SecureRandom;
import org.bouncycastle.crypto.CipherParameters;
import org.bouncycastle.crypto.params.DHParameters;
import org.bouncycastle.crypto.params.DHPublicKeyParameters;
import org.bouncycastle.crypto.params.DHPrivateKeyP... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.game.runner.game.element.level;
import org.andengine.entity.IEntity;
import org.andengine.entity.primitive.Rectangle;
import org.andengine.opengl.vbo.VertexBufferObjectManager;
import org.andengine.util.adt.c... |
package org.obd.ws.resources;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.apache.log4j.Logger;
import org.json.JSONException;
import org.json.JSONObject;
import org.obd.query.S... |
package org.parosproxy.paros.extension;
import java.awt.Dimension;
import java.awt.Frame;
import java.awt.HeadlessException;
import java.awt.Rectangle;
import java.awt.Toolkit;
import javax.swing.JDialog;
import org.parosproxy.paros.Constant;
import org.parosproxy.paros.model.Model;
import org.parosproxy.paros.view.Vie... |
// ZAP: 2012/04/23 Added @Override annotation to the appropriate method.
// ZAP: 2013/05/02 Re-arranged all modifiers into Java coding standard order
// ZAP: 2014/01/22 Issue 996: Ensure all dialogs close when the escape key is pressed
// ZAP: 2014/10/31 Issue 1176: Changed owner to Window as part of spider advanced di... |
package org.prx.android.playerhater;
import java.io.File;
import java.io.FileDescriptor;
import java.io.FileInputStream;
import java.io.IOException;
import org.prx.android.playerhater.PlayerHater;
import android.app.Activity;
import android.media.MediaPlayer.OnBufferingUpdateListener;
import android.media.MediaPlayer.O... |
package org.royaldev.royalcommands.rcommands;
import org.bukkit.ChatColor;
import org.bukkit.Location;
import org.bukkit.World;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.royaldev.royalcommands.RUtils... |
package com.heroku.api;
import com.heroku.api.exception.HerokuAPIException;
import com.heroku.api.http.Http;
import javax.net.ssl.*;
import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException;
import java.security.cert.X509Certificate;
public class Heroku {
public enum Config {
... |
package io.github.ihongs;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.lang.reflect.InvocationTargetException;
import java.util.Map;
import java.util.Set;
import java.util.HashMap;
import java.util.TreeSet;
import java.util.Locale;
import java.util.TimeZone;
import java.util.function.... |
package com.health.input;
import java.io.IOException;
import java.util.Objects;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;
import com.health.Tab... |
package com.health.operations;
import java.time.LocalDateTime;
import java.time.Period;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.function.Function;
import com.health.Event;
import com.health.EventList;
import com.health.EventSequence;
import com.health.Record;
import com... |
package org.pitest;
import java.io.File;
import java.util.List;
import java.util.Map;
import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.factory.ArtifactFactory;
import org.apache.maven.artifact.repository.ArtifactRepository;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.... |
package de.rouvenkruse.cordova.plugins.cookieemperor;
import org.apache.cordova.CallbackContext;
import org.apache.cordova.CordovaPlugin;
import org.apache.cordova.PluginResult;
import org.json.JSONObject;
import org.json.JSONArray;
import org.json.JSONException;
import android.webkit.CookieManager;
public class Cookie... |
package org.spongepowered.tools.obfuscation.interfaces;
import java.util.HashSet;
import java.util.Locale;
import java.util.Set;
import javax.annotation.processing.Messager;
import javax.lang.model.element.AnnotationMirror;
import javax.lang.model.element.AnnotationValue;
import javax.lang.model.element.Element;
import... |
package com.liferay.blade.samples.integration.test.utils;
import aQute.bnd.osgi.Domain;
import aQute.bnd.version.Version;
import aQute.lib.io.IO;
import com.liferay.portal.kernel.util.StringUtil;
import java.io.File;
import java.io.InputStream;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
imp... |
package org.geotools.gce.imagemosaic.jdbc.custom;
import java.awt.Rectangle;
import java.awt.geom.Rectangle2D;
import java.io.IOException;
import java.sql.*;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.SortedSet;
import java.... |
package org.navalplanner.business.planner.entities;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.apache.commons.lang.Validate;
import org.joda.time.LocalDate;
import org.navalplanner.business.plann... |
package org.navalplanner.business.planner.entities;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.apache.commons.lang.Validate;
import org.hibernate.validator.NotNull;
import org.joda.time.LocalDate;
im... |
package org.opencb.opencga.storage.variant.mongodb;
import com.mongodb.BasicDBObject;
import com.mongodb.DBObject;
import java.util.Calendar;
import java.util.Map;
import org.opencb.biodata.models.variant.VariantSource;
import org.opencb.biodata.models.variant.stats.VariantGlobalStats;
import org.opencb.datastore.core.... |
package org.optaplanner.core.impl.score.director.easy;
import org.junit.Test;
import org.mockito.Matchers;
import org.optaplanner.core.api.domain.solution.Solution;
import org.optaplanner.core.api.score.Score;
import org.optaplanner.core.api.score.buildin.simple.SimpleScore;
import org.optaplanner.core.impl.domain.solu... |
package org.tigris.subversion.subclipse.core.resources;
import java.io.File;
import java.util.HashSet;
import java.util.Set;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IFolder;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IProjectDescription;
import org.e... |
package com.merakianalytics.orianna.datapipeline.transformers.dtodata;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
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 ja... |
package org.eclipse.che.plugin.docker.client;
import com.google.common.io.CharStreams;
import com.google.common.util.concurrent.ThreadFactoryBuilder;
import com.sun.jna.ptr.LongByReference;
import org.eclipse.che.api.core.util.FileCleaner;
import org.eclipse.che.api.core.util.SystemInfo;
import org.eclipse.che.api.core... |
package com.sg.java8.training.interfaces;
import java.util.function.DoubleFunction;
import java.util.function.IntConsumer;
import java.util.function.IntFunction;
import java.util.function.IntToLongFunction;
/**
* A few typed interfaces samples
*/
public class TypedInterfacesMain {
public static void main(String[]... |
// This file is part of the OpenNMS(R) Application.
// OpenNMS(R) is a derivative work, containing both original code, included code and modified
// and included code are below.
// OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
// Modifications:
// 2004 Dec 27: Changed SQL_RETRIEVE_INTERFACES to omit i... |
package seava.ad.security.authentic;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.NoResultException;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.Userna... |
package ch.unizh.ini.jaer.projects.rbodo.opticalflow;
import ch.unizh.ini.jaer.projects.davis.calibration.SingleCameraCalibration;
import com.jmatio.io.MatFileReader;
import com.jmatio.io.MatFileWriter;
import com.jmatio.types.MLDouble;
import com.jogamp.opengl.GL;
import com.jogamp.opengl.GL2;
import com.jogamp.opengl... |
package org.apache.jmeter.visualizers;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.UnsupportedEncodingException;
import javax.swing.BorderFactory;
import javax.swing.But... |
package org.wyona.yanel.impl.resources.search;
import org.xml.sax.Attributes;
import org.xml.sax.ContentHandler;
import org.xml.sax.Locator;
import org.xml.sax.SAXException;
import org.apache.log4j.Logger;
/**
* Content handler for collecting the various typical XHTML content which has been generated by some parser im... |
package org.cyclops.integrateddynamics.api.evaluate.variable.recipe;
import org.cyclops.commoncapabilities.api.capability.recipehandler.RecipeComponent;
import org.cyclops.cyclopscore.init.IRegistry;
import org.cyclops.integrateddynamics.api.evaluate.variable.IValue;
import org.cyclops.integrateddynamics.api.evaluate.v... |
package org.openlmis.referencedata.repository.custom.impl;
import static org.apache.commons.collections.CollectionUtils.isEmpty;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import javax.persistence.EntityManager;
import javax.persistence.Pe... |
package org.piwik.sdk;
import android.content.SharedPreferences;
import android.support.annotation.Nullable;
import android.support.annotation.VisibleForTesting;
import org.piwik.sdk.dispatcher.DispatchMode;
import org.piwik.sdk.dispatcher.Dispatcher;
import org.piwik.sdk.dispatcher.Packet;
import org.piwik.sdk.tools.O... |
package org.apereo.cas.adaptors.u2f.web;
import org.apereo.cas.adaptors.u2f.storage.U2FDeviceRegistration;
import org.apereo.cas.adaptors.u2f.storage.U2FDeviceRepository;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.web.BaseCasActuatorEndpoint;
import lombok.val;
import org.spri... |
package soot.jimple.infoflow.problems;
import heros.FlowFunction;
import heros.FlowFunctions;
import heros.TwoElementSet;
import heros.flowfunc.KillAll;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import soot.ArrayType;
import soot.BooleanType;
import soot.... |
package soot.jimple.toolkits.typing.fast;
import java.util.ArrayList;
import java.util.BitSet;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import soot.ArrayType;
import soot.BooleanType;
import soot.ByteType;
import soot.CharTy... |
package org.endeavourhealth.queuereader;
import OpenPseudonymiser.Crypto;
import com.fasterxml.jackson.databind.JsonNode;
import com.google.common.base.Strings;
import org.apache.commons.csv.*;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.FilenameUtils;
import org.endeavourhealth.common.cache.Ob... |
package org.eclipse.hono.adapter.mqtt;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
import org.apache.qpid.proton.amqp.Binary;
import org.apache.qpid.proton.amqp.messaging.Accepted;
import org.apache.qpid.proton.amqp.messaging.Data;
import org.apache.qpid.proton.amqp.messaging.Rejected;
imp... |
package de.zib.scalaris;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.Properties;
import java.util.concurrent.atomic.AtomicLong;
import com.ericsson.otp.erlang.OtpConnection;
import com.ericsson.otp.erlang.OtpPeer;
import com.ericsson.otp.erlang.OtpSelf;
import de.zib.scalaris.Con... |
package org.endeavourhealth.queuereader;
import com.fasterxml.jackson.core.type.TypeReference;
import com.google.common.base.Strings;
import org.apache.commons.csv.CSVFormat;
import org.apache.commons.csv.CSVParser;
import org.apache.commons.csv.CSVPrinter;
import org.apache.commons.csv.CSVRecord;
import org.apache.com... |
package org.endeavourhealth.queuereader;
import OpenPseudonymiser.Crypto;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.JsonNode;
import com.google.common.base.Strings;
import com.google.common.collect.Lists;
import org.apache.commons.csv.*;
import org.apache.commons.io.Fil... |
package org.csstudio.alarm.beast.client;
import java.io.FileInputStream;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.csstudio.alarm.beast.XMLTags;
import org.csstudio.apputil.xml.DOMH... |
package javamm.compiler;
import javamm.controlflow.JavammBranchingStatementDetector;
import javamm.javamm.JavammArrayAccess;
import javamm.javamm.JavammArrayAccessExpression;
import javamm.javamm.JavammArrayConstructorCall;
import javamm.javamm.JavammArrayLiteral;
import javamm.javamm.JavammBranchingStatement;
import j... |
package com.sun.star.comp.helper;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
/**
* UnoInfo offers functionality to obtain the UNO jar files.
*/
public final class UnoInfo {
/**
* do not instantiate
*/
private UnoInfo() {}
/**
* Gets the URL b... |
package com.atlassian.plugin.webresource;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import junit.framework.TestCase;
import org.dom4j.DocumentHelper;
import com.atlassian.plugin.ModuleDescriptor;
import com.atlassian.plugin.Plugin;
impo... |
package org.apache.velocity.runtime.resource.loader;
import java.io.InputStream;
import java.io.IOException;
import java.net.JarURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Enumeration;
import java.util.Iterator;
import java.util.jar.JarEntry;
import java.util.jar.JarFile;... |
package org.ovirt.engine.core.bll.validator.storage;
import com.woorea.openstack.base.client.OpenStackResponseException;
import com.woorea.openstack.cinder.model.Limits;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.ut... |
package org.apache.velocity.runtime.resource.loader;
import java.io.InputStream;
//import java.io.FileInputStream;
//import java.io.BufferedInputStream;
//import java.io.FileNotFoundException;
//import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.net.JarURLConnection;
import java.net.MalformedU... |
package io.searchbox.core;
import com.google.gson.Gson;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import io.searchbox.action.AbstractAction;
import io.searchbox.action.AbstractMultiIndexActionBuilder;
import io.searchbox.action.AbstractMultiTypeActionBuilder;
import org.apache.commons.lang3.... |
package org.ovirt.engine.core.vdsbroker.irsbroker;
import java.lang.reflect.UndeclaredThrowableException;
import java.net.SocketException;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
im... |
package org.kuali.coeus.common.impl.person.attr;
import org.apache.commons.lang3.StringUtils;
import org.kuali.coeus.common.framework.person.KcPerson;
import org.kuali.coeus.common.framework.person.KcPersonService;
import org.kuali.coeus.common.framework.person.attr.PersonTraining;
import org.kuali.coeus.sys.framework.... |
package org.postgresql;
import java.io.*;
import java.net.*;
import java.sql.*;
import java.util.*;
import org.postgresql.Field;
import org.postgresql.fastpath.*;
import org.postgresql.largeobject.*;
import org.postgresql.util.*;
/**
* $Id: Connection.java,v 1.2 2000/06/06 07:24:06 peter Exp $
*
* This abstract clas... |
package org.kuali.kra.institutionalproposal.service.impl;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.kuali.coeus.common.framework.custom.attr.CustomAttribute;
import org.kuali.coeus.common.framework.custom.attr.CustomAttri... |
package br.gov.mj.sislegis.app.service.ejbs;
import java.io.IOException;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collection;
import java.util.Comparator;
import java.util.Date;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import... |
package com.stratio.connector.elasticsearch.core;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.stratio.connector.commons.CommonsConnector;
import com.stratio.connector.commons.connection.exceptions.HandlerConnectionException;
import com.stratio.connector.elasticsearch.core.connection.ElasticSearc... |
package org.teiid.translator.salesforce;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import javax.resource.ResourceException;
import org.teiid.core.types.DataTypeManager;
import org.teiid.logging.LogConstan... |
package com.censoredsoftware.Demigods.Engine.Utility;
import java.util.*;
import org.bukkit.ChatColor;
import com.censoredsoftware.Demigods.Engine.Demigods;
public class MiscUtility
{
/**
* Returns a color (red, yellow, green) based on the <code>value</code> and <code>max</code> passed in.
*
* @param... |
package edu.northwestern.bioinformatics.studycalendar.service.dataproviders;
import edu.northwestern.bioinformatics.studycalendar.core.osgi.OsgiLayerTools;
import edu.northwestern.bioinformatics.studycalendar.dataproviders.api.SiteProvider;
import edu.northwestern.bioinformatics.studycalendar.domain.Site;
import org.sl... |
package com.emc.mongoose.scenario.step.node;
import com.emc.mongoose.model.metrics.MetricsSnapshot;
import com.emc.mongoose.model.svc.ServiceBase;
import com.emc.mongoose.scenario.step.LoadStep;
import com.emc.mongoose.scenario.step.LoadStepService;
import com.emc.mongoose.scenario.step.LoadStepFactory;
import com.emc.... |
package com.foundationdb.server.store;
import com.foundationdb.ais.model.ForeignKey;
import com.foundationdb.ais.model.Index;
import com.foundationdb.qp.storeadapter.PersistitAdapter;
import com.foundationdb.server.rowdata.RowData;
import com.foundationdb.server.types.service.TypesRegistryService;
import com.foundation... |
package com.github.to2mbn.jmccc.mcdownloader;
import java.util.Set;
import com.github.to2mbn.jmccc.mcdownloader.download.DownloadTask;
import com.github.to2mbn.jmccc.option.MinecraftDirectory;
import com.github.to2mbn.jmccc.version.Library;
public interface MinecraftDownloader {
/**
* Returns a version list do... |
package com.hubspot.dropwizard.guice;
import com.google.common.base.Joiner;
import com.google.common.base.Throwables;
import com.google.common.collect.Lists;
import com.google.inject.*;
import com.google.inject.name.Names;
import io.dropwizard.Configuration;
import io.dropwizard.jetty.MutableServletContextHandler;
impo... |
package com.hurence.logisland.querymatcher;
import com.hurence.logisland.event.Event;
import com.hurence.logisland.event.EventProcessor;
import org.apache.log4j.Logger;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
public class QueryMatcherProcessor implements EventProcessor {
pr... |
package com.jnape.palatable.lambda.functions.builtin.fn2;
import com.jnape.palatable.lambda.functions.Fn2;
import com.jnape.palatable.lambda.functions.specialized.Kleisli;
import com.jnape.palatable.lambda.functor.builtin.Lazy;
import static com.jnape.palatable.lambda.functions.specialized.Kleisli.kleisli;
import stati... |
package com.kryptnostic.v2.crypto;
import java.io.IOException;
import java.security.InvalidAlgorithmParameterException;
import java.security.NoSuchAlgorithmException;
import java.util.Map;
import java.util.Set;
import java.util.UUID;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;
... |
package com.learning.ads.datastructure.tree;
import java.util.ArrayList;
import java.util.List;
import com.learning.ads.datastructure.queue.Queue;
/**
*
* One of the balanced(approximately) implementation of BST.
*
* Implementation follows as explained in CLRS
*
* Properties of RB tree
*
* 1. Every node is eith... |
package com.mycodefu.javacv.fun.converters;
import org.apache.log4j.Logger;
import org.opencv.core.CvType;
import org.opencv.core.Mat;
import java.awt.image.BufferedImage;
import java.awt.image.DataBufferByte;
import java.util.HashMap;
import java.util.Map;
import static java.awt.image.BufferedImage.*;
public class Mat... |
// PropertyController.java
// blogwt
package com.willshex.blogwt.client.controller;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.google.gson.JsonArray;
import com.google.gson.JsonParser;
import com.goo... |
package com.witchworks.common.crafting.cauldron;
import com.witchworks.api.BrewRegistry;
import com.witchworks.api.CauldronRegistry;
import com.witchworks.api.RitualRegistry;
import com.witchworks.api.brew.BrewEffect;
import com.witchworks.api.brew.BrewUtils;
import com.witchworks.api.recipe.BrewModifier;
import com.wi... |
package de.is24.deadcode4j.analyzer;
import com.google.common.base.Function;
import com.google.common.base.Optional;
import com.google.common.base.Predicate;
import de.is24.deadcode4j.CodeContext;
import javassist.CtClass;
import javassist.bytecode.annotation.*;
import javax.annotation.Nonnull;
import javax.annotation.... |
package de.plushnikov.intellij.plugin.action;
import com.intellij.codeInsight.generation.ClassMember;
import com.intellij.codeInsight.generation.EncapsulatableClassMember;
import com.intellij.codeInsight.generation.OverrideImplementUtil;
import com.intellij.codeInsight.hint.HintManager;
import com.intellij.ide.util.Mem... |
package me.noahandrews.mediaplayersync.javafx;
import javafx.application.Platform;
import javafx.event.ActionEvent;
import javafx.geometry.Pos;
import javafx.scene.Node;
import javafx.scene.control.*;
import javafx.scene.image.ImageView;
import javafx.scene.layout.HBox;
import javafx.scene.layout.Pane;
import javafx.sc... |
package ml.duncte123.skybot.commands.essentials;
import ml.duncte123.skybot.objects.command.Command;
import ml.duncte123.skybot.objects.command.CommandCategory;
import ml.duncte123.skybot.utils.MessageUtils;
import net.dv8tion.jda.core.JDA;
import net.dv8tion.jda.core.events.message.guild.GuildMessageReceivedEvent;
imp... |
package net.floodlightcontroller.core.internal;
import java.util.Collection;
import java.util.List;
import java.util.Set;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.apache.commons.configuration.BaseConfiguration;
import org.apache.commons.configuration.Configuration;
import org.openflow.protoco... |
package net.geforcemods.securitycraft.mixin.camera;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.Redirect;
import org.spongepowered.a... |
package net.minecraftforge.fml.client.registry;
import java.util.Map;
import net.minecraft.client.renderer.entity.Render;
import net.minecraft.client.renderer.entity.RenderManager;
import net.minecraft.entity.Entity;
import com.google.common.collect.Maps;
public class RenderingRegistry
{
private static final Render... |
package ca.szc.keratin.bot.misc;
/**
* Contains the de facto standard IRC colour codes.
*/
public class Colors
{
public static final String BLACK = "\u000301";
public static final String BLUE = "\u000312";
public static final String BOLD = "\u0002";
public static final String BROWN = "\u000305";
p... |
package org.hive2hive.processframework.decorators;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import java.util.concurrent.RejectedExecutionException;
import org.hive2hive.processframework.FailureReason;
im... |
package org.jboss.remoting3.remote;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.lang.reflect.Constructor;
import java.net.InetSocketAddress;
import java.net.URI;
import java.net.URISyntaxException;
import java.nio.ByteBuffer;
import java.security.AccessController;
import java.se... |
package org.junit.contrib.java.lang.system;
import org.junit.contrib.java.lang.system.internal.RestoreSpecificSystemProperties;
import org.junit.rules.ExternalResource;
/**
* The {@code ClearSystemProperties} rule clears a set of system
* properties when the test starts and restores their original values
* when the ... |
package org.spongepowered.common.service.config;
import ninja.leaping.configurate.commented.CommentedConfigurationNode;
import ninja.leaping.configurate.hocon.HoconConfigurationLoader;
import ninja.leaping.configurate.loader.ConfigurationLoader;
import org.spongepowered.api.service.config.ConfigRoot;
import java.io.Fil... |
package skadistats.clarity.processor.reader;
import com.google.protobuf.ByteString;
import com.google.protobuf.GeneratedMessage;
import com.google.protobuf.ZeroCopy;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.xerial.snappy.Snappy;
import skadistats.clarity.decoder.bitstream.BitStream;
import sk... |
package stream.flarebot.flarebot.permissions;
import net.dv8tion.jda.core.Permission;
import net.dv8tion.jda.core.entities.Member;
import stream.flarebot.flarebot.FlareBot;
import stream.flarebot.flarebot.commands.Command;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.con... |
package tech.greenfield.vertx.irked.auth;
import java.io.UnsupportedEncodingException;
import java.util.Base64;
public class BasicAuthorizationToken extends AuthorizationToken {
private String username;
private String password;
public BasicAuthorizationToken() {}
public BasicAuthorizationToken(String to... |
package net.finmath.montecarlo.interestrate;
import java.util.Map;
import net.finmath.exception.CalculationException;
import net.finmath.montecarlo.BrownianMotionInterface;
import net.finmath.montecarlo.RandomVariable;
import net.finmath.montecarlo.interestrate.modelplugins.AbstractLIBORCovarianceModel;
import net.finm... |
package net.java.sip.communicator.impl.gui.main.chat;
import java.awt.*;
import java.awt.datatransfer.*;
import java.awt.event.*;
import java.io.*;
import java.util.*;
import java.util.regex.*;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.text.*;
import javax.swing.text.html.*;
import net.java.s... |
package org.pentaho.reporting.platform.plugin.repository;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import org.pentaho.platform.api.repository2.unified.IUnifiedRepository;
import org.pentaho.platform.api.repository2.unified.RepositoryFile;
import org.pentaho.platform.api.repos... |
package org.ow2.proactive.resourcemanager.core;
import java.io.IOException;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Vector;
import java.util.Map.Entry;
import org.apache.log4j.Logger;
import org.objectwe... |
package i5.las2peer.services.ocd.algorithms;
import java.io.FileNotFoundException;
import java.text.ParseException;
import java.util.HashSet;
import java.util.List;
import java.util.HashMap;
import org.junit.Test;
import org.la4j.matrix.Matrix;
import org.la4j.matrix.dense.Basic2DMatrix;
import org.la4j.vector.Vector;
... |
package at.ac.tuwien.inso.integration_tests;
import at.ac.tuwien.inso.controller.student.forms.*;
import at.ac.tuwien.inso.entity.*;
import at.ac.tuwien.inso.repository.*;
import org.junit.*;
import org.junit.runner.*;
import org.springframework.beans.factory.annotation.*;
import org.springframework.boot.test.autoconfi... |
package de.bmoth.backend.translator;
import static com.microsoft.z3.Status.SATISFIABLE;
import static com.microsoft.z3.Status.UNSATISFIABLE;
import static org.junit.Assert.assertEquals;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import org.junit.After;
import org.junit.Before;
import or... |
package io.funtom.util.concurrent;
import static org.junit.Assert.assertTrue;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.Callable;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Execut... |
package net.openhft.chronicle.core.watcher;
import net.openhft.chronicle.core.Jvm;
import net.openhft.chronicle.core.OS;
import net.openhft.chronicle.core.io.IOTools;
import net.openhft.chronicle.core.util.Time;
import org.junit.After;
import org.junit.Assume;
import org.junit.Before;
import org.junit.Test;
import java... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.