answer stringlengths 17 10.2M |
|---|
package io.openshift.booster;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.Future;
import io.vertx.core.json.JsonObject;
import io.vertx.ext.web.Router;
import io.vertx.ext.web.RoutingContext;
import io.vertx.ext.web.handler.StaticHandler;
import static io.vertx.core.http.HttpHeaders.CONTENT_TYPE;
public... |
package soot.jimple.toolkits.ide.icfg;
import java.util.List;
import soot.Body;
import soot.SootMethod;
import soot.Unit;
import soot.toolkits.graph.DirectedGraph;
/**
* A {@link JimpleBasedInterproceduralCFG} which also supports the computation
* of predecessors.
*/
public class JimpleBasedBiDiICFG extends JimpleBa... |
package mb.spectrum.view;
import static mb.spectrum.Utils.map;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import ddf.minim.analysis.FFT;
import javafx.beans.binding.Bindings;
import javafx.beans.property.ObjectProperty;
import javafx.beans.property.SimpleDoubleProperty;
import javafx.be... |
package land.face.strife.util;
import com.tealcube.minecraft.bukkit.shade.apache.commons.lang3.StringUtils;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.UUID;
import land.face.strife.StrifePlugin;
import land.face.strife.data.StrifeMob;
import land.fac... |
package com.intellij.util.xml.stubs;
import com.intellij.openapi.fileTypes.PlainTextLanguage;
import com.intellij.openapi.util.Key;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.psi.PsiFileFactory;
import com.intellij.psi.PsiFileSystemItem;
import com.intellij.psi.impl.source.PsiFileImpl;
import... |
package com.hankcs.hanlp.summary;
import com.hankcs.hanlp.algorithm.MaxHeap;
import com.hankcs.hanlp.seg.Segment;
import com.hankcs.hanlp.seg.common.Term;
import java.util.*;
/**
* TextRank
*
* @author hankcs
*/
public class TextRankKeyword extends KeywordExtractor
{
/**
* 0.85
*/
final static flo... |
package org.usfirst.frc.team2506.robot;
import edu.wpi.first.wpilibj.ADXRS450_Gyro;
import edu.wpi.first.wpilibj.Ultrasonic;
public class AutonomousGear {
// target distance from goal
static final double GEAR_RANGE_INCHES = 2.5;
// robot motor speed
static final double ROBOT_SPEED = 0.5;
private enu... |
package me.legrange.panstamp;
import me.legrange.panstamp.event.AbstractRegisterListener;
import java.util.LinkedList;
import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.ExecutorService;
import java.util.logging.Level;
import java.util.logging.Logger;
import me.legrange... |
package com.jeffpeng.jmod.scripting;
import java.util.ArrayList;
import java.util.List;
import com.jeffpeng.jmod.JMODLoader;
import com.jeffpeng.jmod.Lib;
import com.jeffpeng.jmod.actions.*;
import com.jeffpeng.jmod.descriptors.*;
import com.jeffpeng.jmod.primitives.OwnedObject;
import com.jeffpeng.jmod.scripting.mods.... |
package alluxio.master.block;
import alluxio.Constants;
import alluxio.MasterStorageTierAssoc;
import alluxio.StorageTierAssoc;
import alluxio.collections.ConcurrentHashSet;
import alluxio.collections.IndexedSet;
import alluxio.exception.BlockInfoException;
import alluxio.exception.ExceptionMessage;
import alluxio.exce... |
package ml.duncte123.skybot.utils;
import ml.duncte123.skybot.config.Config;
import ml.duncte123.skybot.config.ConfigLoader;
import org.slf4j.event.Level;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonObject;
import java.io.File;
public class ConfigUtils {
private Config config;
/**
* This... |
package com.justjournal.ctl.api;
import com.justjournal.Login;
import com.justjournal.model.Friend;
import com.justjournal.model.User;
import com.justjournal.repository.FriendsRepository;
import com.justjournal.repository.UserRepository;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotat... |
package boa.test.datagen;
import java.io.IOException;
import org.junit.Test;
public class TestVariableDeclarationNode extends JavaScriptBaseTest {
@Test
public void varaibleDeclTest1() throws IOException {
nodeTest(load("test/datagen/javascript/VariableDeclarationNode.boa"),
load("test/d... |
package io.machinecode.then.core;
import io.machinecode.then.api.Deferred;
import java.util.concurrent.Callable;
import java.util.concurrent.CancellationException;
import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit;
/**
* @author <a href="mailto:brent.n.douglas@gmail.com">Brent Douglas</a>
* @si... |
package nablarch.etl.config;
import nablarch.core.repository.SystemRepository;
import javax.batch.runtime.context.JobContext;
import javax.batch.runtime.context.StepContext;
import javax.enterprise.inject.Produces;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/**
* ETL
* <p/>
* {@link JsonCon... |
package net.imglib2.histogram;
import java.io.BufferedWriter;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import ij.IJ;
import io.nii.NiftiIo;
import loci.formats.FormatException;
import net.imglib2.IterableInterval;
import net.imglib2.RandomAccess;
import ne... |
package com.kevinsimard.kafka.streams;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.ObjectNode;
import org.apache.kafka.clients.consumer.ConsumerConfig;
import org.apache.kafka.common.serialization.Serde;
import org.apache.kafka.common.serialization.Serdes;
import org.apach... |
package peer;
import java.util.Random;
import peer.message.ACKMessage;
import peer.message.BroadcastMessage;
import peer.message.BundleMessage;
import peer.messagecounter.ReliableBroadcastCounter;
import peer.peerid.PeerID;
import peer.peerid.PeerIDSet;
import util.logger.Logger;
import util.timer.Timer;
import util.ti... |
package lucee.runtime.compiler;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.security.PublicKey;
import java.util.Iterator;
import java.util.List;
import java.util.Stack;
import java.util.concurrent.ConcurrentLinkedQueue;
import lucee.commons.digest.RSA;
import lucee.commons.io.IOUtil;
i... |
package net.bootsfaces.menu;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
@ManagedBean
@SessionScoped
public class ComponentListBean {
private Map<String, String> allConcepts = new HashM... |
package com.github.kokorin.jaffree;
import org.junit.Assert;
import org.junit.Test;
public class RationalTest {
@Test
public void equals() {
Assert.assertEquals(Rational.valueOf(1L), Rational.valueOf(1L));
Assert.assertEquals(new Rational(1L, 1L), new Rational(2L, 2L));
}
@Test
publi... |
package br.senac.tads.pi3.duplasubstitutadetonystark.agenda;
/**
*
* @author nicolas.falmeida1
*/
public class Agenda {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
System.out.println("teste");
System.out.println("ekiqueme ei maumau ");
... |
package com.lothrazar.samscontent;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
import org.apache.logging.log4j.Level;
import org.apache.logging.log4j.Logger;
import com.lothrazar.samscontent.block.*;
import com.lothrazar.samscontent.cfg.ConfigFile;
import com.lothrazar... |
package ipt341.zarrabi.hooman.a3;
import android.app.Activity;
import android.media.Image;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.ImageButton;
public class MainActivity extends Activity {
//integ... |
package com.github.wz2cool.dynamic;
import com.github.wz2cool.dynamic.mybatis.MybatisQueryProvider;
import com.github.wz2cool.dynamic.mybatis.ParamExpression;
import com.github.wz2cool.dynamic.mybatis.db.mapper.NorthwindDao;
import com.github.wz2cool.dynamic.mybatis.db.mapper.UserDao;
import com.github.wz2cool.dynamic.... |
package com.applicaster.RNYouTubePlayer;
import com.facebook.react.ReactPackage;
import com.facebook.react.bridge.JavaScriptModule;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.uimanager.ViewManager;
import java.util.ArrayList;
import... |
package com.pega.api2swagger;
import java.util.List;
import java.util.Map;
import com.beust.jcommander.JCommander;
import com.beust.jcommander.Parameter;
import com.beust.jcommander.ParameterException;
import com.google.common.base.Optional;
import com.pega.api2swagger.dto.SwaggerGeneratorInput;
import com.pega.api2swa... |
package org.bouncycastle.crypto.tls;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.EOFException;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.security.SecureRandom;
import java.util.Enumeration;
import java.util.Hashtable;
i... |
package net.imagej.ops.geom.geom3d.mesh;
public interface Facet {
// NB: Marker Interface
} |
package net.serverpeon.twitcharchiver.ui;
import com.google.common.base.Predicate;
import net.serverpeon.twitcharchiver.downloader.VideoStore;
import net.serverpeon.twitcharchiver.downloader.VideoStoreDownloader;
import net.serverpeon.twitcharchiver.twitch.*;
import org.apache.logging.log4j.LogManager;
import org.apach... |
package com.birdbraintechnologies.birdblocks.bluetooth;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothGatt;
import android.bluetooth.BluetoothGattCallback;
import android.bluetooth.BluetoothGattCharacteristic;
import android.content.Context;
import android.util.Log;
import java.util.Arrays... |
package com.redhat.victims.database;
import java.io.File;
import java.io.IOException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Savepoint;
import java.sql.Statement;
import java.text.ParseExcepti... |
package net.orfjackal.nestedjunit;
import org.junit.*;
import org.junit.internal.runners.statements.*;
import org.junit.runner.*;
import org.junit.runner.notification.RunNotifier;
import org.junit.runners.*;
import org.junit.runners.model.*;
import java.lang.reflect.Method;
import java.util.*;
/**
* Allows organizing ... |
package netdiscoveryIPv6;
import java.net.DatagramPacket;
import java.net.Inet6Address;
import java.net.InetSocketAddress;
import java.net.InterfaceAddress;
import java.net.MulticastSocket;
import java.net.NetworkInterface;
import java.net.SocketAddress;
import java.util.Enumeration;
import plugincore.PluginEngine;
imp... |
package com.sjl.dsl4xml.example;
import static com.sjl.dsl4xml.DocumentReader.*;
import java.io.*;
import java.text.*;
import java.util.*;
import org.junit.*;
import com.sjl.dsl4xml.*;
import com.sjl.dsl4xml.support.convert.*;
public class TwitterFeedTest {
// This creates a new reader capable of parsing twitter re... |
package org.hisp.dhis.android.dashboard.ui.fragments;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.widget.Toolbar;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.LayoutInflater;
import android.view.View... |
package com.rultor.agents.daemons;
import com.amazonaws.services.s3.model.ObjectMetadata;
import com.google.common.base.Joiner;
import com.jcabi.aspects.Immutable;
import com.jcabi.log.Logger;
import com.jcabi.s3.Bucket;
import com.jcabi.ssh.SSH;
import com.jcabi.ssh.Shell;
import com.jcabi.xml.XML;
import com.rultor.T... |
package nl.rostykerei.cci.ch02.q02;
import nl.rostykerei.cci.datastructure.LinkedListNode;
/**
* Question 2.2 - Return Kth to Last.
*
* @author Rosty Kerei;
*/
public class KthToLast {
/**
* Returns k-th node to the last one.
*
* @param list input list
* @param k index to the last
* ... |
package guru.nidi.ramlproxy;
import org.junit.Assume;
import java.io.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.TimeUnit;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
pu... |
package com.thales.window;
import com.thales.ga.ManifestOptimiser;
import com.thales.model.Manifest;
import com.thales.model.Priority;
import com.thales.model.Vessel;
import com.thales.utils.FXExecutor;
import com.thales.window.Manifest.FitnessView;
import com.thales.window.Manifest.GenerationView;
import com.thales.wi... |
package net.spy.memcached;
import net.spy.memcached.compat.SpyThread;
import net.spy.memcached.compat.log.Logger;
import net.spy.memcached.compat.log.LoggerFactory;
import net.spy.memcached.internal.OperationFuture;
import net.spy.memcached.metrics.MetricCollector;
import net.spy.memcached.metrics.MetricType;
import ne... |
package mho.haskellesque.math;
import mho.haskellesque.iterables.ExhaustiveProvider;
import mho.haskellesque.iterables.IterableUtils;
import mho.haskellesque.ordering.Ordering;
import org.jetbrains.annotations.NotNull;
import org.junit.Test;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Arra... |
package com.ejlchina.searcher.implement;
import com.ejlchina.searcher.*;
import com.ejlchina.searcher.util.StringUtils;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.Map;
import java.util.Objects;
import java.util.concurrent.ConcurrentHashMap;
/***
... |
package com.thedeanda.ajaxproxy.ui;
import java.awt.BorderLayout;
import java.io.StringWriter;
import java.util.Iterator;
import java.util.concurrent.ExecutionException;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTabbedPan... |
package org.aeonbits.owner;
import org.aeonbits.owner.event.ReloadEvent;
import org.aeonbits.owner.event.ReloadListener;
import org.aeonbits.owner.event.RollbackBatchException;
import org.aeonbits.owner.event.RollbackException;
import org.aeonbits.owner.event.RollbackOperationException;
import org.aeonbits.owner.event.... |
package mho.wheels.iterables;
import mho.wheels.misc.Readers;
import org.jetbrains.annotations.NotNull;
import org.junit.Ignore;
import org.junit.Test;
import java.math.BigInteger;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import static mho.wheels.iterables.IterableUtils.*;
import st... |
package org.sbolstandard.core2.test;
import java.io.InputStream;
import org.sbolstandard.core2.SBOLDocument;
import org.sbolstandard.core2.SBOLReader;
import org.sbolstandard.core2.SBOLWriter;
public class readTester {
public static String filenameRdf = "writeTesterString_v1.3.rdf";
public static String fil... |
package nl.github.martijn9612.fishy;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.Image;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.state.BasicGameState;
import org.newdawn.slick.state.StateBasedGame;
import nl.github.martijn9612.fishy.models... |
package net.imagej.ops.logic;
import net.imagej.ops.AbstractNamespaceTest;
import net.imagej.ops.LogicOps.And;
import net.imagej.ops.LogicOps.Equal;
import net.imagej.ops.LogicOps.GreaterThan;
import net.imagej.ops.LogicOps.GreaterThanOrEqual;
import net.imagej.ops.LogicOps.LessThan;
import org.junit.Test;
/**
* Tests... |
package net.bytebuddy.instrumentation.type;
import net.bytebuddy.instrumentation.ByteCodeElement;
import net.bytebuddy.instrumentation.ModifierReviewable;
import net.bytebuddy.instrumentation.field.FieldList;
import net.bytebuddy.instrumentation.method.MethodDescription;
import net.bytebuddy.instrumentation.method.Meth... |
package com.walmart.otto.tools;
import com.walmart.otto.configurator.Configurator;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;
public class ProcessExecutor {
private Configurator configurator;
public ProcessExecutor(Configurator configurator) {
this.configurator = ... |
package no.ntnu.okse.protocol.mqtt;
import io.moquette.BrokerConstants;
import io.moquette.interception.AbstractInterceptHandler;
import io.moquette.interception.InterceptHandler;
import io.moquette.interception.messages.InterceptDisconnectMessage;
import io.moquette.interception.messages.InterceptPublishMessage;
impor... |
package com.rgi.geopackage;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.nio.file.FileAlreadyExistsException;
import java.nio.file.FileSystems;
impor... |
package org.neo4j.kernel.impl.nioneo.store;
import static org.neo4j.kernel.Config.ARRAY_BLOCK_SIZE;
import static org.neo4j.kernel.Config.STRING_BLOCK_SIZE;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.LinkedL... |
package de.hpi.bpt.chimera.rest;
import java.util.List;
import java.util.Optional;
import java.util.stream.Collectors;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
impo... |
package nu.studer.java.util;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.Reader;
import java.io.Writer;
import java.util.Comparator;
import java.util.Enumeration;
import java.util.InvalidPropertiesF... |
package org.exist.mongodb.test.bson;
import org.exist.test.runner.XSuite;
import org.junit.runner.RunWith;
@RunWith(XSuite.class)
@XSuite.XSuiteFiles({
"src/test/xquery"
})
public class ParserTests {
} |
package org.apache.ibatis.session;
import org.apache.ibatis.executor.BatchResult;
import java.sql.Connection;
import java.util.List;
import java.util.Map;
/**
* The primary Java interface for working with MyBatis.
* Through this interface you can execute commands, get mappers and manage transactions.
*
*/
public in... |
package de.pigeont.bowlinggame.render;
import com.googlecode.lanterna.SGR;
import com.googlecode.lanterna.TerminalPosition;
import com.googlecode.lanterna.TerminalSize;
import com.googlecode.lanterna.TextColor;
import com.googlecode.lanterna.graphics.TextGraphics;
import com.googlecode.lanterna.screen.Screen;
import co... |
package org.arachb.owlbuilder.lib;
import java.sql.SQLException;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import org.apache.log4j.Logger;
import org.arachb.arachadmin.AbstractConnection;
import org.arachb.arachadmin.ParticipantBean;
import org.arachb.owlbuilder.Owlbuilder;
import org.semant... |
package org.whattf.datatype;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
import java.util.HashSet;
import org.relaxng.datatype.DatatypeException;
public class MetaName extends AbstractDatatype {
private static final HashSet<String> registeredMetaNames = new HashSet<S... |
package org.minimalj.repository.sql;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import org.minimalj.model.Keys;
import org.minimalj.model.annotation... |
/*
* $Log: MessageSendingPipe.java,v $
* Revision 1.36 2007-12-10 10:11:39 europe\L190409
* added input/output validation
*
* Revision 1.35 2007/10/03 08:52:56 Gerrit van Brakel <gerrit.van.brakel@ibissource.org>
* changed HashMap to Map
*
* Revision 1.34 2007/07/10 08:03:04 Gerrit van Brakel <gerrit.van.... |
package drullkus.thermalsmeltery;
import mantle.pulsar.config.ForgeCFG;
import mantle.pulsar.control.PulseManager;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Instance;
imp... |
package org.binwang.bard.core;
import org.binwang.bard.core.doc.Api;
import java.lang.annotation.Annotation;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.reflect.Parameter;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
import... |
package org.mockito;
import org.junit.Before;
import org.junit.Test;
import org.mockito.exceptions.verification.NoInteractionsWanted;
import org.mockito.exceptions.verification.WantedButNotInvoked;
import org.mockito.exceptions.verification.junit.ArgumentsAreDifferent;
import org.mockito.invocation.Invocation;
import o... |
package org.javarosa.demo.shell;
import java.util.Hashtable;
import javax.microedition.lcdui.Displayable;
import org.javarosa.core.Context;
import org.javarosa.core.JavaRosaPlatform;
import org.javarosa.core.api.Constants;
import org.javarosa.core.api.IModule;
import org.javarosa.core.api.IShell;
import org.javarosa.co... |
package org.mvel.tests.main;
import junit.framework.TestCase;
import org.mvel.*;
import static org.mvel.MVEL.*;
import org.mvel.ast.WithNode;
import org.mvel.debug.DebugTools;
import org.mvel.debug.Debugger;
import org.mvel.debug.Frame;
import org.mvel.integration.Interceptor;
import org.mvel.integration.ResolverTools;... |
package edu.ufl.cise.cnt5106c.messages;
import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.net.ProtocolException;
import java.nio.ByteBuffer;
import java.nio.charset.Charset;
import java.util.Arrays;
/**
... |
package org.jasome.executive;
import org.jasome.metrics.calculators.*;
import org.jasome.input.Processor;
class ProcessorFactory {
static Processor getProcessor() {
Processor processor = new Processor();
processor.registerTypeCalculator(new RawTotalLinesOfCodeCalculator());
processor.registe... |
package org.owasp.esapi.reference;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.*;
impor... |
package eu.rekawek.coffeegb.cpu;
import eu.rekawek.coffeegb.AddressSpace;
public class InterruptManager implements AddressSpace {
public enum InterruptType {
VBlank(0x0040), LCDC(0x0048), Timer(0x0050), Serial(0x0058), P10_13(0x0060);
private final int handler;
InterruptType(int handler) {
... |
package org.concord.energy3d.gui;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.eve... |
package org.tendiwa.lexeme;
import com.google.common.base.Joiner;
import java.util.Collections;
import org.apache.commons.io.IOUtils;
import org.hamcrest.CoreMatchers;
import org.hamcrest.MatcherAssert;
import org.junit.Test;
import org.tendiwa.lexeme.implementations.English;
/**
* @since 0.1
*/
public final class Pa... |
package gvs.business.logic;
import java.util.Iterator;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import gvs.access.Persistor;
import gvs.business.logic.graph.Session;
import gvs.business.logic.graph.SessionFactory;
import gvs.business.l... |
package com.namelessdev.mpdroid.helpers;
import java.net.UnknownHostException;
import java.util.Collection;
import org.a0z.mpd.MPD;
import org.a0z.mpd.MPDStatus;
import org.a0z.mpd.MPDStatusMonitor;
import org.a0z.mpd.event.StatusChangeListener;
import org.a0z.mpd.event.TrackPositionListener;
import org.a0z.mpd.excepti... |
package org.lightmare.jpa.jta;
/**
* Properties to use for hibernate
*
* @author levan
*
*/
public enum HibernateConfig {
PLATFORM, FACTORY;
public static final String PLATFORM_KEY = "hibernate.transaction.jta.platform";
public static final String PLATFORM_VALUE = "org.hibernate.service.jta.platform.in... |
package org.elixirian.kommonlee.util;
import static org.elixirian.kommonlee.util.Objects.toStringOf;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public final class Strings
{
private Strings() throws IllegalAccessException
{
throw new IllegalAccessException(getClass().getName() + Comm... |
package seedu.tasklist.commons.util;
import static org.junit.Assert.assertNotNull;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
public class AppUtilTest {
@Rule
public ExpectedException thrown = ExpectedException.none();
//author A0141993X
@Test
public void... |
package hudson.plugins.copyartifact;
import com.thoughtworks.xstream.converters.UnmarshallingContext;
import hudson.DescriptorExtensionList;
import hudson.EnvVars;
import hudson.Extension;
import hudson.FilePath;
import hudson.Launcher;
import hudson.Util;
import hudson.console.HyperlinkNote;
import hudson.diagnosis.Ol... |
package org.lightmare.libraries;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.Method;
import java.net.URL;
import java.net.URLClassLoader;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.Collection;
import java.util.HashSet;
import java.util.Se... |
package trinity.tests;
import com.google.common.io.CharStreams;
import org.junit.AfterClass;
import org.junit.Ignore;
import org.junit.Test;
import trinity.Trinity;
import java.io.InputStreamReader;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import static java.nio.file.Files.dele... |
package io.domisum.lib.auxiliumlib.util;
import io.domisum.lib.auxiliumlib.annotations.API;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
import java.time.Duration;
import java.time.Instant;
import java.time.temporal.Temporal;
@API
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public final class TimeUt... |
package org.lightmare.utils.reflect;
import java.io.IOException;
import java.lang.annotation.Annotation;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.ArrayLis... |
package org.grouplens.grapht.util;
import org.apache.commons.lang3.ClassUtils;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.annotation.Nullable;
import javax.annotation.concurrent.Immutable;
import java.io.IOException;
import java.io.ObjectInputStrea... |
package io.github.classgraph;
import java.lang.reflect.Modifier;
import io.github.classgraph.utils.TypeUtils;
/**
* Information on the parameters of a method.
*
* @author lukehutch
*/
public class MethodParameterInfo {
final AnnotationInfo[] annotationInfo;
private final int modifiers;
private final Typ... |
package org.lightmare.utils.reflect;
import java.io.IOException;
import java.lang.annotation.Annotation;
import java.lang.reflect.AccessibleObject;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.... |
package uk.ac.brighton.ci360.bigarrow;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import uk.ac.brighton.ci360.bigarrow.places.Place;
import uk.ac.brighton.ci360.bigarrow.places.PlaceDetails;
import uk.ac.brighton.ci360.bigarrow.places.PlacesList;
import uk.ac.brighton.ci360.bigarrow.adapter.*;
import u... |
package io.mycat.route.function;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collections;
import java.util.List;
import io.mycat.config.model.rule.RuleAlgorithm;
import org.apache.log4j.Logger;
/**
* between
*
* @autho... |
package org.minimalj.frontend.page;
import org.minimalj.backend.Backend;
import org.minimalj.frontend.Frontend.IContent;
import org.minimalj.frontend.editor.Editor;
import org.minimalj.frontend.form.Form;
import org.minimalj.util.CloneHelper;
import org.minimalj.util.GenericUtils;
import org.minimalj.util.IdUtils;
impo... |
package voogasalad_GucciGames.gameData.wrapper;
import java.lang.reflect.Constructor;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.thoughtworks.xstream.annotations.XStreamOmitField;
import voogasalad_GucciGames.gameEngine.Gam... |
package org.mac.sim.controller;
import org.mac.sim.domain.SimulationBuilder;
import org.mac.sim.thread.QueueManager;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
@RequestMapping()
public class SimController {
@RequestMapping(path = "/ru... |
package dynamake.transcription;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.... |
package kr.jm.utils.exception;
import kr.jm.utils.AutoStringBuilder;
import kr.jm.utils.helper.JMLog;
import kr.jm.utils.helper.JMResources;
import org.slf4j.Logger;
import java.util.LinkedList;
import java.util.List;
import java.util.Optional;
import java.util.function.Supplier;
public class JMExceptionManager {
p... |
package org.nwapw.abacus.config;
import com.moandjiezana.toml.Toml;
import com.moandjiezana.toml.TomlWriter;
import java.io.File;
import java.io.IOException;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
/**
* The configuration object that stores
* options that the user can change.
*/
publ... |
package crazypants.enderio.base;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import org.apache.commons.lang3.tuple.Triple;
import com.enderio.core.common.Lang;
import com.enderio.core.common.util.NNList;
import com.enderio.core.common.util.NullHelper;
import com.google.common.collect.ImmutableLis... |
package mcjty.deepresonance.blocks.tank;
import com.google.common.collect.Maps;
import elec332.core.main.ElecCore;
import elec332.core.multiblock.dynamic.IDynamicMultiBlockTile;
import elec332.core.network.IElecCoreNetworkTile;
import elec332.core.server.ServerHelper;
import elec332.core.world.WorldHelper;
import mcjty... |
package org.restheart.handlers;
import com.mongodb.BasicDBObject;
import com.mongodb.DBObject;
import org.restheart.db.DBCursorPool.EAGER_CURSOR_ALLOCATION_POLICY;
import org.restheart.utils.URLUtils;
import io.undertow.server.HttpServerExchange;
import io.undertow.util.HeaderValues;
import io.undertow.util.Headers;
im... |
package org.openlmis.upload.model;
import lombok.Getter;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.collections.ListUtils;
import org.apache.commons.collections.Predicate;
import org.openlmis.upload.Importable;
import org.openlmis.upload.annotation.ImportField;
import org.openlmis.... |
package mcjty.xnet.apiimpl.items;
import mcjty.lib.varia.ItemStackList;
import mcjty.xnet.compat.ForestrySupport;
import net.minecraft.item.ItemStack;
import net.minecraftforge.oredict.OreDictionary;
import javax.annotation.Nonnull;
import java.util.HashSet;
import java.util.Set;
public class ItemFilterCache {
priv... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.