answer stringlengths 17 10.2M |
|---|
package test.serviceloader;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
import org.testng.TestNG;
import org.testng.annotations.Test;
import junit.framework.Assert;
import test.SimpleBaseTest;
public class ServiceLoaderTest extends SimpleBaseTest {
@Test
public void s... |
package org.xins.tests.server;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import junit.framework.Test;
import junit.framework.TestCase;
... |
package info.tregmine.lookup;
import info.tregmine.database.ConnectionPool;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.bukkit.ChatColor;
import org.bukkit.entity.Player;... |
package com.jetbrains.python.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.navigation.ItemPresentation;
import com.intellij.psi.PsiElement;
import com.intellij.psi.util.PsiTreeUtil;
import com.intellij.util.containers.HashSet;
import com.jetbrains.python.psi.*;
import com.jetbrains.python.psi.resolve.... |
package com.mysema.query;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Cal... |
package org.opencds.cqf.r4.evaluation;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.UUID;
import java.util.stream.Collectors;
import org.hl7.fhir.insta... |
package railo.runtime.type.scope;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import railo.runtime.ComponentScope;
import railo.runtime.PageContext;
import railo.runtime.PageContextImpl;
import railo.runtime.config.Config;
import railo.runtime.config.ConfigImpl;
import railo.runtime.co... |
package rhogenwizard.preferences;
import org.eclipse.jface.preference.StringFieldEditor;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.widget... |
package io.rsocket.keepalive;
import io.netty.buffer.ByteBuf;
import io.rsocket.Closeable;
import io.rsocket.keepalive.KeepAliveSupport.KeepAlive;
import io.rsocket.resume.ResumableDuplexConnection;
import java.util.function.Consumer;
public interface KeepAliveHandler {
KeepAliveFramesAcceptor start(
KeepAliveS... |
package model;
import java.util.ArrayList;
import java.util.List;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
import org.eclipse.egit.github.core.Label;
import ui.LabelTreeItem;
public class TurboLabel implements Listable, LabelTreeItem {
public TurboLabel(String ... |
package com.github.ddth.plommon.bo;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.lang3.ArrayUtils;
import org.apache.commons.lang3.StringUtils;
/**
* MySQL-specific DAO.
*
* @author Thanh Nguyen <btnguyen2k@gmail.com>
* @since 0.3.2
*/
public class Ba... |
package de.kimminich.kata.tcg;
import de.kimminich.kata.tcg.strategy.AiStrategy;
import de.kimminich.kata.tcg.strategy.ConsoleInputStrategy;
import java.util.Random;
import java.util.logging.Logger;
public class Game {
private static final Logger logger = Logger.getLogger(Game.class.getName());
private Player a... |
package com.tonyodev.fetchapp;
import android.Manifest;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.widget.TextView;
imp... |
package uk.me.karlsen.ode;
public class Spell {
String[] castingSounds = {"Fire", "Lighting", "Utility", "Other"};
String[] animationsWhenCasting = {"fire", "lightning", "magic/other"};
private int unmoddedSpellIndex;
private int manaToCast;
private int animationWhenCasting;
private long pointer... |
package org.gluu.oxtrust.model.scim2;
import org.codehaus.jackson.annotate.JsonAnyGetter;
import org.codehaus.jackson.annotate.JsonAnySetter;
import org.gluu.oxtrust.model.scim2.annotations.*;
import org.gluu.oxtrust.model.scim2.fido.FidoDeviceResource;
import org.gluu.oxtrust.model.scim2.user.UserResource;
import org.... |
package org.openprovenance.model;
import java.util.List;
import java.util.HashMap;
import java.util.LinkedList;
import java.io.File;
import java.io.PrintStream;
import java.io.FileOutputStream;
import java.io.OutputStream;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.Unmarshaller;
import javax.xml.bind.JAXB... |
package org.jfree.chart.jxlayer;
import java.awt.Graphics2D;
import java.awt.Shape;
import java.awt.geom.Line2D;
import java.awt.geom.Rectangle2D;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.util.Iterator;
import java.util.List;
import org.jdesktop.jxlayer.JXLayer;
impor... |
package edu.columbia.gemma.loader.genome.gene;
import java.io.InputStream;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import edu.columbia.gemma.BaseServiceTestCase;
import edu.columbia.gemma.loader... |
package io.scif;
import io.scif.util.FormatTools;
import java.util.List;
import net.imglib2.meta.Axes;
import net.imglib2.meta.AxisType;
import net.imglib2.meta.CalibratedAxis;
/**
* ImageMetadata stores the metadata for a single image within a dataset. Here,
* information common to every format (e.g. height, width, ... |
package edu.umd.cs.findbugs.flybush;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.net.URLEncoder;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collection;
import... |
package org.exist.xquery.modules.sql;
import static org.easymock.EasyMock.expect;
import static org.easymock.EasyMock.mock;
import static org.easymock.EasyMock.verify;
import static org.easymock.EasyMock.replay;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.ju... |
package pt.fccn.mobile.arquivo.pages;
import java.util.List;
import org.openqa.selenium.By;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebD... |
package org.bouncycastle.cms.test;
import java.io.ByteArrayInputStream;
import java.io.FileOutputStream;
import java.security.KeyFactory;
import java.security.KeyPair;
import java.security.MessageDigest;
import java.security.cert.CertStore;
import java.security.cert.CollectionCertStoreParameters;
import java.security.c... |
package hudson.slaves;
import com.gargoylesoftware.htmlunit.html.HtmlAnchor;
import com.gargoylesoftware.htmlunit.html.HtmlPage;
import hudson.Proc;
import hudson.Util;
import hudson.model.Computer;
import hudson.model.Node.Mode;
import hudson.model.Slave;
import hudson.remoting.Callable;
import hudson.remoting.Which;
... |
package com.bgmagar.config;
import javax.sql.DataSource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework... |
package ai.susi.server.api.cms;
import org.json.JSONArray;
import org.json.JSONObject;
import ai.susi.DAO;
import ai.susi.json.JsonObjectWithDefault;
import ai.susi.server.APIHandler;
import ai.susi.server.AbstractAPIHandler;
import ai.susi.server.Authorization;
import ai.susi.server.BaseUserRole;
import ai.susi.server... |
package edu.wustl.cab2b.client.ui;
import java.awt.Color;
import java.awt.Component;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import java.rmi.RemoteException;
import java.util.Set;
import javax.swing.AbstractAction;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swi... |
package edu.wustl.cab2b.client.ui.controls;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.awt.event.MouseListener;
import java.util.Vector;
import javax.swing.AbstractButton;
import javax.swing.JFrame;
import javax.swing.JScrollPane;
im... |
package com.intellij.openapi.wm.impl.status;
import com.intellij.codeInsight.daemon.impl.analysis.HighlightUtil;
import com.intellij.ide.DataManager;
import com.intellij.openapi.actionSystem.DataConstants;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.editor.impl.EditorMarkupHintComponent;
impo... |
package com.davidokun;
import static spark.Spark.get;
public class HelloSparkController {
public static void main( String[] args ) {
get("/hello", (req, res) -> "Hello Spark Java");
}
} |
package modules.admin;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Comparator;
import java.util.Formatter;
import java.util.GregorianCalendar;
import java.util.List;
import org.skyve.CORE;
import org.skyve.EXT;
import org.skyve.bizport.BizPortWorkbook;
import org.skyve.domain.Bean;
import or... |
package org.skyve.impl.backup;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Set;
import org.skyve.CORE;
import org.skyve.EXT;
import org.skyve.content.ContentManager;
impor... |
package ij.io;
import ij.VirtualStack;
import java.io.*;
import java.util.Properties;
/** This class consists of public fields that describe an image file. */
public class FileInfo implements Cloneable {
/** 8-bit unsigned integer (0-255). */
public static final int GRAY8 = 0;
/** 16-bit signed integer (... |
package br.ufc.lps.repository.constants;
public class Connection {
public static final String URL = "http://ec2-52-67-158-143.sa-east-1.compute.amazonaws.com:3000/features";
} |
package com.google.mu.util;
import static com.google.common.collect.ImmutableListMultimap.toImmutableListMultimap;
import static com.google.common.truth.Truth.assertThat;
import static com.google.common.truth.Truth8.assertThat;
import static com.google.mu.util.Substring.BEGINNING;
import static com.google.mu.util.Subst... |
package nars.grid2d.gui;
import nars.grid2d.Cell.Logic;
import nars.grid2d.Cell.Machine;
import nars.grid2d.Cell.Material;
import nars.grid2d.*;
import nars.grid2d.object.Key;
import nars.grid2d.object.Pizza;
import org.parboiled.common.FileUtils;
import processing.core.PVector;
import javax.swing.*;
import javax.swing... |
package com.atsebak.ui5.runner;
import com.intellij.execution.ExecutionException;
import com.intellij.execution.Executor;
import com.intellij.execution.configuration.EmptyRunProfileState;
import com.intellij.execution.configurations.*;
import com.intellij.execution.runners.ExecutionEnvironment;
import com.intellij.open... |
package com.desklampstudios.edab;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.servlet.http.HttpServletRequest;
import javax.ws.rs.core.UriBuilder;
import com.desklampstudios.edab.User.Gender;
import com... |
package com.haxademic.core.hardware.osc;
import java.util.Hashtable;
import netP5.NetAddress;
import oscP5.OscP5;
import processing.core.PApplet;
public class OscWrapper {
protected PApplet p;
protected OscP5 _oscP5;
protected NetAddress _remoteLocation;
protected Hashtable<String, Float> oscMsgMap;
... |
package com.incidentlocator.client;
import android.app.Activity;
import android.app.AlertDialog;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.content.Context;
import android.content.Intent;
import android.content.DialogInterface;
import android.location.LocationMana... |
package com.jme3.monkeyzone;
import com.jme3.input.InputManager;
import com.jme3.input.KeyInput;
import com.jme3.input.controls.ActionListener;
import com.jme3.input.controls.KeyTrigger;
import com.jme3.math.Vector3f;
import com.jme3.monkeyzone.ai.commands.AttackCommand;
import com.jme3.monkeyzone.ai.Command;
import co... |
package com.maddyhome.idea.vim.helper;
import org.apache.commons.codec.binary.Base64;
import org.jdom.CDATA;
import org.jdom.Content;
import org.jdom.Element;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import javax.swing.*;
import java.awt.event.KeyEvent;
import java.util.Array... |
package com.mamewo.podplayer0;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.content.SharedPreferences;
impor... |
package com.oldsch00l.TrafficChecker;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import android.content.ContentResolver;
import android.content.ContentValues;
import android.content.Context;
import android.database.SQLException... |
package org.pm4j.core.pm.impl;
import org.pm4j.core.pm.PmAttr;
public class PmInitApi {
/**
* EXPERIMENTAL STATE: Helper for dynamic PM creation.
*/
public static <T> PmAttr<T> initDynamicPmAttr(PmAttr<T> pmAttr, String name) {
PmAttrBase<?, ?> pm = (PmAttrBase<?, ?>)pmAttr;
// Make the name based met... |
package com.opencms.workplace;
import com.opencms.file.*;
import com.opencms.core.*;
import com.opencms.util.*;
import com.opencms.template.*;
import org.w3c.dom.*;
import org.xml.sax.*;
import javax.servlet.http.*;
import java.util.*;
import java.io.*;
public class CmsNewResourceFolder extends CmsWorkplaceDefault impl... |
package com.opencms.workplace;
import com.opencms.file.*;
import com.opencms.core.*;
import com.opencms.util.*;
import com.opencms.template.*;
import org.xml.sax.*;
import org.w3c.dom.*;
import java.util.*;
import java.io.*;
import javax.servlet.http.*;
public class CmsXmlTemplateEditor extends CmsWorkplaceDefault impl... |
package com.tactfactory.mda.template;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.tactfactory.mda.Harmony;
import com.tactfactory.mda.orm.ClassMetadata;
import com.tactfac... |
package com.vaadin.demo.sampler;
import java.net.URI;
import java.net.URL;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import com.vaadin.Application;
import com.vaadin.data.Property;
import com.vaadin.data.Property.ValueChangeEvent;
import com.vaadin.data.util.HierarchicalContainer... |
package com.valkryst.VTerminal.printer;
import com.valkryst.VTerminal.Panel;
import com.valkryst.VTerminal.component.Screen;
import java.awt.*;
public class LinePrinter {
/**
* Prints a line on the screen of a panel.
*
* @param panel
* The panel.
*
* @param fromX
* ... |
package org.biojava.bio.structure;
import java.io.BufferedReader;
import java.io.StringReader;
import java.util.Map;
import org.biojava.bio.structure.io.PDBFileParser;
import junit.framework.TestCase;
public class PDBFileParserTest extends TestCase {
PDBFileParser parser;
protected void setUp(){
parser ... |
package org.jfree.chart.title.junit;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.jfree.chart.JFreeChart;
import org.jfree.chart.title.ImageTitle;
import org.jfree.chart.util.Size2D;
/**
* Tes... |
/*
* This samples uses the native asynchronous request processing protocol
* to post requests to the VoltDB server, thus leveraging to the maximum
* VoltDB's ability to run requests in parallel on multiple database
* partitions, and multiple servers.
*
* While asynchronous processing is (marginally) more convolut... |
import com.sun.star.awt.XWindow;
import com.sun.star.beans.XPropertySet;
import com.sun.star.beans.XPropertyChangeListener;
import com.sun.star.beans.PropertyChangeEvent;
import com.sun.star.container.XEnumerationAccess;
import com.sun.star.container.XEnumeration;
import com.sun.star.document.XEventListener;
import com... |
package com.github.jsonldjava.impl;
import java.io.File;
import java.io.FileInputStream;
import java.util.HashMap;
import java.util.Map;
import com.github.jsonldjava.core.JSONLD;
import com.github.jsonldjava.core.JSONLDProcessor.Options;
import com.github.jsonldjava.utils.JSONUtils;
public class Playground {
static... |
// -*- mode:java; encoding:utf-8 -*-
// vim:set fileencoding=utf-8:
// @homepage@
package example;
import com.sun.java.swing.plaf.windows.WindowsTabbedPaneUI;
import java.awt.*;
import java.awt.event.ItemEvent;
import javax.swing.*;
import javax.swing.plaf.basic.BasicTabbedPaneUI;
public final class MainPanel extends J... |
package dr.evomodel.sitemodel;
import dr.inference.model.*;
import dr.inference.distribution.ParametricDistributionModel;
/**
* @author Chieh-Hsi Wu
*
* This class models the relative loci rates using the given discritized parametric distribution.
*/
public class DiscretizedLociRates extends AbstractModel {
pri... |
package dr.evomodel.substmodel;
import dr.evolution.datatype.Microsatellite;
import dr.inference.model.Parameter;
import dr.inference.model.Model;
/**
* @author Chieh-Hsi Wu
* An abstract class for microsatellite models
*/
public abstract class MicrosatelliteModel extends ComplexSubstitutionModel{
protected Micr... |
package org.apache.james.util;
import java.io.FilterOutputStream;
import java.io.IOException;
import java.io.OutputStream;
/**
* Adds extra dot if dot occurs in message body at beginning of line (according to RFC1939)
* Compare also org.apache.james.smtpserver.SMTPInputStream
*
*/
public class ExtraDotOutputStream ... |
package com.rnfs;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileInputStream;
import java.io.BufferedInputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.IOException;
import java.net.URL;
import java.net.URLConnection;
import java.net.HttpURLConnection;
import j... |
package org.voltdb;
import org.voltdb.catalog.Column;
import org.voltdb.catalog.Procedure;
import com.google_voltpatches.common.collect.ImmutableMap;
/**
* Lists built-in system stored procedures with metadata
*/
public class SystemProcedureCatalog {
// Historical note:
// We used to list syprocs in the catal... |
package com.coillighting.udder;
import java.io.OutputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.net.Socket;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.TimeUnit;
import com.coillighting.udder.Frame;
/**
* Note: If the OPC server says "OPC: Source -1 does... |
package org.libelektra;
import org.junit.Test;
import org.libelektra.exception.KDBClosedException;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
public class KDBTest {
private static final String PARENT_KEY_NAME = "user:/sw/tests/jna/";
private static final String KEY_0_NAM... |
package ch.hsr.ifs.pystructure.typeinference.results.types;
import org.python.pydev.parser.jython.ast.Call;
import ch.hsr.ifs.pystructure.typeinference.model.base.NodeUtils;
import ch.hsr.ifs.pystructure.typeinference.model.definitions.Class;
public class ClassType extends AbstractType {
private final Class klass;
... |
package at.fhj.swd13.pse.db.entity;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Fetc... |
package com.biermacht.brews.frontend.adapters;
import android.support.v4.app.*;
import com.biermacht.brews.recipe.*;
import android.content.*;
import com.biermacht.brews.frontend.fragments.*;
// Since this is an object collection, use a FragmentStatePagerAdapter,
// and NOT a FragmentPagerAdapter.
public class Collecti... |
package com.cmput301.cs.project.project.activities;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import com.cmput301.cs.project.R;
impo... |
package com.coderspp.schedulepredict.service.impl;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Scanner;
import org.json.JSONObject;
import org.springframewor... |
package com.dmdirc.addons.ui_swing.components.modes;
import com.dmdirc.Channel;
import com.dmdirc.addons.ui_swing.SwingController;
import com.dmdirc.parser.interfaces.Parser;
/** Non list mode panel. */
public final class ChannelModesPane extends ModesPane {
/** Serial version UID. */
private static final long ... |
package info.guardianproject.otr;
import info.guardianproject.otr.app.im.ImService;
import info.guardianproject.otr.app.im.engine.Address;
import info.guardianproject.otr.app.im.engine.Message;
import info.guardianproject.otr.app.im.plugin.xmpp.XmppAddress;
import info.guardianproject.otr.app.im.service.ChatSessionAdap... |
package org.xins.common.io;
import java.io.File;
import org.xins.common.Log;
import org.xins.common.MandatoryArgumentChecker;
import org.xins.common.Utils;
import org.xins.common.text.FastStringBuffer;
/**
* File watcher thread. This thread checks if a file changed and if it has, it
* notifies the listener. The check... |
package org.cache2k.benchmark.util;
import it.unimi.dsi.fastutil.ints.IntArrayList;
import it.unimi.dsi.fastutil.ints.IntList;
import it.unimi.dsi.fastutil.ints.IntOpenHashSet;
import it.unimi.dsi.fastutil.ints.IntSet;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.Input... |
package com.mebigfatguy.fbcontrib.detect;
import java.util.BitSet;
import java.util.HashMap;
import java.util.Map;
import org.apache.bcel.Constants;
import org.apache.bcel.classfile.Code;
import org.apache.bcel.classfile.Method;
import org.apache.bcel.generic.Type;
import com.mebigfatguy.fbcontrib.utils.BugType;
import... |
// samskivert library - useful routines for java programs
// This library is free software; you can redistribute it and/or modify it
// (at your option) any later version.
// This library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// You shoul... |
package com.ramblingwood.minecraft.jsonapi.streams;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import org.json.simpleForBukkit.JSONObject;
import com.ramblingwood.minecraft.jsonapi.JSONAPI;
import com.ramblingwood.minecraft.jsonapi.JSONServer;
public class StreamingResponse exte... |
package com.github.weisj.darklaf.util;
import java.util.logging.Handler;
import java.util.logging.Level;
import java.util.logging.Logger;
import com.github.weisj.darklaf.log.DarkLogHandler;
import com.github.weisj.darklaf.log.LogFormatter;
public final class LogUtil {
private static final Logger PARENT = Logger.get... |
package com.redhat.ceylon.compiler.typechecker.model;
import static com.redhat.ceylon.compiler.typechecker.model.Util.arguments;
import static com.redhat.ceylon.compiler.typechecker.model.Util.isNameMatching;
import static com.redhat.ceylon.compiler.typechecker.model.Util.isResolvable;
import java.util.ArrayList;
impor... |
package com.syncleus.dann.graphicalmodel.bayesian;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.TreeSet;
public class SimpleBayesianNode<S> implements BayesianNode<S>
{
private EvidenceMap<S> evi... |
package VASSAL.build.module;
import java.awt.Component;
import java.awt.event.ActionListener;
import java.beans.PropertyChangeListener;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import javax.swing.BoxLa... |
package VASSAL.build.module;
import VASSAL.counters.TraitConfigPanel;
import java.awt.Component;
import java.awt.event.ActionListener;
import java.beans.PropertyChangeListener;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import ja... |
package dr.evomodel.continuous;
import dr.evolution.tree.NodeRef;
import dr.evolution.tree.Tree;
import dr.evomodel.branchratemodel.BranchRateModel;
import dr.evomodel.tree.TreeModel;
import dr.inference.model.CompoundParameter;
import dr.inference.model.Model;
import dr.inference.model.Variable;
import dr.inference.mo... |
package com.puresol.utils;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
/**
* This class is for simple object persi... |
package org.jdesktop.swingx.border;
import java.awt.Component;
import java.awt.ComponentOrientation;
import java.awt.Graphics;
import java.awt.Insets;
import java.awt.Rectangle;
import java.io.Serializable;
import javax.swing.Icon;
import javax.swing.SwingConstants;
import javax.swing.border.Border;
import org.jdesktop... |
package org.apache.james.pop3server;
import java.io.*;
import java.net.*;
import java.text.*;
import java.util.*;
import org.apache.avalon.*;
import org.apache.mailet.*;
import org.apache.avalon.blocks.*;
import org.apache.avalon.utils.*;
import org.apache.james.*;
import org.apache.james.core.*;
import org.apache.jame... |
package gov.nih.nci.ispy.service.annotation;
import gov.nih.nci.caintegrator.analysis.messaging.IdGroup;
import gov.nih.nci.caintegrator.analysis.messaging.IdList;
import gov.nih.nci.ispy.service.common.TimepointType;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util... |
package com.hpe.caf.services.audit.api;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.dataformat.yaml.YAMLMapper;
import com.github.dockerjava.api.DockerClient;
import com.github.dockerjava.api.command.CreateContainerResponse;
import com.github.dockerjava.client.model.HostConfig;
impo... |
package org.apache.cassandra.locator;
import java.net.InetAddress;
import java.util.Arrays;
import java.util.Collections;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.TreeSet;
import org.apache.cassandra.config.DatabaseDescriptor;
import org.apache.cassandra.gms.ApplicationSt... |
package org.apache.velocity.runtime.configuration;
import java.io.IOException;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.LineNumberReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.io.Reader;
import java.u... |
package br.com.caelum.brutal.dao;
import org.hibernate.Query;
import org.hibernate.Session;
import br.com.caelum.brutal.model.Flag;
import br.com.caelum.brutal.model.User;
import br.com.caelum.vraptor.ioc.Component;
@Component
public class FlagDao {
private final Session session;
public FlagDao(Session session)... |
package com.izforge.izpack.installer;
import com.izforge.izpack.util.AbstractUIHandler;
import com.izforge.izpack.LocaleDatabase;
import com.izforge.izpack.Pack;
import com.izforge.izpack.installer.AutomatedInstallData;
import com.izforge.izpack.installer.InstallData;
import com.izforge.izpack.util.Debug;
import java.i... |
package ca.blarg.gdx.states;
import ca.blarg.gdx.GameApp;
import ca.blarg.gdx.ReflectionUtils;
import ca.blarg.gdx.Strings;
import ca.blarg.gdx.events.EventManager;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.utils.Disposable;
import java.util.LinkedList;
public class StateManager implements Disposable {
p... |
package ch.tkuhn.memetools;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.supercsv.io.CsvListReader;
import com.beust.jcommander.JCommander... |
package com.akiban.server.store;
import com.akiban.ais.model.AkibanInformationSchema;
import com.akiban.ais.model.CacheValueGenerator;
import com.akiban.ais.model.Group;
import com.akiban.ais.model.GroupIndex;
import com.akiban.ais.model.Index;
import com.akiban.ais.model.Sequence;
import com.akiban.qp.persistitadapter... |
package com.alexterprogs.PDF;
import com.alexterprogs.Person;
import com.itextpdf.text.*;
import com.itextpdf.text.pdf.*;
import javax.print.*;
import javax.print.attribute.HashPrintRequestAttributeSet;
import javax.swing.table.DefaultTableModel;
import java.io.*;
import java.util.*;
public class BookPrinter {
publ... |
package OpenTechnology.tileentities;
import OpenTechnology.Config;
import OpenTechnology.system.ChatBoxEventSystem;
import li.cil.oc.api.machine.Arguments;
import li.cil.oc.api.machine.Callback;
import li.cil.oc.api.machine.Context;
import li.cil.oc.api.network.*;
import net.minecraft.entity.player.EntityPlayer;
import... |
package fr.hhdev.ocelot;
/**
* Constants Class
*
* @author hhfrancois
*/
public interface Constants {
String JS = ".js";
String MIN = "-min";
String SLASH = "/";
String BACKSLASH_N = "\n";
String LOCALE = "LOCALE";
String OCELOT_CORE = "ocelot-core";
String OCELOT_SERVICES = "ocelot-serv... |
package com.areen.jlib.test;
import com.areen.jlib.gui.ComboBoxLink;
import com.areen.jlib.gui.ComboBoxPairRenderer;
import com.areen.jlib.gui.DefaultCellEditorX;
import com.areen.jlib.gui.WideComboBox;
import com.areen.jlib.gui.fcb.*;
import com.areen.jlib.tuple.Pair;
import java.awt.event.KeyEvent;
import javax.swing... |
package br.edu.ufcg.computacao.si1.seguranca;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.... |
package com.codahale.shore;
import static com.google.common.base.Preconditions.*;
import java.util.Properties;
import java.util.Map.Entry;
import java.util.logging.Logger;
import org.mortbay.jetty.Connector;
import org.mortbay.jetty.Server;
import org.mortbay.jetty.servlet.Context;
import org.mortbay.jetty.servlet.Filt... |
package com.appdynamics.extensions.filewatcher;
import com.appdynamics.extensions.ABaseMonitor;
import com.appdynamics.extensions.TasksExecutionServiceProvider;
import com.appdynamics.extensions.filewatcher.config.FileMetric;
import com.appdynamics.extensions.filewatcher.config.PathToProcess;
import com.appdynamics.ext... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.