answer stringlengths 17 10.2M |
|---|
package brooklyn.cli;
import static org.testng.Assert.assertTrue;
import static org.testng.Assert.fail;
import groovy.lang.GroovyClassLoader;
import org.iq80.cli.Cli;
import org.iq80.cli.ParseException;
import org.testng.annotations.Test;
import brooklyn.cli.Main.BrooklynCommand;
import brooklyn.cli.Main.HelpCommand;
i... |
package com.psddev.dari.util;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicLong;
import java.u... |
package build.pluto.builder;
import java.io.File;
import java.io.IOException;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import build.pluto.BuildUnit;
import build.pluto.BuildUnit.State;
import build.pluto.dependency.BuildRe... |
package ca.cumulonimbus.pressurenetsdk;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.security.MessageDigest;
import java.util.ArrayList;
im... |
package ch.hsr.ifs.pystructure.playground;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import ch.hsr.ifs.pystructure.playground.WorkUnit.State;
import ch.hsr.ifs.pystructure.typeinference.evaluators.base.AbstractEvaluator;
import ch.hsr.ifs.pystructure.typeinferen... |
package server;
import static spark.Spark.init;
import static spark.Spark.port;
import static spark.Spark.threadPool;
import static spark.Spark.webSocket;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class SparkServer {
public static final Logger logger = LoggerFactory.getLogger(SparkServer.cla... |
package org.ibase4j.core.aspect;
import org.apache.commons.lang3.StringUtils;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Po... |
package roart.iclij.util;
import java.io.BufferedWriter;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.... |
package com.dmdirc;
import com.dmdirc.actions.ActionManager;
import com.dmdirc.actions.CoreActionType;
import com.dmdirc.config.IdentityManager;
import com.dmdirc.harness.TestActionListener;
import com.dmdirc.harness.parser.TestParserFactory;
import com.dmdirc.ui.dummy.DummyController;
import java.util.ArrayList;
impor... |
package info.limpet.data.operations;
import info.limpet.ICollection;
import info.limpet.IQuantityCollection;
import info.limpet.IStore.IStoreItem;
import info.limpet.data.store.InMemoryStore.StoreGroup;
import java.util.Iterator;
import java.util.List;
import javax.measure.unit.Dimension;
import javax.measure.unit.Unit... |
package com.intellij.codeInspection.ui;
import com.intellij.CommonBundle;
import com.intellij.analysis.AnalysisScope;
import com.intellij.codeHighlighting.HighlightDisplayLevel;
import com.intellij.codeInsight.daemon.GroupNames;
import com.intellij.codeInsight.daemon.HighlightDisplayKey;
import com.intellij.codeInsight... |
package edu.umd.cs.findbugs;
import java.io.IOException;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;
import edu.umd.cs.findbugs.xml.OutputStreamXMLOutput;
import edu.umd.cs.findbugs.xml.XMLAttributeList;
import edu.umd.cs.findbugs.xml.XMLOutput;
/**
* Report warnings as an XML document.
... |
package org.intermine.pathquery;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.intermine.metadata.Model;
import org.interm... |
package org.intermine.web.logic.session;
import java.util.AbstractList;
import java.util.Collection;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
import org.intermi... |
package org.intermine.web.logic.session;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
import javax.se... |
package joliex.io;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.FilenameFilter;
import java.io.IOException;
import java.util.regex.Pattern;
i... |
package org.jpos.q2;
import org.jdom2.Element;
import org.jpos.core.Configurable;
import org.jpos.core.Configuration;
import org.jpos.core.ConfigurationException;
import org.jpos.util.ConcurrentUtil;
import org.jpos.util.Log;
import org.jpos.util.LogEvent;
import org.jpos.util.Logger;
import java.beans.BeanInfo;
import... |
package org.sagebionetworks.doi;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import java.util.Calendar;
import java.util.Random;
import org.junit.Test;
import org.sagebionetworks.repo.mo... |
package com.vimeo.stag.processor;
import com.google.gson.Gson;
import com.google.gson.TypeAdapter;
import com.google.gson.TypeAdapterFactory;
import com.google.gson.reflect.TypeToken;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.squareup.javapoet.ClassName;
import com.s... |
package org.matrix.androidsdk.ssl;
import java.security.MessageDigest;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import java.util.Arrays;
import javax.net.ssl.TrustManager;
import javax.net.ssl.X509TrustManager;
/**
* Implements a TrustManager that checks Certificates a... |
package org.verapdf.metadata.fixer;
import org.apache.log4j.Logger;
import org.apache.pdfbox.cos.*;
import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.pdmodel.PDDocumentInformation;
import org.apache.pdfbox.pdmodel.common.PDMetadata;
import org.apache.pdfbox.util.DateConverter;
import org.apache.xmpb... |
package org.micromanager.acquisition;
import ij.process.LUT;
import java.awt.event.AdjustmentEvent;
import ij.CompositeImage;
import ij.ImagePlus;
import ij.gui.ImageWindow;
import ij.gui.ScrollbarWithLabel;
import ij.gui.StackWindow;
import ij.plugin.Animator;
import java.awt.Color;
import java.awt.event.AdjustmentLis... |
package com.autonomy.abc.selenium.page.search;
import com.autonomy.abc.selenium.element.Dropdown;
import com.autonomy.abc.selenium.language.LanguageDropdown;
import com.autonomy.abc.selenium.page.keywords.KeywordsContainer;
import com.autonomy.abc.selenium.page.keywords.SynonymGroup;
import com.autonomy.abc.selenium.ut... |
package org.vrjuggler.vrjconfig.ui;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Stack;
import javax.swing.*;
import javax.swing.event.UndoableEditEvent;
import javax.swing.event.UndoableEditListener;
import org.vrjuggler.tweek.eve... |
package com.sap.core.odata.fit.ref;
import static org.custommonkey.xmlunit.XMLAssert.assertXpathEvaluatesTo;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import org.apache.http.HttpResponse;
import org.custommonkey.xmlunit.XMLAssert;
import org.junit.Test;
import com.sap.core.... |
package de.geeksfactory.opacclient.apis;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.message.BasicNameValuePair;... |
package de.geeksfactory.opacclient.apis;
import org.joda.time.format.DateTimeFormat;
import org.joda.time.format.DateTimeFormatter;
import org.json.JSONException;
import org.json.JSONObject;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.nodes.FormElement;
impo... |
package org.epics.graphene;
import org.junit.AfterClass;
import org.junit.Test;
import static org.junit.Assert.*;
import org.junit.BeforeClass;
/**
*
* @author carcassi
*/
public class ArraysTest {
public ArraysTest() {
}
@BeforeClass
public static void setUpClass() throws Exception {
}
@Afte... |
//This file is part of the OpenNMS(R) Application.
//OpenNMS(R) is a derivative work, containing both original code, included code and modified
//and included code are below.
//OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
//This program is free software; you can redistribute it and/or modify
//(at yo... |
package org.psjava.solutions.site;
import java.io.ByteArrayInputStream;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Scanner;
import org.json.JSONArray;
import org.psjava.ds.array.DynamicArray;
import org.psjava.solutions.site... |
package org.psjava.solutions.site;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.util.ArrayList;
import java.util.Scanner;
import org.psjava.solutions.site.util.ZipUtil;
import org.psjava.util.DataKeeper;
import play.api.Play;
import play.cache.Cached;
import play.libs.F.Function;
import play.li... |
package org.kie.scanner;
import org.apache.maven.project.MavenProject;
import org.apache.maven.repository.internal.MavenRepositorySystemUtils;
import org.apache.maven.settings.Settings;
import org.apache.maven.wagon.Wagon;
import org.apache.maven.wagon.providers.http.HttpWagon;
import org.eclipse.aether.DefaultReposito... |
package app.abhijit.iter;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Paint;
import android.net.Uri;
import android.os.VibrationEffect;
import android.os.Vibrator;
import android.preference.PreferenceManager;
import android.support.ann... |
package com.ce.game.myapplication;
import android.os.SystemClock;
import android.support.annotation.IntDef;
import android.support.annotation.StringDef;
import android.view.View;
import android.view.animation.AlphaAnimation;
import android.view.animation.Animation;
import android.view.animation.ScaleAnimation;
import a... |
package com.example.sagar.helpthem;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.RelativeLayout;
public class MainPage extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceSt... |
package com.njlabs.showjava.ui;
import android.annotation.SuppressLint;
import android.content.Context;
import android.net.ConnectivityManager;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.Menu;
import android.view.MenuItem;
imp... |
package com.samourai.wallet;
import android.Manifest;
import android.animation.ObjectAnimator;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.BroadcastReceiver;
import android.content.ClipData;
import android.content.Context;
import android.content... |
package com.samourai.wallet;
import android.animation.ObjectAnimator;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import an... |
package com.samourai.wallet;
import android.Manifest;
import android.animation.ObjectAnimator;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.BroadcastReceiver;
import android.content.ClipData;
import android.content.Context;
import android.content... |
package com.ubb.app.activities;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Toast;
import com.shirwa.simplistic_rss.RssItem;
import com.ubb.app.R;
import com.ubb.app.models.News;
import com.ubb.app.models.NewsList;
import com.ubb.app.service... |
package io.github.berkantkz.klu;
import android.content.Context;
import android.support.annotation.NonNull;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import io.github.berkantkz.klu.R;
import java.util.... |
package jp.blanktar.ruumusic;
import java.io.File;
import java.util.Timer;
import java.util.TimerTask;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageButton;
import android.content.... |
package me.devsaki.hentoid.util;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import me.devsaki.hentoid.BuildConfig;
import timber.log.Timber;
public final class Preferences {
private static final int VERSION = 4;
private static SharedPre... |
package me.devsaki.hentoid.util;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Build;
import android.preference.PreferenceManager;
import android.text.TextUtils;
import com.annimon.stream.Stream;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
... |
package me.echeung.moemoekyun.utils;
import android.app.Activity;
import android.view.inputmethod.InputMethodManager;
public final class ImeUtil {
public static void hideSoftKeyboard(Activity activity) {
if (activity == null) {
return;
}
final InputMethodManager inputMethodManage... |
/**
* <b>{@link com.malhartech.lib.stream}</b> is a library operators for stream operations<p>
* <br>
* <br> The classes are<br>
* <b>{@link com.malhartech.lib.stream.ArrayListToItem}</b>: Takes in an ArrayList and emits each item in the array. Used for breaking up a ArrayList into Objects<br>
* <b>{@link com.malh... |
package org.dnd5spellbook;
import android.content.Intent;
import android.support.annotation.Nullable;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.ListFragment;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.LayoutInflater;
i... |
package com.qiniu.android.http.request;
import java.util.HashMap;
import java.util.Map;
public class Request {
public static final String HttpMethodHEAD = "HEAD";
public static final String HttpMethodGet = "GET";
public static final String HttpMethodPOST = "POST";
public static final String HttpMethodPU... |
package com.tonicartos.superslim;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.PointF;
import android.graphics.Rect;
import android.os.Build;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.v4.util.Spar... |
package com.tonicartos.superslim;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.PointF;
import android.graphics.Rect;
import android.os.Build;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.v7.widget.Li... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package nl.uva.cs.lobcder;
import com.sun.jersey.api.client.Client;
import com.sun.jersey.api.client.GenericType;
import com.sun.jersey.api.client.WebResource;
import com.sun.jersey.api.client.config.DefaultClientConfig;... |
package org.commcare.preferences;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.EditTextPreference;
import android.preference.Preference;
import android.preference.PreferenceManager;
import org.commcare.CommCareApp;
import org.commcare.CommCareApplication;
import org.comm... |
package app.abhijit.iter.models;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class SubjectTest {
@Test
public void generateBunkStats_NumberOfTotalClassesIsSmall_DoesNotContainRepeatedStats() {
Subject subject = new Subject();
subject.attendance = 100;
subje... |
package com.fsck.k9.activity;
import java.util.Collection;
import java.util.List;
import android.app.SearchManager;
import android.content.Context;
import android.content.Intent;
import android.content.IntentSender;
import android.content.IntentSender.SendIntentException;
import android.content.res.Configuration;
impor... |
package org.intermine.web.config;
/**
* Configuration information for exporting.
*
* @author Kim Rutherford
*/
public class Exporter
{
String id, actionPath, className;
/**
* Return the id of this Exporter.
* @return the id
*/
public String getId() {
return id;
}
/**
... |
package com.mongodb.rhino;
import java.util.Date;
import java.util.HashMap;
import java.util.regex.Pattern;
import org.bson.types.Binary;
import org.bson.types.ObjectId;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.NativeObject;
import org.mozilla.javascript.ScriptRuntime;
import org.mozilla.jav... |
package de.hska.ld.core;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.apache.commons.io.IOUtils;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.jun... |
package jade.android;
import jade.core.TimerDispatcher;
import jade.util.Logger;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
class AndroidTimerDispatcher e... |
package com.tns.bindings;
import java.util.*;
import org.ow2.asmdex.*;
import org.ow2.asmdex.structureCommon.*;
import com.tns.bindings.desc.ClassDescriptor;
import com.tns.bindings.desc.Descriptor;
import com.tns.bindings.desc.MethodDescriptor;
import com.tns.bindings.desc.reflection.ClassInfo;
import com.tns.bindings... |
package net.bytebuddy.asm;
import net.bytebuddy.description.annotation.AnnotationDescription;
import net.bytebuddy.description.field.FieldDescription;
import net.bytebuddy.description.method.MethodDescription;
import net.bytebuddy.description.method.MethodList;
import net.bytebuddy.description.method.ParameterDescripti... |
package aQute.bnd.differ;
import static aQute.bnd.service.diff.Delta.*;
import java.io.*;
import java.util.*;
import java.util.jar.*;
import java.util.regex.*;
import aQute.bnd.header.*;
import aQute.bnd.osgi.*;
import aQute.bnd.service.diff.*;
import aQute.bnd.service.diff.Tree.Data;
import aQute.bnd.version.*;
import... |
package ru.wapstart.plus1.sdk;
import android.content.Context;
import android.util.AttributeSet;
import android.util.Log;
import android.view.Gravity;
import android.view.View;
import android.view.animation.Animation;
import android.view.animation.TranslateAnimation;
import android.widget.Button;
import android.widget.... |
package org.teiid.metadata;
import java.util.ArrayList;
import java.util.Collection;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.TreeMap;
import java.util.UUID;
import org.teiid.connector.DataPlugin;
import org.t... |
package ru.ematveev;
import java.io.*;
import java.util.zip.Deflater;
import java.util.zip.ZipEntry;
import java.util.zip.ZipOutputStream;
/**
* @author Matveev Evgeny.
*/
public class ArchiverZipFile {
/**
* The file which needs to be eventually archived.
*/
private final File arhZip;
// /**
// ... |
package com.akjava.gwt.poseeditor.client;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import com.akjava.bvh.client.BVH;
import com.akj... |
package com.akjava.gwt.poseeditor.client;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.akjava.bvh.client.BVH;
import com.akjava.bvh.client.BVHMotion;
import com.akjava.bvh.client.BVHNode;
import com.akjava.bvh.client.BVHParser;
import com.akjava.bvh.clien... |
package com.ecyrd.jspwiki.auth.modules;
import com.ecyrd.jspwiki.auth.*;
import com.ecyrd.jspwiki.*;
import java.util.*;
import java.security.Principal;
import org.apache.log4j.Category;
import com.ecyrd.jspwiki.filters.BasicPageFilter;
import com.ecyrd.jspwiki.providers.ProviderException;
/**
* This implements an us... |
package com.ecyrd.jspwiki.ui.admin;
import java.lang.management.ManagementFactory;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import javax.management.*;
import org.apache.commons.lang.SystemUtils;
import org.apache.log4j.Logger;
import com.ecyrd.jspwiki.Re... |
package com.ecyrd.jspwiki.ui.admin;
import java.lang.management.ManagementFactory;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import javax.management.*;
import org.apache.commons.lang.SystemUtils;
import org.apache.log4j.Logger;
import com.ecyrd.jspwiki.Re... |
package com.itmill.toolkit.demo.sampler;
import java.util.HashMap;
import com.itmill.toolkit.demo.sampler.ActiveLink.LinkActivatedEvent;
import com.itmill.toolkit.demo.sampler.ActiveLink.LinkActivatedListener;
import com.itmill.toolkit.demo.sampler.SamplerApplication.SamplerWindow;
import com.itmill.toolkit.terminal.Ex... |
package com.jcwhatever.nucleus.utils.text;
import com.jcwhatever.nucleus.internal.NucLang;
import com.jcwhatever.nucleus.regions.data.SyncLocation;
import com.jcwhatever.nucleus.utils.CollectionUtils;
import com.jcwhatever.nucleus.utils.PreCon;
import com.jcwhatever.nucleus.utils.language.Localizable;
import com.jcwhat... |
package com.jetbrains.ther.run;
import com.intellij.execution.ExecutionException;
import com.intellij.execution.configurations.CommandLineState;
import com.intellij.execution.configurations.GeneralCommandLine;
import com.intellij.execution.configurations.ParametersList;
import com.intellij.execution.configurations.Para... |
// This is a OpenGL ES 1.0 dynamic font rendering system. It loads actual font
// files, generates a font map (texture) from them, and allows rendering of
// text strings.
// NOTE: the rendering portions of this class uses a sprite batcher in order
// provide decent speed rendering. Also, rendering assumes a BOTTOM-LEF... |
package com.loca.addressbook.userinterface;
import com.loca.addressbook.userinterface.commands.*;
import java.util.ArrayList;
public class HelpMenu {
private ArrayList<Command> commands;
private String menu = "";
public void ListCommands(){
commands.add(new AddContactCommand());
commands.add... |
package com.maddyhome.idea.vim.action.key;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.DataConstants;
import com.intellij.openapi.editor.Editor;
import com.maddyhome.idea.vim.KeyHandler;
import com.maddyhome.idea.vim... |
package com.vaadin.terminal.gwt.client;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import com.google.gwt.core.client.JsArrayString;
import com.google.gwt.dom.client.Document;
import com.google.gwt.dom.client.Element;
import com.google.gwt.dom.client.Style;
import com.google.gwt.dom.client.S... |
package nallar.tickthreading.patcher;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
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 com.google.common.... |
package net.hockeyapp.android;
import java.io.BufferedReader;
import java.io.File;
import java.io.FilenameFilter;
import java.io.InputStreamReader;
import java.lang.Thread.UncaughtExceptionHandler;
import java.util.ArrayList;
import java.util.List;
import org.apache.http.NameValuePair;
import org.apache.http.client.ent... |
package ASSET.Models.Sensor.Initial;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import ASSET.NetworkParticipant;
import ASSET.ParticipantType;
import ASSET.ScenarioType;
import ASSET.Models.Detection.DetectionEvent;
import ASSET.Models.Detection.DetectionList;
import ASSET.Model... |
package ASSET.Models.Sensor.Initial;
import ASSET.NetworkParticipant;
import ASSET.ParticipantType;
import ASSET.ScenarioType;
import ASSET.Models.Detection.DetectionEvent;
import ASSET.Models.Detection.DetectionList;
import ASSET.Models.Environment.EnvironmentType;
import ASSET.Models.Environment.SimpleEnvironment;
im... |
package org.zstack.longjob;
import org.apache.logging.log4j.ThreadContext;
import org.springframework.beans.factory.annotation.Autowired;
import org.zstack.core.Platform;
import org.zstack.core.cloudbus.CloudBus;
import org.zstack.core.cloudbus.ResourceDestinationMaker;
import org.zstack.core.db.DatabaseFacade;
import ... |
package org.mwc.debrief.core.editors;
import java.util.Comparator;
import java.util.Iterator;
import java.util.Set;
import java.util.TreeSet;
import java.util.Vector;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.commands.operations.AbstractOperation;
import org.eclipse.core.runtime.IAdap... |
package com.echsylon.atlantis;
import android.content.Context;
import com.echsylon.atlantis.internal.Utils;
import java.io.File;
import java.io.IOException;
import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
import static com.echsylon.atlantis.in... |
package org.pentaho.cdf;
import java.io.IOException;
import java.io.OutputStream;
import java.lang.reflect.Method;
import java.net.URLDecoder;
import java.security.InvalidParameterException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.UUID;
import javax.servlet.h... |
package com.leakedbits.codelabs;
import java.util.ArrayList;
import java.util.List;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Screen;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.g2d.TextureAtlas;
import com.badlogic.gdx.math.Interpolation;
import com.... |
package io.bitsquare.app;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class Version {
private static final Logger log = LoggerFactory.getLogger(Version.class);
// The application versions
public static final String VERSION = "0.4.9.5";
// The version nr. for the objects sent over the... |
package fredboat.util;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.util.Properties;
public class GitRepoState {
private static final Logger log = LoggerFactory.getLogger(GitRepoState.class);
public static GitRepoState getGitRepositoryState() {
return ... |
package cx2x.translator.language;
import static org.junit.Assert.*;
import cx2x.translator.language.helper.accelerator.AcceleratorDirective;
import cx2x.translator.language.helper.accelerator.AcceleratorGenerator;
import cx2x.translator.language.helper.accelerator.AcceleratorHelper;
import cx2x.translator.language.help... |
package jpower.core.utils;
import java.io.*;
import java.util.ArrayList;
import java.util.List;
import java.util.function.Consumer;
public class IOUtils
{
/**
* Retrieves a Resource as a String if exists, else returns null
*
* @param clazz class to get resource for
* @param resource resource name
... |
package net.ontrack.web.ui;
import com.google.common.base.Function;
import com.google.common.collect.Lists;
import net.ontrack.core.model.Entity;
import net.ontrack.core.model.EntityStub;
import net.ontrack.core.model.EventFilter;
import net.ontrack.core.model.ExpandedEvent;
import net.ontrack.core.support.TimeUtils;
i... |
package com.lyndir.lhunath.opal.math;
import static com.lyndir.lhunath.opal.system.util.StringUtils.*;
import com.lyndir.lhunath.opal.system.util.ObjectMeta;
import javax.annotation.Nonnull;
/**
* @author lhunath, 2/13/2014
*/
public class Vec2Hex extends Vec2 {
@ObjectMeta(ignoreFor = ObjectMeta.For.toString)
... |
package org.redmine.ta;
import java.io.IOException;
import java.util.Date;
import java.util.List;
import org.redmine.ta.beans.Issue;
import org.redmine.ta.beans.TimeEntry;
import org.redmine.ta.beans.User;
import org.redmine.ta.internal.RedmineXMLGenerator;
import org.redmine.ta.internal.RedmineXMLParser;
public class ... |
package be.ibridge.kettle.core.dialog;
import java.util.List;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.ShellAdapter;
import org.eclipse.swt.events.ShellEvent;
import org.eclipse.swt.graphics.Rectangle;
import org.eclipse.swt.layout.FormAttachment;
import org.eclipse.swt.layout.FormData;
import org.ecli... |
package beast.evolution.tree.coalescent;
import beast.core.*;
import beast.core.Input.Validate;
import beast.core.parameter.IntegerParameter;
import beast.evolution.tree.Tree;
import beast.evolution.tree.TreeDistribution;
import beast.math.Binomial;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.... |
package ca.eandb.jmist.framework.scene;
import java.util.Random;
import ca.eandb.jmist.framework.Bounded3;
import ca.eandb.jmist.framework.BoundingBoxBuilder3;
import ca.eandb.jmist.framework.Intersection;
import ca.eandb.jmist.framework.IntersectionRecorder;
import ca.eandb.jmist.framework.Light;
import ca.eandb.jmist... |
package dyvil.tools.dpf.converter.string;
import dyvil.io.FileUtils;
import dyvil.tools.dpf.ast.RootNode;
import dyvil.tools.dpf.visitor.*;
import dyvil.tools.parsing.marker.BaseMarkers;
import dyvil.tools.parsing.TokenIterator;
import dyvil.tools.parsing.lexer.BaseSymbols;
import dyvil.tools.parsing.lexer.DyvilLexer;
... |
package dr.app.beagle.tools;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import beagle.Beagle;
import beagle.BeagleFactory;
import dr.app.beagle.evomodel.sitemodel.BranchSubstitutionModel;
import dr.app.beagle.evomodel.sitemodel.EpochBranchSubstitutionModel;
import dr.app.beagle.evomodel... |
package dr.app.beauti.tipdatepanel;
import dr.app.beauti.options.DateGuesser;
import dr.app.beauti.options.STARBEASTOptions;
import dr.app.beauti.util.TextUtil;
import dr.app.gui.components.RealNumberField;
import figtree.treeviewer.TreeViewer;
import jam.mac.Utils;
import jam.panels.OptionsPanel;
import javax.swing.*;... |
package com.ihtsdo.snomed.dto.refset;
import com.google.common.base.Objects;
import com.google.common.primitives.Longs;
import com.ihtsdo.snomed.model.Concept;
public class ConceptDto {
public ConceptDto(){}
public ConceptDto(Long id){
this.id = id;
}
private Long id;
private String title;
... |
package edu.mit.streamjit.impl.common;
import com.google.common.base.Function;
import static com.google.common.base.Preconditions.*;
import com.google.common.base.Strings;
import com.google.common.collect.BoundType;
import com.google.common.collect.ComparisonChain;
import com.google.common.collect.ImmutableList;
import... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.