answer stringlengths 17 10.2M |
|---|
package se.chalmers.dat255.sleepfighter.challenge.motionsnake;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Deque;
import java.util.LinkedList;
import java.util.List;
import java.util.Random;
import se.chalmers.dat255.sleepfighter.utils.geometry.Dimension;
impo... |
package org.csstudio.scan.command;
import java.io.PrintStream;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
import org.csstudio.scan.device.DeviceInfo;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
/** Description of a scan server command
*
* <p>Used by the client to... |
package test.http.router.handler;
import com.firefly.$;
import com.firefly.client.http2.*;
import com.firefly.codec.http2.frame.DataFrame;
import com.firefly.codec.http2.frame.HeadersFrame;
import com.firefly.codec.http2.frame.SettingsFrame;
import com.firefly.codec.http2.model.*;
import com.firefly.codec.http2.stream.... |
// IT Innovation Centre of Gamma House, Enterprise Road,
// Chilworth Science Park, Southampton, SO16 7NS, UK.
// or reproduced in whole or in part in any manner or form or in or
// on any media by any person other than in accordance with the terms
// of the Licence Agreement supplied with the software, or otherwise
//... |
package org.innovateuk.ifs.documentation;
import org.innovateuk.ifs.competition.builder.CompetitionResourceBuilder;
import org.innovateuk.ifs.competition.publiccontent.resource.FundingType;
import org.innovateuk.ifs.competition.resource.GrantTermsAndConditionsResource;
import org.innovateuk.ifs.file.resource.FileEntryR... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package pl.edu.icm.coansys.importers.io.writers.hbase;
import com.google.protobuf.ByteString;
import com.google.protobuf.InvalidProtocolBufferException;
import static pl.edu.icm.coansys.importers.constants.HBaseConstant.... |
package org.broadinstitute.sting.gatk.datasources.simpleDataSources;
import org.testng.Assert;
import org.broadinstitute.sting.BaseTest;
import org.broadinstitute.sting.gatk.refdata.features.table.TableFeature;
import org.broadinstitute.sting.gatk.refdata.tracks.RMDTrack;
import org.broadinstitute.sting.gatk.refdata.tr... |
package com.konkerlabs.platform.registry.web.converters.utils;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
i... |
package org.venice.piazza.servicecontroller.messaging;
import java.io.IOException;
import java.net.URI;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.Map.Entry;
import org.apa... |
package org.codehaus.modello.plugin.xpp3;
import java.io.IOException;
import java.util.Iterator;
import java.util.Properties;
import org.codehaus.modello.ModelloException;
import org.codehaus.modello.model.Model;
import org.codehaus.modello.model.ModelAssociation;
import org.codehaus.modello.model.ModelClass;
import or... |
package org.navalplanner.web.planner.allocation;
import static org.navalplanner.web.I18nHelper._;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import java.util.ListIterator;
import java.util.Map;
import java... |
package org.eclipse.mylar.internal.context.ui.actions;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.WeakHashMap;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.Platform;
import org.eclipse.jface.action.Action;
import org.ecl... |
package org.eclipse.mylyn.internal.jira.core.service.web.rss;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.Locale;
import org.apache.commons.lang.StringEscapeUtils;
import org.eclipse.mylyn.internal.jira.core.model.Attachment;
im... |
package org.pocketcampus.plugin.freeroom.server;
import static org.pocketcampus.platform.launcher.server.PCServerConfig.PC_SRV_CONFIG;
import java.net.HttpURLConnection;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.text.SimpleDateFor... |
package edu.yu.einstein.wasp.plugin.illumina.batch.tasklet;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.regex.Matcher;
import java.util... |
package org.jtalks.poulpe.web.osod;
import org.hibernate.SessionFactory;
/**
* Since ZK Listeners in zk.xml can't be manageable by Spring IoC, we have to define a singleton which still is
* instantiated with Spring, but is accessed in {@link OpenSessionOnDesktopZkListener}.
*
* @author stanislav bashkirtsev
*/
pub... |
package com.google.enterprise.connector.dctm;
import com.google.enterprise.connector.dctm.dctmdfcwrap.IDctmClient;
import com.google.enterprise.connector.dctm.dctmdfcwrap.IDctmLocalClient;
import com.google.enterprise.connector.dctm.dctmdfcwrap.IDctmLoginInfo;
import com.google.enterprise.connector.dctm.dctmdfcwrap.IDc... |
package org.opensingular.server.commons.service;
import java.util.List;
import javax.inject.Inject;
import javax.transaction.Transactional;
import org.opensingular.flow.core.FlowDefinition;
import org.opensingular.flow.core.FlowInstance;
import org.opensingular.form.SInstance;
import org.opensingular.form.persistence.e... |
package org.sagebionetworks.file.worker;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.fail;
import static org.sagebionetworks.repo.manager.file.FileHandleArchivalManager.S3_TAG_ARCHIVED;
import sta... |
package gov.nih.nci.ncicb.cadsr.common.persistence.dao.jdbc;
import gov.nih.nci.ncicb.cadsr.common.dto.InstructionTransferObject;
import gov.nih.nci.ncicb.cadsr.common.exception.DMLException;
import gov.nih.nci.ncicb.cadsr.common.persistence.dao.ModuleInstructionDAO;
import gov.nih.nci.ncicb.cadsr.common.resource.Instr... |
package smalipatchlib;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;
import java.util.List;
import java.util.SortedSet;
import java.util.TreeSet;
import java.util.regex.Pattern;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.IOUtils;
import ... |
package org.md2k.autosense.antradio.connection;
import android.os.RemoteException;
import android.util.Log;
import com.dsi.ant.channel.AntChannel;
import com.dsi.ant.channel.AntCommandFailedException;
import com.dsi.ant.channel.IAntChannelEventHandler;
import com.dsi.ant.message.ChannelId;
import com.dsi.ant.message.Ch... |
package com.smartdevicelink.managers.screen;
import android.support.annotation.NonNull;
import android.util.Log;
import com.smartdevicelink.managers.BaseSubManager;
import com.smartdevicelink.managers.CompletionListener;
import com.smartdevicelink.managers.file.FileManager;
import com.smartdevicelink.managers.file.Mult... |
package org.cytoscape.biopax.internal.action;
import static org.cytoscape.biopax.internal.BioPaxMapper.BIOPAX_ENTITY_TYPE;
import java.util.Iterator;
import javax.swing.SwingUtilities;
import org.cytoscape.application.CyApplicationManager;
import org.cytoscape.application.events.SetCurrentNetworkViewEvent;
import org.c... |
package com.cee.news.client.workingset;
import java.util.List;
import com.cee.news.client.list.AddRemoveListModel;
import com.cee.news.client.list.ListPanel;
import com.cee.news.client.list.SelectionListEditor;
import com.google.gwt.dom.client.Style.Unit;
import com.google.gwt.editor.client.Editor;
import com.google.gw... |
package ch.elexis.core.ui.preferences;
import java.util.List;
import org.eclipse.core.databinding.DataBindingContext;
import org.eclipse.core.databinding.beans.PojoProperties;
import org.eclipse.core.databinding.observable.value.IObservableValue;
import org.eclipse.core.databinding.observable.value.IValueChangeListener... |
package gov.healthit.chpl.auth.user.dao.impl;
import gov.healthit.chpl.auth.user.User;
import gov.healthit.chpl.auth.user.UserImpl;
import gov.healthit.chpl.auth.user.UserRetrievalException;
import gov.healthit.chpl.auth.user.dao.UserDAO;
import java.util.List;
import javax.persistence.Query;
import org.springframework... |
package com.github.neunkasulle.chronocommand.control;
import com.github.neunkasulle.chronocommand.model.*;
import com.github.neunkasulle.chronocommand.model.Message;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.mail.*;
import javax.mail.internet.AddressException;
import javax.mail.internet.Inte... |
package com.github.sormuras.bach.internal;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
import com.github.sormuras.bach.Bach;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import java.nio.charset.StandardCharsets;
import java... |
package org.hanuna.gitalk.common.compressedlist;
import org.hanuna.gitalk.common.CacheGet;
import org.hanuna.gitalk.common.Get;
import org.hanuna.gitalk.common.compressedlist.generator.Generator;
import org.jetbrains.annotations.NotNull;
import java.util.AbstractList;
import java.util.ArrayList;
import java.util.List;
... |
package integratedtoolkit.util;
import integratedtoolkit.log.Loggers;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import javax.sound.sampled.Line;
import java.io.*;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.... |
/**
* Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*
* @generated
*/
package com.cinchapi.concourse.thrift;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.StandardScheme;
impor... |
package com.yahoo.vespa.model.admin.monitoring;
import java.util.Collections;
import java.util.LinkedHashSet;
import java.util.Set;
import static com.yahoo.vespa.model.admin.monitoring.DefaultVespaMetrics.defaultVespaMetricSet;
import static java.util.Collections.singleton;
/**
* Encapsulates vespa service metrics.
*... |
package xhl.core;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.Reader;
import java.util.List;
import java.util.ListIterator;
import java.util.Stack;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import xhl.core.Token.TokenType;
import xhl.core.elements.Position;
import com... |
import java.awt.geom.*;
import java.util.*;
public class PrioritySearchTree {
PSTNode[] heap;
public PrioritySearchTree(ArrayList<PSTPoint> points) {
if(points == null) return;
Collections.sort(points); // Sort by y-coordinate in increasing order
this.heap = new PSTNode[heapSize(treeHeight(points.si... |
package org.openhds.controller.service.impl;
import org.openhds.controller.service.SettingsService;
import org.openhds.domain.model.GeneralSettings;
import org.openhds.domain.service.SitePropertiesService;
public class SettingsServiceImpl implements SettingsService {
private SitePropertiesService siteProperties;
... |
package controllers;
import static models.QUser.user;
import static models.QRole.role1;
import java.io.UnsupportedEncodingException;
import java.math.BigInteger;
import java.security.SecureRandom;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import javax.inject.Inj... |
package org.andengine.engine;
import org.andengine.audio.music.MusicFactory;
import org.andengine.audio.music.MusicManager;
import org.andengine.audio.sound.SoundFactory;
import org.andengine.audio.sound.SoundManager;
import org.andengine.engine.camera.Camera;
import org.andengine.engine.handler.DrawHandlerList;
import... |
package org.jivesoftware.sparkimpl.certificates;
import java.awt.HeadlessException;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.security.KeyStore;
import java.security.KeyStoreException;
import java.security.NoSuchAlgorithmException;
import ja... |
package org.exist.xquery;
import org.exist.xquery.util.Error;
import org.exist.xquery.value.Item;
import org.exist.xquery.value.Sequence;
import org.exist.xquery.value.StringValue;
import org.exist.xquery.value.Type;
public class ConcatExpr extends PathExpr {
public ConcatExpr(XQueryContext context) {
super... |
package org.exist.xquery.value;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.exist.Namespaces;
import org.exist.dom.QName;
import org.exist.util.hashtable.Int2ObjectHashMap;
import org.exist.util.hashtable.Object2IntHashMap;
import org.exist.xquery.XPathException;
impor... |
package io.anyway.galaxy.proxy;
import javassist.*;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
public class ProxyFactory {
private static final ConcurrentMap<String, Class<?>> CLASSES = new ConcurrentHashMap<String, Class<?>>();
private static final ConcurrentMap<C... |
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* the project. */
package org.foximus.prime;
import com.sun.squawk.util.MathUtils;
import edu.wpi.first.wpilibj.IterativeRobot;
import edu.wpi.first.wpilibj.Jaguar;
import edu.... |
package org.hisp.dhis.android.core.enrollment;
import org.hisp.dhis.android.core.common.OrphanCleaner;
import org.hisp.dhis.android.core.common.State;
import org.hisp.dhis.android.core.data.database.DatabaseAdapter;
import org.hisp.dhis.android.core.event.Event;
import org.hisp.dhis.android.core.event.EventHandler;
imp... |
package org.jgroups.debug;
import org.jgroups.Address;
import org.jgroups.Event;
import org.jgroups.Message;
import org.jgroups.View;
import org.jgroups.stack.Protocol;
import org.jgroups.util.Queue;
import org.jgroups.util.QueueClosedException;
import java.util.HashMap;
import java.util.Iterator;
/**
* Tests one or m... |
package org.opentosca.toscana.core.transformation.logging;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.List;
import org.opentosca.toscana.core.BaseJUnitTest;
import ch.qos.logback.classic.Level;
import org.junit.... |
package net.java.sip.communicator.impl.gui.main.contactlist.contactsource;
import java.util.*;
import java.util.regex.*;
import net.java.sip.communicator.impl.gui.*;
import net.java.sip.communicator.service.contactlist.*;
import net.java.sip.communicator.service.contactsource.*;
import net.java.sip.communicator.service... |
package org.springframework.cloud.deployer.spi.openshift.maven;
import static org.junit.Assert.assertNotNull;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.StandardCopyOption;
import org.apache.maven.project.MavenProject;
import org.junit.Ig... |
package org.jgroups.protocols;
import org.jgroups.*;
import org.jgroups.annotations.*;
import org.jgroups.blocks.LazyRemovalSet;
import org.jgroups.stack.IpAddress;
import org.jgroups.stack.Protocol;
import org.jgroups.util.*;
import org.jgroups.util.UUID;
import java.io.DataInputStream;
import java.io.DataOutputStream... |
//package goplaces.selenium;
//import static org.junit.Assert.*;
//import java.io.File;
//import java.io.IOException;
//import org.apache.commons.io.FileUtils;
//import org.junit.After;
//import org.junit.Before;
//import org.junit.Test;
//import org.openqa.selenium.By;
//import org.openqa.selenium.OutputType;
//import... |
// $Id: TOTAL.java,v 1.2 2003/12/04 13:33:53 igeorg Exp $
package org.jgroups.protocols;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
import java.util.*;
import org.jgroups.*;
import org.jgroups.util.*;
import org.jgroups.stack.*;
import org.jgroups.log.Trace;
/**
* Implements t... |
package org.jboss.forge.arquillian;
import java.io.File;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.eclipse.aether.artifact.Artifact;
i... |
package org.nutz.mvc.upload;
import java.util.Map;
import java.util.Map.Entry;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.nutz.lang.util.NutMap;
/**
*
*
* @author zozoh(zozohtnt@gmail.com)
*/
public abstract class Uploads {
/**
* @param req
*
*... |
package verification.timed_state_exploration.zoneProject;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.Arrays;
import java.util.HashSet;
import java.... |
package org.obeonetwork.m2doc.provider.test;
import java.util.List;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Platform;
import org.junit.Before;
import org.junit.Test;
import org.obeonetwork.m2doc.provider.DeclaredProviderListener;
import org.obeonetwork.m2doc.test.ErrorLogListener;
impor... |
package org.vast.physics;
public class TimeExtent
{
protected double baseTime = Double.NaN;
protected double timeBias = 0;
protected double timeStep = 0;
protected double leadTimeDelta = 0;
protected double lagTimeDelta = 0;
protected boolean baseAtNow; // if true baseTime is associated to mach... |
package verification.timed_state_exploration.zoneProject;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import lpn.parser.ExprTree;
import lpn.parser.LhpnFile;
import lpn.parser.Transition;
import lpn.parser.... |
package org.zeroxlab.game;
import android.view.MotionEvent;
import android.os.SystemClock;
import com.stickycoding.rokon.Scene;
import com.stickycoding.rokon.Sprite;
import com.stickycoding.rokon.background.FixedBackground;
import com.stickycoding.rokon.TextureAtlas;
import com.stickycoding.rokon.Texture;
import com.st... |
package stallone.datasequence.io;
import java.io.*;
import java.nio.*;
import java.util.Arrays;
import java.util.BitSet;
import static stallone.api.API.*;
import stallone.api.doubles.IDoubleArray;
import stallone.api.io.IReleasableFile;
import stallone.doubles.fastutils.LongArrayList;
import stallone.io.CachedRandomAcc... |
package util;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
/*
* Date .
* DB Date SELECT to_char(date, 'YYYYMMDDHH24MI') FROM table
* Constructor
* 1) String type YYYYMMDDHH24MI
* 2) int year, int month, int day
* 3) Calendar
*
* 2017.10.17 / coding by K
* 2017.10.23... |
package hex.tree.isoforextended;
import water.MRTask;
import water.fvec.Chunk;
import water.fvec.Frame;
import water.fvec.NewChunk;
import water.util.CollectionUtils;
import water.util.RandomUtils;
import java.util.HashSet;
import java.util.Random;
public class SamplingUtils {
/**
*
* @param frame Frame ... |
package org.opencds.cqf.cql.elm.execution;
import org.opencds.cqf.cql.execution.Context;
import org.opencds.cqf.cql.runtime.Date;
import org.opencds.cqf.cql.runtime.DateTime;
import java.lang.reflect.InvocationTargetException;
// for Uncertainty
/*
CalculateAgeInYears(birthDate Date) Integer
CalculateAgeInYears(birthDa... |
package com.thinkaurelius.titan.hadoop.compat;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.mapreduce.JobContext;
import org.apache.hadoop.mapreduce.TaskAttemptContext;
import org.apache.hadoop.mapreduce.TaskAttemptID;
import org.apache.hadoop.mapreduce.TaskInputOutputContext;
import org.apache... |
package lucee.runtime.tag;
import java.io.IOException;
import java.util.Iterator;
import java.util.Map.Entry;
import javax.servlet.jsp.tagext.Tag;
import lucee.commons.lang.HTMLEntities;
import lucee.commons.lang.StringUtil;
import lucee.runtime.exp.ApplicationException;
import lucee.runtime.exp.ExpressionException;
im... |
package steamcondenser.steam;
import java.io.IOException;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.channels.DatagramChannel;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.util.concurrent... |
package com.careerServices.MainApp;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;
import java.sql.PreparedStatement;
import com.mysql.jdbc.jdbc2.optional.MysqlXADataSource;
public class DBtest
{
public static void main(String[] args)
{
MysqlXADataSource dataSource = n... |
package org.lwjgl.demo.vulkan;
import static org.lwjgl.system.MemoryUtil.*;
import static org.lwjgl.vulkan.EXTDebugReport.*;
import static org.lwjgl.vulkan.KHRSwapchain.*;
import static org.lwjgl.vulkan.KHRSurface.*;
import static org.lwjgl.vulkan.VK10.*;
import static org.lwjgl.vulkan.VKUtil.*;
import static org.lwjgl... |
package com.telefonica.iot.cygnus.sinks;
import static org.junit.Assert.*; // this is required by "fail" like assertions
import com.google.gson.JsonPrimitive;
import com.telefonica.iot.cygnus.aggregation.NGSIGenericAggregator;
import com.telefonica.iot.cygnus.containers.NotifyContextRequest;
import static com.telefonic... |
package com.xpn.xwiki.plugin.ldap;
import java.io.UnsupportedEncodingException;
import java.security.Security;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Enumeration;
import java.util.List;
import java.util.Set;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.... |
package solutions.alterego.androidbound.android.adapters;
import android.support.v4.util.Pair;
import android.support.v7.util.DiffUtil;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.StaggeredGridLayoutManager;
import android.util.SparseArray;
import android.view.ViewGroup;
import java.... |
package com.sequenceiq.sdx.api.model;
public enum SdxClusterStatusResponse {
REQUESTED,
WAIT_FOR_ENVIRONMENT,
ENVIRONMENT_CREATED,
STACK_CREATION_IN_PROGRESS,
STACK_CREATION_FINISHED,
STACK_DELETED,
STACK_DELETION_IN_PROGRESS,
EXTERNAL_DATABASE_CREATION_IN_PROGRESS,
EXTERNAL_DATABASE... |
package io.spine.server.storage.datastore.type;
import com.google.cloud.datastore.BaseEntity;
import com.google.cloud.datastore.Entity;
import com.google.cloud.datastore.Key;
import com.google.protobuf.AbstractMessage;
import com.google.protobuf.Timestamp;
import io.spine.core.Version;
import io.spine.core.Versions;
im... |
package org.openhab.binding.rme.handler;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.util.Enumeration;
import java.util.TooManyListenersException;
import org.apache.commons.io.IOUtils;
import org.eclips... |
package org.csstudio.trends.databrowser.ui;
import java.util.ArrayList;
import java.util.Timer;
import java.util.TimerTask;
import org.csstudio.apputil.ui.dialog.ErrorDetailDialog;
import org.csstudio.platform.data.ITimestamp;
import org.csstudio.platform.data.TimestampFactory;
import org.csstudio.platform.logging.Cent... |
package org.intermine.bio.dataconversion;
import java.io.BufferedReader;
import java.io.StringReader;
import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.Set;
import org.intermine.bio.io.gff3.GFF3Parser;
import org.intermine.dataconversion.ItemsTestCase;
import org.intermine.dataconversion.Mo... |
package gov.nci.nih.cagrid.tests.core.steps;
import gov.nci.nih.cagrid.tests.core.util.AntUtils;
import gov.nci.nih.cagrid.tests.core.util.FileUtils;
import gov.nci.nih.cagrid.tests.core.util.IntroduceServiceInfo;
import gov.nci.nih.cagrid.tests.core.util.SourceUtils;
import java.io.BufferedInputStream;
import java.io.... |
package org.eclipse.birt.chart.ui.swt.composites;
import java.io.BufferedInputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import org.apache.commons.codec.binary.Base64;
import org.eclipse.birt.... |
package org.eclipse.birt.chart.ui.swt.composites;
import java.io.BufferedInputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import org.apache.commons.codec.binary.Base64;
import org.eclipse.birt.... |
package edu.duke.cabig.c3pr.web.registration;
import java.util.Date;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.log4j.Logger;
import org.springframework.validation.BindException;
import org.springframework.web.servlet.ModelAndView;
import org.springfra... |
package com.archimatetool.editor.diagram.policies;
import java.util.List;
import org.eclipse.draw2d.IFigure;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.gef.GraphicalEditPart;
import org.eclipse.gef.Request;
import org.eclipse.gef.RequestConstants;
import org.eclipse.gef.commands.Command;
import org.eclipse... |
package org.apereo.cas.util.serialization;
import lombok.experimental.UtilityClass;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.apereo.cas.ticket.TicketGrantingTicket;
import org.apereo.cas.ticket.proxy.ProxyGrantingTicket;
import org.apereo.cas.util.InetAddressUtils;
impor... |
import junit.extensions.TestSetup;
import junit.framework.Test;
import junit.framework.TestSuite;
import java.util.List;
import java.util.ArrayList;
import java.util.Enumeration;
import com.thoughtworks.selenium.Selenium;
import com.thoughtworks.selenium.DefaultSelenium;
/**
* Starts the Browser only once per Test Sui... |
package com.eaglesakura.android.framework.support.ui;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v7.app.ActionBarActivity;
import android.util.Log;
import android.view.KeyEvent;
import com.eaglesakura.android.framework.support.ui.playservice.GoogleApiCl... |
package org.eclipse.birt.report.engine.data.dte;
import java.io.DataOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.logging.Level;
import org.eclipse.birt.core.archive.IDocArchiveReader;
import org.eclipse.bir... |
package es.tid.bdp.sftp.server.filesystem.hadoop;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import org.apache.hadoop.fs.FileStatus;
import org... |
package mil.nga.giat.geowave.datastore.accumulo.cli;
import java.io.IOException;
import mil.nga.giat.geowave.core.cli.CLIOperationDriver;
import mil.nga.giat.geowave.core.index.ByteArrayId;
import mil.nga.giat.geowave.core.store.DataStore;
import mil.nga.giat.geowave.core.store.adapter.DataAdapter;
import mil.nga.giat.... |
package com.dtflys.forest.backend.httpclient.response;
import com.dtflys.forest.exceptions.ForestRuntimeException;
import com.dtflys.forest.http.ForestRequest;
import com.dtflys.forest.http.ForestResponse;
import com.dtflys.forest.http.ForestResponseFactory;
import org.apache.commons.io.IOUtils;
import org.apache.http.... |
package org.eclipse.persistence.internal.oxm;
import java.util.Iterator;
import java.util.HashMap;
import java.util.Map;
import java.util.Vector;
import javax.xml.namespace.QName;
import org.eclipse.persistence.descriptors.ClassDescriptor;
import org.eclipse.persistence.descriptors.InheritancePolicy;
import org.eclipse... |
package org.eclipse.persistence.internal.oxm.record.json;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Properties;
import org.eclipse.persistence.internal.libraries.antlr.runtime.ANTLRInputS... |
package org.systemsbiology.addama.appengine.rest;
import com.google.appengine.tools.development.testing.LocalDatastoreServiceTestConfig;
import com.google.appengine.tools.development.testing.LocalMemcacheServiceTestConfig;
import com.google.appengine.tools.development.testing.LocalServiceTestHelper;
import com.google.a... |
package org.phenotips.variantStoreIntegration.internal;
import org.phenotips.variantStoreIntegration.VariantStoreService;
import org.phenotips.variantstore.VariantStore;
import org.phenotips.variantstore.db.solr.SolrController;
import org.phenotips.variantstore.input.tsv.ExomiserTSVManager;
import org.phenotips.variant... |
package org.jtalks.jcommune.web.controller;
import java.io.IOException;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import ja... |
package fi.otavanopisto.kuntaapi.server.rest;
import fi.otavanopisto.kuntaapi.server.rest.model.BadRequest;
import fi.otavanopisto.kuntaapi.server.rest.model.Service;
import fi.otavanopisto.kuntaapi.server.rest.model.Forbidden;
import fi.otavanopisto.kuntaapi.server.rest.model.NotImplemented;
import fi.otavanopisto.kun... |
package com.matthewtamlin.spyglass.library.default_annotations;
import com.matthewtamlin.java_utilities.testing.Tested;
import com.matthewtamlin.spyglass.library.default_adapters.DefaultToDimensionResourceAdapter;
import com.matthewtamlin.spyglass.library.meta_annotations.Default;
import java.lang.annotation.ElementTyp... |
package org.mifosplatform.portfolio.search.service;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Collection;
import org.mifosplatform.infrastructure.core.domain.JdbcSupport;
import org.mifosplatform.infrastructure.core.service.TenantAwareRoutingDataSource;
import org.mifosplatform.infrastru... |
package org.opencps.auth.security.authverifier;
import java.util.Properties;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.ws.rs.HttpMethod;
import org.osgi.service.component.annotations.Component;
import com.liferay.portal.kernel.log.Log;
import com.liferay.p... |
package com.intellij.openapi.diff.impl;
import junit.framework.TestCase;
public class IgnoreWhiteSpaceTest extends TestCase {
private ComparisonPolicy myPolicy;
public void t_estTrim() {
myPolicy = ComparisonPolicy.TRIM_SPACE;
Object[] keys = myPolicy.getLineWrappers(new String[]{"a b", " a b ", "\ta b", "a... |
package com.esri.geoevent.processor.motioncalculator;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Timer;
import java.util.TimerTask;
import java.util.concurrent.ConcurrentHashMap;
import org.apache.c... |
package org.opendaylight.ovsdb.openstack.netvirt.api;
import com.google.common.collect.Maps;
import java.util.Map;
/**
* Store configuration for each load balancer instance created.
*/
public class LoadBalancerConfiguration {
public static final String PROTOCOL_TCP = "TCP";
public static final String PROTOCOL... |
package ua.com.fielden.platform.domaintree.impl;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.