answer stringlengths 17 10.2M |
|---|
package org.jboss.loom.utils.el;
import java.lang.reflect.Field;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
*
* @author Ondrej Zizka, ozizka at redhat.com
*/
public class ELUtils {
private static final Logger log = LoggerFactory.getLogger( ELUtils.class );
public static void evaluateObject... |
package org.orange.familylink;
import org.orange.familylink.data.Settings;
import org.orange.familylink.data.Settings.Role;
import org.orange.familylink.fragment.LogFragment;
import org.orange.familylink.fragment.NavigateFragment;
import org.orange.familylink.fragment.SeekHelpFragment;
import android.content.res.Config... |
package org.lightmare.utils;
/**
* Utility class for {@link String} operations
*
* @author Levan
*
*/
public class StringUtils {
public static final String EMPTY_STRING = "";
public static final char SPACE = ' ';
/**
* Concatenates passed {@link Object}s in one {@link String} instance
*
... |
package peergos.shared.corenode;
import peergos.shared.cbor.*;
import peergos.shared.crypto.*;
import peergos.shared.crypto.asymmetric.*;
import peergos.shared.crypto.hash.*;
import peergos.shared.storage.*;
import peergos.shared.util.*;
import java.io.*;
import java.time.*;
import java.util.*;
import java.util.concurr... |
package org.orange.familylink.data;
import org.orange.familylink.data.MessageLogRecord.Status;
import org.orange.familylink.database.Contract;
import org.orange.familylink.database.Contract.Messages;
import org.orange.familylink.util.Objects;
import android.content.ContentUris;
import android.content.ContentValues;
imp... |
package org.pentaho.ui.xul.gwt.tags;
import org.pentaho.ui.xul.XulComponent;
import org.pentaho.ui.xul.XulDomContainer;
import org.pentaho.ui.xul.components.XulMenuitem;
import org.pentaho.ui.xul.components.XulMenuseparator;
import org.pentaho.ui.xul.containers.XulMenubar;
import org.pentaho.ui.xul.dom.Element;
import ... |
package org.mastodon.trackmate;
import java.util.Map;
import org.mastodon.detection.DetectionUtil;
import org.mastodon.detection.mamut.DoGDetectorMamut;
import org.mastodon.detection.mamut.SpotDetectorOp;
import org.mastodon.linking.LinkingUtils;
import org.mastodon.linking.mamut.SimpleSparseLAPLinkerMamut;
import org.... |
package cz.metacentrum.perun.rpc;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import javax.servlet.ServletContext;
import cz.metacentrum.perun.cabinet.api.CabinetManager;
import cz.metacentrum.perun.cabinet.model.Category;
import cz.metacentrum.perun.cabinet.model.Publication;
import cz.met... |
package org.minimalj.frontend.form;
import java.lang.reflect.Method;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalTime;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import... |
package org.spongepowered.api.data;
import net.kyori.adventure.bossbar.BossBar;
import net.kyori.adventure.text.Component;
import org.spongepowered.api.ResourceKey;
import org.spongepowered.api.Sponge;
import org.spongepowered.api.block.BlockState;
import org.spongepowered.api.block.BlockType;
import org.spongepowered.... |
package org.utplsql.cli;
import org.utplsql.api.compatibility.CompatibilityProxy;
import org.utplsql.api.reporter.CoreReporters;
import org.utplsql.api.reporter.Reporter;
import org.utplsql.api.reporter.ReporterFactory;
import org.utplsql.cli.config.ReporterConfig;
import org.utplsql.cli.reporters.ReporterOptionsAware;... |
package refinedstorage.tile;
import io.netty.buffer.ByteBuf;
import net.minecraft.block.Block;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.math.BlockPos;
import refinedstorage.block.BlockMachine;
import refinedstorage.tile.config.IRedstoneModeConfig;
import refinedstorage.tile.config.RedstoneMode... |
package scrum.server.admin;
import ilarkesto.auth.AuthenticationFailedException;
import ilarkesto.auth.OpenId;
import ilarkesto.base.Str;
import ilarkesto.base.Utl;
import ilarkesto.base.time.DateAndTime;
import ilarkesto.core.logging.Log;
import ilarkesto.integration.ldap.Ldap;
import ilarkesto.io.IO;
import ilarkesto... |
package sds.assemble.controlflow;
import java.util.LinkedHashSet;
import java.util.Set;
import sds.assemble.LineInstructions;
import sds.classfile.bytecode.BranchOpcode;
import sds.classfile.bytecode.OpcodeInfo;
import sds.classfile.bytecode.LookupSwitch;
import sds.classfile.bytecode.TableSwitch;
/**
* This class is ... |
package soot.compat.crafttweaker;
import com.blamejared.mtlib.helpers.InputHelper;
import com.blamejared.mtlib.utils.BaseListAddition;
import com.blamejared.mtlib.utils.BaseListRemoval;
import com.google.common.collect.Lists;
import crafttweaker.CraftTweakerAPI;
import crafttweaker.annotations.ZenRegister;
import craft... |
package space.pxls.server;
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.JsonNode;
import com.mashape.unirest.http.Unirest;
import com.mashape.unirest.http.async.Callback;
import com.mashape.unirest.http.exceptions.UnirestException;
import io.undertow.websockets.core.WebSocketChannel;
im... |
package tars.logic.commands;
import tars.commons.core.Messages;
import tars.commons.core.UnmodifiableObservableList;
import tars.commons.exceptions.DuplicateTaskException;
import tars.commons.flags.Flag;
import tars.commons.util.MarkTaskTracker;
import tars.model.task.*;
import java.util.ArrayList;
/**
* Marks a task ... |
package tf.gpx.edit.viewer;
import java.io.ByteArrayInputStream;
import java.util.ArrayList;
import java.util.Base64;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import javafx.css.PseudoClass;
import javafx.geometry.BoundingBox;
import javafx.scene.CacheHint;
import javafx.scene.Cursor;
impo... |
package tigase.db.jdbc;
import tigase.db.AuthRepository;
import tigase.db.AuthorizationException;
import tigase.db.DBInitException;
import tigase.db.DataRepository;
import tigase.db.RepositoryFactory;
import tigase.db.TigaseDBException;
import tigase.db.UserExistsException;
import tigase.db.UserNotFoundException;
impor... |
package com.exedio.cope;
import java.util.Date;
import com.exedio.cope.testmodel.AttributeItem;
import com.exedio.cope.testmodel.EmptyItem;
public class LiteralConditionTest extends TestmodelTest
{
EmptyItem someItem;
AttributeItem item1;
AttributeItem item2;
AttributeItem item3;
AttributeItem item4... |
package tigase.server;
import tigase.annotations.TODO;
import tigase.net.ConnectionOpenListener;
import tigase.net.ConnectionOpenThread;
import tigase.net.ConnectionType;
import tigase.net.SocketThread;
import tigase.net.SocketType;
import tigase.server.script.CommandIfc;
import tigase.stats.StatisticsList;
import tiga... |
package tigase.server;
import java.io.IOException;
import java.net.SocketException;
import java.nio.channels.SocketChannel;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.Queue;
import jav... |
package tigase.xmpp.impl;
import java.util.Arrays;
import java.util.List;
import java.util.ArrayList;
import java.util.Queue;
import java.util.Map;
import java.util.logging.Logger;
import tigase.server.Packet;
import tigase.util.JIDUtils;
import tigase.xml.Element;
import tigase.xmpp.Authorization;
import tigase.xmpp.N... |
package ua.pp.msk.maven;
import edu.emory.mathcs.backport.java.util.Arrays;
import java.io.File;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.apache.http.HttpEntity;
import org.apa... |
package xyz.rc24.bot.mangers;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;
public class LogManager {
/**
* Redis for configuration use.
*/
private JedisPool pool;
private Gson gson;
publi... |
package mondrian.rolap.aggmatcher;
import mondrian.olap.MondrianProperties;
import mondrian.olap.MondrianDef;
import mondrian.olap.Util;
import mondrian.rolap.RolapAggregator;
import mondrian.rolap.RolapStar;
import mondrian.resource.MondrianResource;
import mondrian.spi.Dialect;
import javax.sql.DataSource;
import org... |
package net.nanase.nanasetter.utils;
import netscape.javascript.JSObject;
import java.util.Optional;
import java.util.function.Consumer;
/**
* JSObject
*
* @author Tomona Nanase
* @since Nanasetter 0.1
*/
public class JSOUtils {
private final JSObject jsObject;
/**
* JSObject
*
* @param jsOb... |
package com.arjunmn.chipcloud;
import android.content.Context;
import android.graphics.PorterDuff;
import android.graphics.PorterDuffColorFilter;
import android.graphics.Typeface;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.TransitionDrawable;
import android.support.constraint.Constraint... |
package liquibase;
import java.io.File;
import java.io.IOException;
import java.io.PrintStream;
import java.io.Writer;
import java.text.DateFormat;
import java.util.*;
import liquibase.change.CheckSum;
import liquibase.changelog.*;
import liquibase.changelog.filter.*;
import liquibase.changelog.visitor.*;
import liquib... |
package org.jfree.data.time;
import java.io.Serializable;
/**
* Represents a time period and an associated value.
*/
public class TimePeriodValue implements Cloneable, Serializable {
/** For serialization. */
private static final long serialVersionUID = 3390443360845711275L;
/** The time period. */
pr... |
package nl.mpi.arbil;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.nio.channels.FileChannel;
import java.util.HashSet;
import java.util.Set;
imp... |
package radlab.rain.workload.rubbos;
import java.util.Arrays;
import java.util.Calendar;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.Random;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.htt... |
package se.chalmers.watchme.database;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
import android.content.ContentResolver;
import android.content.ContentValues;
import android.database.Cursor;
import android.net.Uri;
import se.chalmers.watchme.model.Movie;
import se.chalmers.watchme.mod... |
package dyvil.tools.repl.context;
import dyvil.collection.List;
import dyvil.collection.Map;
import dyvil.collection.mutable.ArrayList;
import dyvil.collection.mutable.IdentityHashMap;
import dyvil.reflect.Modifiers;
import dyvil.tools.compiler.DyvilCompiler;
import dyvil.tools.compiler.ast.annotation.AnnotationList;
i... |
package servidor;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.Socket;
public class ServidorTransmision extends Thread {
private Socket conexionClienteTCP;
private String videoSolicitado;
private BufferedReader entra... |
package ch.digitalfondue.synckv;
import org.jgroups.JChannel;
import org.jgroups.Message;
import org.jgroups.ReceiverAdapter;
import org.jgroups.View;
import org.jgroups.protocols.*;
import org.jgroups.protocols.pbcast.GMS;
import org.jgroups.protocols.pbcast.NAKACK2;
import org.jgroups.protocols.pbcast.STABLE;
import ... |
package com.github.enanomapper;
import java.io.InputStream;
import java.io.StringReader;
import java.util.Set;
import org.junit.Assert;
import org.junit.Test;
import org.semanticweb.owlapi.model.OWLOntology;
import org.semanticweb.owlapi.model.OWLOntologyCreationException;
public class SlimmerTest {
@Test
publi... |
package com.jts.fortress.rbac;
import com.jts.fortress.arbac.OrgUnitTestData;
import com.jts.fortress.pwpolicy.MyAnnotation;
import com.jts.fortress.util.AlphabeticalOrder;
import com.jts.fortress.util.attr.VUtil;
import com.jts.fortress.util.time.Constraint;
import junit.framework.TestCase;
import java.util.ArrayList;... |
package unit;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.text.IsEqualIgnoringCase.equalToIgnoringCase;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNul... |
package concurrency;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Callable;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.... |
package cz.muni.fi.jboss.migration;
import cz.muni.fi.jboss.migration.conf.AS7Config;
import cz.muni.fi.jboss.migration.conf.Configuration;
import cz.muni.fi.jboss.migration.utils.AS7CliUtils;
import org.jboss.arquillian.container.test.api.RunAsClient;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.arqu... |
package net.imagej.ops;
import net.imagej.ops.Ops.ASCII;
import net.imagej.ops.Ops.Equation;
import net.imagej.ops.Ops.CreateImg;
import org.junit.Test;
/**
* Tests that the ops of the global namespace have corresponding type-safe Java
* method signatures declared in the {@link OpService} class.
*
* @author Curtis ... |
package appstore;
import static org.junit.Assert.*;
import org.junit.Ignore;
import org.junit.Test;
public class TestThisWillFailAbunch {
@Test
public void aFailingTest() {
assertTrue("I expected this to pass!", true);
}
@Ignore
@Test
public void aFailingTest2() {
assertTrue("I... |
package com.google.sps.data;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import... |
package com.jcabi.github;
import com.jcabi.aspects.Tv;
import java.util.Iterator;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.junit.Assume;
import org.junit.Test;
/**
* Test case for {@link RtSearch}.
*
* @author Carlos Miranda (miranda.cma@gmail.com)
* @version $Id$
* @checkstyle M... |
package org.cactoos.text;
import java.io.IOException;
import org.hamcrest.core.IsEqual;
import org.hamcrest.object.HasToString;
import org.junit.Test;
import org.llorllale.cactoos.matchers.Assertion;
/**
* Test case for {@link UncheckedText}.
*
* @since 0.3
* @checkstyle JavadocMethodCheck (500 lines)
*/
public fi... |
package com.skraylabs.poker;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import com.skraylabs.poker.model.Card;
import com.skraylabs.poker.model.Rank;
import com.skraylabs.poker.model.Suit;
import org.junit.Test;
import java.util.ArrayList;
import java.util.Collection;
public ... |
package org.icij.extract.core;
import java.util.logging.Logger;
import java.util.logging.Level;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.ArrayBlockingQueue;
import org.r... |
package com.sling.rest;
import io.vertx.core.DeploymentOptions;
import io.vertx.core.Handler;
import io.vertx.core.Vertx;
import io.vertx.core.buffer.Buffer;
import io.vertx.core.http.HttpClient;
import io.vertx.core.http.HttpClientRequest;
import io.vertx.core.http.HttpClientResponse;
import io.vertx.core.http.HttpMet... |
package com.wizzardo.tools.xml;
import org.junit.Assert;
import org.junit.Test;
import java.io.File;
import java.io.IOException;
public class NodeTest {
@Test
public void parse() {
String s;
Node xml;
s = "I say: '${hello}'";
Assert.assertEquals("I say: '${hello}'", new XmlParser... |
package de.meggsimum.w3w;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import java.util.UUID;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import static org.junit.Assume.assumeNotNull;
/**
* Unit test for {@linkpla... |
package org.takes.facets.auth;
import java.io.IOException;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.junit.Test;
import org.takes.Request;
import org.takes.Take;
import org.takes.Takes;
import org.takes.facets.auth.codecs.CcPlain;
import org.takes.facets.forward.RsForward;
import org.t... |
package view;
import java.util.*;
import javafx.beans.value.ChangeListener;
import javafx.geometry.Insets;
import javafx.geometry.Orientation;
import javafx.scene.control.*;
import javafx.scene.layout.*;
import model.Proof;
import model.ProofListener;
public class ProofView implements ProofListener, View{
/*
*... |
package freemarker.core;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import java.sql.Time;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import java.u... |
package org.thingsboard.gateway;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpMethod;
import org.springframework.http.MediaType;
import org.springframework.web.client.RestTemplate;
import java.io.IOException;
import java.nio.file.Files;
imp... |
package gumtree.spoon;
import gumtree.spoon.builder.SpoonGumTreeBuilder;
import gumtree.spoon.diff.Diff;
import gumtree.spoon.diff.operations.MoveOperation;
import gumtree.spoon.diff.operations.Operation;
import gumtree.spoon.diff.operations.OperationKind;
import org.junit.Assert;
import org.junit.Before;
import org.ju... |
package seedu.geekeep.model.task;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
public class TitleTest {
@Test
public void isValidTitle() {
// invalid title
assertFalse(Title.isValidTitle("")); // empty string
assertFalse(Ti... |
// jTDS JDBC Driver for Microsoft SQL Server and Sybase
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// This library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
/... |
// jTDS JDBC Driver for Microsoft SQL Server and Sybase
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// This library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
/... |
package org.apache.lucene.search;
import org.apache.lucene.index.Term;
import org.apache.lucene.index.IndexWriter;
import org.apache.lucene.search.Query;
import org.apache.lucene.search.Hits;
import org.apache.lucene.search.IndexSearcher;
import org.apache.lucene.store.RAMDirectory;
import org.apache.lucene.analysis.Si... |
package org.mozilla.taskcluster;
import java.nio.ByteBuffer;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
import org.junit.Assert;
import org.junit.Assume;
import org.junit.Test;
import org.mozilla.taskcluster.client.APICallFailure;
import org.... |
package org.oregami.rest;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.jayway.restassured.RestAssured;
import com.jayway.restassured.http.ContentType;
import com.jayway.restassured.path.json... |
package seedu.address.ui;
import static org.junit.Assert.assertEquals;
//import org.junit.After;
//import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.testfx.api.FxRobot;
import org.testfx.api.FxToolkit;
import javafx.scene.web.WebV... |
package sublandroid;
import sublandroid.messages.*;
import static sublandroid.Path.*;
import static sublandroid.help.Helper.*;
import java.io.*;
import org.testng.annotations.*;
import com.alibaba.fastjson.TypeReference;
import static org.assertj.core.api.Assertions.*;
public class ClientConnectorTest {
@Test(timeO... |
package us.kbase.workspace.database;
import static java.util.Objects.requireNonNull;
import static us.kbase.workspace.database.Util.xorNameId;
import static us.kbase.workspace.database.Util.noNulls;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.LinkedList;
import ja... |
package vg.civcraft.mc.prisonpearl;
import java.util.logging.Level;
import org.bukkit.Bukkit;
import vg.civcraft.mc.civmodcore.ACivMod;
import vg.civcraft.mc.prisonpearl.command.PrisonPearlCommandHandler;
import vg.civcraft.mc.prisonpearl.database.DataBaseHandler;
import vg.civcraft.mc.prisonpearl.listener.AltsListList... |
package sax;
import java.io.PrintWriter;
import org.xml.sax.Attributes;
import org.xml.sax.Parser;
import org.xml.sax.SAXException;
import org.xml.sax.SAXNotRecognizedException;
import org.xml.sax.SAXNotSupportedException;
import org.xml.sax.SAXParseException;
import org.xml.sax.XMLReader;
import org.xml.sax.helpers.XM... |
package org.objectweb.asm.xml;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.net.URL;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;
import javax.xml.transform.TransformerFactory;
im... |
class E002_ModifiersMethodDeclatations {
public int publicInt() {
return 5;
}
protected int protectedInt() {
return 5;
}
int defaultInt() {
return 5;
}
private privateInt() {
return 5;
}
public final int publicFinalInt() {
return 5;
}
f... |
package voldemort.performance;
import java.io.IOException;
import java.io.PrintStream;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import joptsimple.OptionParser;
import joptsimple.OptionSet;
import voldemort.ServerTestUtils;
import voldemort.client.protoco... |
package org.concurrentmockito;
import static org.mockito.Mockito.*;
import org.junit.Test;
import org.mockitousage.IMethods;
import org.mockitoutil.TestBase;
//TODO make sure tests for mockito run quickly on slower machines
//this test exposes the problem at least once in 10 runs
public class ThreadsShareAMockTest exte... |
package org.bouncycastle.asn1.test;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.Hashtable;
import java.util.Vector;
import org.bouncycastle.asn1.ASN1Encodable;
import org.bouncycastle.asn1.ASN1EncodableVector;
import org.bouncycastle.asn1.ASN1I... |
package com.ecyrd.jspwiki.plugin;
import com.ecyrd.jspwiki.*;
import junit.framework.*;
import java.io.*;
import java.util.*;
public class PluginManagerTest extends TestCase
{
public static final String NAME1 = "Test1";
Properties props = new Properties();
WikiEngine engine;
WikiContext context;
Plu... |
package org.jgroups.blocks;
import org.jgroups.Address;
import org.jgroups.Global;
import org.jgroups.JChannel;
import org.jgroups.View;
import org.jgroups.protocols.FRAG;
import org.jgroups.protocols.FRAG2;
import org.jgroups.protocols.TP;
import org.jgroups.stack.Protocol;
import org.jgroups.tests.ChannelTestBase;
im... |
package org.jfree.chart.axis.junit;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Stroke;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.ObjectInput;
import java.io.ObjectInputStream;
import java.io.ObjectOutput;
import java.io.ObjectOutputStream;
import ... |
package org.openspaces.dsl;
import java.util.concurrent.Callable;
public class CustomCommand {
private String name;
private Callable<Object> executeOnce;
private Callable<Object> executeOnAllInstances;
public String getName() {
return name;
}
public void setName(String name) {
th... |
package vue.Jeu;
import java.util.ArrayList;
import org.lwjgl.util.Point;
import org.lwjgl.util.Rectangle;
import org.newdawn.slick.Animation;
import org.newdawn.slick.Color;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.SpriteSheet;
/**
*
* @author Christopher D... |
package vue.Jeu;
import java.util.ArrayList;
import org.lwjgl.util.Point;
import org.lwjgl.util.Rectangle;
import org.newdawn.slick.Animation;
import org.newdawn.slick.Color;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.SpriteSheet;
/**
*
* @author Christopher D... |
package org.bimserver;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.DoubleBuffer;
import java.nio.file.Files;
import java.nio... |
package org.bimserver;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.Dou... |
package com.almasb.breakout;
import com.almasb.breakout.control.BallControl;
import com.almasb.breakout.control.BatControl;
import com.almasb.breakout.control.BrickControl;
import com.almasb.ents.Entity;
import com.almasb.fxgl.app.ApplicationMode;
import com.almasb.fxgl.app.GameApplication;
import com.almasb.fxgl.audio... |
package cl.mastercode.DamageIndicator;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.bukkit.Bukkit;
import org.bukkit.Effect;
import org.bukkit.Location;
import org.bukkit.World;
import org.bukkit.command.Co... |
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* the project. */
package edu.wpi.first.wpilibj.templates;
import edu.wpi.first.wpilibj.*;
/**
* The VM is configured to automatically run this class, and to call the
* funct... |
package net.simonvt.menudrawer;
import net.simonvt.menudrawer.compat.ActionBarHelper;
import android.app.Activity;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Rect;
i... |
package ru.otus.cache.impl;
import ru.otus.cache.CacheEngine;
import ru.otus.cache.IdleManager;
import ru.otus.cache.MyElement;
import ru.otus.observable.ObservableVariable;
import ru.otus.observable.ObserverManager;
import ru.otus.observable.ObserverManagerImpl;
import java.lang.ref.SoftReference;
import java.util.*;
... |
package nerd.tuxmobil.fahrplan.camp11;
import java.util.Locale;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import android.app.Activity;
import android.content.ContentValues;
import android.content.Intent;
import android.database.sqlite.SQLiteDatabase;
import android.net.Uri;
import android.os.Bundl... |
package net.domesdaybook.reader.cache;
import net.domesdaybook.reader.Window;
/**
*
* @author matt
*/
public interface WindowCache {
/**
*
* @param position
* @return
*/
public Window getWindow(final long position);
/**
*
* @param window
*/
public void addWindow(fin... |
package ludumdare32mapeditor;
import java.awt.Color;
import java.awt.Component;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.event.ActionEvent;
import java.awt.event.ComponentAdapter;
import java.awt.event.ComponentEvent;
import java.awt.event.InputEvent;
import java.awt.... |
package org.apache.xerces.framework;
import org.apache.xerces.readers.XMLEntityHandler;
import org.apache.xerces.utils.StringPool;
import org.apache.xerces.utils.XMLMessages;
import org.xml.sax.Locator;
import org.xml.sax.SAXParseException;
/**
* Default implementation of an XML DTD scanner.
*
* Clients who wish to ... |
package org.modmine.web;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URL;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util... |
package org.apache.xerces.util;
import org.apache.xerces.xni.grammars.Grammar;
import org.apache.xerces.xni.grammars.XMLGrammarPool;
import org.apache.xerces.xni.grammars.XMLGrammarDescription;
import org.apache.xerces.impl.dtd.XMLDTDDescription;
//import org.apache.xerces.impl.xs.XSDDescription;
import java.util.Hasht... |
package org.biojava.bio.alignment;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.NoSuchElementException;
import org.biojava.bio.BioException;
import org.biojava.bio.BioRuntimeException;
import org.biojava.bio.seq.Sequence;
import org.biojava.bio.seq... |
package org.bouncycastle.cms;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.security.AlgorithmParameters;
import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException;
import java.security.Key;
import java.security.NoSuchAlg... |
package com.aos.testbed;
import java.util.concurrent.PriorityBlockingQueue;
import com.aos.client.TestClient;
import com.aos.common.QueueObject;
import com.aos.server.TestServer;
public class Test
{
public static void main(String args[])
{
PriorityBlockingQueue<QueueObject> sharedQueue = new PriorityBlo... |
package org.clapper.util.classutil;
import java.util.Collection;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
public class AndClassFilter implements ClassFilter
{
private List<ClassFilter> filters = new LinkedList<ClassFilter>();
/**
* Construct a new <tt>AndClassFilter... |
package org.exist.memtree;
import org.w3c.dom.DOMException;
import org.w3c.dom.Document;
import org.xml.sax.Attributes;
import org.xml.sax.ContentHandler;
import org.xml.sax.Locator;
import org.xml.sax.SAXException;
import org.xml.sax.ext.LexicalHandler;
import org.exist.dom.NodeProxy;
import org.exist.dom.QName;
impor... |
package org.connectbot.service;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.nio.charset.Charset;
import java.nio.charset.CharsetDecoder;
import java.nio.charset.CoderResult;
import java.nio.charset.CodingErrorAc... |
package org.helioviewer.jhv.astronomy;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Nullable;
import javax.swing.border.Border;
import org.helioviewer.jhv.base.Colors;
import org.helioviewer.jhv.gui.components.base.JHVTableCellRenderer;
import com.google.common.collect.ImmutableMap;
public... |
package verification.platu.stategraph;
import java.io.BufferedWriter;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.PrintStream;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;
import java.util... |
package org.intellij.scratch;
import com.intellij.lang.Language;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.fileEditor.FileEditorManager;
import com.intellij.openapi.fileEditor.OpenFileDescriptor;
import com.intellij.openapi.fil... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.