answer stringlengths 17 10.2M |
|---|
package de.uka.ipd.sdq.beagle.gui;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.wizard.Wizard;
import org.eclipse.jface.wizard.WizardPage;
import org.eclipse.swt.widgets.Shell;
import java.util.Iterator;
import java.util.List;
public class BeagleAnalysisWizard extends Wizard {
/**
*... |
package hex.deepwater;
import deepwater.backends.BackendModel;
import deepwater.backends.BackendParams;
import deepwater.backends.BackendTrain;
import deepwater.backends.RuntimeOptions;
import deepwater.datasets.ImageDataSet;
import hex.DataInfo;
import water.H2O;
import water.Iced;
import water.Key;
import water.excep... |
package uk.gov.dvla.services.transform;
import org.junit.Assert;
import org.junit.Test;
import uk.gov.dvla.domain.*;
import uk.gov.dvla.domain.mib.MibDTO;
import uk.gov.dvla.services.common.disqualifications.DisqualificationStatus;
import static uk.gov.dvla.services.common.disqualifications.DisqualificationStatus.*;
im... |
package edu.govschool.govchat.net;
import java.io.Serializable;
/**
* Class to represent a GovChat server.
* There are two pieces of information needed for a client to connect to a
* GovChat server, the hostname and port. While we could use a data structure
* such as a <code>Map</code> to represent this, creating a... |
package com.ibm.bi.dml.hops;
import com.ibm.bi.dml.hops.OptimizerUtils.OptimizationType;
import com.ibm.bi.dml.lops.Binary;
import com.ibm.bi.dml.lops.Group;
import com.ibm.bi.dml.lops.LeftIndex;
import com.ibm.bi.dml.lops.Lops;
import com.ibm.bi.dml.lops.RangeBasedReIndex;
import com.ibm.bi.dml.lops.UnaryCP;
import co... |
package org.neo4j.server.web.logging;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import static org.junit.matchers.JUnitMatchers.containsString;
import ... |
package org.jboss.as.connector.subsystems.datasources;
import static java.lang.Thread.currentThread;
import static java.security.AccessController.doPrivileged;
import static org.jboss.as.connector.logging.ConnectorLogger.DS_DEPLOYER_LOGGER;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
impo... |
package jadx.gui.utils;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.function.Predicate;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import jadx.api.CodePosition;
import jadx.api.JavaCl... |
package com.yahoo.vespa.hosted.controller.maintenance;
import com.yahoo.config.provision.Environment;
import com.yahoo.vespa.hosted.controller.Application;
import com.yahoo.vespa.hosted.controller.Controller;
import com.yahoo.vespa.hosted.controller.api.integration.zone.ZoneRegistry;
import com.yahoo.vespa.hosted.contr... |
package com.opentext.ia.sdk.server.configuration.yaml;
import static com.opentext.ia.sdk.server.configuration.InfoArchiveConnectionProperties.HTTP_CLIENT_CLASSNAME;
import static com.opentext.ia.sdk.server.configuration.InfoArchiveConnectionProperties.PROXY_HOST;
import static com.opentext.ia.sdk.server.configuration.I... |
package org.ccnx.ccn.impl.repo;
import java.io.IOException;
import java.security.PublicKey;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Timer;
import java.util.TimerTask;
import java.util.logging.Level;
import org.ccnx.ccn.CCNFilterListener;
import org.ccnx.ccn.CCNHandle;
import org.ccnx.ccn... |
package org.hisp.dhis.webapi.controller;
import com.google.common.collect.Lists;
import org.hisp.dhis.common.DhisApiVersion;
import org.hisp.dhis.fieldfilter.FieldFilterService;
import org.hisp.dhis.node.NodeUtils;
import org.hisp.dhis.node.Preset;
import org.hisp.dhis.node.types.RootNode;
import org.hisp.dhis.period.P... |
package cz.zcu.kiv.jop.binding;
import java.lang.annotation.Annotation;
import java.util.List;
/**
* This interface serves as container of created bindings between some
* annotation and some class. It contains common methods for creation of
* bindings via {@link BindingBuilder BindingBuilders} or for their obtaining... |
package org.pentaho.reporting.engine.classic.core.layout.model;
import java.awt.font.TextLayout;
import java.text.BreakIterator;
import org.pentaho.reporting.engine.classic.core.ReportAttributeMap;
import org.pentaho.reporting.engine.classic.core.layout.model.context.NodeLayoutProperties;
import org.pentaho.reporting.e... |
package ca.eandb.jmist.framework.scene;
import java.util.ArrayList;
import java.util.List;
import ca.eandb.jmist.framework.BoundingBoxBuilder3;
import ca.eandb.jmist.framework.Illuminable;
import ca.eandb.jmist.framework.Intersection;
import ca.eandb.jmist.framework.IntersectionDecorator;
import ca.eandb.jmist.framewor... |
package com.gallatinsystems.survey.dao;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.apache.commons.lang.ArrayUtils;
import org.apach... |
package nl.nn.adapterframework.util;
import org.apache.log4j.Logger;
/**
* Utility class to support run-state management
* @version Id
*
*
* @author Gerrit van Brakel
*/
public class RunStateManager {
public static final String version =
"$Id: RunStateManager.java,v 1.4 2004-08-19 07:14:55 a1909356#db... |
package ch.ntb.inf.deep.eclipse.ui.view;
import java.io.IOException;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.swt.graphics.Color;
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.PlatformUI;
import org.... |
package org.freeciv.servlet;
import java.io.IOException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.H... |
package com.jockeyjs;
import java.util.HashMap;
import java.util.Map;
import android.annotation.SuppressLint;
import android.os.Handler;
import android.util.SparseArray;
import android.webkit.WebView;
import com.jockeyjs.JockeyHandler.OnCompletedListener;
public abstract class JockeyImpl implements Jockey {
// A de... |
package com.metamatrix.dqp.internal.datamgr.impl;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.Properties;
import java.util.concurrent.TimeUnit;
import junit.framework.TestCase;
import org.mockito.Mockito;
import com.metamatrix.common.application.ApplicationEnvironment;
import com.metamatrix.co... |
package uk.ac.ebi.quickgo.geneproduct.model;
import uk.ac.ebi.quickgo.geneproduct.GeneProductREST;
import uk.ac.ebi.quickgo.geneproduct.service.ServiceConfig;
import uk.ac.ebi.quickgo.rest.controller.ControllerValidationHelper;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.... |
package com.miracle.test;
import java.io.File;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.net.URL;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.Date;
import java.util.Hashtable;
import java.util.LinkedList;
import org.apache.commons.io.FilenameUtils;
import org.juni... |
/** @@author A0142130A **/
package guitests;
import java.util.ArrayList;
import org.junit.Test;
import seedu.taskell.logic.commands.ViewHistoryCommand;
import seedu.taskell.model.HistoryManager;
import seedu.taskell.ui.DisplayPanel;
public class ViewHistoryCommandTest extends TaskManagerGuiTest {
@Test
public v... |
package com.akjava.gwt.lib.client.datalist;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.List;
import com.akjava.gwt.lib.client.LogUtils;
import com.google.gwt.core.client.Scheduler;
import com.google.gwt.core.client.Scheduler.ScheduledCo... |
package factories;
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.JsonNode;
import com.mashape.unirest.http.Unirest;
import com.mashape.unirest.http.exceptions.UnirestException;
import com.mashape.unirest.request.HttpRequestWithBody;
import com.mashape.unirest.request.body.MultipartBody;
... |
package com.evolveum.midpoint.web.page.admin.configuration;
import com.evolveum.midpoint.model.api.ModelService;
import com.evolveum.midpoint.prism.PrismContext;
import com.evolveum.midpoint.prism.PrismObject;
import com.evolveum.midpoint.prism.PrismProperty;
import com.evolveum.midpoint.schema.result.OperationResult;
... |
package com.akjava.gwt.lib.client.experimental;
import java.util.ArrayList;
import java.util.List;
import com.akjava.gwt.lib.client.LogUtils;
import com.google.common.collect.Lists;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.... |
package hudson.plugins.git;
import java.util.ArrayList;
import java.util.Collection;
import org.eclipse.jgit.lib.ObjectId;
import org.junit.Test;
import static org.junit.Assert.*;
public class RevisionTest {
final String SHA1;
final ObjectId objectId;
final Revision revision1;
final Collection<Branch> e... |
package com.akjava.gwt.three.client.js.loaders;
import com.akjava.gwt.three.client.js.core.Geometry;
import com.akjava.gwt.three.client.js.materials.Material;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;
public class JSONLoader extends Loader{
protected JSONLoader()... |
package info.u_team.u_team_test;
import info.u_team.u_team_core.util.registry.BusRegister;
import info.u_team.u_team_core.util.verify.JarSignVerifier;
import info.u_team.u_team_test.init.*;
import net.minecraftforge.fml.common.Mod;
@Mod(TestMod.MODID)
public class TestMod {
public static final String MODID = "uteam... |
package com.enseirb.telecom.dngroup.snapmail;
import java.net.*;
import java.nio.file.Files;
import java.nio.file.StandardCopyOption;
import javax.ws.rs.WebApplicationException;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.Entity;
import javax.ws.rs.client.WebTarg... |
package com.artificial.cachereader.wrappers.rt6;
import com.artificial.cachereader.datastream.Stream;
import com.artificial.cachereader.wrappers.rt6.loaders.WrapperLoader;
import java.util.Map;
public class Component extends StreamedWrapper {
public int index;
public int parentId;
public int type;
publi... |
package com.temenos.interaction.core.hypermedia;
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 static org.mockito.Matchers.any;
import sta... |
package com.axiastudio.zoefx.core.controller;
import com.axiastudio.zoefx.core.beans.BeanAccess;
import com.axiastudio.zoefx.core.beans.BeanClassAccess;
import com.axiastudio.zoefx.core.beans.property.ItemObjectProperty;
import com.axiastudio.zoefx.core.beans.property.ZoeFXProperty;
import com.axiastudio.zoefx.core.db.... |
package metroinsight.citadel;
import java.io.IOException;
import java.net.ServerSocket;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import io.vertx.core.DeploymentOptions;
import io.vertx.core.Vertx;
import io.vertx.core.json.Json;
import io.vertx.core.json.J... |
package oxdoc;
public class MathProcessorMathjax extends MathProcessor {
public String processFormula(String formula, boolean isInline) {
if (isInline)
return "\\(" + formula + "\\)";
else
return "$$" + formula + "$$";
}
public String getExtraHeader() {
return "<script type=\"text/javascri... |
package mrtim.sasscompiler;
import com.google.common.base.Function;
import com.google.common.base.Predicate;
import com.google.common.collect.FluentIterable;
import org.apache.commons.lang3.StringUtils;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import java.io.File;
... |
package net.ddns.mucaho.jnetrobust.example.advanced;
import net.ddns.mucaho.jnetrobust.example.advanced.SynchronizationMain.HOST;
import net.ddns.mucaho.jnetrobust.example.advanced.SynchronizationMain.Vector2D;
import javax.swing.*;
import java.awt.*;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
i... |
package org.gitlab4j.api;
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 static org.junit.Assume.assumeNotNull;
import static org.junit.Ass... |
package com.hintersphere.booklogger;
import android.app.Activity;
import android.database.Cursor;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
/**
* This class is used to manually enter a book by title and author if scanning it is ineffective
* @aut... |
package org.scijava;
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.assertSame;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail... |
// Package
package com.hp.hpl.jena.ontology.impl.test;
// Imports
import java.io.*;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.util.*;
import com.hp.hpl.jena.enhanced.EnhGraph;
import com.hp.hpl.jena.graph.*;
import com.hp.hpl.jena.graph.impl.*;
import com.hp.hpl.jena.mem.GraphMem;
i... |
package project;
import java.util.List;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;
/**
*
* @author charlliz
*/
public class CategoryManagerImplTest {
CategoryManagerImpl manager = new Categor... |
package seedu.address.testutil;
import com.google.common.io.Files;
import guitests.guihandles.TaskCardHandle;
import javafx.geometry.Bounds;
import javafx.geometry.Point2D;
import javafx.scene.Node;
import javafx.scene.Scene;
import javafx.scene.input.KeyCode;
import javafx.scene.input.KeyCodeCombination;
import javafx... |
package jade.core.replication;
//#MIDP_EXCLUDE_FILE
import jade.core.ServiceFinder;
import jade.core.HorizontalCommand;
import jade.core.VerticalCommand;
import jade.core.GenericCommand;
import jade.core.Service;
import jade.core.BaseService;
import jade.core.ServiceException;
import jade.core.Sink;
import jade.core.Fi... |
package stormpot;
import org.junit.rules.TestRule;
import org.junit.runner.Description;
import org.junit.runners.model.Statement;
/**
* A TestRule that ensures that any failing tests have their stack-trace
* printed to stderr.
*
* This is useful for when the tests are running on a build-server, and you'd
* like th... |
package com.madgear.ninjatrials.trials;
import java.util.ArrayList;
import java.util.Timer;
import java.util.TimerTask;
import org.andengine.engine.handler.IUpdateHandler;
import org.andengine.engine.handler.timer.ITimerCallback;
import org.andengine.engine.handler.timer.TimerHandler;
import org.andengine.entity.Entity... |
package Parallel;
/**
* Interface for one schedulable task
* @author Ye Nan
*/
public interface Schedulable {
/**
* Process one task.
* @param taskID ID of the task
* @return Partial result
*/
public Object compute(int taskID); //can do synchronized update here if partial result takes too... |
package ch.openech.mj.db;
import java.lang.reflect.Field;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.LinkedHashMap;
... |
package com.teamacra.myhomeaudio.ui;
import java.util.ArrayList;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ArrayAdapter;
impor... |
package nallar.patched.server;
import java.io.File;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util... |
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// all copies or substanti... |
import org.junit.*;
import play.mvc.Result;
import play.mvc.Http.Status;
import static org.fest.assertions.Assertions.assertThat;
import static play.test.Helpers.callAction;
import static play.test.Helpers.contentAsString;
import static play.test.Helpers.contentType;
import static play.test.Helpers.fakeRequest;
import ... |
package io.mangoo.enums;
import java.util.Collections;
import java.util.Locale;
import java.util.Map;
import com.google.common.collect.Maps;
/**
*
* @author svenkubiak
*
*/
public enum Binding {
AUTHENTICATION("io.mangoo.routing.bindings.Authentication"),
BODY("io.mangoo.routing.bindings.Body"),
DOUBLE(... |
package mathsquared.resultswizard2;
/**
* An immutable object that represents a proper fraction. Can support improper fractions intermittently as well.
*
* <p>
* Note that any post-conditions on any methods of this class only apply after the constructor has successfully completed, as several clean-up methods are re... |
package org.epics.pvmanager;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
/**
* Represent part of the write recipe that holds the value for one pv.
*
* @param <T> the payload type to be held in the cache
* @author carcassi
*/
public class WriteCache<... |
package com.ginger_walnut.sqboosters;
import java.sql.Time;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.logging.Logger;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.comm... |
package com.germancoding.packetapi;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.logging.Logger;
import com.germancoding.packetapi.Process.ActionType;
import com.germancoding.packetapi.defaultpackets.ClosePac... |
package de.example.exampletdd.httpclient;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.net.URISyntaxException;
import java.net.URL;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org... |
package dr.evomodel.continuous;
import dr.evolution.tree.Tree;
import dr.evolution.tree.TreeAttributeProvider;
import dr.inference.model.*;
import dr.math.distributions.MultivariateNormalDistribution;
import dr.xml.*;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
/**
* @author Marc Suchard
*/
public class ... |
package dr.inference.operators;
import dr.evolution.tree.NodeRef;
import dr.evomodel.continuous.MultivariateDiffusionModel;
import dr.evomodel.tree.TreeModel;
import dr.inference.model.MatrixParameter;
import dr.math.MathUtils;
import dr.math.MultivariateNormalDistribution;
import dr.xml.*;
/**
* @author Marc Suchard
... |
/**
* @author Merv Fansler
* @author Kevin Fisher
* @author Mike Sims
* @author Josh Wakefield
* @since February 19, 2015
* @version 0.2.0
*/
package edu.millersville.cs.bitsplease.view;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.... |
package experimentalcode.students.muellerjo.outlier;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm;
import de.lmu.ifi.dbs.elki.algorithm.outlier.OutlierAlgorithm;
import de.lmu.ifi.dbs.elki.data.NumberVector;
import de.lmu.ifi.dbs.elki... |
package org.hudsonci.inject;
import hudson.Extension;
import org.hudsonci.inject.internal.SmoothieContainerBootstrap;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Smoothie container access.
*
* @author <a href="mailto:jason@planet57.com">Jason Dillon</a>
* @since 1.396
*/
public class Smoothie
{
... |
package fr.inrialpes.exmo.align.impl;
import fr.inrialpes.exmo.ontowrap.LoadedOntology;
import fr.inrialpes.exmo.ontowrap.OntowrapException;
import org.semanticweb.owl.align.AlignmentException;
import org.semanticweb.owl.align.Cell;
import java.util.Collection;
/**
* Transforms a URIAlignment to a ObjectAlignment
*/
... |
package com.buschmais.cdo.impl;
import com.buschmais.cdo.api.CdoTransaction;
import com.buschmais.cdo.api.ConcurrencyMode;
import com.buschmais.cdo.impl.cache.EntityCacheSynchronization;
import com.buschmais.cdo.impl.cache.RelationCacheSynchronization;
import com.buschmais.cdo.impl.cache.TransactionalCache;
import com.... |
package org.apache.jmeter.functions;
import java.io.Serializable;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.Collection;
import java.util.LinkedList;
import java.util.List;
import org.apache.jmeter.engine.util.CompoundVariable;
import org.apache.jmeter.samplers.SampleResult;
imp... |
package timeBench.data.relational;
import java.util.Iterator;
import prefuse.data.Graph;
import prefuse.data.Schema;
import prefuse.data.Table;
import prefuse.data.Tuple;
import prefuse.data.column.Column;
import prefuse.data.expression.AbstractPredicate;
import prefuse.data.tuple.TableEdge;
import prefuse.data.tuple.T... |
package org.xcolab.service.admin.web;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.a... |
package gate.plugin.learningframework;
import gate.Annotation;
import gate.AnnotationSet;
import org.apache.log4j.Logger;
import gate.Controller;
import gate.Document;
import gate.FeatureMap;
import gate.creole.metadata.CreoleParameter;
import gate.creole.metadata.CreoleResource;
import gate.creole.metadata.Optional;
i... |
package org.eclipse.birt.report.model.api;
import java.util.List;
import org.eclipse.birt.report.model.api.activity.SemanticException;
import org.eclipse.birt.report.model.api.elements.SemanticError;
import org.eclipse.birt.report.model.elements.ColumnHelper;
import org.eclipse.birt.report.model.elements.TableColumn;
/... |
package eu.stratosphere.nephele.execution;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* This class is a utility class to check the consistency of Nephele's execution state model.
*
* @author warneke
*/
public final class ExecutionStateTransition {
/**
* The log... |
package ud.bi0.dragonSphereZ.particles;
import java.util.HashMap;
import java.util.List;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Player;
import org.bukkit.util.Vector;
import ud.bi0.dragonSphereZ.DragonSphereCore;
import... |
package gov.nih.nci.calab.service.util;
import java.util.HashMap;
import java.util.Map;
public class CaNanoLabConstants {
public static final String DOMAIN_MODEL_NAME = "caNanoLab";
public static final String CSM_APP_NAME = "caNanoLab";
public static final String DATE_FORMAT = "MM/dd/yyyy";
public stati... |
package com.illposed.osc;
import java.net.DatagramSocket;
/**
* OSCPort is an abstract superclass, to send OSC messages,
* use {@link OSCPortOut}.
* To listen for OSC messages, use {@link OSCPortIn}.
*
* @author Chandrasekhar Ramakrishnan
*/
public class OSCPort {
private final DatagramSocket socket;
priv... |
package gov.nih.nci.ncicb.cadsr.loader.ui;
import gov.nih.nci.ncicb.cadsr.domain.Concept;
import gov.nih.nci.ncicb.cadsr.loader.ElementsLists;
import gov.nih.nci.ncicb.cadsr.loader.event.ReviewEvent;
import gov.nih.nci.ncicb.cadsr.loader.event.ReviewListener;
import gov.nih.nci.ncicb.cadsr.loader.ui.event.NavigationEve... |
package org.nuxeo.ecm.automation.jaxrs.io;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.Arrays;
import java.util.List;
import org.codehaus.jackson.JsonEncoding;
import org.codehaus.jackson.JsonFactory;
import org.codehaus.jackson.JsonGenerator;
import o... |
package info.slony.clustertest.testcoordinator;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.apache.log4j.Logger;
/**
*
* The TestResult class is used to store and compute the results of a ... |
package org.nuxeo.ecm.webengine.admin;
import org.nuxeo.ecm.core.rest.DocumentRoot;
import org.nuxeo.ecm.webengine.model.Access;
import org.nuxeo.ecm.webengine.model.WebObject;
import org.nuxeo.ecm.webengine.model.exceptions.WebResourceNotFoundException;
import org.nuxeo.ecm.webengine.model.exceptions.WebSecurityExcept... |
// $Id: ClientManager.java,v 1.34 2004/02/13 19:10:54 ray Exp $
package com.threerings.presents.server;
// imports for hackery TODO: remove
import java.util.Date;
import com.samskivert.util.Tuple;
// end: hackery imports
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.... |
package esg.node.security.shell.cmds;
/**
Description:
ESGF's "realize" command..."
This command takes a dataset directory and inspects its catalog to
find missing files (files listed in the dataset catalog but not
locally present on the filesystem) and brings them local. The
second half of the 'repli... |
package net.ontrack.extension.jira;
import net.ontrack.extension.api.action.TopActionExtension;
import net.ontrack.extension.api.property.PropertyExtensionDescriptor;
import net.ontrack.extension.api.support.ExtensionAdapter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ster... |
package org.intermine.api.profile;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.TreeMap;
import org.apache.commons.... |
package org.eclipse.dawnsci.analysis.dataset.impl;
import java.io.Serializable;
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.eclipse.dawnsci.analysis.api.dataset.IDataset;
import org.eclipse.dawnsci.analysis.api.dataset.ILazyDataset;
import org.e... |
package org.eclipse.mylar.internal.jira.core.service.web;
import java.io.IOException;
import org.apache.commons.httpclient.Header;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.HttpStatus;
import org.apache.commons.httpclient.cookie.CookiePolicy;
import org.apache.commons.httpcli... |
package org.ontoware.rdf2go.model.impl;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Reader;
import java.io.StringWriter;
import java.io.Writer;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import org.ontoware.aifbcommons.collectio... |
package org.jivesoftware.spark.ui.rooms;
import org.jivesoftware.resource.SparkRes;
import org.jivesoftware.smack.PacketListener;
import org.jivesoftware.smack.Roster;
import org.jivesoftware.smack.RosterEntry;
import org.jivesoftware.smack.filter.AndFilter;
import org.jivesoftware.smack.filter.FromContainsFilter;
impo... |
package ru.yandex.market.graphouse.search;
import ru.yandex.market.graphouse.Metric;
import sun.nio.fs.Globs;
import java.nio.file.*;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import java.util.regex.Pattern;
/**
* @author Dmitry Andreev <a href="mai... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.m2mp.db.test;
import junit.framework.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import org.m2mp.db.DB;
import org.m2mp.db.entity.Domain;
import org.m2mp.db.entity.User;
/**
*
* @author Flo... |
package org.broadinstitute.sting.gatk.refdata;
import java.io.File;
import java.io.IOException;
import java.util.Collections;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import org.broadinstitute.sting.gatk.iterators.PushbackIterator;
import org.broadinstitute.sting.gatk.refdata.Basic... |
package org.jenkins.tools.test.model;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.logging.Logger;
import jav... |
package beaform.gui.formulaeditor;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Iterator;
import java.util.List;
import javax.swing.BorderFactory;
import javax.swing.BoxLayout;
import javax.swing.JButton;
import javax.swing.J... |
package org.jenkins.tools.test.model;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.u... |
package ca.phon.plugins.praat;
import java.awt.BasicStroke;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Cursor;
import java.awt.Dimension;
import java.awt.FontMetrics;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.RenderingHints;
import java.awt.St... |
package de.darwinspl.feature.evolution.basic.operations;
import java.util.Date;
import org.eclipse.emf.common.util.BasicEList;
import org.eclipse.emf.common.util.EList;
import de.darwinspl.feature.evolution.complex.operations.AddGroupWithTypeChildAndComposition;
import de.darwinspl.feature.evolution.complex.operations.... |
package jkind.lustre.visitors;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import jkind.lustre.ArrayAccessExpr;
import jkind.lustre.ArrayExpr;
import jkind.lustre.ArrayType;
import jkind.lustre.ArrayUpdateExpr;
import jkind.lustre.BinaryExpr;
import jkind.lustre.Bo... |
package org.jboss.reddeer.eclipse.ui.views.markers;
import org.jboss.reddeer.common.wait.WaitWhile;
import org.jboss.reddeer.core.condition.ShellWithTextIsActive;
import org.jboss.reddeer.core.condition.ShellWithTextIsAvailable;
import org.jboss.reddeer.swt.impl.button.CancelButton;
import org.jboss.reddeer.swt.impl.bu... |
package com.akiban.server.types3;
import com.akiban.server.types3.pvalue.PValueSource;
import com.akiban.util.ArgumentValidation;
public final class TConstantValue {
public TInstance instance() {
return instance();
}
public PValueSource value() {
return value;
}
public TConstantValue... |
package org.jtrim.collections;
import java.io.Serializable;
import java.util.*;
import org.jtrim.utils.ExceptionHelper;
/**
* @see ArraysEx#viewAsList(Object[], int, int)
* @author Kelemen Attila
*/
final class ArrayView<E> extends AbstractList<E>
implements
RandomAccess, Serializable {
private static fi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.