answer stringlengths 17 10.2M |
|---|
package com.ra4king.gameutils.util;
import java.util.ArrayList;
import java.util.ConcurrentModificationException;
import java.util.Iterator;
import java.util.NoSuchElementException;
public class Bag<T> extends ArrayList<T> {
private static final long serialVersionUID = 8096168672390044428L;
private volatile int... |
package com.twu.biblioteca.models;
public class Book {
private String title;
private String author;
private int yearOfPublication;
public Book(String title) {
this.title = title;
}
public Book(String title, String author, int yearOfPublication) {
this.title = title;
this.... |
package org.dspace.search;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.io.Reader;
import java.io.StringWriter;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Date;
import java.util.C... |
package data;
import data.structure.ConsoleDataRow;
/**
* Semantic error console row
*/
public class SemanticErrorRow extends ConsoleDataRow {
private Object message;
public SemanticErrorRow(Object message) {
this.message = message;
}
@Override
public Object[] convertToObjectArray() {
... |
package com.intellij.mock;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.openapi.vfs.VirtualFileSystem;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.testFramework.MockVirtualFile;
import java.io.File;
import java.io.IOException;
import java.util.Collection;
import java.util.H... |
package io.digdag.cli;
import com.beust.jcommander.Parameter;
import com.google.common.collect.ImmutableMap;
import com.google.common.io.ByteStreams;
import io.digdag.client.config.ConfigFactory;
import io.digdag.core.repository.WorkflowDefinition;
import java.io.IOException;
import java.io.InputStream;
import java.io.... |
package acceptance;
import com.google.common.io.ByteStreams;
import com.google.common.io.Resources;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
import java.io.IOException;
import java.io.InputStream;
import java.nio.file.Files;
import java.nio.file.Path... |
package rhogenwizard;
import java.io.File;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.StringTokenizer;
import org.eclipse.debug.core.DebugPlugin;
import org.eclipse.debug.core.ILaunch;
import org.eclipse.debug.core.model.IProcess;
import ... |
package com.redhat.ceylon.compiler.java;
import java.util.Arrays;
import ceylon.language.AssertionError;
import ceylon.language.Callable;
import ceylon.language.Finished;
import ceylon.language.Integer;
import ceylon.language.Iterable;
import ceylon.language.Iterator;
import ceylon.language.Null;
import ceylon.language... |
package com.andreabaccega.widget;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import android.content.Context;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.view.KeyEve... |
package com.antipodalwall;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
public class AntipodalWallLayout extends ViewGroup {
private int mColumns;
private float m... |
package com.merrillogic.stump;
import android.util.Log;
import java.lang.ref.WeakReference;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import java.util.Stack;
/*
TODO:
Add annotations from support library - assuming that doesn't make the minSdk something bad
Add rx... |
package lucee.runtime.tag;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.security.cert.X509Certificate;
import java.sql.Connection;
import java.sql.Driver;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Enumeratio... |
package cgeo.geocaching.connector.gc;
import cgeo.geocaching.log.LogType;
import android.support.annotation.NonNull;
import java.util.Locale;
import java.util.regex.Pattern;
import org.apache.commons.lang3.StringUtils;
public final class GCConstants {
static final String GC_URL = "https:
private static final St... |
package com.joelapenna.foursquared;
import com.joelapenna.foursquare.error.FoursquareException;
import com.joelapenna.foursquare.types.Badge;
import com.joelapenna.foursquare.types.CheckinResult;
import com.joelapenna.foursquare.types.Group;
import com.joelapenna.foursquare.types.Mayor;
import com.joelapenna.foursquare... |
package mockit.internal.expectations;
import java.util.*;
import mockit.internal.expectations.invocation.*;
import mockit.internal.state.*;
final class ReplayPhase extends Phase
{
private int initialStrictExpectationIndexForCurrentBlock;
int currentStrictExpectationIndex;
final List<Expectation> nonStrictInvoc... |
package hudson.maven.agent;
import org.codehaus.classworlds.ClassRealm;
import org.codehaus.classworlds.Launcher;
import org.codehaus.classworlds.NoSuchRealmException;
import org.codehaus.classworlds.DefaultClassRealm;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.InputStream;
import java.io.... |
package org.voovan.tools.json;
import org.voovan.tools.ByteBufferChannel;
import org.voovan.tools.TFile;
import org.voovan.tools.TString;
import java.io.IOException;
import java.nio.ByteBuffer;
public class YAML2JSON {
public static String convert(String jsonStr) throws IOException {
ByteBufferChannel byteB... |
import java.io.IOException;
import java.util.Properties;
import javax.jms.Connection;
import javax.jms.ConnectionFactory;
import javax.jms.JMSException;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import fi.toje.himmeli.jmslibrary.BrokerConnection;
import fi.toj... |
package ui;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.SortedMap;
import com.evanbyrne.vending_machine_kata.coin.Cents;
import com.evanbyrne.vending_machine_kata.coin.Coin;
import com.evanbyrne.vending_machine_kata.coin.CoinCollection;
import com.evanbyrne.vending... |
package io.fabianterhorst.iron;
import android.content.Context;
import android.os.AsyncTask;
import android.os.Build;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
public class Chest {
private final Storage mStorage;
private final ObjectStorage mObjectStorage;
private final t... |
package lombok.ast;
import java.util.List;
public interface Node {
boolean isGenerated();
Node getGeneratedBy();
boolean hasParent();
List<Node> getChildren();
Node detach(Node child);
Node unparent();
Node setPosition(Position position);
void accept(AstVisitor visitor);
Node copy();... |
package main.model;
import java.awt.Point;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import main.model.map.*;
import main.model.tower.*;
import main.model.critter.*;
public class GameLogic {
private CritterManager critterManager;
private TowerManager towerManager;
priva... |
package mustache.clojure.glue;
import clojure.lang.IPersistentMap;
import clojure.lang.Keyword;
import clojure.lang.RT;
import com.github.mustachejava.ObjectHandler;
import com.github.mustachejava.reflect.Guard;
import com.github.mustachejava.reflect.GuardedWrapper;
import com.github.mustachejava.reflect.ReflectionObje... |
//FILE: MMStudioMainFrame.java
//PROJECT: Micro-Manager
//SUBSYSTEM: mmstudio
// Modifications by Arthur Edelstein, Nico Stuurman
// This file is distributed in the hope that it will be useful,
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// ... |
package tof.cv.mpp;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.ShortcutInfo;
import android.content.pm.ShortcutManager;
import android.database.Cursor;
import android.graphics.drawable.Icon;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle... |
//FILE: MMStudioMainFrame.java
//PROJECT: Micro-Manager
//SUBSYSTEM: mmstudio
// Modifications by Arthur Edelstein, Nico Stuurman, Henry Pinkard
// This file is distributed in the hope that it will be useful,
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR ... |
package GGJ2016;
import PrutEngine.Debug;
import java.io.BufferedWriter;
import java.io.DataInputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.ArrayList;
import java.util.logging.Level;
import java.util.logging.Logger;
publi... |
package org.voovan.tools;
import org.voovan.Global;
import org.voovan.tools.cache.ObjectPool;
import org.voovan.tools.log.Logger;
import org.voovan.tools.reflect.TReflect;
import java.io.UnsupportedEncodingException;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.nio.ByteBuffer;
impor... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package no.ntnu.osnap.com.testing;
import java.io.IOException;
import java.util.Scanner;
import java.util.logging.Level;
import java.util.logging.Logger;
import no.ntnu.osnap.com.deprecated.ComLayer;
/**
*
* @author an... |
package org.ccnx.ccn.impl;
import java.io.ByteArrayInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.math.BigInteger;
import java.net.InetSocketAddress;
import java.nio.BufferUnderflowException;
import java.nio.ByteBuffer;
import java.nio.channels.Datagram... |
package org.ccnx.ccn.impl;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.InetSocketAddress;
import java.net.PortUnreachableException;
import java.nio.BufferUnderflowException;
import java.nio.ByteBuffer;
import java.nio.channels.ClosedChannelException;
import j... |
package com.fs.pxe.jbi;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import javax.jbi.management.DeploymentException;
import javax.xml.namespace.QName;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* Representation of a JBI service unit. A JBI servi... |
package cn.jzvd;
import android.app.Activity;
import android.content.Context;
import android.content.ContextWrapper;
import android.content.SharedPreferences;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.view.ContextTh... |
// modification, are permitted provided that the following conditions are met:
// documentation and/or other materials provided with the distribution.
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// LIABLE FOR ... |
package NewApproaches;
import BlockBuilding.StandardBlocking;
import DataModel.AbstractBlock;
import DataModel.BilateralBlock;
import java.io.BufferedWriter;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.UnsupportedEn... |
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:set ts=4 sw=4 sts=4 et: */
package jp.oist.flint.executor;
import jp.oist.flint.dao.SimulationDao;
import jp.oist.flint.dao.TaskDao;
import jp.oist.flint.job.Job;
import jp.oist.flint.job.Progress;
import jp.oist.flint.sedml.ISimulationCo... |
package com.primix.tapestry.asset;
import java.net.URL;
import com.primix.tapestry.*;
import java.io.*;
import java.util.*;
import org.apache.log4j.*;
/**
* An implementation of {@link IAsset} for localizable assets within
* the JVM's classpath.
*
* <p>The localization code here is largely cut-and-paste from
* ... |
package play.libs;
import java.io.IOException;
import com.fasterxml.jackson.core.JsonGenerator.Feature;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.ObjectWriter;
im... |
//FILE: ContrastPanel.java
//PROJECT: Micro-Manager
//SUBSYSTEM: mmstudio
// This file is distributed in the hope that it will be useful,
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
// ... |
package de.eternity.gfx;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class TextureStorage {
private Map<String, Integer> tilesets = new HashMap<>();
private List<Texture> allTextures = new ArrayList<>();
/**
* Loa... |
package de.littlerolf.sav.gui;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Lis... |
package uk.bl.crawling;
import java.io.IOException;
import java.net.URLDecoder;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.jsoup.Connection;
import org.jsoup.Connection.Method;
import org.j... |
package dr.app.tools;
import dr.app.gui.FileDrop;
import dr.app.util.Utils;
import dr.app.gui.table.TableEditorStopper;
import dr.app.gui.components.WholeNumberField;
import jam.panels.ActionPanel;
import jam.panels.OptionsPanel;
import jam.table.TableRenderer;
import javax.swing.*;
import javax.swing.border.Border;
im... |
// * Class T66Robot
// * TTTTT 6 6
// * T 6 6
// * T 6 6
// * T 6 6
// * T 6 6666 6 6666
// * T 6 6 6 6
// * T 66666 66666
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* the proj... |
package ca.dev9.tranquil;
import ca.dev9.tranquil.utils.Int3;
import com.badlogic.gdx.ApplicationAdapter;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.assets.loaders.TextureLoader;
import com.badlogic.gdx.graphics.*;
import com.badlogic.gdx.graphics.glutils.ShaderPro... |
package erp.mfin.data;
import erp.SParamsApp;
import erp.data.SDataConstantsSys;
import erp.mod.SModSysConsts;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.net.MalformedURLException;
import java.net.URL;
import java.sql.Connection;
import ... |
package eu.e43.impeller;
import org.json.JSONException;
import org.json.JSONObject;
import android.accounts.Account;
import android.app.Activity;
import android.app.FragmentManager;
import android.app.ListFragment;
import android.content.ContentResolver;
import android.content.ContentValues;
import android.content.Cont... |
package hudson;
import hudson.Launcher.LocalLauncher;
import hudson.Launcher.RemoteLauncher;
import hudson.model.Hudson;
import hudson.model.TaskListener;
import hudson.remoting.Callable;
import hudson.remoting.Channel;
import hudson.remoting.DelegatingCallable;
import hudson.remoting.Future;
import hudson.remoting.Pip... |
package jolie.lang.parse.ast;
import java.io.Serializable;
import java.net.URI;
import java.util.Map;
import jolie.lang.parse.OLVisitor;
import jolie.lang.parse.context.ParsingContext;
public class InputPortInfo extends PortInfo
{
public static class AggregationItemInfo implements Serializable {
private fin... |
package hudson;
import hudson.Launcher.LocalLauncher;
import hudson.Launcher.RemoteLauncher;
import hudson.model.Hudson;
import hudson.model.TaskListener;
import hudson.remoting.Callable;
import hudson.remoting.Channel;
import hudson.remoting.DelegatingCallable;
import hudson.remoting.Future;
import hudson.remoting.Pip... |
package fuentes;
public class Persona {
//cambio1.1
//cambio1.2
private String nombre;
private String apellido;
public String getNombre() {
return nombre;
}
public void setNombre(String nombre) {
this.nombre = nombre;
}
public String getApellido() {
return ape... |
package render_subsystem;
import java.util.ArrayList;
import java.util.List;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.Ani... |
//FILE: MMStudioMainFrame.java
//PROJECT: Micro-Manager
//SUBSYSTEM: mmstudio
// Modifications by Arthur Edelstein, Nico Stuurman
// This file is distributed in the hope that it will be useful,
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// ... |
/*
* $Log: AbstractPipe.java,v $
* Revision 1.30 2007-12-10 10:08:58 europe\L190409
* assume usertransaction can be obtained
*
* Revision 1.29 2007/09/27 12:54:38 Gerrit van Brakel <gerrit.van.brakel@ibissource.org>
* improved warning about duplicate forward
*
* Revision 1.28 2007/06/08 07:58:14 Gerrit va... |
//FILE: MMStudioMainFrame.java
//PROJECT: Micro-Manager
//SUBSYSTEM: mmstudio
// Modifications by Arthur Edelstein, Nico Stuurman, Henry Pinkard
// This file is distributed in the hope that it will be useful,
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR ... |
package nl.nn.adapterframework.pipes;
import java.io.ByteArrayInputStream;
import java.net.URL;
import nl.nn.adapterframework.configuration.ConfigurationException;
import nl.nn.adapterframework.core.PipeLineSession;
import nl.nn.adapterframework.core.PipeRunException;
import nl.nn.adapterframework.core.PipeRunResult;
i... |
//FILE: AddDeviceDlg.java
//PROJECT: Micro-Manager
//SUBSYSTEM: mmstudio
// This file is distributed in the hope that it will be useful,
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
// ... |
// -*- mode:java; encoding:utf-8 -*-
// vim:set fileencoding=utf-8:
// @homepage@
package example;
import java.awt.*;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.util.Arrays;
import java.util.List;
import javax.swing.*;
import javax.swing.event.HyperlinkEvent;
public final class Ma... |
package ch.openech.mj.util;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.logging.Logger;
import org.joda.time.DateTimeFieldType;
import org.joda.time.IllegalFieldValueException;
import org.joda.time.LocalDate;
import org.joda.ti... |
// $Id: JChannel.java,v 1.11 2004/04/16 06:03:21 belaban Exp $
package org.jgroups;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jgroups.conf.ConfiguratorFactory;
import org.jgroups.conf.ProtocolStackConfigurator;
import org.jgroups.stack.ProtocolStack;
import org.jgro... |
package org.nutz.http;
import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.Proxy;
import java.net.Socket;
import java.net.URL;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
im... |
package org.ektorp;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import com.fasterxml.jackson.databind.*;
import com.fasterxml.jackson.databind.node.*;
import org.ektorp.util.Base64;
import org.ektorp.util.Exceptions;
/**
*
* @author henrik lundgren
*
*/
public class PageRequest {
private st... |
package org.jgrapes.io.events;
import java.nio.Buffer;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import org.jgrapes.io.util.ManagedBuffer;
/**
* This event signals that a new chunk of internally generated data is to be
* forwarded to some destination. This type of
* event is commonly used for data flow... |
package org.osmdroid.views;
import java.util.List;
import java.util.concurrent.atomic.AtomicBoolean;
import microsoft.mappoint.TileSystem;
import net.wigle.wigleandroid.ZoomButtonsController;
import net.wigle.wigleandroid.ZoomButtonsController.OnZoomListener;
import org.metalev.multitouch.controller.MultiTouchControlle... |
package 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 com.SenderI;
import database.Database;
import datatypes.enumerations.ErrorId... |
// ImporterTest.java
package loci.plugins.in;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.fail;
import ij.CompositeImage;
import ij.... |
package garage.base;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.base.Joiner;
import com.google.common.base.Preconditions;
import com.google.common.base.Splitter;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import org.kohsuke.args4j... |
package ome.scifio;
import java.awt.image.BufferedImage;
import net.imglib2.meta.Axes;
import ome.scifio.gui.AWTImageTools;
import ome.scifio.util.FormatTools;
/**
* A {@link ome.scifio.Plane} implementation using a {@link BufferedImage} for the
* underlying data representation.
*
* @author Mark Hiner
*
*/
public... |
package ch.ntb.inf.deep.testClasses;
public class T07Arrays {
static short[] s1 = new short[3];
byte[] b1 = new byte[12];
public static void emptyIntArray(){
int[] a = new int[5];
}
public static int intArray(int start){
int[] b = new int[5];
for (int i = 0; i < b.length; i++... |
import static java.util.Objects.requireNonNull;
import static java.util.stream.Collectors.joining;
import static io.jenetics.prog.op.MathExpr.parseTree;
import java.util.List;
import java.util.function.Function;
import io.jenetics.IntegerGene;
import io.jenetics.Phenotype;
import io.jenetics.SinglePointCrossover;
impor... |
package org.basex.query.fs;
import static org.basex.Text.*;
import java.io.IOException;
import org.basex.io.PrintOutput;
import org.basex.util.GetOpts;
import org.basex.util.IntList;
import org.basex.util.Token;
import org.basex.util.TokenList;
public final class LS extends FSCmd {
/** Also lists sub directories. */
... |
package org.broad.igv.hic;
import org.broad.igv.feature.Chromosome;
import org.broad.igv.hic.data.*;
import javax.swing.*;
import java.awt.*;
import java.util.Map;
/**
* This is the "model" class for the HiC viewer.
*
* @author Jim Robinson
* @date 4/8/12
*/
public class HiC {
public Unit getUnit() {
r... |
package org.broad.igv.ui;
import com.jidesoft.plaf.LookAndFeelFactory;
import jargs.gnu.CmdLineParser;
import org.apache.log4j.Level;
import org.apache.log4j.Logger;
import org.apache.log4j.PatternLayout;
import org.apache.log4j.RollingFileAppender;
import org.broad.igv.Globals;
import org.broad.igv.ui.event.GlobalKeyD... |
package org.jcodings;
import org.jcodings.ascii.AsciiTables;
import org.jcodings.constants.CharacterType;
import org.jcodings.exception.ErrorMessages;
import org.jcodings.exception.InternalException;
import org.jcodings.specific.ASCIIEncoding;
import org.jcodings.util.BytesHash;
public abstract class Encoding {
pub... |
// $Id: Util.java,v 1.76 2006/07/14 11:39:46 belaban Exp $
package org.jgroups.util;
import org.apache.commons.logging.LogFactory;
import org.jgroups.*;
import org.jgroups.auth.AuthToken;
import org.jgroups.conf.ClassConfigurator;
import org.jgroups.protocols.FD;
import org.jgroups.protocols.PingHeader;
import org.jgro... |
package org.joseki;
/** Constants related to SPARQL over HTTP
*
* @author Andy Seaborne
* @version $Id: HttpParams.java,v 1.2 2005-01-11 18:06:01 andy_seaborne Exp $
*/
public class HttpParams
{
/** Parameter for the SPARQL query string */
public static final String pQuery = "query" ;
/** Param... |
package org.nutz.lang;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.Closeable;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.... |
package peer;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Deque;
import java.util.List;
import java.util.Random;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicLong;
import multicast.search.message.RemoteMulticastMessage;
import peer.message.ACKM... |
package core.framework.test;
import core.framework.test.assertion.EnumConversionAssert;
import core.framework.test.assertion.EnvResourceAssert;
import core.framework.test.assertion.ValidatorAssert;
/**
* @author neo
*/
public class Assertions {
public static EnumConversionAssert assertEnumClass(Class<? extends En... |
package com.intuit.karate;
import com.intuit.karate.core.Feature;
import com.intuit.karate.core.FeatureResult;
import com.intuit.karate.core.FeatureRuntime;
import com.intuit.karate.report.ReportUtils;
import com.intuit.karate.core.Scenario;
import com.intuit.karate.core.ScenarioResult;
import com.intuit.karate.core.Sc... |
package org.exist.mongodb.xquery;
import java.util.List;
import java.util.Map;
import org.exist.dom.QName;
import org.exist.mongodb.xquery.mongodb.client.Close;
import org.exist.mongodb.xquery.mongodb.client.Connect;
import org.exist.mongodb.xquery.mongodb.client.ListDatabases;
import org.exist.mongodb.xquery.mongodb.c... |
package bisq.core.app.misc;
import bisq.core.alert.AlertModule;
import bisq.core.app.TorSetup;
import bisq.core.btc.BitcoinModule;
import bisq.core.dao.DaoModule;
import bisq.core.filter.FilterModule;
import bisq.core.network.p2p.seed.DefaultSeedNodeRepository;
import bisq.core.offer.OfferModule;
import bisq.core.proto... |
package lucee.commons.io.compress;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Enumeration;
import ja... |
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.Timer;
import java.util.TimerTask;
import java.util.TreeMap;
import java.util.concurren... |
package net.novucs.ftop.listener;
import com.google.common.collect.ImmutableMap;
import net.novucs.ftop.FactionsTopPlugin;
import net.novucs.ftop.PluginService;
import net.novucs.ftop.RecalculateReason;
import net.novucs.ftop.WorthType;
import net.novucs.ftop.entity.BlockPos;
import net.novucs.ftop.entity.ChestWorth;
i... |
package org.ccnx.ccn.profiles;
import org.ccnx.ccn.impl.support.DataUtils;
import org.ccnx.ccn.protocol.ContentName;
public class CommandMarker {
/**
* Reserved bytes.
*/
public static byte[] CCN_reserved_markers = { (byte)0xC0, (byte)0xC1, (byte)0xF5,
(byte)0xF6, (byte)0xF7, (byte)0xF8, (byte)0xF... |
package net.tomp2p.message;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundHandlerAdapter;
import java.net.InetSocketAddress;
import net.tomp2p.connection.SignatureFactory;
import net.tomp2p.storage.AlternativeCompositeByteBuf;
import org.slf4j.Logge... |
package org.realityforge.arez.api2;
import java.util.ArrayList;
import java.util.Objects;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import org.jetbrains.annotations.TestOnly;
final class Transaction
extends Node
{
/**
* List of observables that reached zero observers within the scope of ... |
package joliex.db;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import java.math.BigDecimal;
import java.sql.Clob;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException... |
package org.reldb.dbrowser.ui.content.rel;
import java.util.HashMap;
import java.util.Vector;
import java.util.function.Predicate;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.custom.SashForm;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.custom.CTabFol... |
package org.realityforge.arez.api2;
import java.util.ArrayList;
import java.util.Objects;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import org.jetbrains.annotations.TestOnly;
final class Transaction
extends Node
{
/**
* Determines which write operations are permitted within the scope of ... |
package com.team9889.subsystems;
import com.qualcomm.robotcore.hardware.Servo;
import com.team9889.Constants;
import com.team9889.Team9889Linear;
import org.firstinspires.ftc.robotcore.external.Telemetry;
public class Jewel extends Subsystem {
private Servo arm, wrist;
@Override
public void outputToTelemetr... |
package edu.wustl.query.action;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.Vector;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRes... |
package com.sun.star.lib.uno.protocols.urp;
import com.sun.star.lib.uno.environments.remote.ThreadId;
import com.sun.star.lib.uno.typedesc.TypeDescription;
import com.sun.star.uno.Any;
import com.sun.star.uno.Enum;
import com.sun.star.uno.IBridge;
import com.sun.star.uno.IFieldDescription;
import com.sun.star.uno.Type;... |
package com.ntut.killboss.object;
import java.util.List;
import com.ntut.killboss.core.HelloGameView;
import com.ntut.killboss.sprite.AnimationReduceHP;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
public class ObjectSkill {
private Li... |
package org.aksw.kbox.kibe;
import org.aksw.kbox.Install;
import org.aksw.kbox.ZipLocate;
import org.aksw.kbox.apple.AppInstall;
import org.aksw.kbox.fusca.Listener;
import org.aksw.kbox.fusca.Server;
import org.aksw.kbox.fusca.exception.ServerStartException;
import org.aksw.kbox.kibe.console.ConsoleInstallInputStreamF... |
package com.esotericsoftware.kryonet;
import static com.esotericsoftware.minlog.Log.*;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.net.NetworkInterface;
import java.net.SocketTimeoutException;
imp... |
package org.voovan.http.message;
import org.voovan.Global;
import org.voovan.http.message.packet.Cookie;
import org.voovan.http.message.packet.Part;
import org.voovan.http.server.context.WebContext;
import org.voovan.http.server.exception.HttpParserException;
import org.voovan.http.server.exception.RequestTooLarge;
imp... |
package org.voovan.test.http;
import org.voovan.http.extend.engineio.Config;
import org.voovan.http.extend.engineio.EIODispatcher;
import org.voovan.http.extend.engineio.EIOHandler;
import org.voovan.http.extend.socketio.SIODispatcher;
import org.voovan.http.extend.socketio.SIOHandler;
import org.voovan.http.server.Htt... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.