answer stringlengths 17 10.2M |
|---|
package de.lmu.ifi.dbs.elki.algorithm;
import de.lmu.ifi.dbs.elki.data.NumberVector;
import de.lmu.ifi.dbs.elki.data.type.TypeInformation;
import de.lmu.ifi.dbs.elki.data.type.TypeUtil;
import de.lmu.ifi.dbs.elki.database.Database;
import de.lmu.ifi.dbs.elki.database.ids.DBID;
import de.lmu.ifi.dbs.elki.database.query.... |
package sliderTab;
import android.content.Context;
import android.media.Image;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androi... |
package org.jgroups.tests;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jgroups.*;
import org.jgroups.blocks.RpcDispatcher;
import org.jgroups.protocols.BasicTCP;
import org.jgroups.protocols.TCPPING;
import org.jgroups.protocols.UDP;
import org.jgroups.protocols.TP;
i... |
package io.druid.cli;
import com.google.common.base.Throwables;
import com.google.common.collect.ImmutableList;
import com.google.inject.Binder;
import com.google.inject.Injector;
import com.google.inject.Key;
import com.google.inject.Module;
import com.google.inject.multibindings.MapBinder;
import com.google.inject.na... |
package fi.csc.chipster.tools;
import java.io.File;
import fi.csc.chipster.tools.gbrowser.TsvSorter;
import fi.csc.microarray.analyser.java.JavaAnalysisJobBase;
import fi.csc.microarray.client.visualisation.methods.gbrowser.fileFormat.ColumnType;
import fi.csc.microarray.client.visualisation.methods.gbrowser.fileFormat... |
package dr.inference.markovjumps;
import dr.math.MathUtils;
import dr.math.GammaFunction;
import dr.math.matrixAlgebra.Vector;
import java.util.List;
import java.util.ArrayList;
import java.util.Arrays;
/**
* A class to represent a Poisson process and discrete-time Markov chain that subordinate
* a continuous-time Ma... |
package battle;
import javax.swing.*;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.util.*;
import java.util.List;
import java.util.Set;
import ability.Ability;
import character.Character;
import mapElement.MapElement;
public class Board extends JPanel {
static int cellSize = 75;
static in... |
package dr.inference.model;
import dr.inference.operators.factorAnalysis.FactorAnalysisOperatorAdaptor;
import dr.inference.operators.factorAnalysis.FactorAnalysisStatisticsProvider;
import dr.inferencexml.operators.factorAnalysis.LoadingsOperatorParserUtilities;
import dr.xml.*;
public class FactorProportionStatistic ... |
package lombok.eclipse.agent;
import java.io.BufferedOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.List;
import java.util.Stack;
import lombok.core.DiagnosticsReceiver;
import lombok.core.PostCompiler;
import lombok.co... |
package edu.usfca.vas.graphics.fa;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedList;
import javax.swing.*;
import edu.usfca.xj.appkit.frame.XJFrame;
import edu.usfca.xj.appkit.gview.object.GEleme... |
package edu.wheaton.simulator.gui.screen;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.Box;
import javax.swing.JButton;
import ... |
package test;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* This annotation class is used to annotate classes
* which are the base class of a number of sub-classes
* identifiable by some "kind" va... |
package test;
import java.util.Date;
/**
* @author Jianzhao Li
*/
public class PrintDate {
public void printDate() {
final Date date = new Date();
System.out.println(date);
}
} |
package com;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.io.PrintStream;
import java.io.UnsupportedEncodingException;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.Date;
import java.util.LinkedList;
import java.util.List;
import... |
package to.etc.domui.dom.html;
import java.util.*;
import javax.annotation.*;
import to.etc.domui.component.buttons.*;
import to.etc.domui.dom.errors.*;
import to.etc.domui.server.*;
import to.etc.domui.util.*;
public class Select extends InputNodeContainer implements IHasModifiedIndication {
private boolean m_mult... |
package to.etc.domui.logic;
import java.util.*;
import javax.annotation.*;
import to.etc.domui.component.meta.*;
import to.etc.domui.util.*;
import to.etc.domui.util.db.*;
import to.etc.util.*;
public class LogiModel {
@Nonnull
private Set<Object> m_modelRoots = new HashSet<Object>();
/** Maps original inst... |
package org.opensim.view.pub;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.text.NumberFormat;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Enumeration;
import java.util.Hashtable;
... |
package cz.hobrasoft.pdfmu;
import net.sourceforge.argparse4j.impl.Arguments;
import net.sourceforge.argparse4j.inf.Namespace;
import net.sourceforge.argparse4j.inf.Subparser;
import net.sourceforge.argparse4j.inf.Subparsers;
/**
* Adds a digital signature to a PDF document
*
* @author Filip
*/
public class Operati... |
package fi.cie.chiru.servicefusionar.sensors;
import java.util.ArrayList;
import java.util.List;
import fi.cie.chiru.servicefusionar.serviceApi.ServiceManager;
import android.os.Handler;
import android.util.Log;
public class Sensors implements OrientationListener
{
private static final String LOG_TAG = "ServiceFusi... |
package net.maizegenetics.pal.distance;
import net.maizegenetics.pal.alignment.Alignment;
import net.maizegenetics.pal.alignment.AlignmentUtils;
import net.maizegenetics.util.BitSet;
import net.maizegenetics.util.BitUtil;
import net.maizegenetics.util.OpenBitSet;
import net.maizegenetics.util.ProgressListener;
/**
* T... |
package net.maizegenetics.pipeline;
import net.maizegenetics.baseplugins.*;
import net.maizegenetics.baseplugins.genomicselection.RidgeRegressionEmmaPlugin;
import net.maizegenetics.dna.map.TagsOnPhysMapHDF5;
import net.maizegenetics.dna.map.TagsOnPhysicalMap;
import net.maizegenetics.dna.snp.io.BuilderFromHapMap;
impo... |
package org.biojava.bio.program.sax;
import java.io.BufferedReader;
import java.io.IOException;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import org.xml.sax.Attributes;
import org.xml.sax.InputSource;
imp... |
package net.mcft.copy.betterstorage;
import java.util.logging.Logger;
import net.mcft.copy.betterstorage.addon.Addon;
import net.mcft.copy.betterstorage.block.BlockArmorStand;
import net.mcft.copy.betterstorage.block.BlockBackpack;
import net.mcft.copy.betterstorage.block.BlockEnderBackpack;
import net.mcft.copy.better... |
package net.ohloh.ohcount4j.scan;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import net.ohloh.ohcount4j.LanguageEntity;
public class LineEventHandler implements EventHandler {
List<Line> lines = new ArrayList<Line>();
LanguageEntity currentEntity = null;
Line currentLine = n... |
package com.markjmind.uni;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;
import com.markjmind.uni.common.Store;
import com.markjmind.uni.mapper.Mapper;
import com.markjmind.uni.mapper.annotiation.adapter.Para... |
package omnikryptec.resource.texture;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.util.Properties;
import org.lwjgl.opengl.EXTTextureFilterAnisotropic;
import org.lwjgl.opengl.GL;
import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;
import org.lwjgl.opengl.GL13;
import org.lwjgl.opengl.GL... |
package io.growingabit.jersey.filters;
import java.io.IOException;
import java.security.interfaces.RSAPrivateKey;
import java.security.interfaces.RSAPublicKey;
import java.util.Set;
import javax.annotation.Priority;
import javax.ws.rs.Priorities;
import javax.ws.rs.container.ContainerRequestContext;
import javax.ws.rs.... |
package org.jetbrains.plugins.ipnb.editor.panels;
import com.google.common.collect.Lists;
import com.intellij.openapi.actionSystem.DataProvider;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.fileEditor.OpenFileDescriptor;
import com.intellij.openapi.project.Project;
import com.... |
package raptor.connector.ics.timeseal;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.net.Socket;
import org.apache.commons.lang.StringUtils;
import raptor.connector.ics.IcsUtils;
import raptor.util.RaptorLogger;
public class TimesealSocketMessageProducer impl... |
package org.bdgp.OpenHiCAMM.Modules;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.bdgp.OpenHiCAMM.ImageLog.ImageLogRunner;
import org.bdgp.OpenHiCAMM.Logger;
import org.bdgp.OpenHiCAMM.DB.Config;
import org.bdgp.OpenHiCAMM.DB.Image;
import org.bdgp.OpenHiCAMM.DB.ROI;
import org.bd... |
package org.bouncycastle.jce.provider;
import java.security.cert.CertStore;
import java.security.cert.CertStoreException;
import java.security.cert.PKIXParameters;
import java.security.cert.X509CRL;
import java.security.cert.X509Certificate;
import java.util.Collection;
import java.util.Date;
import java.util.HashSet;
... |
package org.cleartk.classifier;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.jar.Attributes;
import java.util.jar.JarFile;
import java.util.jar.Manifest;
public class ClassifierManifest extends Manifest {
public static final Attri... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.frc1675.subsystems;
import edu.wpi.first.wpilibj.Jaguar;
import edu.wpi.first.wpilibj.SpeedController;
import edu.wpi.first.wpilibj.Victor;
import edu.wpi.first.wpilibj.command.Subsystem;
import org.frc1675.R... |
package org.helioviewer.jhv.astronomy;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Nullable;
import javax.swing.border.Border;
import org.helioviewer.jhv.base.Colors;
import org.helioviewer.jhv.gui.components.base.JHVTableCellRenderer;
import com.google.common.collect.ImmutableMap;
public... |
package org.opencms.jsp.util;
import org.opencms.file.CmsObject;
import org.opencms.jsp.CmsJspResourceWrapper;
import org.opencms.main.CmsException;
import org.opencms.main.CmsLog;
import org.opencms.main.OpenCms;
import org.opencms.staticexport.CmsLinkManager;
import org.opencms.util.CmsCollectionsGenericWrapper;
impo... |
package org.opencms.staticexport;
import org.opencms.main.OpenCms;
import org.opencms.site.CmsSite;
import org.opencms.site.CmsSiteManager;
import com.opencms.file.CmsObject;
import org.htmlparser.Node;
import org.htmlparser.Parser;
import org.htmlparser.RemarkNode;
import org.htmlparser.StringNode;
import org.htmlpars... |
package org.treetank.sessionlayer;
import org.treetank.api.IConstants;
import org.treetank.api.IReadTransaction;
import org.treetank.nodelayer.AbstractNode;
/**
* <h1>ReadTransaction</h1>
*
* <p>
* Read-only transaction wiht single-threaded cursor semantics. Each
* read-only transaction works on a given revision k... |
package org.twak.siteplan.anchors;
import java.awt.geom.AffineTransform;
import java.util.Arrays;
import java.util.Iterator;
import java.util.Set;
import javax.swing.JComponent;
import javax.vecmath.Point2d;
import org.twak.siteplan.campskeleton.Siteplan;
import org.twak.camp.Corner;
import org.twak.camp.Edge;
import o... |
package pl.droidsonroids.gif.sample;
import android.content.pm.FeatureInfo;
import android.opengl.GLSurfaceView;
import android.os.Bundle;
import android.support.design.widget.Snackbar;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import java.io.IOException;
import java.n... |
package org.researchstack.sampleapp;
import android.content.Context;
import org.researchstack.backbone.result.TaskResult;
import org.researchstack.bridge.BridgeDataProvider;
public class SampleDataProvider extends BridgeDataProvider
{
public SampleDataProvider()
{
super();
}
@Override
public... |
package com.ixuea.android.downloader.simple;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.ixuea.android.common.activity.BaseActivity;
import com.ixuea.android.downloader.DownloadService;
import com.ixuea.android.downloader.config.Config;
import com.ixuea.android.download... |
package org.u_compare.gui.component;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.event.FocusEvent;
import java.awt.event.FocusListener;
import javax.swing.BoxLayout;
import javax.swing.DefaultListCellRenderer;
import javax.swing.JButton;
impor... |
package org.concord.framework.simulation;
import java.util.EventObject;
/**
* SimulationEvent
* Class name and description
*
* Date created: Aug 24, 2004
*
* @author imoncada<p>
*
*/
public class SimulationEvent extends EventObject
{
//The source of this event should be a Simulation object
private int p... |
// 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.exist.xquery.functions.request;
import org.exist.dom.QName;
import org.exist.xquery.AbstractInternalModule;
import org.exist.xquery.FunctionDef;
import org.exist.xquery.XPathException;
/**
* @author Wolfgang Meier (wolfgang@exist-db.org)
*/
public class RequestModule extends AbstractInternalModule {
p... |
package org.usfirst.frc308.FRC2017;
/**
* This class contains all the variables set my the developers for the robot.
*
* @author Alex
* @version 1.0.0
*/
public class RobotConstants {
// IMPORTANT NOTICE
// Please make sure, that all the constants you insert here, are in the
// rig... |
package org.helioviewer.jhv.layers.connect;
import java.io.BufferedReader;
import java.net.URI;
import java.time.format.DateTimeFormatter;
import java.util.concurrent.Callable;
import javax.annotation.Nonnull;
import org.helioviewer.jhv.astronomy.Position;
import org.helioviewer.jhv.astronomy.PositionMapReceiver;
impor... |
package mobi.hsz.idea.gitignore.command;
import com.intellij.notification.Notification;
import com.intellij.notification.NotificationType;
import com.intellij.notification.Notifications;
import com.intellij.openapi.application.Result;
import com.intellij.openapi.command.WriteCommandAction;
import com.intellij.openapi.e... |
package org.jets3t.servlets.gatekeeper;
import java.security.Principal;
import javax.servlet.http.HttpSession;
/**
* Stores information about an HTTP client that submitted a request to the Gatekeeper.
* <p>
* The information available about a client will depend on the server and client configuration,
* such as whet... |
package org.kwstudios.play.ragemode.gameLogic;
import java.util.Timer;
import java.util.TimerTask;
import java.util.UUID;
import org.bukkit.Bukkit;
import org.bukkit.configuration.file.FileConfiguration;
import org.kwstudios.play.ragemode.toolbox.ConfigFactory;
public class LobbyTimer {
private static final String ... |
package org.openbmap.unifiedNlp.Geocoder;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.SharedPreferences;
import android.database.Cursor;
import android.database.sqlite.SQLiteCantOpenDatabaseException;
import android.database.sqlite.... |
package org.pentaho.agilebi.pdi.modeler;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import org.pentaho.di.core.database.... |
package net.coobird.thumbnailator.tasks;
import java.awt.image.BufferedImage;
import java.io.IOException;
import net.coobird.thumbnailator.ThumbnailParameter;
import net.coobird.thumbnailator.tasks.io.ImageSink;
import net.coobird.thumbnailator.tasks.io.ImageSource;
/**
* A {@link ThumbnailTask} which holds an {@link ... |
package net.drewke.tdme.tools.leveleditor.views;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import net.drewke.tdme.engine.Camera;
import net.drewke.tdme.engine.Engine;
import net.drewke.tdme.engine.Entity;
import net.drewke.tdme.engine.Light;
import net.drewke.tdme.engine.Object3D;
impor... |
package org.pentaho.di.trans.steps.csvinput;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.pentaho.di.core.CheckResult;
import org.pentaho.di.core.CheckResultInterface;
import org.pentaho.di.core.Const;
import org.pentaho.di.core.Counter;
import org.pentaho.di.core.annotations.Step... |
package net.java.sip.communicator.impl.neomedia;
import java.io.*;
import java.net.*;
import java.util.*;
import java.beans.*;
import javax.media.*;
import javax.media.control.*;
import javax.media.format.*;
import javax.media.protocol.*;
import javax.media.rtp.*;
import javax.media.rtp.event.*;
import javax.media.rtp.... |
package net.sf.jaer.graphics;
import java.util.Iterator;
import com.jogamp.opengl.GL;
import com.jogamp.opengl.GL2;
import com.jogamp.opengl.GL2ES2;
import com.jogamp.opengl.GL3;
import com.jogamp.opengl.GLAutoDrawable;
import com.jogamp.opengl.fixedfunc.GLMatrixFunc;
import com.jogamp.opengl.glu.GLU;
import com.jogamp... |
package org.apache.xml.security.c14n.implementations;
import java.io.IOException;
import java.io.OutputStream;
import java.util.Map;
import junit.framework.Test;
import junit.framework.TestSuite;
public class UtfHelpper {
final static void writeByte(final String str,final OutputStream out,Map cache) throws IOExcept... |
package gov.nrel.apiumbrella;
import java.io.IOException;
import java.math.BigInteger;
import java.net.MalformedURLException;
import java.net.URL;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.text.NumberFormat;
import java.util.HashSet;
import java.util.Locale;
import j... |
package gov.nih.nci.ncicb.cadsr.loader;
import gov.nih.nci.ncicb.cadsr.loader.event.ElementChangeEvent;
import gov.nih.nci.ncicb.cadsr.loader.event.ElementChangeListener;
import gov.nih.nci.ncicb.cadsr.loader.ui.tree.AbstractUMLNode;
import gov.nih.nci.ncicb.cadsr.loader.ui.tree.ReviewableUMLNode;
import gov.nih.nci.nc... |
package nars.predict;
import automenta.vivisect.TreeMLData;
import automenta.vivisect.swing.NWindow;
import automenta.vivisect.swing.PCanvas;
import automenta.vivisect.timeline.BarChart;
import automenta.vivisect.timeline.LineChart;
import automenta.vivisect.timeline.TimelineVis;
import java.awt.Color;
import nars.core... |
package cgeo.geocaching.log;
import cgeo.geocaching.Intents;
import cgeo.geocaching.R;
import cgeo.geocaching.TrackableActivity;
import cgeo.geocaching.command.AbstractCommand;
import cgeo.geocaching.connector.ConnectorFactory;
import cgeo.geocaching.connector.IConnector;
import cgeo.geocaching.connector.ILoggingManage... |
package edu.cmu.neuron2;
import java.io.*;
import java.net.*;
import java.util.*;
import java.lang.annotation.*;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.ObjectInputStream;
impor... |
package pitt.search.semanticvectors.vectors;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Random;
import java.util.logging.Logger;
import org.apache.lucene.store.IndexInput;
import org.apache.lucene.store.IndexOutput;
import org.apache.lucene.util.OpenBitSet;
/**
* Binary implementation of ... |
package mil.nga.giat.mage.sdk.fetch;
import android.content.Context;
import android.util.Log;
import com.google.common.io.ByteStreams;
import java.io.File;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.net.URL;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Collect... |
package cgeo.geocaching.utils;
import cgeo.geocaching.R;
import cgeo.geocaching.compatibility.Compatibility;
import cgeo.geocaching.enumerations.CacheListType;
import cgeo.geocaching.enumerations.LoadFlags;
import cgeo.geocaching.enumerations.WaypointType;
import cgeo.geocaching.list.StoredList;
import cgeo.geocaching.... |
package com.smartdevicelink.proxy.rpc.enums;
import java.util.EnumSet;
/**
* Specifies the language to be used for TTS, VR, displayed messages/menus
*
*
* @since SmartDeviceLink 1.0
*
*/
public enum Language {
/**
* English - US
*/
EN_US("EN-US"),
/**
* Spanish - Mexico
*/
ES_M... |
package pathfinding.astar.arcs;
import graphic.PrintBuffer;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.LinkedList;
import me... |
package ca.ualberta.lard.Stretchy;
import ca.ualberta.lard.model.CommentRequest;
import ca.ualberta.lard.model.GeoLocation;
/**
* Elastic search uses specific string literal formatting. SearchRequest
* transforms the size, body text, and parent of a comment into the correct
* Json String format.
*/
public class Sea... |
package org.ddpush.service.broadCast.exeutor.mysql;
import java.net.SocketAddress;
import java.util.List;
import org.ddpush.im.util.JsonConvertor;
import org.ddpush.im.util.JsonCreator;
import org.ddpush.im.util.StringUtil;
import org.ddpush.im.v1.node.IMServer;
import org.ddpush.im.v1.node.NodeStatus;
import org.ddpus... |
package org.spine3.server.validate;
import com.google.protobuf.ByteString;
import com.google.protobuf.DoubleValue;
import com.google.protobuf.Message;
import com.google.protobuf.ProtocolStringList;
import com.google.protobuf.StringValue;
import com.google.protobuf.Timestamp;
import org.junit.Test;
import org.spine3.bas... |
package org.handwerkszeug.riak.op.mapreduce;
import org.codehaus.jackson.node.ArrayNode;
public class MapReduceKeyFilters {
/**
* Transform functions
*/
public static class Transform {
static final MapReduceKeyFilter intToString = new MapReduceKeyFilter() {
@Override
pu... |
package ilearnrw.textadaptation;
import ilearnrw.annotation.UserBasedAnnotatedWord;
import ilearnrw.textclassification.*;
import ilearnrw.user.profile.UserProfile;
import ilearnrw.textadaptation.utils.*;
import ilearnrw.annotation.*;
import ilearnrw.annotation.AnnotatedPack;
import java.util.ArrayList;
import java.util... |
package com.reizes.shiva2.http;
import java.io.Closeable;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.Map;
import java.util.concurrent.atomic.AtomicBoolean;
import org.apache.http.Consts;
import org.apache.http.Ht... |
package de.eightbitboy.ecorealms.simulation;
import java.util.EnumMap;
import java.util.Map;
import java.util.Set;
public class Inventory {
private Map<Resource, Integer> resources; //TODO Find a better name!?
public Inventory() {
resources = new EnumMap<Resource, Integer>(Resource.class);
}
pub... |
package org.slc.sli.api.resources.v1;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.DefaultValue;
import javax.ws.rs.core.HttpHeaders;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Resp... |
package com.composum.sling.core.util;
import com.composum.sling.core.exception.PropertyValueFormatException;
import com.composum.sling.core.filter.StringFilter;
import com.composum.sling.core.mapping.MappingRules;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.stream.JsonReader;... |
package city.restaurant.omar;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Hashtable;
import java.util.List;
import java.util.Map;
import city.PersonAgent;
import city.Place;
import city.market.Item;
import city.market.Market;
import city.restaurant.RestaurantCashierRole;
import city.resta... |
package toothpick.smoothie.annotations;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import javax.inject.Scope;
import static java.lang.annotation.RetentionPolicy.CLASS;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* Identifies a type that the injector only instanti... |
package com.ge.snowizard.client;
import static com.google.common.base.Preconditions.checkNotNull;
import java.io.Closeable;
import java.io.IOException;
import java.util.List;
import javax.annotation.Nullable;
import org.apache.http.HttpEntity;
import org.apache.http.HttpHeaders;
import org.apache.http.HttpResponse;
imp... |
package rapanui.ui.models;
import rapanui.core.ConclusionProcess;
import rapanui.core.ConclusionProcessObserver;
import rapanui.core.FormulaType;
import rapanui.core.Transformation;
import rapanui.dsl.Term;
import java.util.List;
import java.util.LinkedList;
public class ConclusionProcessModel implements ConclusionProc... |
package com.ge.snowizard.client;
import java.io.IOException;
import org.apache.http.HttpEntity;
import org.apache.http.HttpHeaders;
import org.apache.http.HttpResponse;
import org.apache.http.HttpStatus;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.HttpClient;
import org.apache.h... |
package soot.jimple.toolkits.transaction;
import java.util.*;
import soot.*;
import soot.util.Chain;
import soot.jimple.*;
import soot.jimple.toolkits.pointer.*;
import soot.toolkits.scalar.*;
import soot.toolkits.graph.*;
import soot.tagkit.LineNumberTag;
public class TransactionTransformer extends SceneTransformer
{
... |
package org.jasig.portal;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.NodeList;
import org.w3c.dom.Element;
import org.apache.xerces.dom.DocumentImpl;
import org.apache.xerces.parsers.DOMParser;
import java.io.StringWriter;
import java.sql.Connectio... |
package ed.appserver.templates.djang10;
import java.io.File;
import java.io.FileInputStream;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.testng.ITest;
import org.testng.annotations.AfterClass... |
package org.jasig.portal.channels;
import javax.servlet.*;
import javax.servlet.jsp.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;
import org.jasig.portal.*;
import org.jasig.portal.channels.bookmarks.*;
import com.objectspace.xml.*;
import java.sql.*;
/**
* This is a channel for storing user-de... |
package com.noxlogic.joindin;
/*
* Preferences activity. We use the android own preference Activity for easy handling
*/
import android.accounts.*;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import and... |
package com.github.abel533.entity.test;
import com.github.abel533.entity.mapper.CommonMapper;
import com.github.abel533.entity.model.Country;
import com.github.abel533.entity.model.CountryExample;
import com.github.abel533.mapper.MybatisHelper;
import org.apache.ibatis.session.SqlSession;
import org.junit.Test;
import ... |
package com.github.dziga.orest.test.client;
import com.github.dziga.orest.client.ObjectRestClient;
import com.github.dziga.orest.test.client.api.RestEndpoints;
import com.github.dziga.orest.test.client.domain.Customer;
import com.github.tomakehurst.wiremock.common.Slf4jNotifier;
import com.github.tomakehurst.wiremock.j... |
package com.jos.dem.vetlog.service;
import com.jos.dem.vetlog.command.Command;
import com.jos.dem.vetlog.command.MessageCommand;
import com.jos.dem.vetlog.model.User;
import com.jos.dem.vetlog.repository.RegistrationCodeRepository;
import com.jos.dem.vetlog.repository.UserRepository;
import com.jos.dem.vetlog.service.i... |
package com.profesorfalken.jpowershell;
import org.junit.Assert;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import java.io.*;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* Tests ... |
package com.rox.emu.processor.mos6502;
import com.github.radm.theories.TheorySuite;
import com.rox.emu.mem.Memory;
import com.rox.emu.mem.SimpleMemory;
import org.junit.Before;
import org.junit.contrib.theories.DataPoints;
import org.junit.contrib.theories.Theory;
import org.junit.runner.RunWith;
import static org.hamc... |
package com.stevewedig.blog.symbol;
import static com.stevewedig.blog.symbol.SymbolLib.map;
import static com.stevewedig.blog.symbol.SymbolLib.symbol;
import com.google.common.base.Optional;
import com.google.common.collect.ImmutableSet;
import com.stevewedig.blog.value_objects.ValueMixin;
class ArticleWithSymbols exte... |
package net.openhft.chronicle.queue.util;
import net.openhft.chronicle.core.Jvm;
import net.openhft.chronicle.core.OS;
import net.openhft.chronicle.core.io.AbstractCloseable;
import net.openhft.chronicle.core.io.IOTools;
import net.openhft.chronicle.core.time.SetTimeProvider;
import net.openhft.chronicle.queue.Chronicl... |
package org.mskcc.cgds.scripts;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import org.mskcc.cgds.dao.DaoCancerStudy;
import org.mskcc.cgds.dao.DaoClinicalData;
import org.mskcc.cg... |
package it.feio.android.omninotes.models;
import it.feio.android.omninotes.R;
import it.feio.android.omninotes.utils.Constants;
import it.feio.android.omninotes.utils.DbHelper;
import java.util.HashMap;
import java.util.List;
import android.content.Context;
import android.preference.PreferenceManager;
import android.vi... |
package com.healthmarketscience.jackcess;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectOutputStream;
import java.io.ObjectStreamException;
import java.io.Reader;
import java.io.Serializable;
import java.math.BigDecimal;
import java.math.BigInteger;
i... |
package smp.components.staff;
import smp.ImageIndex;
import smp.ImageLoader;
import smp.SoundfontLoader;
import smp.components.Constants;
import smp.components.InstrumentIndex;
import smp.components.staff.sequences.StaffNote;
import smp.components.topPanel.ButtonLine;
import smp.stateMachine.Settings;
import smp.stateM... |
package pl.java.scalatech.test.file;
import java.io.File;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.DirectoryStream;
import java.nio.file.FileStore;
import java.nio.file.FileVisitResult;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import jav... |
// Narya library - tools for developing networked games
// This library is free software; you can redistribute it and/or modify it
// (at your option) any later version.
// This library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// You should ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.