answer stringlengths 17 10.2M |
|---|
package com.example;
import javax.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
... |
package org.bimserver.cache;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import org.bimserver.longaction.DownloadParameters;
import org.bimserver.plugins.seriali... |
package org.bimserver.schemaconverter;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.EAnnotation;
import org.eclips... |
package org.bimserver;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Date;
import java.util.concurrent.TimeUnit;
import org.bimserver.database.DatabaseRestartRequiredException;
import org.bimserver.database.berkeley.DatabaseInitException;... |
package ch.openech.mj.edit.form;
import java.awt.event.KeyListener;
import java.math.BigDecimal;
import java.util.Collection;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.ResourceBundle;
import java.util.logging.Logger;
import javax.swing.Action... |
package HelperClasses;
import java.util.TreeMap;
import javax.swing.JTextField;
public class Units
{
public static final int ENTERFIELD_AMOUNT_COLUMNS = 6;
public static final int ENTERFIELD_AMOUNT_WIDTH = ((System.getProperty("os.name").contains("Mac")) ? -6 : 0) +
(int)(new JTextField(ENTERFIELD_A... |
package interrogation;
import java.util.HashMap;
import indexation.Index;
public class VectorielCartesien extends ModelIR {
private Weighter w;
public VectorielCartesien(Index index, Weighter w){
super(index);
this.w = w;
}
public double freqQuery(String word, HashMap<String, Integer> qu... |
import Item.*;
import java.util.*;
public class ItemTester
{
public static void main(String[] args)
{
ArrayList myList = new ArrayList<Storable>();
myList.add(new Bow(1));
myList.add(new Chainmail(2));
myList.add(new Dagger(3));
myList.add(new Bow(3));
myList.add(new Bow(1));
... |
/**
* @author kos
*/
package compiler.phases.finalphase;
import java.io.IOException;
import java.io.OutputStream;
import java.io.FileOutputStream;
import java.io.File;
import java.util.Vector;
import compiler.Main;
import compiler.common.report.Report;
import compiler.data.asmcode.AsmInstr;
import compiler.data.asmco... |
package ru.pinkponies.app;
import java.io.IOException;
import java.lang.ref.WeakReference;
import java.net.InetSocketAddress;
import java.nio.BufferOverflowException;
import java.nio.ByteBuffer;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.nio.channels.SocketChannel;
import java... |
package com.wenchao.cardstack;
import android.content.res.TypedArray;
import java.util.ArrayList;
import java.util.Queue;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import andr... |
package sunmi.com.sunmiauto;
import android.app.Instrumentation;
import android.os.Build;
import android.os.Environment;
import android.os.RemoteException;
import android.support.test.InstrumentationRegistry;
import android.support.test.uiautomator.By;
import android.support.test.uiautomator.UiDevice;
import android.su... |
package com.comp.ninti.database;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
import com.comp.ninti.general.RuleType;
import com.comp.ninti.general.core.Customer;
import com.comp.n... |
package com.example.rover;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.widget.GridLayoutManager;
i... |
package com.expidev.gcmapp.db;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
import com.expidev.gcmapp.model.Training;
import com.expidev.gcmap... |
package com.k3nx.signupform;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
public class LoginActivity extends ActionBarAct... |
package com.njlabs.showjava.ui;
import android.annotation.SuppressLint;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.gra... |
package com.shinewave.sopviewer;
import android.content.ContentValues;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.util.Log;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.List;
public class DBManager {
... |
package com.tpb.projects.flow;
import android.app.Activity;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.os.AsyncTask;
import android.os.Bundle;
import android.os.Parcelable;
import com.tpb.projects.R;
import com.tpb.projects.issues.Issue... |
package com.turlir.abakgists;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.AnimatorSet;
import android.animation.TimeInterpolator;
import android.annotation.TargetApi;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
impor... |
package io.rong.app.activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.app.ActionBar;
import android.text.Tex... |
package shivamdh.com.fitness60;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.database.Cursor;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.DialogFragment;
import android.support.v4.app.Fragment;
im... |
package jlibs.xml.sax.sniff.model.expr.nodeset;
import jlibs.xml.sax.sniff.engine.context.Context;
import jlibs.xml.sax.sniff.events.Event;
import jlibs.xml.sax.sniff.model.Datatype;
import jlibs.xml.sax.sniff.model.Node;
import jlibs.xml.sax.sniff.model.Notifier;
import jlibs.xml.sax.sniff.model.expr.Expression;
impor... |
// OLEParser.java
package loci.formats.in;
import java.io.*;
import java.util.*;
import loci.formats.*;
public class OLEParser {
// -- Constants --
/** OLE compound magic number. */
private static final byte[] MAGIC_NUMBER = new byte[] {
(byte) 0xd0, (byte) 0xcf, 0x11, (byte) 0xe0,
(byte) 0xa1, (byte) 0xb... |
// SDTReader.java
package loci.formats.in;
import java.io.*;
import loci.formats.*;
import loci.formats.meta.FilterMetadata;
import loci.formats.meta.MetadataStore;
public class SDTReader extends FormatReader {
// -- Fields --
/** Object containing SDT header information. */
protected SDTInfo info;
/** Offset t... |
package nars;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import nars.core.Memory;
import nars.core.Parameters;
import nars.entity.Task;
import nars.io.Symbols;
import nars.io.Texts;
import nars.language.Inheritance;
import nars.language.Product;
i... |
package org.jasig.portal.container.om.common;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import javax.portlet.PreferencesValidator;
import org.apache.pluto.om.common.Preference;
import org.apache.pluto.om.common.PreferenceSet;
import or... |
package org.pentaho.di.ui.spoon.delegates;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.List;
import java.util.Map;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jface.dialogs.Pro... |
package imagej.data.types;
import java.math.BigDecimal;
import java.math.RoundingMode;
import net.imglib2.type.numeric.ComplexType;
/**
* A complex number that stores values in BigDecimal (arbitrary) precision. This
* class is useful for supporting DataType translations with minimal data loss.
*
* @author Barry DeZ... |
package com.squareup.spoon;
import java.io.File;
import java.util.Iterator;
import java.util.Set;
import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.repository.ArtifactRepository;
import org.apache.maven.artifact.resolver.ArtifactResolutionRequest;
import org.apache.maven.plugin.AbstractMojo;
i... |
package org.opencms.ade.contenteditor.client;
import com.alkacon.acacia.client.EditorBase;
import com.alkacon.acacia.client.I_EntityRenderer;
import com.alkacon.acacia.client.I_InlineFormParent;
import com.alkacon.acacia.client.UndoRedoHandler;
import com.alkacon.acacia.client.UndoRedoHandler.UndoRedoState;
import com.... |
package com.galvarez.ttw.model;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.artemis.Aspect;
import com.artemis.ComponentMapper;
import com.artemis.Entity;
import com.artemis.annotations.Wire;
import com.artemis.systems.EntityProcessingSystem;
import com.galvarez.ttw.model.... |
package org.opencms.workplace.administration;
import org.opencms.jsp.CmsJspActionElement;
import org.opencms.main.OpenCms;
import org.opencms.util.CmsIdentifiableObjectContainer;
import org.opencms.util.CmsStringUtil;
import org.opencms.util.I_CmsIdentifiableObjectContainer;
import org.opencms.workplace.CmsWorkplace;
i... |
package liquibase.database.sql;
import liquibase.database.Database;
import java.util.*;
public class UpdateStatement implements SqlStatement {
private String schemaName;
private String tableName;
private Map<String, Object> newColumnValues = new HashMap<String, Object>();
private String whereClause;
... |
package net.tomp2p.message;
import io.netty.buffer.Unpooled;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelOutboundHandlerAdapter;
import io.netty.channel.ChannelPromise;
import io.netty.channel.socket.DatagramChannel;
import io.netty.channel.socket.DatagramPacket;
import java.net.InetSo... |
import java.io.IOException;
import java.io.FileInputStream;
import java.io.BufferedInputStream;
import java.util.Date;
import java.util.Properties;
import java.util.Observable;
import java.util.Observer;
import java.util.Vector;
import ie.omk.smpp.SMPPException;
import ie.omk.smpp.SmppConnectionDropPacket;
import ie.om... |
package controllers;
import java.io.*;
import java.nio.charset.Charset;
import java.sql.Time;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.*;
import java.util.stream.*;
import java.util.zip.ZipEntry;
import java.util.zip.ZipOutputStream;
import com.avaje.ebean.Ebean;
import com.a... |
package se.fnord.jamon;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Objects;
public class Node {
public static final int UNSET = -1;
private final List<Node> children = new ArrayList<Node>();
private final String value;
pri... |
package net.codehobby;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.DataOutputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileReader;
... |
/**
* When a Bucket is created Simperium creates a Channel to sync changes between
* a Bucket and simperium.com.
*
* A Channel is provided with a Simperium App ID, a Bucket to operate on, a User
* who owns the bucket and a Channel.Listener that receives messages from the
* Channel.
*
* To get messages into a Ch... |
package net.sf.taverna.t2.activities.dataflow.filemanager;
import java.util.Collection;
import net.sf.taverna.t2.activities.dataflow.DataflowActivity;
import net.sf.taverna.t2.workbench.file.FileManager;
import net.sf.taverna.t2.workflowmodel.Dataflow;
import net.sf.taverna.t2.workflowmodel.Processor;
import net.sf.tav... |
package org.sitenv.service.ccda.smartscorecard.controller;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
import java.io.OutputStream;
import java.net.URI;
import java.net.URISyntaxException... |
package org.kie.uberfire.plugin.model;
import org.jboss.errai.common.client.api.annotations.Portable;
@Portable
public enum PluginType {
PERSPECTIVE, SCREEN, EDITOR, SPLASH, DYNAMIC_MENU
} |
package com.vondear.vontools;
import android.app.Activity;
import android.content.Context;
import android.graphics.Bitmap;
import android.os.Handler;
import android.view.View;
import android.view.ViewGroup;
import android.view.inputmethod.InputMethodManager;
import android.widget.ImageView;
import android.widget.ListAd... |
package org.voovan.http.message;
import org.voovan.Global;
import org.voovan.http.message.packet.Cookie;
import org.voovan.http.message.packet.Part;
import org.voovan.http.server.context.WebContext;
import org.voovan.http.server.exception.HttpParserException;
import org.voovan.http.server.exception.RequestTooLarge;
imp... |
package edu.wpi.first.wpilibj.templates;
import edu.wpi.first.wpilibj.*;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
/**
*
* @author Roi and Simon
*/
public class RobotShoot {
private static boolean needsToBeWound;
private static boolean needsToBeUnwound;
private static boolean latched;
... |
package com.axelor.meta;
import static com.axelor.common.StringUtils.isBlank;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.nio.file.CopyOption;
import java.nio.file.FileVisitResult;
import java.nio.file.Fil... |
package demo;
import org.biojava.bio.structure.Structure;
import org.biojava.bio.structure.align.util.AtomCache;
import org.biojava.bio.structure.io.FileParsingParameters;
/** Example of how to load PDB files using the AtomCache class.
*
* @author Andreas Prlic
*
*/
public class DemoAtomCache {
public static vo... |
package runtime;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.Map.Entry;
import java.util.Set;
import org.eclipse.jgit.api.CheckoutCommand;
import org.eclipse.jgit.api.Git;
import org... |
/*
* $Log: IbisLocalSender.java,v $
* Revision 1.3 2005-08-30 16:02:28 europe\L190409
* made parameterized version
*
* Revision 1.2 2005/08/24 15:53:28 Gerrit van Brakel <gerrit.van.brakel@ibissource.org>
* improved error message for configuration exception
*
* Revision 1.1 2004/08/09 13:50:57 Gerrit van ... |
package org.unitime.timetable.model;
import java.util.Collection;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;
import java.util.Vector;
import org.hibernate.Query;
import org.hibernate.criterion.Order;
import org.hibernate.criterion.Restrict... |
package org.openecard.addon;
import org.openecard.common.util.ThreadManager;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Proxy;
import java.util.Collection;
import java.util.Set;
import javax.annotation.Nonnull;
import org.openecard.addon.bind.AppExtensionAction;
import org.openecard.addon.bind... |
package de.hbt.hackathon.rtb.agent;
import java.io.IOException;
import java.util.Timer;
import java.util.TimerTask;
import de.hbt.hackathon.rtb.protocol.Reader;
import de.hbt.hackathon.rtb.protocol.Writer;
import de.hbt.hackathon.rtb.protocol.message.input.InitializeMessage;
import de.hbt.hackathon.rtb.protocol.message... |
package com.sometrik.framework;
import java.util.ArrayList;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import android.animation.Animator;
import android.animation.AnimatorSet;
import android.animation.LayoutTransition;
import android.animation.ObjectAnimator;
import android.app.Dialog;
import andro... |
package br.com.liveo.liveogcm;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.v7.app.AppCompatActivity;
import androi... |
package com.andela.webservice;
import android.app.ListActivity;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.AsyncTask;
import android.os.Bundle;
import android.view.Menu;
... |
package com.andela.webservice;
import android.os.AsyncTask;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.method.ScrollingMovementMethod;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.ProgressBar;
import android.w... |
package com.jdoneill.slopeangle;
import android.app.Activity;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.hardware.Sensor;
import android.hardware.Sens... |
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.zigapk.weather;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ProgressBar;
import android.widget.TextView;
public class DetailsActivity extends App... |
package de.mygrades.main;
import android.content.Context;
import android.content.Intent;
/**
* Helper class with convenience methods to start background
* threads by sending intents to the MainService.
*
* This class is responsible for creating unique request ids for different requests.
*/
public class MainService... |
package info.nightscout.androidaps;
import android.app.Application;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.res.Resources;
import android.support.annotation.Nullable;
import android.support.v4.content.LocalBroadcastManager;
import com.crashlytics.android.Crashlytics;
i... |
package info.nightscout.androidaps;
import android.app.Application;
import android.content.BroadcastReceiver;
import android.content.IntentFilter;
import android.content.res.Resources;
import android.os.SystemClock;
import androidx.annotation.PluralsRes;
import androidx.localbroadcastmanager.content.LocalBroadcastManag... |
package org.mozilla.focus.utils;
import android.content.Context;
import android.support.annotation.DrawableRes;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.annotation.RawRes;
import android.util.Base64;
import java.io.BufferedReader;
import java.io.IOExc... |
package mx.udlap.is522.tedroid.activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.media.MediaPlayer;
import android.os.AsyncTask;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.TextView;
impo... |
package com.rultor.env.ec2;
import com.amazonaws.services.ec2.AmazonEC2;
import com.amazonaws.services.ec2.model.CreateTagsRequest;
import com.amazonaws.services.ec2.model.Instance;
import com.amazonaws.services.ec2.model.RunInstancesRequest;
import com.amazonaws.services.ec2.model.RunInstancesResult;
import com.amazon... |
package com.exedio.cope;
import java.sql.Connection;
import com.exedio.dsmf.Schema;
import com.exedio.dsmf.Sequence;
final class PkSourceSequenceImpl implements PkSourceImpl
{
private final Type type;
private final String name;
PkSourceSequenceImpl(final Type type, final Database database)
{
thi... |
package com.joa_ebert.apparat.tools.dump;
import java.io.File;
import java.io.FileOutputStream;
import java.io.PrintWriter;
import com.joa_ebert.apparat.abc.Abc;
import com.joa_ebert.apparat.abc.AbcPrinter;
import com.joa_ebert.apparat.swf.tags.ITag;
import com.joa_ebert.apparat.swf.tags.Tags;
import com.joa_ebert.appa... |
package com.jme3.gde.core.util.notify;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.PrintWriter;
import java.io.StringWriter;
import org.openide.DialogDisplayer;
import org.openide.NotifyDescriptor;
import org.openide.awt.Notification;
import org.openide.awt.NotificationDispla... |
package com.enioka.jqm.jdbc;
import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import javax.naming.InitialContext;
import javax.... |
package com.app.ui.assignment.barrelrace.views;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.graphics.Canvas;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorMana... |
package com.app.ui.assignment.barrelrace.views;
import android.app.Activity;
import android.content.Context;
import android.graphics.Canvas;
import android.media.MediaPlayer;
import android.os.Vibrator;
import android.view.MotionEvent;
import android.view.SurfaceHolder;
import android.view.SurfaceView;
import android.v... |
package com.blazeloader.api.client.api.render;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.FontRenderer;
import net.minecraft.client.gui.Gui;
import net.minecraft.client.gui.ScaledResolution;
/**
* Contains functions related to game rendering.
*/
public class ApiRenderClient {
private s... |
package com.haskforce.highlighting.annotation.external;
import com.haskforce.features.intentions.AddLanguagePragma;
import com.haskforce.features.intentions.AddTypeSignature;
import com.haskforce.features.intentions.RemoveForall;
import com.haskforce.highlighting.annotation.HaskellAnnotationHolder;
import com.haskforce... |
package com.karateca.ddescriber.dialog;
import com.intellij.openapi.util.IconLoader;
import com.karateca.ddescriber.model.TestFindResult;
import com.karateca.ddescriber.model.TreeNode;
import javax.swing.*;
import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.tree.DefaultTreeCellRenderer;
import java.awt.... |
package com.miviclin.droidengine2d.input;
import android.view.MotionEvent;
import com.miviclin.collections.PooledLinkedQueue;
/**
* TouchInputController.
*
* @author Miguel Vicente Linares
*
*/
public class TouchInputController {
private final Object motionEventQueueLock = new Object();
private TouchInputP... |
// 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... |
package org.apache.jmeter.modifiers;
import java.io.Serializable;
import java.util.Collection;
import java.util.LinkedList;
import org.apache.jmeter.engine.event.LoopIterationEvent;
import org.apache.jmeter.engine.event.LoopIterationListener;
import org.apache.jmeter.processor.PreProcessor;
import org.apache.jmeter.tes... |
package com.camerakit;
import android.Manifest;
import android.app.Activity;
import android.content.Context;
import android.content.ContextWrapper;
import android.content.pm.PackageManager;
import android.content.res.TypedArray;
import android.os.Build;
import android.support.annotation.IntDef;
import android.support.a... |
package thredds.cataloggen;
import thredds.catalog.InvCatalog;
import thredds.catalog.InvCatalogImpl;
import thredds.crawlabledataset.CrawlableDataset;
import java.io.IOException;
import java.util.List;
import org.jdom.Document;
/**
* An interface for building catalogs where each instance only builds
* catalogs for t... |
package de.timmyrs.suprdiscordbot.websocket;
import de.timmyrs.suprdiscordbot.Main;
import de.timmyrs.suprdiscordbot.apis.DiscordAPI;
import javax.websocket.*;
import java.net.URI;
@SuppressWarnings("unused")
@ClientEndpoint
public class WebSocketEndpoint
{
Session userSession = null;
private MessageHandler mes... |
package dr.inference.operators.hmc;
import dr.inference.hmc.GradientWrtParameterProvider;
import dr.inference.hmc.PrecisionColumnProvider;
import dr.inference.hmc.PrecisionMatrixVectorProductProvider;
import dr.inference.model.Parameter;
import dr.math.MathUtils;
import dr.math.matrixAlgebra.ReadableVector;
import dr.m... |
package edu.psu.compbio.seqcode.projects.sequtils;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import org.apache.log4j.Logger;
import edu.psu.compbio.seqcode.genome.Genome;
import edu.psu.compbio.seqcode.gen... |
package es.uniovi.imovil.fcrtrainer;
import java.util.ArrayList;
import java.util.Date;
import java.util.Random;
import org.json.JSONException;
import es.uniovi.imovil.fcrtrainer.highscores.HighscoreManager;
import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
import android.content.DialogInterface;
... |
package org.rstudio.core.client.widget;
import com.google.gwt.core.client.GWT;
import com.google.gwt.dom.client.Style;
import com.google.gwt.dom.client.Style.Unit;
import com.google.gwt.dom.client.Style.Visibility;
import com.google.gwt.event.dom.client.KeyCodes;
import com.google.gwt.event.shared.HandlerRegistration;
... |
package io.xchris6041x.devin.commands;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.command.TabCompleter;
import org.bukkit.util.StringUtil;
import io.xchris6041x.devin.MessageSender;
/**
*... |
package com.astoev.cave.survey.activity.main;
import java.sql.SQLException;
import android.location.Location;
import android.location.LocationProvider;
import android.os.Bundle;
import android.support.v4.app.FragmentTransaction;
import android.util.Log;
import android.view.MenuItem;
import android.view.View;
import com... |
package boundary.Point;
import boundary.Representation;
import com.wordnik.swagger.annotations.Api;
import com.wordnik.swagger.annotations.ApiOperation;
import com.wordnik.swagger.annotations.ApiResponse;
import com.wordnik.swagger.annotations.ApiResponses;
import entity.Point;
import entity.UserRole;
import provider.S... |
package br.edu.ifrn.sistcc.entidades;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.OneToMany;
@Entity
public class AutorPrincipal extends Usuario {
private static final long serialVersionUID = -5533463694044960350L;
@SuppressWarnings("unused")
private String vinculacao;
... |
package org.apache.commons.lang.exception;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util... |
package org.apache.commons.lang.exception;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.sql.SQLException;
/**
* Utility routines for manipulating <code>Throwable</code> objects.
*
* @author <a href="mailto:dlr@finemaltcoding.com">Dan... |
package org.smoothbuild.builtin.java.junit;
import static org.smoothbuild.builtin.java.junit.BinaryNameToClassFile.binaryNameToClassFile;
import static org.smoothbuild.message.base.MessageType.ERROR;
import static org.smoothbuild.util.Empty.nullToEmpty;
import java.util.Map;
import org.junit.runner.JUnitCore;
import or... |
package org.burroloco.donkey.spit.http;
import au.net.netstorm.boost.spider.api.runtime.Nu;
import edge.org.apache.http.HttpEntity;
import edge.org.apache.http.client.HttpClient;
import edge.org.apache.http.client.methods.CloseableHttpResponse;
import edge.org.apache.http.client.methods.HttpPost;
import edge.org.apache... |
package aphelion.shared.physics.entities;
import aphelion.shared.gameconfig.GCBoolean;
import aphelion.shared.gameconfig.GCBooleanList;
import aphelion.shared.gameconfig.GCColour;
import aphelion.shared.gameconfig.GCImage;
import aphelion.shared.gameconfig.GCInteger;
import aphelion.shared.gameconfig.GCIntegerFixed;
im... |
package archimulator.sim.uncore;
import archimulator.sim.base.event.DumpStatEvent;
import archimulator.sim.base.simulation.BasicSimulationObject;
import archimulator.sim.core.ProcessorConfig;
import archimulator.sim.uncore.coherence.msi.controller.CacheController;
import archimulator.sim.uncore.coherence.msi.controller... |
package ca.krasnay.sqlbuilder;
import java.security.SecureRandom;
public class UniqueStringGenerator implements Supplier<String> {
public static final String BASE36 = "0123456789abcdefghijklmnopqrstuvwxyz";
public static final String BASE62 = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
... |
package club.magicfun.aquila.job;
import java.io.File;
import org.openqa.selenium.By;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebDriver.Options;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.s... |
package co.ecso.jdao.cache;
import co.ecso.jdao.config.ApplicationConfig;
import co.ecso.jdao.connection.ConnectionPool;
import co.ecso.jdao.database.DatabaseField;
import java.io.Serializable;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.Map;
import java.util.Objects;
import java.util.con... |
package co.edu.uniandes.ecos.tarea7.util;
/**
* Clase utilitaria de constantes
* @author Daniel
*/
public class Constantes {
public static final String PROGRAM_NUMBER = "PN";
public static final String ESTIMATED_PROXY_SIZE = "EPS";
public static final String PLAN_ADDED_MODIFIED_SIZE = "PAMS";
public ... |
package com.aitusoftware.transport.buffer;
import com.aitusoftware.transport.files.Directories;
import com.aitusoftware.transport.files.Filenames;
import java.lang.invoke.MethodHandles;
import java.lang.invoke.VarHandle;
import java.nio.ByteBuffer;
import java.nio.file.Files;
import java.nio.file.Path;
public final cla... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.