answer stringlengths 17 10.2M |
|---|
package org.usfirst.frc2832.Robot_2016;
import org.usfirst.frc2832.Robot_2016.Aimer.Levels;
import org.usfirst.frc2832.Robot_2016.commands.AutonomousCommand;
import org.usfirst.frc2832.Robot_2016.commands.GoToPosition;
import org.usfirst.frc2832.Robot_2016.commands.VisionAimHoriz;
import org.usfirst.frc2832.Robot_2016.... |
package com.app.loader.sms2;
import android.app.LoaderManager;
import android.content.Loader;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import android.widget.EditText;
import andro... |
package fr.sciencespo.medialab.hci.memorystructure.thrift;
import fr.sciencespo.medialab.hci.memorystructure.util.DynamicLogger;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang.StringUtils;
import org.apache.lucene.index.IndexWriterConfig;
import org.apache.thrift.TException;
import org.apache.thri... |
package com.beiing.library;
import android.animation.ObjectAnimator;
import android.animation.ValueAnimator;
import android.content.Context;
import android.content.res.TypedArray;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.util.DisplayMetrics;
import android.util.TypedV... |
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// Java from RobotBuilder. Do not put any code or make any change in
// the blocks indicating autogenerated code o... |
import java.io.ByteArrayInputStream;
import org.jetel.component.DataRecordTransform;
import org.jetel.component.XmlXPathReader;
import org.jetel.data.DataRecord;
import org.jetel.data.parser.XPathParser;
import org.jetel.exception.ComponentNotReadyException;
import org.jetel.exception.TransformException;
import org.jet... |
package com.deerweather.app.util;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.text.TextUtils;
import android.util.Log;
import com.deerweather.app.model.County;
import com.deerweather.app.model.DeerWeatherDB;
import com.deerweather... |
package algorithms.imageProcessing.matching;
import algorithms.QuickSort;
import algorithms.compGeometry.FurthestPair;
import algorithms.compGeometry.PerimeterFinder2;
import algorithms.imageProcessing.ColorHistogram;
import algorithms.imageProcessing.FixedSizeSortedVector;
import algorithms.imageProcessing.Image;
impo... |
package org.jetel.lookup;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Map;
import org.jetel.connection.CopySQLData;
import org.jetel.connection.DBConnection;
import org.jetel.connection.SQLUtil;
import org.jetel.data.DataRecord;
import org.jetel.data.Hash... |
package com.honu.tmdb.data;
import android.content.ContentProvider;
import android.content.ContentValues;
import android.content.UriMatcher;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.net.Uri;
import android.text.TextUtils;
import android.util.Log;
import com.honu.tmdb... |
package stray.world;
import java.io.IOException;
import java.util.Random;
import stray.Main;
import stray.Particle;
import stray.ParticlePool;
import stray.SmoothCamera;
import stray.blocks.Block;
import stray.blocks.BlockCameraMagnet;
import stray.blocks.BlockPlayerSpawner;
import stray.blocks.Blocks;
import stray.blo... |
package com.viovie.webkeyboard;
import android.content.res.Resources;
import android.support.annotation.RawRes;
import android.util.Log;
import android.view.inputmethod.ExtractedTextRequest;
import com.viovie.webkeyboard.service.RemoteKeyboardService;
import com.viovie.webkeyboard.task.CtrlInputAction;
import com.viovi... |
package br.com.leandromoreira.jdcpu16br.cpu;
import static br.com.leandromoreira.jdcpu16br.cpu.OpCodes.NOT_BASIC;
import br.com.leandromoreira.jdcpu16br.io.Memory;
import br.com.leandromoreira.jdcpu16br.misc.HexadecimalUtil;
public class CPU {
public static final int A = 0x0;
public static final int B = 0x1;
... |
package de.echox.hacklace.pix0lat0r.data;
import java.util.Iterator;
import java.util.List;
// TODO class works only for byte size displays
public class MatrixSerializer {
public static byte[] serialize(List<Matrix> matrixes) {
int width = matrixes.get(0).getWidth();
int size = (matrixes.size() * wi... |
package fr.free.nrw.commons.nearby;
import android.graphics.Bitmap;
import android.net.Uri;
import android.support.annotation.DrawableRes;
import java.util.HashMap;
import java.util.Map;
import fr.free.nrw.commons.R;
import fr.free.nrw.commons.location.LatLng;
public class Place {
public final String name;
priv... |
package urteam.stats;
import java.util.Date;
import java.text.SimpleDateFormat;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.... |
package de.espend.idea.php.annotation;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiFile;
import com.intellij.psi.PsiRecursiveElementWalkingVisitor;
import com.intellij.util.indexing.*;
import com.intellij.util.io.DataExternalizer;
import com.intellij.util.io.EnumeratorStringDescriptor;
import com.int... |
package net.lecousin.framework.core.tests.application;
import java.io.Closeable;
import java.io.File;
import java.io.IOException;
import java.util.List;
import java.util.Locale;
import net.lecousin.framework.application.Application;
import net.lecousin.framework.application.Artifact;
import net.lecousin.framework.appli... |
package mn.devfest.api;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v7.util.DiffUtil;
import com.google.android.gms.auth.api.signin.GoogleSignInAccount;
import com.google.firebase.auth.AuthCredential;
import com.google.fir... |
package de.robv.android.xposed.mods.appsettings;
import static de.robv.android.xposed.XposedHelpers.findAndHookMethod;
import static de.robv.android.xposed.XposedHelpers.getAdditionalInstanceField;
import static de.robv.android.xposed.XposedHelpers.getObjectField;
import static de.robv.android.xposed.XposedHelpers.remo... |
package com.bitmovin.bitcodin.api.job;
import java.util.Vector;
import com.google.gson.annotations.Expose;
public class JobConfig {
@Expose
public int inputId;
@Expose
public int outputId;
@Expose
public int encodingProfileId;
@Expose
public Vector<ManifestType> manifestTypes = new Vecto... |
/**
* @author Nikos Arechiga
* @author Anuradha Vakil
* @author Sumanth Dathathri
* Toyota InfoTechnology Center, USA
* 465 N Bernardo Ave, Mountain View, CA 94043
*/
package dl.logicsolvers.abstractions;
import interfaces.text.*;
import java.util.*;
//import java.io.*;
import dl.semantics.*;
import dl.syntax.*;
... |
package org.y20k.transistor.core;
import android.content.ContentResolver;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri;
import android.os.Bundle;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.v4.media.MediaMetadataCompat;
import org.y20k.... |
package dr.app.beauti.generator;
import java.util.List;
import dr.app.beauti.components.ComponentFactory;
import dr.app.beauti.enumTypes.ClockType;
import dr.app.beauti.options.*;
import dr.app.beauti.util.XMLWriter;
import dr.evomodel.branchratemodel.BranchRateModel;
import dr.evomodel.branchratemodel.RandomLocalClock... |
package com.contentful.java.cda;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import retrofit.client.Response;
import static com.contentful... |
package org.commcare.android.view;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.regex.Pattern;
import org.odk.collect.android.views.media.AudioButton;
import org.odk.collect.android.views.media.ViewId;
import org.achartengine.ChartFactory;
import org.acharteng... |
package edu.nr.main.subsystems.Drive;
import edu.nr.main.oi.OI;
import edu.nr.main.Robot;
import edu.wpi.first.wpilibj.command.Command;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
/**
*
* @author colin
*/
public class DriveJoystickCommand extends Command
{
public DriveJoystickCommand()
{
... |
package inf.unibz.it.obda.api.inference.reasoner;
import inf.unibz.it.obda.queryanswering.Statement;
public interface DataQueryReasoner {
public Statement getStatement(String sparql)throws Exception;
public void startProgressMonitor(String msg);
public void finishProgressMonitor();
} |
package com.ezardlabs.lostsector.map;
import com.ezardlabs.dethsquare.Animation;
import com.ezardlabs.dethsquare.AnimationType;
import com.ezardlabs.dethsquare.Animator;
import com.ezardlabs.dethsquare.Collider;
import com.ezardlabs.dethsquare.GameObject;
import com.ezardlabs.dethsquare.Renderer;
import com.ezardlabs.d... |
package com.bobs.serialcommands;
import com.bobs.mount.Axis;
import com.bobs.mount.TrackingState;
import org.junit.Before;
import org.junit.Test;
import javax.xml.bind.DatatypeConverter;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
p... |
package com.ezardlabs.lostsector.objects;
import com.ezardlabs.dethsquare.Animation;
import com.ezardlabs.dethsquare.AnimationType;
import com.ezardlabs.dethsquare.Animator;
import com.ezardlabs.dethsquare.Camera;
import com.ezardlabs.dethsquare.Collider;
import com.ezardlabs.dethsquare.Collider.Collision;
import com.e... |
package qubit.cucumber.editor.format;
import gherkin.I18nLexer;
import gherkin.Lexer;
import gherkin.formatter.PrettyFormatter;
import gherkin.parser.Parser;
import java.io.StringWriter;
import javax.swing.text.BadLocationException;
import org.netbeans.modules.editor.indent.spi.Context;
import org.netbeans.modules.edit... |
/**
*<p>Title: ConnectionManager class>
* <p>Description: It handles all
* hibernate specific operations like opening and closing of hibernate connection, session etc
* Connection manager has ThreadLocal instance variable which holds the Map having session object
* as per the application .It holds Map<Applicatio... |
package edu.wustl.xipHost.avt2ext.iterator;
import java.io.File;
import java.io.IOException;
import java.util.List;
import java.util.HashMap;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Map;
import java.util.NoSuchElementException;
import edu.wustl.xipHost.avt2ext.ADQueryTarget;
import edu.w... |
package com.forgeessentials.teleport;
import net.minecraft.command.ICommandSender;
import net.minecraftforge.permissions.PermissionsManager.RegisteredPermValue;
import com.forgeessentials.api.APIRegistry;
import com.forgeessentials.api.UserIdent;
import com.forgeessentials.commons.selections.WarpPoint;
import com.forge... |
package com.king.applib.util;
import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.nio.charset.Charset;
import java.s... |
package battleships.backend.actionhelpers;
import battleships.backend.State;
public class MoveStrategy {
private State state;
private DeployMoveValidationHelper deployMoveValidationHelper;
private NormalMoveValidationHelper normalMoveValidationHelper;
private DeployMoveExecutor deployMoveExecutor;
p... |
package be.ibridge.kettle.trans.step.joinrows;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import be.ibridge.kettle.cor... |
package com.graphicsengine.scene;
import com.google.gson.annotations.SerializedName;
import com.graphicsengine.component.SpriteComponent;
import com.nucleus.geometry.Mesh;
import com.nucleus.scene.Node;
import com.nucleus.scene.RootNode;
import com.nucleus.texturing.Texture2D;
import com.nucleus.texturing.TextureType;
... |
package ch.unizh.ini.jaer.projects.minliu;
import ch.unizh.ini.jaer.projects.rbodo.opticalflow.AbstractMotionFlowIMU;
import java.awt.Dimension;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.beans.PropertyChangeEvent;
import java.sql.Timestamp;
import java.util.ArrayList;
import ja... |
package com.hyperfresh.mchyperchat;
import java.util.HashMap;
import java.util.Map;
public class ThemeManager
{
private final Map<String, Theme> themes = new HashMap<>();
private final Map<Class<? extends Theme>, Theme> themesByClass = new HashMap<>();
/**
* The theme to use as the default.
*/
... |
package com.inter6.mail.gui.component;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JCheckBox;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import com.inter6.mail.model.component.DateData;
public class Dat... |
package org.voltdb.messaging;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.ArrayList;
import java.util.List;
import org.voltcore.logging.Level;
import org.voltcore.logging.VoltLogger;
import org.voltcore.messa... |
//Liangrui Lu
//1366461
//This class is use to edit the item(expense)
package com.example.traveltracker;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.lan... |
package functionaltests;
import java.io.File;
import java.net.URL;
import junit.framework.Assert;
import org.ow2.proactive.scheduler.common.job.JobId;
import org.ow2.proactive.scheduler.common.job.JobResult;
import functionalTests.FunctionalTest;
/**
* This class tests the failure of the scheduler.
* Even if it is in... |
package com.mongodb.memphis.generator;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Random;
import java.util.concurrent.ThreadLocalRandom;
import org.bson.BsonValue;
import com.mongodb.memphis.placeholder.Placeholder;
public abstract class Generator extends Placehold... |
package imagej.data.sampler;
import imagej.data.display.ImageDisplay;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import net.imglib2.meta.AxisType;
import net.imglib2.ops.Tuple2;
import net.imglib2.ops.Tuple3;
/**
* An... |
package com.oneliang.tools.builder.base;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
public class Project {
public static final String SRC = "src";
public static final String CLASSES="classes";
public static final String CACHE="cache";
protected String workspace = null;
p... |
package com.hp.hpl.jena.reasoner.rulesys.test;
import java.io.*;
import java.util.*;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import com.hp.hpl.jena.datatypes.DatatypeFormatException;
import com.hp.hpl.jena.datatypes.RDFDatatype;
import com.hp.hpl.jena.datatypes.TypeMapper;
import com.hp.hpl.j... |
// PluginModuleItem.java
package imagej.plugin;
import imagej.module.ModuleItem;
import imagej.util.Log;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
/**
* TODO
*
* @author Curtis Rueden
*/
public class PluginModuleItem implements ModuleItem {
private Field field;
private Object defaul... |
package com.ibm.nmon.data.transform;
import com.ibm.nmon.data.DataType;
/**
* Adds <code>used</code> columns to AIX MEM statistics in addition to the default <code>free</code>
* data.
*/
public final class AIXMemoryTransform implements DataTransform {
@Override
public DataType buildDataType(String id, String... |
package com.pseudo_sudo.openstorage;
import com.pseudo_sudo.openstorage.configuration.ConfigurationController;
import com.pseudo_sudo.openstorage.init.ModBlocks;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
@Mod(modid=OpenStorage.ID, name=OpenStorage.NAME, version=OpenStor... |
package lcm.spy;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.table.*;
import javax.swing.tree.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.Point;
import java.io.*;
import java.util.*;
import java.util.Map.Entry;
import java.util.jar.*;
import java.util.zip.*;
import java.lang.... |
package com.idunnolol.ragefaces;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.List;
import android.app.Activity;
import android.app.AlertDialog.Builder;
import android.app.Dialog;
i... |
package fi.csc.chipster.tools.ngs;
import java.io.File;
import java.io.IOException;
import org.apache.log4j.Logger;
import fi.csc.microarray.client.Session;
import fi.csc.microarray.client.operation.Operation;
import fi.csc.microarray.client.operation.OperationRecord;
import fi.csc.microarray.client.tasks.Task;
import ... |
package com.redhat.ceylon.compiler.js;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import com.redhat.ceylon.compiler.loader.MetamodelGenerator;
import com.redhat.ceylon.compiler.typechecker.model.Annotation;
import com.redhat.ceylon.compi... |
package com.sixtyfour.cbmnative.shell;
import java.io.File;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import com.sixtyfour.Assembler;
import com.sixtyfour.Ba... |
package eu.fusepool.ecs.core;
import eu.fusepool.ecs.ontologies.ECS;
import java.security.AccessController;
import java.security.AllPermission;
import java.security.PrivilegedActionException;
import java.security.PrivilegedExceptionAction;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collec... |
package com.squareup.pollexor;
import static com.squareup.pollexor.Utilities.aes128Encrypt;
import static com.squareup.pollexor.Utilities.base64Encode;
import static com.squareup.pollexor.Utilities.hmacSha1;
import static com.squareup.pollexor.Utilities.md5;
import java.util.ArrayList;
import java.util.List;
/**
* Flu... |
package hudson.security;
import hudson.ExtensionPoint;
import hudson.model.Describable;
import hudson.model.Descriptor;
import hudson.model.Hudson;
import hudson.util.DescriptorList;
import org.acegisecurity.Authentication;
import org.kohsuke.stapler.StaplerRequest;
import java.io.Serializable;
import net.sf.json.JSONO... |
package com.relteq.sirius.db.exporter;
import java.util.Iterator;
import java.util.List;
import org.apache.torque.TorqueException;
import org.apache.torque.util.Criteria;
import com.relteq.sirius.om.Links;
import com.relteq.sirius.om.LinksPeer;
import com.relteq.sirius.om.NetworkListsPeer;
import com.relteq.sirius.om.N... |
package com.github.jsonj;
import static com.github.jsonj.tools.JsonBuilder.array;
import static com.github.jsonj.tools.JsonBuilder.nullValue;
import static com.github.jsonj.tools.JsonBuilder.object;
import static com.github.jsonj.tools.JsonBuilder.primitive;
import static com.github.jsonj.tools.JsonSerializer.serialize... |
package app.iamin.iamin.model;
import android.content.Intent;
import android.location.Address;
import android.location.Geocoder;
import android.os.Bundle;
import com.google.android.gms.maps.model.LatLng;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.IOException;
import java.text.ParseExcepti... |
package io.viper.core.server.router;
import java.net.URI;
import java.util.List;
import java.util.Map;
import org.jboss.netty.channel.ChannelEvent;
import org.jboss.netty.channel.ChannelFuture;
import org.jboss.netty.channel.ChannelFutureListener;
import org.jboss.netty.channel.ChannelHandlerContext;
import org.jboss.n... |
package com.robrua.orianna.type.core.match;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import com.robrua.orianna.api.core.RiotAPI;
import com.robrua.orianna.type.core.OriannaObject;
import com.robrua.orianna.type.core.common.Side;
import com.robrua.orianna.type.core.common.Tier;
im... |
package vn.mbm.phimp.me;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import vn.mbm.phimp.me.database.DownloadedPersonalPhotoDBItem;
import vn.mbm.phimp.me.database.DownloadedPhotoDBItem;
import vn.mbm.phimp.me.feedservice.Devia... |
package com.vectrace.MercurialEclipse.wizards;
import java.util.Properties;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.jface.dialogs.IDialogSettings;
import org.eclipse.jface.wizard.Wizard;
import com.vectrace.MercurialEclipse.MercurialEclipsePlugin;
/**
* @author bastian
*
*/
public abs... |
package Areas;
import General.Room;
import java.util.Scanner;
import Enemies.Boss;
import Enemies.Minion;
import General.Item;
import General.Core;
public class City {
//instance variables
private String areaName = "City";
private Room[][] rooms;
private Core core;
public City2(Core core) {
... |
package com.megaport.api.client;
import com.megaport.api.dto.*;
import com.megaport.api.exceptions.BadRequestException;
import org.junit.Before;
import org.junit.Test;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import static org.junit.Assert.*;
public class IxOrdersTest {
Megapo... |
package com.vaguehope.onosendai.ui;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import android.support.v4.view.ViewPager... |
package org.bouncycastle.math.ec;
import java.math.BigInteger;
public class ECAlgorithms
{
public static ECPoint sumOfTwoMultiplies(ECPoint P, BigInteger a,
ECPoint Q, BigInteger b)
{
ECCurve cp = P.getCurve();
Q = importPoint(cp, Q);
// Point multiplication for Koblitz curves (u... |
package be.ibridge.kettle.trans.dialog;
import org.eclipse.swt.SWT;
import be.ibridge.kettle.core.GUIResource;
import org.eclipse.swt.custom.CCombo;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.Sele... |
package gov.nih.nci.calab.service.util;
import java.util.HashMap;
import java.util.Map;
public class CaNanoLabConstants {
public static final String CSM_APP_NAME = "caNanoLab";
public static final String DATE_FORMAT = "MM/dd/yyyy";
public static final String ACCEPT_DATE_FORMAT = "MM/dd/yy";
// Storage e... |
/**
* cgShape.java
*
* Class that includes routines for tessellating a number of basic shapes
*
* Students are to supply their implementations for the
* functions in this file using the function "addTriangle()" to do the
* tessellation.
*
*/
import java.awt.*;
import java.nio.*;
import java.awt.event.*;
import... |
package org.bouncycastle.math.ec;
import java.math.BigInteger;
import org.bouncycastle.math.ec.endo.ECEndomorphism;
import org.bouncycastle.math.ec.endo.EndoUtil;
import org.bouncycastle.math.ec.endo.GLVEndomorphism;
import org.bouncycastle.math.field.FiniteField;
import org.bouncycastle.math.field.PolynomialExtensionF... |
/**
* commoditycontroller
* @author Vboar
* @date 2014/11/14
*/
package businesslogic.commoditybl;
import java.util.ArrayList;
import util.ResultMessage;
import vo.CategoryCommodityVO;
import vo.CategoryVO;
import vo.CommodityVO;
import businesslogicservice.commodityblservice.CommodityBLService;
public class Commod... |
package org.wyona.yanel.servlet;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.io.Writer;
import java.net.URL;
import java.util.Enumeration;
import ja... |
import com.android.uiautomator.core.UiDevice;
import com.android.uiautomator.core.UiObject;
import com.android.uiautomator.core.UiObjectNotFoundException;
import com.android.uiautomator.core.UiScrollable;
import com.android.uiautomator.core.UiSelector;
import com.android.uiautomator.testrunner.UiAutomatorTestCase;
publ... |
package beast.evolution.substitutionmodel;
import beast.core.CalculationNode;
import beast.core.Description;
import beast.core.Input;
import beast.core.Input.Validate;
import beast.core.parameter.RealParameter;
import beast.core.util.Log;
import beast.evolution.alignment.Alignment;
import beast.evolution.datatype.DataT... |
package common.base.utils;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.os.Message;
import android.support.annotation.DrawableRes;
import android.support.annotation.Nullable;
import android.support.annotation.RawRes;
import android.support.graphics.drawable.Animatable2Compat... |
package com.orasi.core.angular;
import org.openqa.selenium.JavascriptExecutor;
import org.testng.Assert;
import org.testng.ITestContext;
import org.testng.SkipException;
import org.testng.annotations.AfterTest;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Optional;
import org.testng.annotatio... |
package org.commcare.tasks;
import android.content.SharedPreferences;
import android.os.AsyncTask;
import org.commcare.CommCareApplication;
import org.commcare.android.javarosa.AndroidLogEntry;
import org.commcare.android.javarosa.DeviceReportRecord;
import org.commcare.android.logging.ForceCloseLogEntry;
import org.co... |
package org.nnsoft.shs.core;
import static java.nio.channels.SelectionKey.OP_WRITE;
import static org.nnsoft.shs.core.http.ResponseFactory.newResponse;
import static org.nnsoft.shs.http.Headers.ACCEPT_ENCODING;
import static org.nnsoft.shs.http.Headers.CONNECTION;
import static org.nnsoft.shs.http.Headers.CONTENT_LENGT... |
package org.wyona.yanel.servlet;
import java.io.File;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.io.Writer;
import java.net.URL;
import java.util.Enumeration;
import javax.s... |
package com.blarg.gdx.math;
import com.badlogic.gdx.math.MathUtils;
import com.badlogic.gdx.math.Plane;
import com.badlogic.gdx.math.Vector3;
public final class SweptSphereCollisionTester {
static final Vector3 tmp1 = new Vector3();
static final Vector3 p1 = new Vector3();
static final Vector3 p2 = new Vect... |
package dbathon.web.gvds.entity;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CollectionTable;
import javax.persistence.Column;
import javax.persistence.ElementCollection;
import javax.persistence.Entity;
import javax.persistence.FetchTyp... |
package guitests.guihandles;
import guitests.GuiRobot;
import javafx.scene.Node;
import javafx.stage.Stage;
import seedu.tasklist.model.task.ReadOnlyTask;
/**
* Provides a handle to a person card in the person list panel.
*/
public class PersonCardHandle extends GuiHandle {
private static final String NAME_FIELD_... |
package io.netty.channel;
import io.netty.logging.InternalLogger;
import io.netty.logging.InternalLoggerFactory;
public abstract class ChannelInitializer<C extends Channel> extends ChannelInboundHandlerAdapter<Object> {
private static final InternalLogger logger = InternalLoggerFactory.getInstance(ChannelInitialize... |
package org.eclipse.mylyn.internal.tasks.ui.editors;
import java.io.File;
import java.text.DateFormat;
import java.util.Calendar;
import java.util.Set;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.layout.GridDataFactory;
import org.eclipse.jface.text... |
package org.sbolstandard.core2;
import java.net.URI;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* This class provides functionality to validate URI compliance.
*
* @author Chris Myers
* @author Zhen Zhang
* @version 2.1
*/
final class URIcompliance {
/**
* @... |
package cs201.roles.restaurantRoles;
import cs201.agents.PersonAgent.Intention;
import cs201.roles.Role;
import cs201.structures.restaurant.Restaurant;
/**
* Base class for all RestaurantHosts in SimCity201.
* @author Matthew Pohlmann
*/
public abstract class RestaurantHostRole extends Role {
protected Restauran... |
package de.codescape.bitvunit.rule;
import com.gargoylesoftware.htmlunit.html.HtmlPage;
import de.codescape.bitvunit.model.Page;
import java.util.ArrayList;
import java.util.List;
/**
* Base class to all implementations of the Rule interface. It provides convenience methods to create violations within
* the implement... |
package im.nll.data.extractor;
import com.google.common.base.Charsets;
import com.google.common.io.Resources;
import im.nll.data.extractor.entity.*;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import static im.nll.data... |
package org.eclipse.mylyn.internal.tasks.ui.views;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import org.eclipse.jface.action.IMenuListener;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.action.Separator;
import org.ecli... |
package info.tregmine.listeners;
import info.tregmine.Tregmine;
import info.tregmine.api.TregminePlayer;
import java.sql.ResultSet;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.TimeZone;
import org.bukkit.ChatColor;
//import org.bukkit.GameMode;
import org.bukkit.Location;
import org.bukki... |
package de.fosd.jdime.common.operations;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Objects;
import de.fosd.jdime.common.Artifact;
import de.fosd.jdime.common.ArtifactList;
import de.fosd.jdime.common.MergeContext;
import de.fosd.jdime.common.MergeTriple;
import de.fosd.jdime.com... |
package de.hwrberlin.it2014.sweproject.cbr;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import de.hwrberlin.it2014.sweproject.database.DatabaseConnection;
import de.hwrberlin.it2014.sweproject.database.Judgement;
import de.hwrberlin.it2014.sweproject.database.Result;
import de.h... |
package editor.database.version;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import java.util.Objects;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.stream.Collectors;
/**
* This class contains version information ... |
package junitparams.usage;
import java.util.Arrays;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import org.junit.Test;
import org.junit.runner.RunWith;
import junitparams.FileParameters;
import junitparams.JUnitParamsRunner;
import junitparams.Parameters;
import junitparams.ParametersReader... |
// Package
package com.hp.hpl.jena.ontology.impl;
// Imports
import com.hp.hpl.jena.enhanced.*;
import com.hp.hpl.jena.graph.*;
import com.hp.hpl.jena.shared.*;
import com.hp.hpl.jena.ontology.*;
import com.hp.hpl.jena.ontology.path.*;
import com.hp.hpl.jena.rdf.model.*;
import com.hp.hpl.jena.rdf.model.impl.NodeIterat... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.