answer stringlengths 17 10.2M |
|---|
package retrofit.http;
import org.apache.http.Header;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.ResponseHandler;
import org.apache.http.client.methods.HttpEntityEnclosingRequestBase;
import org.apache.http.client.metho... |
package com.dx168.patchserver.manager.service;
import com.dx168.patchserver.core.domain.Tester;
import com.dx168.patchserver.core.utils.StreamUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.... |
// 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 ... |
// Nenya 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 h... |
// Vilya 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 de.plushnikov.intellij.plugin;
import com.intellij.compiler.CompilerConfiguration;
import com.intellij.compiler.options.AnnotationProcessorsConfigurable;
import com.intellij.notification.Notification;
import com.intellij.notification.NotificationDisplayType;
import com.intellij.notification.NotificationGroup;
i... |
package at.ac.tuwien.inso.entity;
import javax.persistence.*;
@Entity
public class Feedback {
@Id
@GeneratedValue
private Long id;
@Column(nullable = false)
private Type type;
@ManyToOne
private Student student;
@ManyToOne
private Course course;
protected Feedback() {}
public... |
// $Id: CompiledConfigParser.java,v 1.2 2002/03/08 09:40:21 mdb Exp $
package com.threerings.yohoho.tools.xml;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.Serializable;
import org.xml.sax.SAXException;
import org.apache.commons.digester.Digester;
import com.threerings... |
package edu.yu.einstein.wasp.controller;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
... |
package krasa.formatter.plugin;
import org.jetbrains.annotations.NotNull;
import com.intellij.lang.ImportOptimizer;
import com.intellij.lang.java.JavaImportOptimizer;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.editor.Document;
import com.intellij.openapi.fileEditor.FileDocumentManager;
i... |
package ch.sportchef;
import ch.sportchef.business.RuntimeExceptionMapper;
import ch.sportchef.business.WebApplicationExceptionMapper;
import ch.sportchef.business.admin.boundary.AdminResource;
import ch.sportchef.business.authentication.boundary.AuthenticationResource;
import ch.sportchef.business.event.boundary.Event... |
package org.apache.commons.lang.builder;
import java.io.Serializable;
import java.util.Collection;
import java.util.Map;
import org.apache.commons.lang.SystemUtils;
/**
* <p><code>ToStringStyle</code> works with <code>ToStringBuilder</code>
* to create a <code>toString</code>. The main public interface is always
* v... |
package co.yiiu.pybbs.config;
import co.yiiu.pybbs.interceptor.CommonInterceptor;
import co.yiiu.pybbs.interceptor.UserApiInterceptor;
import co.yiiu.pybbs.interceptor.UserInterceptor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springfra... |
import java.nio.ByteBuffer;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import com.google.common.collect.Lists;
import edu.emory.mathcs.backport.java.util.Collections;
@SuppressWarnings("all")
public class PRMC_Sample ... |
package com.andrsam.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.config... |
package org.apache.velocity.runtime.directive;
import java.io.Writer;
import java.io.IOException;
import java.util.Collection;
import java.util.Enumeration;
import java.util.Iterator;
import java.util.Vector;
import org.apache.velocity.Context;
import org.apache.velocity.runtime.Runtime;
import org.apache.velocity.util... |
package com.opengamma.financial.security.cds;
import java.io.Serializable;
import java.util.Arrays;
import java.util.Comparator;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import... |
package org.apache.velocity.runtime.directive;
import java.io.Writer;
import java.io.IOException;
import java.lang.reflect.Method;
import java.util.Collection;
import java.util.Enumeration;
import java.util.Iterator;
import java.util.Map;
import java.util.Vector;
import org.apache.velocity.context.InternalContextAdapte... |
package com.opengamma.integration.regression;
import java.io.IOException;
import java.util.Collection;
import java.util.Set;
import com.google.common.base.Function;
import com.google.common.collect.ImmutableMap;
import com.opengamma.bbg.referencedata.ReferenceData;
import com.opengamma.bbg.referencedata.impl.InMemoryCa... |
package com.bfwg.config;
import com.bfwg.security.TokenHelper;
import com.bfwg.security.auth.RestAuthenticationEntryPoint;
import com.bfwg.security.auth.TokenAuthenticationFilter;
import com.bfwg.service.impl.CustomUserDetailsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframe... |
package org.apache.velocity.runtime.directive;
import java.io.Writer;
import java.io.IOException;
import java.util.Collection;
import java.util.Enumeration;
import java.util.Iterator;
import java.util.Vector;
import org.apache.velocity.Context;
import org.apache.velocity.runtime.Runtime;
import org.apache.velocity.util... |
package org.batfish.common.bdd;
import static org.batfish.datamodel.PacketHeaderConstraintsUtil.DEFAULT_PACKET_LENGTH;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.collect.ImmutableList;
import io.opentracing.Scope;
import io.opentracing.Span;
import io.opentracing.util.GlobalTracer;... |
package com.clinichelper.Entity;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.UUID;
@Entity
@Table(name="equipments")
public class Equipment implements Serializable{
@Id
private String equipmentId;
@NotNull
private String equipmen... |
package org.apache.velocity.runtime.directive;
import java.io.*;
import org.apache.velocity.context.InternalContextAdapter;
import org.apache.velocity.runtime.parser.node.Node;
import org.apache.velocity.runtime.RuntimeServices;
/**
* A very simple directive that leverages the Node.literal()
* to grab the literal ren... |
package com.cloudius.urchin.api;
import java.io.StringReader;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.json... |
package com.continuuity.http;
import org.jboss.netty.buffer.ChannelBuffer;
/**
* HttpHandler would extend this abstract class and implement methods to stream the body directly.
* chunk method would receive the http-chunks of the body and finished would be called
* on receipt of the last chunk.
*/
public abstract cl... |
package com.credit.web.common.tag;
import java.io.IOException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.BodyTagSupport;
import com.gvtv.manage.base.util.PageData;
@SuppressWarnings("serial")
public class Page... |
package org.jaxen.function;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import junit.framework.TestCase;
import org.jaxen.FunctionCallException;
import org.jaxen.JaxenException;
import org.jaxen.XPath;
import org.jaxen... |
package com.deveo.plugin.jenkins;
import javax.net.ssl.*;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.ProtocolException;
import java.net.URL;
import... |
package com.devmpv.service;
import static com.devmpv.config.Const.BOARD;
import static com.devmpv.config.Const.TEXT;
import static com.devmpv.config.Const.THREAD;
import static com.devmpv.config.Const.TITLE;
import static com.devmpv.config.WebSocketConfig.MESSAGE_PREFIX;
import java.io.IOException;
import java.util.Enu... |
package com.ezardlabs.dethsquare;
import java.util.Iterator;
public final class Animator extends Script implements Iterable<Animation> {
private Animation[] animations;
private int index = -1;
private int frame = 0;
private long nextFrameTime = 0;
public Animator(Animation... animations) {
t... |
package com.fastdtw.dtw.matrix;
public interface CostMatrix {
void put(int col, int row, double value);
double get(int col, int row);
int size();
} |
package com.github.andriell.general;
import java.io.*;
public class Files {
public static final String DATA_DIR;
public static final String PROJECTS_DIR;
public static final String DB_DIR;
public static final String JS_DIR;
static {
DATA_DIR = System.getProperty("user.dir") + File.separator ... |
package net.recommenders.rival.recommend.frameworks;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Properties;
public class MultipleRecommendationRunner {
public static final String input = "input";
public static final String mahout... |
package com.github.lpandzic.junit.bdd;
import org.junit.rules.TestRule;
import org.junit.runner.Description;
import org.junit.runners.model.Statement;
import java.util.Optional;
public final class Bdd implements TestRule {
/**
* Used for specifying behavior that should throw an exception.
*
* @param ... |
package com.github.onsdigital.api;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.nio.file.DirectoryStream;
import java.nio.file.FileSystems;
import java.... |
package edu.wustl.query.util.global;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.uti... |
package com.imcode.imcms.config;
import com.imcode.imcms.mapping.CategoryMapper;
import com.imcode.imcms.mapping.DocumentMapper;
import imcode.server.Imcms;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Co... |
package com.kurento.kmf.media;
import java.io.IOException;
import java.security.Policy.Parameters;
import org.apache.thrift.TException;
import org.apache.thrift.async.AsyncMethodCallback;
import com.kurento.kmf.media.internal.MediaServerServiceManager;
import com.kurento.kms.api.MediaObjectNotFoundException;
import com... |
package com.loopperfect.buckaroo;
public final class Buckaroo {
private Buckaroo() {
}
public static final SemanticVersion version = SemanticVersion.of(1, 2, 0);
} |
package com.matt.forgehax.mods;
import static com.matt.forgehax.Helper.*;
import com.google.common.collect.Lists;
import com.matt.forgehax.asm.ForgeHaxHooks;
import com.matt.forgehax.events.LocalPlayerUpdateEvent;
import com.matt.forgehax.mods.services.HotbarSelectionService.ResetFunction;
import com.matt.forgehax.util... |
package com.maxmind.geoip2;
import java.io.Closeable;
import java.io.File;
import java.io.IOException;
import java.net.InetAddress;
import java.util.Arrays;
import java.util.List;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.InjectableValues;
import com.fasterxml.j... |
package com.noodlesandwich.streams;
import java.util.Iterator;
import com.google.common.base.Function;
import com.google.common.base.Predicate;
import com.noodlesandwich.streams.functions.Concat;
import com.noodlesandwich.streams.functions.Drop;
import com.noodlesandwich.streams.functions.Filter;
import com.noodlesandw... |
package com.sdl.selenium.extjs6.grid;
import com.sdl.selenium.web.SearchType;
import com.sdl.selenium.web.WebLocator;
import com.sdl.selenium.web.table.Table;
import com.sdl.selenium.web.utils.RetryUtils;
import com.sdl.selenium.web.utils.Utils;
import lombok.extern.slf4j.Slf4j;
import java.util.ArrayList;
import java.... |
package com.sorcix.sirc;
/**
* Thrown when the nickname is already in use.
*/
public final class PasswordException extends Exception {
/** Serial Version ID */
private static final long serialVersionUID = -7856391898471344111L;
/**
* Creates a new PasswordException.
*
* @param string Error ... |
package com.topsy.jmxproxy.core;
import com.fasterxml.jackson.core.JsonFactory;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.cor... |
package fr.wseduc.cas.endpoint;
import java.net.URI;
import java.net.URISyntaxException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Map;
import java.util.UUID;
import java.util.logging.Logger;
import fr.wseduc.cas.async.Handler;
import fr.wseduc.cas.data.Data... |
package io.lcs.framework.base;
import com.google.gson.Gson;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.domain.Specifications;
import javax.persistence.EntityMana... |
package io.sqooba.traildb;
import java.nio.ByteBuffer;
import java.util.Iterator;
/**
* Class representing a cursor over a particular trail of the database. The cursor is initially constructed from the
* TrailDB.trail() method. The cursor points to the current event and this event is updated each time a .next() is
*... |
package io.vertx.codegen;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ArrayNode;
import com.fasterxml.jackson.databind.node.ObjectNode;
import io.vertx.codegen.annotations.DataObject;
import io.vertx.codegen.annotations.G... |
/**
* Purely functional collections based on {@linkplain javaslang.collection.TraversableOnce}.
*
* <h2>Performance Characteristics of Javaslang Collections</h2>
* <table cellpadding="5" cellspacing="0" border="1" style="border-collapse: collapse">
* <caption>Time Complexity of Sequential Operations</caption>
* <... |
package jfdi.logic.commands;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import java.util.stream.Collectors;
import jfdi.logic.events.SearchDoneEvent;
import jfdi.logic.interfaces.Command;
import jfdi.storage.apis.TaskAttributes;
import jfdi.storage.apis.TaskDb;
/**
* @author Liu... |
package mil.dds.anet.database;
import java.util.Arrays;
import java.util.List;
import mil.dds.anet.AnetObjectEngine;
import mil.dds.anet.beans.Location;
import mil.dds.anet.beans.lists.AnetBeanList;
import mil.dds.anet.beans.search.LocationSearchQuery;
import mil.dds.anet.database.mappers.LocationMapper;
import mil.dds... |
package moba.server.messagehandler;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.logging.Level;
import java.util.logging.Logger;
import moba.server.com.SenderI;
import moba.server.database.Database;
i... |
package mod.jd.botapi.Bot.Body;
import mod.jd.botapi.Bot.Body.Senses.PlayerSensor;
import mod.jd.botapi.Bot.Body.Senses.Sensor;
import net.minecraft.client.Minecraft;
import net.minecraft.client.entity.EntityPlayerSP;
import net.minecraft.client.settings.KeyBinding;
import net.minecraft.util.MovementInput;
import net.m... |
package net.darkhax.gamestages;
import net.darkhax.bookshelf.BookshelfRegistry;
import net.darkhax.bookshelf.command.CommandTree;
import net.darkhax.bookshelf.lib.LoggingHelper;
import net.darkhax.bookshelf.network.NetworkHandler;
import net.darkhax.gamestages.commands.CommandStageTree;
import net.darkhax.gamestages.da... |
package net.emaze.dysfunctional;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import net.emaze.dysfunctional.collections.CollectionProvider;
import net.emaze.dysfunctional.contracts.dbc;
import net.emaze.dysfunctional.dispatching.delegates.ConsumeIntoCollect... |
/**
* @author ElecEntertainment
* @team Larry1123, Joshtmathews, Sinzo, Xalbec
* @lastedit Jun 24, 2013 7:59:26 AM
*/
package net.larry1123.lib.logger;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.logging.FileHandler;
import java.util.logging.Level;
import java.util.lo... |
package net.mloehr.mango.selenium;
import java.io.File;
import java.io.IOException;
import java.util.List;
import java.util.Properties;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import lombok.val;
import lombok.extern.slf4j.Slf4j;
import net.mloehr.mango.Timer;
import net.mloehr.mango.XPathNotFoun... |
package net.spy.memcached;
import java.io.FileInputStream;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.URI;
import java.util.Collection;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Properties;
import java.util.concurrent.CountDownLat... |
package net.ucanaccess.converters;
import java.io.IOException;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.math.BigDecimal;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.SQLSyntaxErrorException;
import java.sql.SQLWa... |
package org.altbeacon.beacon;
import android.annotation.TargetApi;
import android.bluetooth.BluetoothDevice;
import android.os.Build;
import android.util.Log;
import org.altbeacon.beacon.logging.LogManager;
import org.altbeacon.bluetooth.BleAdvertisement;
import org.altbeacon.bluetooth.Pdu;
import java.util.ArrayList;
... |
package org.animotron.graph;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.security.MessageDigest;
import java.util.UUID;
import org.animotron.MessageDigester;
import org.neo4j.graphdb.Relationship;
/**
* @author <... |
package org.animotron.statement.query;
import javolution.util.FastList;
import javolution.util.FastMap;
import javolution.util.FastSet;
import javolution.util.FastTable;
import org.animotron.graph.index.Order;
import org.animotron.io.Pipe;
import org.animotron.manipulator.Evaluator;
import org.animotron.manipulator.OnC... |
package ahlers.phantom.embedded;
import com.google.auto.value.AutoValue;
import de.flapdoodle.embed.process.distribution.Distribution;
import org.apache.commons.codec.binary.Hex;
import org.apache.commons.codec.digest.DigestUtils;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang3.builder.ToStringBui... |
package broadwick.stochastic;
import com.google.common.collect.Table;
import com.google.common.collect.TreeBasedTable;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import lombok.Getter;
import lombok.Setter;
im... |
package ch.lambdaj.function.closure;
import static ch.lambdaj.function.closure.ClosuresFactory.*;
import java.lang.reflect.*;
import ch.lambdaj.proxy.*;
public class ProxyClosure extends InvocationInterceptor {
private Closure closure;
protected ProxyClosure(Closure closure) {
this.closure = closure;
... |
package cn.momia.mapi.api.activity;
import cn.momia.api.course.ActivityServiceApi;
import cn.momia.api.course.activity.Activity;
import cn.momia.api.user.SmsServiceApi;
import cn.momia.common.core.http.MomiaHttpResponse;
import cn.momia.common.core.util.MomiaUtil;
import cn.momia.mapi.api.AbstractApi;
import org.apache... |
package org.generator.make;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Types;
imp... |
package org.jsoup.select.ng.parser;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;
import org.jsoup.Jsoup;
import org.jsoup.helper.StringUtil;
import org.jsoup.helper.Validate;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.nodes.Evaluator;
import o... |
package com.adyen.model.checkout;
import static com.adyen.constants.ApiConstants.PaymentMethodType.TYPE_SCHEME;
import com.adyen.Util.Util;
import com.adyen.model.AccountInfo;
import com.adyen.model.Address;
import com.adyen.model.Amount;
import com.adyen.model.BrowserInfo;
import com.adyen.model.ForexQuote;
import com... |
package org.junit.rules;
import static java.lang.String.format;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.instanceOf;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.fail;
import static org.junit.internal.matchers.ThrowableCauseMatcher.hasC... |
// This code is developed as part of the Java CoG Kit project
// This message may not be removed or altered.
package org.globus.cog.abstraction.impl.file.webdav;
import java.io.File;
import java.io.IOException;
import java.net.PasswordAuthentication;
import java.util.Collection;
import java.util.Date;
import java.util.... |
package org.jvalue.ceps.data;
import java.util.LinkedList;
import java.util.List;
import org.jvalue.ceps.db.DbAccessor;
import org.jvalue.ceps.db.DbAccessorFactory;
import org.jvalue.ceps.utils.Assert;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonNode;
import com.... |
package com.github.gabrielruiu.spring.cloud.config.redis;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.config.environment.PropertySource;
import org.springframework.cloud.config.server.config.ConfigServerProperties;
import org.springframework.data.redis.core.StringRedi... |
package org.lightmare.cache;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.util.Collection;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
impor... |
package com.creativemd.playerrevive;
import java.util.UUID;
import com.creativemd.creativecore.common.packet.CreativeCorePacket;
import com.creativemd.creativecore.gui.container.SubContainer;
import com.creativemd.creativecore.gui.container.SubGui;
import com.creativemd.creativecore.gui.opener.CustomGuiHandler;
import ... |
package com.github.steveice10.mc.protocol.packet.ingame.server;
import com.github.steveice10.mc.auth.data.GameProfile;
import com.github.steveice10.mc.protocol.data.MagicValues;
import com.github.steveice10.mc.protocol.data.game.PlayerListEntry;
import com.github.steveice10.mc.protocol.data.game.PlayerListEntryAction;
... |
package org.lightmare.cache;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.util.Collection;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
impor... |
package com.darwinsys.springbootdemo;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
@Contr... |
package org.lightmare.cache;
import java.util.Collection;
import java.util.Iterator;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import org.glassfish.jersey.server.model.Resource;
import org.lightmare.rest.RestConfig;
import org.lightmare.rest.provider... |
package org.sagebionetworks.web.client.widget.entity.controller;
import java.util.List;
import org.gwtbootstrap3.extras.bootbox.client.callback.PromptCallback;
import org.sagebionetworks.web.client.ShowsErrors;
import org.sagebionetworks.web.client.utils.Callback;
import org.sagebionetworks.web.client.utils.CallbackP;
... |
package com.elmakers.mine.bukkit.api.batch;
/**
* Represents a batched Block update, usually started by a construction Spell.
*
* Magic will process pending BlockBatch requests once every tick, up to a
* maximum number of Block updates per tick (the default is 1,000).
*
* Every BlockBatch is required to perform o... |
package org.spongepowered.common.event.tracking.phase.packet.player;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.entity.item.EntityXPOrb;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.entity.projectile.EntityThrowable;
import net.minecraft.network.Packet;
import net.minec... |
package com.facebook.litho;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.graphics.drawable.Drawable;
import android.support.annotation.AttrRes;
import android.support.annotation.ColorInt;
import android.support.annotation.DimenRes;
import android.support.annotation.Dimensi... |
package org.openforis.ceo.local;
import static org.openforis.ceo.utils.JsonUtils.elementToArray;
import static org.openforis.ceo.utils.JsonUtils.expandResourcePath;
import static org.openforis.ceo.utils.JsonUtils.findInJsonArray;
import static org.openforis.ceo.utils.JsonUtils.getNextId;
import static org.openforis.ceo... |
package com.fundynamic.d2tm.game.entities;
import com.fundynamic.d2tm.game.behaviors.*;
import com.fundynamic.d2tm.game.entities.entitybuilders.EntityBuilderType;
import com.fundynamic.d2tm.game.entities.superpowers.SuperPower;
import com.fundynamic.d2tm.game.entities.units.RenderQueueEnrichableWithFacingLogic;
import ... |
package org.roi.itlab.cassandra;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.List;
import java.util.function.Function;
import java.util.stream.Collectors;
public class PoiLoader {
private PoiLoader() {}
public static List<Poi> loadFromCsv(String filename)... |
package com.github.apixandru.games.rummikub;
/**
* @author Alexandru-Constantin Bledea
* @since Sep 16, 2015
*/
public enum Rank {
ONE, TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT, NINE, TEN, ELEVEN, TWELVE, THIRTEEN;
/**
* @return
*/
public static Rank next(final Rank rank) {
if (null ==... |
package com.github.bednar.aap.model.api;
import java.util.List;
import com.google.common.collect.Lists;
public final class ApiModel
{
public String path = "";
public String[] consumes = new String[]{};
public String[] produces = new String[]{};
public String shortDescription = "";
public List<Operat... |
package org.ccnx.ccn.impl;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.NotYetConnectedException;
import java.util.ArrayList;
import java.util.Set;
import java.util.SortedMap;
import java.util.Timer;
import java.util.TimerTask;
im... |
package org.semanticweb.yars.nx.cli;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.util.Iterator;
import java.util.logging.Logger;
import org.apache.commons.cli.BasicParser;
import org.apache.commons.cli... |
package com.github.davidmoten.guavamini;
public final class Optional<T> {
private final T value;
private final boolean present;
private Optional(T value, boolean present) {
this.value = value;
this.present = present;
}
private Optional() {
//no-arg constructor to enable kryo ... |
package org.ccnx.ccn.impl;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.DatagramChannel;
import java.nio.channels.NotYetConnectedException;
import java.nio.channels.SelectionKey;
import java.nio.... |
package com.github.monee1988.mybatis.entity;
import org.apache.commons.lang3.StringUtils;
import javax.servlet.http.HttpServletRequest;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
/**
* ORM.
* @author monee1988
* @param <T> Page.
*/
public class Page<T> impl... |
package com.github.niwaniwa.we.core;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;
import java.util.Map;
import java.util.logging.Logger;
import org.bukkit.Bukkit;
import org.bukkit.command.Command;
import org.... |
/*
* $Log$
* Revision 1.5 2000/09/01 16:34:53 apr
* Accept "yes" as "true" response for getBoolean
*
* Revision 1.4 2000/03/01 14:44:38 apr
* Changed package name to org.jpos
*
* Revision 1.3 1999/11/26 12:16:51 apr
* CVS devel snapshot
*
* Revision 1.2 1999/11/11 10:18:49 apr
* added get(name,name)... |
package refinedstorage.tile.grid;
import io.netty.buffer.ByteBuf;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.inventory.*;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.CraftingManager;
import net.minecraft.nbt.NBTTag... |
package com.github.nkzawa.engineio.client;
import com.github.nkzawa.emitter.Emitter;
import com.github.nkzawa.engineio.client.transports.Polling;
import com.github.nkzawa.engineio.client.transports.PollingXHR;
import com.github.nkzawa.engineio.client.transports.WebSocket;
import com.github.nkzawa.engineio.parser.Packet... |
package sc.iview.commands.demo;
import cleargl.GLVector;
import graphics.scenery.Node;
import graphics.scenery.PointLight;
import graphics.scenery.volumes.bdv.BDVVolume;
import java.io.FileNotFoundException;
import net.imagej.mesh.Mesh;
import net.imagej.ops.OpService;
import net.imagej.ops.geom.geom3d.mesh.BitTypeVert... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.