answer stringlengths 17 10.2M |
|---|
package org.robovm.bindings.mopub;
import org.robovm.cocoatouch.coregraphics.CGRect;
import org.robovm.cocoatouch.foundation.NSAutoreleasePool;
import org.robovm.cocoatouch.uikit.UIApplication;
import org.robovm.cocoatouch.uikit.UIApplicationDelegate;
import org.robovm.cocoatouch.uikit.UIColor;
import org.robovm.cocoat... |
/* -*- mode: jde; c-basic-offset: 2; indent-tabs-mode: nil -*- */
package cc.arduino.packages.uploaders;
import cc.arduino.packages.Uploader;
import processing.app.*;
import processing.app.debug.RunnerException;
import processing.app.debug.TargetPlatform;
import processing.app.helpers.PreferencesMap;
import processing.... |
package tech.pinto.tests;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import tech.pinto.Pinto;
import tech.pinto.TimeSeries;
import tech.pinto.time.PeriodicRange;
import static org.junit.Assert.*;
import java.util.List;
import java.util.concurren... |
package org.eigenbase.sql;
import java.sql.*;
import java.text.SimpleDateFormat;
import java.util.*;
import java.util.regex.*;
/**
* <code>SqlDialect</code> encapsulates the differences between dialects of SQL.
*
* <p>It is used by classes such as {@link SqlWriter} and
* {@link org.eigenbase.sql.util.SqlBuilder}.
... |
package com.ecaresoft.cumulus;
import android.content.res.ColorStateList;
import android.graphics.Color;
import android.support.design.widget.NavigationView;
import android.support.v4.widget.DrawerLayout;
import android.os.Bundle;
import android.support.v7.app.ActionBarDrawerToggle;
import android.support.v7.app.AppCom... |
package com.artifex.mupdfdemo;
import java.util.LinkedList;
import java.util.NoSuchElementException;
import android.content.Context;
import android.graphics.Point;
import android.graphics.Rect;
import android.util.AttributeSet;
import android.util.SparseArray;
import android.view.GestureDetector;
import android.view.Mo... |
package fi.hu.cs.titokone.resources;
import java.util.ListResourceBundle;
/** This translation is what all translations should be based on. It
translates keys to plain English. Note that not all keys are equal
to their values; the key may contain a specification part which
should not be translated. The spec... |
package com.mhalka.babytracker;
import android.annotation.SuppressLint;
import android.app.ActionBar;
import android.app.Activity;
import android.app.AlarmManager;
import android.app.AlertDialog;
import android.app.PendingIntent;
import android.content.Context;
import android.content.DialogInterface;
import android.con... |
package sketch.avengergear.com;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.os.RemoteException;
import android.app.Activity;
import android.os.Bundle;
import android.util.Base64;
import android.util.Log;
import android.widget.TextView;
import org.spongycastle.jce... |
package com.mikepenz.unsplash.models;
import android.support.v7.graphics.Palette;
import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;
public class Image implements Serializable {
private static final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
private String col... |
package com.pr0gramm.app.ui;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.text.util.Linkify;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.google.co... |
package com.samourai.wallet.api;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.os.Handler;
import android.os.Looper;
import android.util.Log;
import com.samourai.wallet.JSONRPC.JSONRPC;
import com.samourai.wallet.JSONR... |
package com.turo.ktalk.model;
import android.content.Context;
import android.content.Intent;
import android.support.v4.content.LocalBroadcastManager;
import com.hyphenate.EMContactListener;
import com.hyphenate.EMGroupChangeListener;
import com.hyphenate.chat.EMClient;
import com.turo.ktalk.model.bean.GroupInfo;
import... |
package com.veyndan.paper.reddit.util;
import android.support.annotation.IntRange;
import android.support.annotation.NonNull;
import rx.Observable;
public abstract class Node<T> {
@IntRange(from = 0) private int depth;
@NonNull private Observable<Boolean> trigger = Observable.empty();
@NonNull private Obser... |
package com.zhang.videoplayer;
import android.media.MediaPlayer;
import android.net.Uri;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.SurfaceHolder;
import android.view.SurfaceView;
import android.view.View;
import and... |
package fr.ydelouis.selfoss.entity;
import android.os.Parcel;
import android.os.Parcelable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
import org.apache.comm... |
package io.scrollback.app;
import android.app.IntentService;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.NotificationCompat;
import android.util.Log;
import android.widget... |
package it.unical.mat.embasp.asp;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.Map;
public class ASPMapper {
private static ASPMapper mapper;
private Map<String,Class<?>> predicateClass;
privat... |
package org.chaos.fx.cnbeta.net;
import org.chaos.fx.cnbeta.net.model.ArticleSummary;
import org.chaos.fx.cnbeta.net.model.Comment;
import org.chaos.fx.cnbeta.net.model.HotComment;
import org.chaos.fx.cnbeta.net.model.NewsContent;
import org.chaos.fx.cnbeta.net.model.Topic;
import java.util.List;
import retrofit.Call;
... |
package septemberpack.september;
import android.graphics.Bitmap;
import android.graphics.Canvas;
public class Background {
Bitmap bitmap;
int x, y, dy;
public Background(Bitmap bmp){
bitmap = bmp;
x = 0;
y = 0;
dy = GamePanel.speed;
}
public void draw(Canvas canvas){
... |
package com.me.mylolgame;
// TODO: Separate Controls into Inputs and Outputs
// TODO: replace flipped hack with forward and backward animations
// TODO: add a way to have multiple screens in the introduction to a level
// TODO: should we have multiple GestureActions for a level, e.g., to handle multiple flings?
// TODO... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jme3test.bullet;
import com.jme3.asset.AssetManager;
import com.jme3.bullet.PhysicsSpace;
import com.jme3.bullet.PhysicsTickListener;
import com.jme3.bullet.collision.PhysicsCollisionEvent;
import com.jme3.bullet... |
//@author A0116538A
package bakatxt.test;
import static java.awt.event.KeyEvent.*;
import java.awt.AWTException;
import java.awt.Robot;
import java.awt.event.InputEvent;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import bakatxt.core.BakaProcessor;
import baka... |
/* Mnemonic.java */
import java.util.Arrays;
/**
* A class to define constant ints to represent mnemonics, and to
* provide conversion methods between int and String representations.
*/
public class Mnemonic {
/**
* The heart of the class - an array of mnemonics.
* NOTE: must be lexicographically order... |
package convwatch;
// imports
import java.util.Enumeration;
import java.io.File;
import java.io.FileFilter;
import java.util.ArrayList;
import com.sun.star.lang.XMultiServiceFactory;
import convwatch.DirectoryHelper;
import convwatch.OfficePrint;
import convwatch.ConvWatchException;
import convwatch.EnhancedComplexTest... |
package com.vrg.rapid;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.net.HostAndPort;
import com.google.common.util.concurrent.FutureCallback;
import com.google.common.util.concurrent.Futures;
import com.google.common.util.concurrent.ListenableFuture;
import com.google.common.util.con... |
package raptor.swt;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Comparator;
import java.util.List;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.CLabel;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.Selec... |
package bobby.main;
import bobby.state.GameStateManager;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.image.BufferedImage;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JPanel;
/**
*
* @author Kiarash Korki <ki... |
/**
* The traditional 8x8 chess board with pieces.
*/
package games.chess;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import org.json.JSONObject;
import joueur.Client;
import joueur.BaseGame;
import joueur.BaseGameObject;
// <<-- Creer-Merge: imports -->> - Code... |
import java.net.*;
import java.io.*;
import java.util.*;
import org.xbill.DNS.*;
import org.xbill.DNS.utils.*;
/** @author Brian Wellington <bwelling@xbill.org> */
public class update {
Message query, response;
Resolver res;
String server = null;
Name origin, zone;
int defaultTTL;
short defaultClass = DClass.IN;
... |
package com.chrisdmilner.webapp;
import org.json.JSONException;
import org.json.JSONObject;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import static org.junit.Assert.*;
public class AnalyserTest {
@org.junit.Test
public void analy... |
import java.util.*;
import java.lang.*;
import java.io.*;
class Test {
public int value;
public int index;
}
class TestComparator implements Comparator<Test> {
public int compare(Test a, Test b) {
if (a.value < b.value) return -1;
if (a.value > b.value) return 1;
return 0;
}
}
// structu... |
package org.batfish.client;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintStream;
import java.io.PrintWriter;
impo... |
package org.xbill.DNS;
/**
* DNS Name Compression object.
* @see Name
*
* @author Brian Wellington
*/
class Compression {
private class Entry {
Name name;
int pos;
Entry next;
}
private static final int TABLE_SIZE = 17;
private Entry [] table;
private boolean verbose = Options.check("verbosecompression... |
package com.stratio.specs;
import static org.assertj.core.api.Assertions.assertThat;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Future;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.interactions.Actions;
import org.openqa.selenium.... |
package cgeo.geocaching.maps.routing;
import cgeo.geocaching.CgeoApplication;
import cgeo.geocaching.location.Geopoint;
import cgeo.geocaching.settings.Settings;
import cgeo.geocaching.utils.Log;
import android.content.Context;
import android.content.ContextWrapper;
import android.content.Intent;
import android.os.Bund... |
package org.digidoc4j.impl;
import eu.europa.ec.markt.dss.DSSUtils;
import eu.europa.ec.markt.dss.exception.DSSException;
import eu.europa.ec.markt.dss.signature.DSSDocument;
import eu.europa.ec.markt.dss.signature.asic.ASiCService;
import eu.europa.ec.markt.dss.signature.token.Constants;
import eu.europa.ec.markt.dss.... |
package com.badlogic.gdx.utils;
import com.badlogic.gdx.utils.JsonWriter.OutputType;
/** Container for a JSON object, array, string, double, long, boolean, or null.
* <p>
* Iteration of arrays or objects is easily done using a for loop:<br>
*
* <pre>
* JsonValue map = ...;
* for (JsonValue entry = map.child(); en... |
package jordan.bettercraft.init;
import jordan.bettercraft.init.blocks.CustomBlock;
import jordan.bettercraft.init.blocks.crops.LettucePlant;
import jordan.bettercraft.init.blocks.crops.StrawberryPlant;
import jordan.bettercraft.init.blocks.crops.SweetcornPlant;
import jordan.bettercraft.init.blocks.crops.TomatoPlant;
... |
package com.joelapenna.foursquare;
import com.joelapenna.foursquare.error.FoursquareCredentialsException;
import com.joelapenna.foursquare.error.FoursquareError;
import com.joelapenna.foursquare.error.FoursquareException;
import com.joelapenna.foursquare.types.Checkin;
import com.joelapenna.foursquare.types.CheckinResu... |
package com.takwolf.digest;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
public final class Digest {
public static final Digest MD2 = new Digest(Algorithm.MD2);
public static final Digest MD5 = new Digest(Algorithm.MD5);
public static final Digest SHA1 = new Digest(Algo... |
package com.intellij.codeInsight.actions;
import com.intellij.codeInsight.CodeInsightBundle;
import com.intellij.codeInsight.CodeInsightUtilBase;
import com.intellij.lang.LanguageFormatting;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.application.ModalityState;
import com.int... |
package org.infinispan.demo;
import org.infinispan.Cache;
import org.infinispan.configuration.cache.Configuration;
import org.infinispan.configuration.cache.ConfigurationBuilder;
import org.infinispan.manager.DefaultCacheManager;
import org.infinispan.manager.EmbeddedCacheManager;
public class CacheListener {
publi... |
package liquibase.integration.ant;
import liquibase.resource.FileSystemResourceAccessor;
import liquibase.util.StringUtil;
import org.apache.tools.ant.AntClassLoader;
import java.io.File;
public class AntResourceAccessor extends FileSystemResourceAccessor {
public AntResourceAccessor(AntClassLoader classLoader, Str... |
package com.facebook.litho.processor;
import javax.annotation.processing.ProcessingEnvironment;
import javax.lang.model.element.Element;
import javax.lang.model.element.ExecutableElement;
import javax.lang.model.element.Modifier;
import javax.lang.model.element.TypeElement;
import javax.lang.model.element.VariableEleme... |
// Scope.java
package ed.js.engine;
import java.lang.reflect.*;
import java.util.*;
import ed.js.*;
import ed.js.func.*;
public class Scope {
public static Scope GLOBAL = new Scope( "GLOBAL" , JSBuiltInFunctions._myScope );
static {
GLOBAL._locked = true;
GLOBAL._global = true;
}
static... |
import java.io.BufferedWriter;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.Writer;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;
import org.json.JSONArray;
import org.j... |
package data;
import java.io.Serializable;
import java.util.List;
import javax.enterprise.context.SessionScoped;
import javax.enterprise.inject.Default;
import javax.inject.Named;
import org.apache.deltaspike.data.api.EntityRepository;
import org.apache.deltaspike.data.api.Query;
import org.apache.deltaspike.data.api.R... |
package mirror;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.CountDownLatch;
import java.util.jar.Manifest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.githu... |
package org.jdbdt;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintStream;
import java.sql.Timestamp;
import java.util.Arrays;
import java.util.IdentityHashMap;
import java.util.Iterator;
import java.util.List;
import java.util.function.Function;
import javax.xml.parsers.DocumentBuilder;
... |
package jade.core;
import jade.util.leap.Serializable;
import java.io.InputStream;
import java.io.ObjectInput;
import java.io.ObjectInputStream;
import java.io.OutputStream;
import java.io.ObjectOutput;
import java.io.ObjectOutputStream;
import java.io.IOException;
import java.io.InterruptedIOException;
import jade.uti... |
package jade.core;
import java.io.Reader;
import java.io.StringReader;
import java.io.StringWriter;
import java.io.Serializable;
import java.util.Date;
import java.util.Enumeration;
import java.util.Vector;
import jade.lang.acl.*;
import jade.domain.AgentManagementOntology;
import jade.domain.FipaRequestClientBehaviour... |
package xal.app.bpmviewer;
import javax.swing.*;
import javax.swing.event.*;
import java.awt.event.*;
import java.net.*;
import xal.extension.application.*;
import xal.extension.smf.application.AcceleratorApplication;
/**
* BpmViewerMain is a concrete subclass of ApplicationAdaptor for the bpmViewer
* application.
... |
package org.commcare.dalvik.dialogs;
/**
* @author amstone326
*/
public interface DialogController {
/** Should call generateProgressDialog to obtain an instance of a dialog
* for the given taskId, and then call show on that dialog fragment */
void showProgressDialog(int taskId);
/** Should dismiss t... |
package jodd.joy.core;
import jodd.db.DbDefault;
import jodd.db.DbSessionProvider;
import jodd.db.connection.ConnectionProvider;
import jodd.db.oom.DbOomManager;
import jodd.db.oom.config.AutomagicDbOomConfigurator;
import jodd.db.pool.CoreConnectionPool;
import jodd.joy.exception.AppException;
import jodd.joy.jtx.meta... |
package com.wavefront.agent;
import com.google.common.base.Charsets;
import com.google.common.base.Joiner;
import com.google.common.base.Strings;
import com.google.common.base.Throwables;
import com.google.common.io.Files;
import com.google.gson.Gson;
import com.beust.jcommander.JCommander;
import com.beust.jcommander.... |
package configgen;
import configgen.data.Datas;
import configgen.define.ConfigCollection;
import configgen.gen.CachedFileOutputStream;
import configgen.gen.Generator;
import configgen.type.Cfgs;
import configgen.value.CfgVs;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.fil... |
package io.github.javageeks.mase.repository;
import io.github.javageeks.mase.model.Todo;
import org.springframework.data.mongodb.repository.MongoRepository;
import java.util.List;
/**
* Interface for todo repository.
*/
public interface TodoRepository extends MongoRepository<Todo, String> {
/**
* Find todo l... |
package com.codahale.metrics.ganglia;
import com.codahale.metrics.*;
import info.ganglia.gmetric4j.gmetric.GMetric;
import info.ganglia.gmetric4j.gmetric.GMetricSlope;
import info.ganglia.gmetric4j.gmetric.GMetricType;
import info.ganglia.gmetric4j.gmetric.GangliaException;
import org.slf4j.Logger;
import org.slf4j.Log... |
package com.github.dreamhead.moco.action;
import com.github.dreamhead.moco.HttpHeader;
import com.github.dreamhead.moco.HttpMethod;
import com.github.dreamhead.moco.HttpProtocolVersion;
import com.github.dreamhead.moco.MocoConfig;
import com.github.dreamhead.moco.MocoEventAction;
import com.github.dreamhead.moco.MocoEx... |
package hex.tree.gbm;
import hex.Model;
import hex.schemas.GBMV2;
import hex.tree.*;
import hex.tree.DTree.DecidedNode;
import hex.tree.DTree.LeafNode;
import hex.tree.DTree.UndecidedNode;
import water.*;
import water.fvec.Chunk;
import water.fvec.Vec;
import water.util.Log;
import water.util.Timer;
import water.util.A... |
package name.abuchen.portfolio.model;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.Comparator;
import java.util.ResourceBundle;
import name.abuchen.portfolio.money.Money;
import name.abuchen.portfolio.money.MoneyCollectors;
public class AccountTransaction extends Transaction
{
public en... |
package water.api;
import water.*;
import water.H2O.H2OCountedCompleter;
import water.exceptions.H2OIllegalArgumentException;
import water.exceptions.H2OKeyNotFoundArgumentException;
import water.exceptions.H2OKeyWrongTypeArgumentException;
import water.util.Log;
import water.util.PojoUtils;
import water.util.Reflectio... |
package net.nemerosa.ontrack.model.security;
import lombok.Data;
import java.io.Serializable;
import java.util.Set;
/**
* A global role defines the association between a name, a set of
* {@linkplain net.nemerosa.ontrack.model.security.GlobalFunction global functions}
* and a set of {@linkplain net.nemerosa.ontrack.m... |
package rxbonjour;
import android.content.Context;
import android.os.Build;
import rxbonjour.exc.TypeMalformedException;
import rxbonjour.internal.BonjourDiscovery;
import rxbonjour.internal.BonjourSchedulers;
import rxbonjour.internal.JBBonjourDiscovery;
import rxbonjour.internal.SupportBonjourDiscovery;
import rxbonj... |
import java.io.IOException;
import java.lang.Integer;
import java.util.*;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.io.*;
//import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Job;
import org.apache.ha... |
package org.opennms.web.rest;
import java.text.ParseException;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
im... |
package org.eclipse.egit.ui.internal.commit;
import static java.util.Arrays.asList;
import static org.eclipse.egit.ui.UIPreferences.THEME_DiffAddBackgroundColor;
import static org.eclipse.egit.ui.UIPreferences.THEME_DiffRemoveBackgroundColor;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Coll... |
package org.eclipse.jdt.ls.core.internal;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.io.ByteArrayOutputStream;
import java.io.File... |
package org.jerkar.api.depmanagement;
import java.io.Serializable;
/**
* Defines filter to accept or not module to be published on a given
* {@link JkPublishRepo}
*
* @author Jerome Angibaud
*/
@FunctionalInterface
public interface JkPublishFilter extends Serializable {
/**
* Returns <code>true</code> if ... |
package Debrief.ReaderWriter.Word;
import java.awt.Color;
import java.text.DateFormat;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import Debrief.GUI.Frames.Application;
import Debrief.Wrappers.FixWrapper;
import Debrief.Wrappers.TrackWrapper;
import MWC.GU... |
package io.spine.protobuf;
import com.google.common.base.Converter;
import com.google.common.base.Function;
import com.google.common.collect.ImmutableMap;
import com.google.protobuf.Any;
import com.google.protobuf.BoolValue;
import com.google.protobuf.ByteString;
import com.google.protobuf.BytesValue;
import com.google... |
package org.jfree.chart;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.jfree.chart.annotations.AnnotationsPackageTests;
import org.jfree.chart.axis.AxisPackageTests;
import org.jfree.chart.block.BlockPackageTests;
import org.jfree.chart.entity.EntityPackageTe... |
// checkstyle: Checks Java source code for adherence to a set of rules.
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// This library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE... |
package com.intellij.ui.popup;
import com.intellij.openapi.actionSystem.DataContext;
import com.intellij.openapi.actionSystem.DataProvider;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.ui.popup.*;
impor... |
package jp.wizcorp.phonegap.plugin.wizViewManager;
import android.app.Activity;
import android.content.res.AssetManager;
import android.graphics.Color;
import android.os.Build;
import android.view.Gravity;
import android.view.ViewGroup;
import android.webkit.MimeTypeMap;
import android.widget.RelativeLayout;
import org... |
package org.eclipse.xtext.scoping.impl;
import java.util.Collection;
import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.Map;
import org.eclipse.xtext.naming.QualifiedName;
import org.eclipse.xtext.resource.IEObjectDescription;
import org.eclipse.xtext.scoping.IScope;
import com.google.common... |
package biz.aQute.resolve;
import static test.lib.Utils.createRepo;
import java.io.File;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.L... |
package org.intermine.bio.web.logic;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import org.intermine.objectstore.query.BagConstraint;
import org.intermine.objectstore.query.ConstraintOp;
import org.intermine.objectstore.query.ConstraintSet;
import org.intermine.objectstore.query... |
package barbarahliskov.cambialibros;
import android.content.Intent;
import android.os.AsyncTask;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.AdapterView;
import android.widget.Button;
import android.widget.CheckBox;
... |
package com.ibm.mil.cafejava;
import android.content.Context;
import com.google.gson.Gson;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import com.worklight.wlclient.api.WLClient;
import com.worklight.wlclient.api.WLFailResponse;
import com.worklight.wlclient... |
package mondrian.util;
import mondrian.olap.Util;
import java.util.*;
import junit.framework.TestCase;
/**
* Test case for {@link ObjectPool}.
*
* @version $Id$
* @author Richard Emberson
*/
public class ObjectPoolTest extends TestCase {
public ObjectPoolTest() {
super();
}
public ObjectPoolTes... |
package com.hhl.tubatu;
import android.content.Context;
import android.support.v4.view.ViewPager;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
public class ClipViewPager extends ViewPager {
public ClipViewPager(Context context) {
super(context);
}
publ... |
package com.project.distractless;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.content.Intent;
import android.content.SharedPreferences;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.view.ViewAni... |
package com.unipad.http;
public class HttpConstant {
public static final String LOGIN = "/api/user/login";
public static final String GET_USER_GAME_LIST = "/api/match/getMatchByUser";
public static String Regist = "/api/user/regist";
public static String UPLOAD = "/api/file/upload";
public static St... |
package de.sopa.scene.game;
import de.sopa.model.game.GameService;
import de.sopa.model.game.Level;
import de.sopa.observer.GameSceneObserver;
import de.sopa.scene.BaseScene;
import org.andengine.engine.handler.timer.ITimerCallback;
import org.andengine.engine.handler.timer.TimerHandler;
import org.andengine.entity.sce... |
package gc.david.dfm.ui;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.app.SearchManager;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Int... |
package mystikos.pollen;
import android.os.StrictMode;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gs... |
package ucar.nc2.iosp.nids;
import junit.framework.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ucar.ma2.Array;
import ucar.ma2.ArrayStructure;
import ucar.ma2.StructureData;
import ucar.nc2.*;
import ucar.unidata.util.test.TestDir;
import java.io.*;
import java.lang.invoke.MethodHandles;
public c... |
package ucar.nc2.dataset;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.MultiThreadedHttpConnectionManager;
import org.apache.commons.httpclient.Header;
import org.apache.commons.httpclient.cookie.CookiePolicy;
import org.apache.commons.httpclient.methods.GetMethod;
import org.ap... |
package net.alphadev.usbstorage;
import android.content.Context;
import android.hardware.usb.UsbConstants;
import android.hardware.usb.UsbDevice;
import android.hardware.usb.UsbDeviceConnection;
import android.hardware.usb.UsbEndpoint;
import android.hardware.usb.UsbInterface;
import android.hardware.usb.UsbManager;
im... |
package universalcoins.net;
import cpw.mods.fml.common.FMLLog;
import universalcoins.UCTileEntity;
import universalcoins.UCTradeStationGUI;
import universalcoins.UniversalCoins;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import net.minecraft.entity.player.EntityPlayer;
import net.min... |
package org.commcare.views.widgets;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.util.Log;
import android.view.View;
import android.view.inputmethod.InputMethodManager;
import android.widget.Button;
import android... |
package de.jonasrottmann.realmbrowser.utils;
import android.graphics.Typeface;
import android.support.annotation.NonNull;
import android.text.SpannableString;
import android.text.style.StyleSpan;
import java.lang.reflect.Field;
import java.lang.reflect.ParameterizedType;
import java.util.Date;
import io.realm.DynamicRe... |
package no.deichman.services.search;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import no.deichman.services.entity.EntityService;
import no.deichman.services.entity.EntityType;
import no.deichman.services.uridefaults.XURI;
import org.apache.commons.io.IOUtils;
import org.apache.http.Header;
import... |
package br.pucrs.ap3.trees;
/**
* The {@code BinarySearchTree} class is...
*
* @author marco.mangan@pucrs.br
*
*/
public class BinarySearchTree {
private Node root;
public BinarySearchTree() {
root = null;
}
/**
*
* @param value
*/
public void add(int value) {
roo... |
package dev;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Vector;
import javax.xml.namespace.QName;
import javax.xml.soap.SOAPMessage;
import com.hp.hpl.jena.query.ResultSet;
import com.hp.hpl.jena.query.ResultSetFormatter;
import com.hp.hpl.jena.rdf.model.Model;
import com.hp.hpl.jena.voc... |
package org.voltdb.jdbc;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.io.File;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.DriverManager;
import java... |
package org.voltdb.utils;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileReader;
import java.io.FileWriter;
import junit.framework.TestCase;
import org.voltdb.ServerThread;
import org.voltdb.VoltDB;
import org.voltdb.VoltDB.Configuration;
import org.voltdb.VoltTable;
import org.voltdb.... |
package org.jboss.summit2015.beacon.scannerjni;
import org.jboss.logging.Logger;
import org.jboss.summit2015.beacon.Beacon;
import org.jboss.summit2015.beacon.MsgType;
import org.jboss.summit2015.beacon.bluez.BeaconInfo;
import org.jboss.summit2015.beacon.common.EventsBucket;
import org.jboss.summit2015.beacon.common.E... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.