answer stringlengths 17 10.2M |
|---|
package com.miguelgaeta.super_bar;
import android.animation.ObjectAnimator;
import android.animation.ValueAnimator;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.RectF;
import android.util.AttributeSet;
import androi... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.venky.swf.controller;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Enumera... |
package com.creative.service;
import java.util.concurrent.ConcurrentHashMap;
import com.creative.context.Context;
import com.creative.disruptor.DisruptorEvent;
import org.json.JSONException;
public class StateService implements GeneralService {
public StateService(){
}
ConcurrentHashMap <String,String> mess... |
package org.intermine.web;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.Comparator;
import java.util.LinkedHashMap;
import java.util.Set;
import java.util.TreeSet;
import java.util.Collection;
import java.util.Date;
import... |
package net.machinemuse.powersuits.common;
import java.lang.reflect.Field;
import java.util.Arrays;
import net.machinemuse.api.ModularCommon;
import net.machinemuse.api.ModuleManager;
import net.machinemuse.general.gui.MuseIcon;
import net.machinemuse.powersuits.item.IModularItem;
import net.machinemuse.powersuits.item... |
package org.ensembl.healthcheck.testcase.funcgen;
import java.sql.Connection;
import java.util.Map;
import org.ensembl.healthcheck.DatabaseRegistryEntry;
import org.ensembl.healthcheck.ReportManager;
import org.ensembl.healthcheck.testcase.SingleDatabaseTestCase;
/**
* Check that all of certain types of objects have a... |
package org.objectweb.proactive.core.descriptor.data;
import org.objectweb.proactive.ProActive;
import org.objectweb.proactive.core.ProActiveException;
import org.objectweb.proactive.core.descriptor.services.P2PLookupService;
import org.objectweb.proactive.core.descriptor.services.ServiceThread;
import org.objectweb.pr... |
package ai.vespa.hosted.cd;
import ai.vespa.cloud.Zone;
import ai.vespa.hosted.cd.internal.TestRuntimeProvider;
import java.util.ServiceLoader;
import java.util.logging.Logger;
/**
* The place to obtain environment-dependent configuration for test of a Vespa deployment.
*
* @author jvenstad
* @author mortent
*/
pu... |
package org.pentaho.di.trans.steps.selectvalues;
import org.pentaho.di.core.Const;
import org.pentaho.di.core.row.ValueMeta;
import org.pentaho.di.core.xml.XMLHandler;
import org.pentaho.di.core.xml.XMLInterface;
import org.w3c.dom.Node;
public class SelectMetadataChange implements Cloneable, XMLInterface{
public s... |
package org.usfirst.frc308.FRC2017.commands;
import org.usfirst.frc308.FRC2017.Robot;
import org.usfirst.frc308.FRC2017.RobotConstants;
import org.usfirst.frc308.FRC2017.utils.MathUtils;
import edu.wpi.first.wpilibj.Timer;
import edu.wpi.first.wpilibj.command.Command;
import edu.wpi.first.wpilibj.networktables.NetworkT... |
package org.cybergarage.upnp.ssdp;
import java.net.Inet4Address;
import java.net.Inet6Address;
import java.net.InetAddress;
import java.io.IOException;
import org.cybergarage.net.*;
import org.cybergarage.util.*;
import org.cybergarage.upnp.device.*;
public class SSDPSearchSocket extends HTTPMUSocket implements Runnabl... |
package org.ow2.proactive.scheduler.core;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.lang.reflect.Field;
import java.net.URI;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.... |
package com.socialize.test.ui;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import android.content.Intent;
import android.os.Bundle;
import com.google.android.testing.mocking.AndroidMock;
import com.google.android.testing.mocking.UsesMocks;
import com.socialize.SocializeService;
imp... |
package org.broad.igv.tools.parsers;
import org.broad.igv.feature.genome.Genome;
import org.broad.igv.tools.converters.GCTtoIGVConverter;
import org.broad.igv.util.ResourceLocator;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.io.File;
import java.io.IOException;
import static org.... |
/*
* AUTHORS: Jan Stender (ZIB)
*/
package org.xtreemfs.mrc.operations;
import org.xtreemfs.foundation.ErrNo;
import org.xtreemfs.interfaces.MRCInterface.chownRequest;
import org.xtreemfs.interfaces.MRCInterface.chownResponse;
import org.xtreemfs.mrc.ErrorRecord;
import org.xtreemfs.mrc.MRCRequest;
import org.xtreemf... |
package com.datasift.client.behavioural;
//CHECKSTYLE:OFF
//@RunWith(Cucumber.class)
//@CucumberOptions(
// plugin = {"pretty", "html:target/cucumber", "junit:target/cucumber/junit.xml"}
// , snippets = SnippetType.CAMELCASE
// , features = {"."}
// //, strict = true
//CHECKSTYLE:ON
public c... |
package com.github.timtebeek.rst.controller;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import lombok.Getter;
import lombok.Setter;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Value;
impor... |
package com.ociweb.pronghorn.image;
import com.ociweb.iot.maker.PiImageListenerStage;
import com.ociweb.pronghorn.iot.schema.ImageSchema;
import com.ociweb.pronghorn.pipe.Pipe;
import com.ociweb.pronghorn.pipe.PipeReader;
import com.ociweb.pronghorn.stage.scheduling.GraphManager;
import com.ociweb.pronghorn.stage.sched... |
package eu.project.ttc.test.termino.export;
import java.io.StringWriter;
import java.util.Collection;
import java.util.Locale;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mockito;
import com.google.common.collect.Lists;
import com.google.common.collect.Sets;
import eu.proj... |
package io.usethesource.vallang.basic;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.fail;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.HashMap;
import java.util.Map;
import org.junit.jupiter.params.ParameterizedTest;
import org.ju... |
package org.jfree.chart.renderer.junit;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Font;
import java.awt.GradientPaint;
import java.awt.Rectangle;
import java.awt.Shape;
import java.awt.Stroke;
import java.awt.geom.Line2D;
import java.awt.geom.Rectangle2D;
import java.io.ByteArrayInputStream;
i... |
package org.codehaus.plexus.util.cli.shell;
import org.codehaus.plexus.util.StringUtils;
import org.codehaus.plexus.util.cli.Commandline;
import java.util.Arrays;
import java.util.List;
import junit.framework.TestCase;
public class BourneShellTest
extends TestCase
{
protected Shell newShell()
{
retu... |
package org.jenkins.plugins.lockableresources;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Semaphore;
import hudson.model.Executor;
import org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition;
import org.jenkinsci.plugins.workflow.job.WorkflowJob;
import or... |
package hudson.model;
/**
* A model object has a human readable name.
*
* And it normally has URL, but this interface doesn't define one.
* (Since there's so many classes that define the <tt>getUrl</tt> method
* we should have such one.)
*
* @author Kohsuke Kawaguchi
*/
public interface ModelObject {
String... |
package to.etc.domui.component2.form4;
import to.etc.domui.component.meta.*;
import to.etc.domui.component2.controlfactory.*;
import to.etc.domui.dom.html.*;
import to.etc.domui.server.*;
import to.etc.webapp.annotations.*;
import javax.annotation.*;
final public class FormBuilder {
interface IAppender {
vo... |
package org.sagebionetworks.web.client;
import static org.junit.Assert.assertEquals;
import org.gwtbootstrap3.client.ui.constants.IconType;
import org.junit.Test;
import org.sagebionetworks.repo.model.EntityType;
import org.sagebionetworks.repo.model.FileEntity;
import org.sagebionetworks.repo.model.Folder;
import org.... |
package org.semanticrecord.talaan;
import static org.assertj.core.api.Assertions.assertThat;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import java.io.PrintWriter;
import org.junit.After;
import org.junit.BeforeClass;
import org.junit.Test;
import uk.org.lidal... |
package serverLogic;
import java.util.LinkedList;
import java.util.List;
import java.util.HashMap;
import java.util.Scanner;
import people.*;
import time.*;
import attendance.*;
public class Parser {
private static final String absentPrependPerformance = "absentStudentPerformance";
private static final String a... |
package xal.smf.proxy;
import java.util.*;
import xal.smf.AcceleratorNode;
import xal.ca.Channel;
/**
* Access property values for a node
* @author Tom Pelaia
*/
abstract public class AbstractPropertyAccessor implements PropertyAccessor {
/** Get the scale factor for the specified property */
protected doubl... |
package org.unipop.process.start;
import org.apache.tinkerpop.gremlin.process.traversal.step.map.GraphStep;
import org.apache.tinkerpop.gremlin.process.traversal.step.util.HasContainer;
import org.apache.tinkerpop.gremlin.structure.Element;
import org.unipop.util.ConversionUtils;
import org.unipop.process.predicate.Rec... |
package VASSAL.configure;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.event.FocusListener;
import javax.swing.JComponent;
import javax.swing.JLayer;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.event.DocumentEvent... |
package nl.b3p.viewer.search;
import com.vividsolutions.jts.geom.Envelope;
import com.vividsolutions.jts.geom.Geometry;
import com.vividsolutions.jts.io.ParseException;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.... |
package org.mozartoz.truffle.nodes.builtins;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.graalvm.collections.Pair;
import org.mozartoz.truffle.Options;
import org.mozartoz.truffle.nodes.DerefIfBoundNode;
import org.mozartoz.truffle.nodes.DerefNode;
import o... |
package org.jboss.seam.forge.web;
import java.io.File;
import javax.inject.Named;
import org.jboss.seam.forge.project.Facet;
import org.jboss.seam.forge.project.Project;
import org.jboss.seam.forge.project.constraints.RequiresFacets;
import org.jboss.seam.forge.project.facets.WebResourceFacet;
import org.jboss.seam.for... |
package br.ufpe.cin.dsoa.adapter;
import java.io.IOException;
import java.util.Map;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import br.ufpe.cin.dsoa.adapter.serializer.JsonSerializer;
import br.ufpe.cin.dsoa.api.event.Event;
import br.ufpe.cin.dsoa.api.event.EventAdapter;
impo... |
package com.rbmhtechnology.vind.test;
import com.rbmhtechnology.vind.SearchServerException;
import com.rbmhtechnology.vind.api.SearchServer;
import com.rbmhtechnology.vind.configure.SearchConfiguration;
import org.junit.rules.ExternalResource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class TestSe... |
package sed.app;
import sed.SurfaceCameraControl;
import sed.sky.SkyGradient;
import sed.sky.Sun;
import com.jme3.app.Application;
import com.jme3.app.state.AppStateManager;
import com.jme3.math.ColorRGBA;
import com.jme3.scene.Node;
import com.jme3.scene.Spatial.CullHint;
/**
* <b>Base layer</b> {@link AppState} prov... |
package net.darkmist.alib.ref;
import java.lang.ref.WeakReference;
public abstract class MemCachedRef<T> extends AbstractRef<T>
{
private WeakReference<T> valRef = null;
/**
* (Re)Create the object.
*/
protected abstract T make();
/**
* Get the cached object. If the object is not in memor... |
package com.kii.thingif.trigger;
import android.os.Parcel;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import com.kii.thingif.SmallTestBase;
import org.apache.commons.lang3.RandomStringUtils;
import org.json.JSONException;
import org.json.JSONObject;
import org.junit.Assert;
i... |
package com.messagebird.objects;
import com.messagebird.objects.PhoneNumberFeature;
import java.util.EnumSet;
import java.util.List;
public class PhoneNumber {
private String number;
private String country;
private String region;
private String locality;
private EnumSet<PhoneNumberFeature> features;... |
package org.ocpsoft.rewrite;
import java.util.ArrayList;
import java.util.List;
import org.ocpsoft.logging.Logger;
import org.ocpsoft.logging.Logger.Level;
import org.ocpsoft.rewrite.config.Rule;
import org.ocpsoft.rewrite.config.RuleMetadata;
import org.ocpsoft.rewrite.context.Context;
import org.ocpsoft.rewrite.conte... |
package se.sics.cooja.contikimote;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.*;
import java.util.regex.*;
import javax.swing.*;
import javax.swing.event.*;
import org.apache.log4j.Logger;
import se.... |
package org.apache.james.transport.mailets;
import org.apache.avalon.framework.component.ComponentException;
import org.apache.avalon.framework.component.ComponentManager;
import org.apache.avalon.framework.configuration.DefaultConfiguration;
import org.apache.james.Constants;
import org.apache.james.core.MailImpl;
imp... |
package com.pspdfkit.vangogh.base;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.View;
import android.view.animation.Interpolator;
import com.pspdfkit.vangogh.rx.AnimationCompletable;
public class AnimationBuilder {
@NonNull private final View view;
@... |
package org.pdxfinder.web.controllers;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.dataformat.csv.CsvMapper;
import com.fasterxml.jackson.dataformat.csv.CsvSchema;
import org.apache.commons.lang3.StringUtils;
import org.neo4j.ogm.json.JSONArray;
import org.neo4j.ogm.json.JSON... |
package com.intuit.tank.auth;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.enterprise.context.RequestScoped;
import javax.enterprise.event.Event;
import javax.inject.Inject;
import javax.inject.Named;
import org.apache.commons.lang3.StringUtils;
import org.apache.logging.log4j.LogMan... |
package at.sw2017xp3.regionalo;
import android.content.Intent;
import android.net.Uri;
import android.os.AsyncTask;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.SearchView;
import android.support.v7.widget.Toolbar;
import android.view.LayoutInflater;
import... |
package com.afifzafri.studentsdb;
import android.content.Intent;
import android.database.Cursor;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageButton;
import android.widget.Tex... |
package com.dallinc.masstexter;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.graphics.Color;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.text.Editable;
import android.text.SpannableString;
import andr... |
package com.riversoft.weixin.app.user;
import static org.junit.Assert.assertNotNull;
import org.junit.Ignore;
import org.junit.Test;
import com.riversoft.weixin.app.base.AppSetting;
/**
* @borball on 11/7/2016.
*/
public class UsersTest {
@Test
@Ignore
public void testCode2Session() {
SessionKey s... |
package com.dlka.fireinstaller;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.Dialog;
import android.app.ListActivity;
import android.content.ClipData;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.ActivityInfo;
import android.c... |
package com.dpanayotov.gameoflife.life;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.util.Log;
import android.view.SurfaceHolder;
import com.dpanayotov.gameoflife.life.di.SyncHandlerWrapper;
import com.dpanayotov.gameoflife.life.di.AsyncHandlerWrapper;
import com.dpanayotov.gameoflife.p... |
package com.nikita.recipiesapp.common;
import android.arch.lifecycle.LifecycleOwner;
import android.arch.lifecycle.MutableLiveData;
import android.support.annotation.NonNull;
import com.nikita.recipiesapp.BuildConfig;
import com.nikita.recipiesapp.common.utils.Check;
public final class Store<State> {
private final Mu... |
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 jp.ddo.masm11.cplayer;
import android.app.Service;
import android.media.MediaPlayer;
import android.net.Uri;
import android.content.Intent;
import android.os.IBinder;
import java.io.File;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
public class PlayerService extends Servi... |
package org.redcross.openmapkit;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
... |
package me.openphoto.android.app;
import java.util.ArrayList;
import me.openphoto.android.app.bitmapfun.util.ImageCache;
import me.openphoto.android.app.bitmapfun.util.ImageFetcher;
import me.openphoto.android.app.bitmapfun.util.ImageWorker;
import me.openphoto.android.app.model.Photo;
import me.openphoto.android.app.n... |
package org.commcare.preferences;
import android.app.Activity;
import android.content.ActivityNotFoundException;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.EditTextPreference;
import android.preference.Preference;
import android.preferenc... |
package net.somethingdreadful.MAL.profile;
import android.app.Activity;
import android.app.Fragment;
import android.content.Context;
import android.content.Intent;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import andro... |
package com.purdue.CampusFeed.Activities;
import android.app.IntentService;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.NotificationCompat;
import android.util.Log;
impor... |
package org.gluu.oxauth.client.uma.wrapper;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.UUID;
import org.gluu.oxauth.client.AuthorizationRequest;
import org.gluu.oxauth.client.AuthorizationResponse;
import org.gluu.oxauth.client.AuthorizeClient;
import org.gluu.oxauth.cl... |
package eu.theunitry.fabula.UNGameEngine.graphics;
import eu.theunitry.fabula.UNGameEngine.launcher.UNLauncher;
import eu.theunitry.fabula.UNGameEngine.objects.UNObject;
import kuusisto.tinysound.*;
import javax.imageio.ImageIO;
import javax.swing.*;
import java.awt.*;
import java.io.File;
import java.io.IOException;
i... |
package fredboat.command.maintenance;
import fredboat.Config;
import fredboat.FredBoat;
import fredboat.commandmeta.abs.Command;
import fredboat.commandmeta.abs.IMaintenanceCommand;
import net.dv8tion.jda.core.JDA;
import net.dv8tion.jda.core.MessageBuilder;
import net.dv8tion.jda.core.entities.Guild;
import net.dv8tio... |
package alma.acs.logging.config;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;
import com.cosylab.CDB.DALOperations;
import com.cosylab.CDB.RecordDoesNotExist;
import com.cosy... |
package com.elmakers.mine.bukkit.utility;
/**
* Used by RandomUtils to create a randomly-selectable set of objects, based on each
* category having a weight.
*
* <p>This class may be used with any base type, so that a String may be randomly selected,
* or a numeric value.
*
* <p>RandomUtils also supports return ... |
package com.pennapps.labs.pennmobile;
import android.app.DatePickerDialog;
import android.app.TimePickerDialog;
import android.content.Intent;
import android.net.Uri;
import android.os.AsyncTask;
import android.support.v4.app.Fragment;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
impo... |
package edu.pdx.cs410J.chances;
import edu.pdx.cs410J.AbstractAppointmentBook;
import edu.pdx.cs410J.AppointmentBookParser;
import edu.pdx.cs410J.ParserException;
import java.io.*;
import java.util.ArrayList;
import java.util.Date;
import java.util.function.Consumer;
/**
* @author chancesnow
*/
public class TextParse... |
package com.neopixl.restpixlsample;
import java.util.List;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;
import com.google.... |
package org.openas2.processor.sender;
import java.io.ByteArrayOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectOutputStream;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.security.PrivateKey;
import java.security.ce... |
package com.dreiri.stolpersteine.activities;
import java.util.List;
import java.util.ListIterator;
import android.app.Activity;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.text.Editable;
import android... |
package com.armandgray.taap.detail;
import android.app.AlertDialog;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.view.View;
import android.widget.Chronometer;
import android.widget.LinearLayout;
import com.armandgray.taap.BuildConfig;
import com.armandgray.taap.R;
import org.ju... |
package org.herac.tuxguitar.gui.editors.matrix;
import java.util.Iterator;
import java.util.List;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.DisposeEvent;
import org.eclipse.swt.events.DisposeListener;
import org.eclipse.swt.events.MouseEvent;
import org.eclipse.swt.events.MouseListener;
import org.eclip... |
package edu.wustl.catissuecore.domain;
import java.io.Serializable;
import java.util.Collection;
import java.util.HashSet;
import edu.wustl.catissuecore.actionForm.AbstractActionForm;
import edu.wustl.catissuecore.actionForm.SpecimenCollectionGroupForm;
import edu.wustl.common.util.logger.Logger;
/**
* An event that r... |
package com.pintersudoplz.rnbugsnag;
import android.content.Context;
import android.util.Log;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge... |
package org.appcelerator.titanium.kroll;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.atomic.AtomicInteger;
import org.appcelerator.kroll.KrollEvaluator;
import org.appcele... |
package server.ui;
import com.jme3.app.SimpleApplication;
import com.jme3.input.KeyInput;
import com.jme3.input.controls.ActionListener;
import com.jme3.input.controls.KeyTrigger;
import com.jme3.light.DirectionalLight;
import com.jme3.material.Material;
import com.jme3.math.ColorRGBA;
import com.jme3.math.FastMath;
im... |
package ch.epfl.sweng.project;
import com.google.firebase.database.DataSnapshot;
import com.google.firebase.database.DatabaseError;
import com.google.firebase.database.ValueEventListener;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import java.util.ArrayList;
import java.util.List;
import c... |
package com.afwsamples.testdpc;
import android.annotation.TargetApi;
import android.app.Fragment;
import android.content.ComponentName;
import android.content.Context;
import android.content.pm.CrossProfileApps;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.UserHandle;
import an... |
package com.dlsu.getbetter.getbetter.objects;
import com.google.gson.annotations.SerializedName;
import java.util.ArrayList;
public class CaseRecord {
@SerializedName("record_status_id")
private int caseRecordStatusId;
@SerializedName("user_id")
private int userId;
@SerializedName("health_center_id"... |
package com.mikepenz.unsplash.activities;
import android.animation.Animator;
import android.annotation.TargetApi;
import android.app.WallpaperManager;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.dr... |
package com.pr0gramm.app.ui;
import android.annotation.SuppressLint;
import android.os.Bundle;
import android.os.Parcelable;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.support.v4.util.LongSparseArray;
import an... |
package de.fau.cs.mad.fablab.android.cart;
import android.content.Context;
import android.content.Intent;
import android.graphics.Rect;
import android.os.AsyncTask;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.text.Html;
import android.util.Log;
imp... |
package in.testpress.testpress.ui;
import android.app.Activity;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.ProgressBar;
import android.widget.TextView;
import com.nostra13.universalimageloader.core.DisplayImageOptions;
import com... |
package me.devsaki.hentoid.parsers.content;
import org.jsoup.nodes.Element;
import java.util.List;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import me.devsaki.hentoid.database.domains.Content;
import me.devsaki.hentoid.enums.AttributeType;
import me.devsaki.hentoid.enums.Site;
import me.devsaki... |
package net.formula97.fakegpbase;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.text.TextUtils;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
i... |
package org.msf.records.ui.chart;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.util.Log;
import com.android.volley.Response;
import com.android.volley.VolleyError;
import com.google.common.base.Optional;
impo... |
package org.thoughtcrime.meshmessenger;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.view.Menu;
impor... |
package org.wikipedia.views;
import android.support.annotation.IntRange;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.helper.ItemTouchHelper;
public class ItemTouchHelperSwipeAdapter extends ItemTouchHelper.SimpleCallback {
public interfa... |
package ve.com.abicelis.chefbuddy.database;
import android.content.ContentValues;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
import ve.com.abicelis.chefbuddy.database.exceptions.CouldNotDeleteDataException;... |
/**
* Clase Alumno
* @author curso14/7803
* @since 25/11/2015
* @version 1.0
* @since 18/11/2015
* <br>
* <p>
* Esta clase se corresponde con los metodos principales
* de acceso y gestin de la tabla alumnos.
* </p>
*/
package alumnos;
import java.sql.Date;
public class Alumno {
private int idAlumno;
p... |
package org.lambda.query;
import com.spun.util.ObjectUtils;
import com.spun.util.StringUtils;
import org.approvaltests.Approvals;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.lambda.utils.Range;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.List;
im... |
package spec;
import java.util.Calendar;
import java.util.List;
import java.util.Set;
/**
* A class to manage your contacts and meetings.
*/
public interface ContactManager {
int addFutureMeeting(Set<Contact> contacts, Calendar date);
PastMeeting getPastMeeting(int id);
FutureMeeting getFutureMeeting(int ... |
package springies;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import javax.swing.JFileChooser;
import javax.swing.filechooser.FileNameExtensionFilter;
import jboxGlue.WorldManager;
import jgame.platform.JGEngine;
import listeners.JGameActionListener;
import masses.... |
package test.java;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import main.java.Board;
import main.java.CannotPlacePieceException;
import main.java.IndexOutsideOfGridException;
import main.java.Piece;
import main.java.PieceColor;
import main.java.PieceType;
import main.java.Positio... |
package org.xbill.DNS;
import java.io.*;
/**
* An class for parsing DNS messages.
*
* @author Brian Wellington
*/
public class DNSInput {
private byte [] array;
private int pos;
private int end;
private int saved_pos;
private int saved_end;
/**
* Creates a new DNSInput
* @param input The byte array to read from
... |
package org.eclipse.ice.item.nuclear;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.net.URI;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.HashMap;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bin... |
package org.javarosa.xform.parse;
import java.io.Reader;
import java.util.Enumeration;
import java.util.Hashtable;
import org.javarosa.core.model.Constants;
import org.javarosa.core.model.DataBinding;
import org.javarosa.core.model.FormDef;
import org.javarosa.core.model.GroupDef;
import org.javarosa.core.model.IFormEl... |
package org.javarosa.xform.parse;
import java.io.Reader;
import java.util.Enumeration;
import java.util.Hashtable;
import org.javarosa.core.model.Constants;
import org.javarosa.core.model.DataBinding;
import org.javarosa.core.model.FormDef;
import org.javarosa.core.model.GroupDef;
import org.javarosa.core.model.IFormEl... |
package MWC.GUI.JFreeChart;
import java.awt.Color;
import org.jfree.data.time.FixedMillisecond;
import org.jfree.data.time.RegularTimePeriod;
import org.jfree.data.time.TimePeriod;
import org.jfree.data.time.TimeSeriesDataItem;
import MWC.GUI.Editable;
// add a coloru to the data item pair
public class ColouredDataItem... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.