answer stringlengths 17 10.2M |
|---|
package se.sics.cooja.mspmote;
import java.awt.*;
import java.io.*;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Vector;
import javax.swing.*;
import org.apache.log4j.Logger;
import org.jdom.Element;
import se.sics.cooja.*;
import se.sics.cooja.interfaces.IPAddress;
/**
* MSP430-based mote... |
package de.jeha.s3pt.operations;
import com.amazonaws.services.s3.AmazonS3;
import com.amazonaws.services.s3.model.ObjectListing;
import com.amazonaws.services.s3.model.S3ObjectSummary;
import de.jeha.s3pt.OperationResult;
import org.apache.commons.lang3.time.StopWatch;
import org.slf4j.Logger;
import org.slf4j.LoggerF... |
package de.raysha.net.scs;
import java.io.IOException;
import java.io.InputStream;
import java.net.Socket;
import java.nio.ByteBuffer;
import java.util.HashMap;
import java.util.Map;
import de.raysha.net.scs.exception.NoSerializerFoundException;
import de.raysha.net.scs.exception.UnknownMessageException;
import de.rays... |
package com.thaiopensource.relaxng.output.xsd;
import com.thaiopensource.relaxng.edit.AbstractVisitor;
import com.thaiopensource.relaxng.edit.AttributePattern;
import com.thaiopensource.relaxng.edit.ChoiceNameClass;
import com.thaiopensource.relaxng.edit.CompositePattern;
import com.thaiopensource.relaxng.edit.DefineCo... |
package brooklyn.entity;
import java.io.Serializable;
import java.util.Collection;
import java.util.Map;
import brooklyn.config.ConfigKey;
import brooklyn.entity.proxying.EntitySpec;
import brooklyn.entity.rebind.Rebindable;
import brooklyn.event.AttributeSensor;
import brooklyn.location.Location;
import brooklyn.manag... |
package org.sana.core;
import com.google.gson.annotations.Expose;
import org.sana.api.IObserver;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
/**
* An entity that collects data.
*
* @author Sana Development
*
*/
public class Observe... |
package de.springbootbuch.webmvc;
import java.io.IOException;
import javax.inject.Provider;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.ser... |
package com.unidev.spring;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.util.CollectionUtils;
import java.util.*;
/**
* Component for fetching random values
* @author ... |
package eu.bitwalker.useragentutils;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Enum constants for most common browsers, including e-mail clients and bots.
* @author harald
*
*/
public enum Browser {
/**
* Outlook email client
... |
package com.novoda.merlin;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import static com.novoda.merlin.MerlinsBeard.NetworkType.*;
import static org.fest.assertions.api.Assertions.assert... |
package com.felhr.usbserial;
import android.hardware.usb.UsbConstants;
import android.hardware.usb.UsbDevice;
import android.hardware.usb.UsbDeviceConnection;
import android.hardware.usb.UsbEndpoint;
import android.hardware.usb.UsbInterface;
import android.hardware.usb.UsbRequest;
import android.util.Log;
import java.u... |
package application;
import java.util.ArrayList;
import java.util.LinkedList;
/**
* The main class to store and provide the URLs for the bot.
*/
public class UrlPool
{
/**
* All checked URL list.
*/
private ArrayList<String> checkedUrls;
/**
* URL list where the keywords was found.
*/
... |
package exercise.cpc.chess.board;
//Please see the AUTHORS file for details.
import java.util.ArrayList;
import java.util.List;
import exercise.cpc.chess.pieces.piece.ChessPiece;
import exercise.cpc.chess.pieces.piece.position.Position;
import exercise.cpc.data.input.impl.dimensions.DataInputDimensions;
public class Ch... |
package fi.csc.microarray.config;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.UnsupportedEncodingException;
import java.net.InetA... |
package nju.software.jxjs.dao;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Set;
import javax.annotation.Resource;
import nju.software.jxjs.model.PubXtglYhb;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.Sessio... |
package frc.team4215.stronghold;
import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.Victor;
import jaci.openrio.toast.lib.log.Logger;
import jaci.openrio.toast.lib.module.IterativeModule;
import jaci.openrio.toast.lib.registry.Registrar;
public class RobotModule extends IterativeModule {
Victor lef... |
package graphql.parser;
import graphql.Internal;
import graphql.language.SourceLocation;
import org.antlr.v4.runtime.Token;
@Internal
public class SourceLocationHelper {
public static SourceLocation mkSourceLocation(MultiSourceReader multiSourceReader, Token token) {
// multi source reader lines are 0 based... |
package graphql.schema;
import graphql.AssertException;
import graphql.Internal;
import graphql.PublicApi;
import graphql.language.InterfaceTypeDefinition;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.function.UnaryOperator;
import static grap... |
package hudson.plugins.antexec;
import hudson.EnvVars;
import hudson.FilePath;
import hudson.model.*;
import java.io.IOException;
import java.io.PrintStream;
public class AntExecUtils {
public static FilePath getAntHome(AbstractBuild build, PrintStream logger, EnvVars env, Boolean isUnix, String antHome, Boolean ve... |
package hudson.plugins.ec2;
import hudson.Util;
import hudson.model.Computer;
import hudson.model.Descriptor;
import hudson.model.Descriptor.FormException;
import hudson.model.Node;
import hudson.model.Slave;
import hudson.plugins.ec2.util.AmazonEC2Factory;
import hudson.plugins.ec2.util.ResettableCountDownLatch;
impor... |
package com.khartec.waltz.jobs;
import com.khartec.waltz.common.SetUtilities;
import com.khartec.waltz.model.*;
import com.khartec.waltz.model.survey.*;
import com.khartec.waltz.service.DIConfiguration;
import com.khartec.waltz.service.survey.SurveyInstanceService;
import com.khartec.waltz.service.survey.SurveyQuestion... |
package com.box.l10n.mojito.service.tm;
import com.box.l10n.mojito.common.StreamUtil;
import com.box.l10n.mojito.entity.Asset;
import com.box.l10n.mojito.entity.Locale;
import com.box.l10n.mojito.entity.PluralForm;
import com.box.l10n.mojito.entity.PollableTask;
import com.box.l10n.mojito.entity.Repository;
import com.... |
package io.seqware.pancancer;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.List;
import java.util.Map;
import net.sourceforge.seqware.pipeline.workflowV2.AbstractWorkflowDataModel;
import net.sourceforge.... |
/**
* created at Sep 17, 2001
* @author Jeka
*/
package com.intellij.refactoring.changeSignature;
import com.intellij.codeInsight.ExceptionUtil;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.project.Project;
import com.intellij.... |
package org.motechproject.nms.region.service.impl;
import org.apache.commons.io.IOUtils;
import org.datanucleus.store.rdbms.query.ForwardQueryResult;
import org.motechproject.mds.query.SqlQueryExecution;
import org.motechproject.metrics.service.Timer;
import org.motechproject.nms.csv.exception.CsvImportDataException;
i... |
package lan.dk.podcastserver.entity;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lan.dk.podcastserver.utils.jDomUtils;
import org.hibernate.annotations.Fetch;
import org.hibernate.annotations.FetchMode;
import org.hibernate.annotations.Type;
i... |
package org.stevedowning.remo.internal.common.future;
import java.io.IOException;
import java.util.Queue;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;
import org.stevedowning.remo.Call... |
package markpeng.kaggle;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.OutputStreamWriter;
import java.io.StringReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java... |
package me.ampayne2.ampmenus.menus;
import me.ampayne2.ampmenus.events.ItemClickEvent;
import me.ampayne2.ampmenus.items.MenuItem;
import org.bukkit.Bukkit;
import org.bukkit.DyeColor;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriorit... |
package org.eclipselabs.emfjson.rotten;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
/**
*
* @author guillaume
*
*/
public class Activator implements BundleActivator {
private static BundleContext context;
static BundleContext getContext() {
return context;
... |
package me.vilsol.blockly2java;
import me.vilsol.blockly2java.annotations.BBlock;
import me.vilsol.blockly2java.annotations.BField;
import me.vilsol.blockly2java.annotations.BStatement;
import me.vilsol.blockly2java.annotations.BValue;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
import java.... |
package mesosphere.marathon.client;
import java.util.List;
import java.util.Set;
import feign.Param;
import feign.RequestLine;
import mesosphere.marathon.client.model.v2.App;
import mesosphere.marathon.client.model.v2.DeleteAppTaskResponse;
import mesosphere.marathon.client.model.v2.DeleteAppTasksResponse;
import mesos... |
package io.subutai.core.localpeer.impl.container;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.Callable;
import java.util.concurrent.TimeUnit;
import javax.naming.NamingException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.c... |
package mho.wheels.iterables;
import mho.wheels.math.MathUtils;
import mho.wheels.ordering.Ordering;
import mho.wheels.random.IsaacPRNG;
import mho.wheels.structures.*;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.math.BigDecimal;
import java.math.BigInteger;
import j... |
package org.spoofax.interpreter.library.interpreter;
import java.io.IOException;
import org.spoofax.interpreter.ConcreteInterpreter;
import org.spoofax.interpreter.core.InterpreterErrorExit;
import org.spoofax.interpreter.core.InterpreterException;
import org.spoofax.interpreter.core.InterpreterExit;
import org.spoofax... |
package org.springframework.richclient.components;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.lang.reflect.Array;
import java.util.Collection;
import java.util.Comparator;
import java.util.Iterator;
import javax.swing.Icon;
import javax.swing.JComponent;
import javax.sw... |
package fitnesse.testsystems.slim.tables;
import java.util.*;
import fitnesse.testsystems.ExecutionResult;
import fitnesse.testsystems.TestResult;
import fitnesse.testsystems.slim.SlimTestContext;
import fitnesse.testsystems.slim.Table;
import fitnesse.testsystems.slim.results.SlimExceptionResult;
import fitnesse.tests... |
package net.gleamynode.apiviz;
import static net.gleamynode.apiviz.Constant.*;
import static net.gleamynode.apiviz.EdgeType.*;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
import java.util.TreeSet;
import java.util.regex.Pattern;
import com.su... |
package org.opendaylight.bgpcep.pcep.topology.provider;
import static java.util.Objects.requireNonNull;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Iterables;
import com.google.common.util.concurrent.FluentFuture;
import com.google.common.util.concurrent.FutureCallback;
import com.g... |
package com.andyadc.scaffold.showcase.test;
import com.andyadc.scaffold.showcase.auth.entity.AuthUser;
import com.andyadc.scaffold.showcase.auth.service.AuthService;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframewo... |
package fr.eni.QCM.Controller;
import java.io.IOException;
import java.io.PrintWriter;
import java.sql.SQLException;
import java.util.ArrayList;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import ... |
package org.mobicents.protocols.ss7.indicator;
import org.mobicents.protocols.ss7.sccp.SccpProtocolVersion;
import javolution.xml.XMLFormat;
import javolution.xml.XMLSerializable;
import javolution.xml.stream.XMLStreamException;
/**
* The AI is the first field within Calling Party Address (CgPA) and Called Party Addre... |
package net.openhft.chronicle.wire;
import net.openhft.chronicle.bytes.Bytes;
import net.openhft.chronicle.bytes.EscapingStopCharTester;
import net.openhft.chronicle.bytes.IORuntimeException;
import net.openhft.chronicle.bytes.StopCharTesters;
import net.openhft.chronicle.core.Maths;
import net.openhft.chronicle.core.p... |
package schedoscope.example.osm.mapreduce;
import java.io.IOException;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang3.ArrayUtils;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper;
... |
package net.ucanaccess.converters;
import java.math.BigDecimal;
import java.math.MathContext;
import java.math.RoundingMode;
import java.sql.Timestamp;
import java.text.DateFormatSymbols;
import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols;
import java.text.ParseException;
import java.text.SimpleDateF... |
package org.realityforge.replicant.server.transport;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Objects;
import java.util.Set;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import org.realityforge.replicant.server.Chan... |
package nl.meg.propertiesutility;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.util.HashMap;
import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;
import sun.reflect.gene... |
package org.voltcore.messaging;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Deque;
public class SiteMailbox implements Mailbox {
final HostMessenger m_hostMessenger;
final ArrayList<Deque<VoltMessage>> m_messages = new ArrayList<Deque<VoltMessage>>();
final long m_hsId;
pub... |
package nl.mpi.kinnate.ui;
import java.io.File;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.ArrayList;
import javax.swing.JProgressBar;
import javax.swing.JScrollPane;
import javax.swing.JTabbedPane;
import javax.swing.JTextArea;
import nl.mpi.arbil.ImdiTree;
import nl.mpi.arbil.LinorgSess... |
package org.axway.grapes.server.webapp.resources;
import org.axway.grapes.commons.datamodel.Artifact;
import org.axway.grapes.commons.datamodel.ArtifactQuery;
import org.axway.grapes.commons.datamodel.License;
import org.axway.grapes.commons.datamodel.Module;
import org.axway.grapes.commons.datamodel.Organization;
impo... |
// HttpRequest.java
package ed.net.httpserver;
import java.io.*;
import java.net.*;
import java.util.*;
import java.util.regex.*;
import javax.servlet.*;
import javax.servlet.http.*;
import ed.js.*;
import ed.util.*;
import ed.appserver.*;
import ed.net.URLDecoder;
/**
* Class to represent an HTTP request. The 10gen ... |
package org.animotron.manipulator;
import org.animotron.exception.AnimoException;
import org.animotron.io.PipedInput;
import org.animotron.statement.operator.AN;
import org.animotron.statement.operator.THE;
import org.animotron.statement.operator.Utils;
import org.neo4j.graphdb.Relationship;
import java.io.DataOutputSt... |
package com.ctrip.xpipe.service.metric;
import java.io.IOException;
import java.net.Inet4Address;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.*;
import com.ctrip.framework.foundation.Foundation;
import com.ctrip.xpipe.concurrent.AbstractExceptionL... |
package gestock.resources.views;
import gestock.Gestock;
import gestock.controller.*;
import gestock.entity.BaseProduct;
import gestock.entity.User;
import gestock.resources.views.components.MyRenderer;
import gestock.resources.views.components.TableModel;
import gestock.util.Constants;
import sun.util.calendar.BaseCal... |
// This file is part of PLplot.
// PLplot is free software; you can redistribute it and/or modify
// PLplot is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// along with PLplot; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street... |
package org.sagebionetworks.auth;
import org.apache.commons.lang3.StringUtils;
import org.sagebionetworks.repo.model.AuthorizationConstants;
import org.sagebionetworks.repo.model.UnauthenticatedException;
import org.sagebionetworks.repo.model.oauth.JsonWebKeySet;
import org.sagebionetworks.repo.model.oauth.OAuthAuthori... |
package com.google.sitebricks.mail.imap;
import com.google.common.collect.Lists;
import java.util.*;
/**
* Extracts a full Message body from an IMAP fetch. Specifically
* a "fetch body[]" command which comes back with the raw content of the
* message including all headers and mime body parts.
* <p/>
* A faster, li... |
package cgeo.geocaching.storage;
import cgeo.geocaching.CgeoApplication;
import cgeo.geocaching.Intents;
import cgeo.geocaching.R;
import cgeo.geocaching.SearchResult;
import cgeo.geocaching.connector.IConnector;
import cgeo.geocaching.connector.gc.Tile;
import cgeo.geocaching.enumerations.CacheSize;
import cgeo.geocac... |
package ca.corefacility.bioinformatics.irida.pipeline.results.impl.integration;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.AccessDeniedException;
import org... |
package org.broad.igv.batch;
import biz.source_code.base64Coder.Base64Coder;
import org.broad.igv.logging.LogManager;
import org.broad.igv.logging.Logger;
import org.broad.igv.Globals;
import org.broad.igv.feature.genome.GenomeManager;
import org.broad.igv.oauth.OAuthProvider;
import org.broad.igv.oauth.OAuthUtils;
imp... |
package ca.corefacility.bioinformatics.irida.web.controller.test.integration.sample;
import com.google.common.net.HttpHeaders;
import com.jayway.restassured.response.Response;
import org.junit.Test;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import java.io.IOException;
import... |
package gov.nih.nci.calab.ui.core;
/**
* This class initializes session data to prepopulate the drop-down lists required
* in different view pages.
*
* @author pansu
*/
/* CVS $Id: InitSessionAction.java,v 1.11 2006-04-17 15:51:32 pansu Exp $ */
import gov.nih.nci.calab.dto.administration.AliquotBean;
import gov.n... |
package org.cojen.tupl.rows;
import java.lang.invoke.CallSite;
import java.lang.invoke.MethodHandle;
import java.lang.invoke.MethodHandles;
import java.lang.invoke.MethodType;
import java.lang.invoke.MutableCallSite;
import java.lang.invoke.VarHandle;
import java.math.BigDecimal;
import java.math.BigInteger;
import org... |
package com.sequenceiq.cloudbreak.cmtemplate.configproviders.nifi;
import static com.sequenceiq.cloudbreak.cmtemplate.configproviders.ConfigUtils.config;
import static com.sequenceiq.cloudbreak.template.VolumeUtils.buildSingleVolumePath;
import java.util.List;
import java.util.Objects;
import java.util.Set;
import org.... |
package gov.nih.nci.nautilus.test;
import gov.nih.nci.nautilus.de.ChromosomeNumberDE;
import gov.nih.nci.nautilus.de.CytobandDE;
import gov.nih.nci.nautilus.lookup.AllGeneAliasLookup;
import gov.nih.nci.nautilus.lookup.CytobandLookup;
import gov.nih.nci.nautilus.lookup.LookupManager;
import gov.nih.nci.nautilus.lookup.... |
package gov.nih.nci.evs.reportwriter.servlet;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import org.apache.log4j.*;
import org.apache.poi.hssf.usermodel.*;
import gov.nih.nci.evs.reportwriter.utils.*;
import gov.nih.nci.evs.reportwriter.bean.*;
/**
* @author EVS Team (Kim Ong, David Yee)
*... |
package gov.nih.nci.ncicb.cadsr.loader.ui;
import gov.nih.nci.ncicb.cadsr.loader.*;
import gov.nih.nci.ncicb.cadsr.loader.parser.ElementWriter;
import gov.nih.nci.ncicb.cadsr.loader.parser.ParserException;
import gov.nih.nci.ncicb.cadsr.loader.ui.tree.*;
import gov.nih.nci.ncicb.cadsr.loader.ui.event.*;
import gov.nih.... |
package org.eclipse.birt.report.designer.internal.ui.editors.schematic.figures;
import java.util.List;
import org.eclipse.birt.report.designer.internal.ui.editors.schematic.ReportFigureUtilities;
import org.eclipse.birt.report.designer.internal.ui.layout.ReportItemConstraint;
import org.eclipse.birt.report.model.api.el... |
package com.gimranov.zandy.app;
import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.net.URLConnection;
import java.util.ArrayList;
import org.apache.http.util.ByteArrayBuffer;
import org.json.JSONArray;
import org.json.JSONException;
import org.js... |
package org.goldenorb.conf;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.mapreduce.InputFormat;
import org.apache.hadoop.mapreduce.OutputFormat;
import org.goldenorb.Vertex;
import org.goldenorb.io.input.VertexBuilder;
import org.goldenorb.io.output.VertexWriter;
public class OrbConfiguration e... |
package ie.lero.evoting.test.data;
// December 2009
// Dermot Cochran and Joseph R. Kiniry
// Lero Graduate School of Software Engineering, Ireland
// CASL, University College Dublin, Ireland
// IT University of Copenhagen, Denmark
import election.tally.AbstractBallotCounting;
import election.tally.AbstractCountStatus;... |
package com.mychess.mychess;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.graphics.Color;
import android.os.AsyncTask;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.os.IBinder;
i... |
package org.jeo.android.graphics;
import static org.jeo.map.Carto.*;
import java.util.ArrayList;
import java.util.List;
import org.jeo.data.VectorData;
import org.jeo.data.mem.MemVector;
import org.jeo.feature.Feature;
import org.jeo.feature.ListFeature;
import org.jeo.feature.Schema;
import com.vividsolutions.jts.geom... |
package ij.process;
import mpicbg.imglib.image.Image;
import mpicbg.imglib.type.numeric.RealType;
public abstract class SingleCursorRoiOperation<T extends RealType<T>>
{
Image<T> image;
int[] origin, span;
protected SingleCursorRoiOperation(Image<T> image, int[] origin, int[] span)
{
this.image ... |
package org.postgresql;
import java.sql.*;
import java.util.Properties;
import java.util.Vector;
import org.postgresql.core.Encoding;
import org.postgresql.fastpath.Fastpath;
import org.postgresql.largeobject.LargeObjectManager;
public interface PGConnection
{
/**
* This method returns any notifications that h... |
package com.intellij.xml.refactoring;
import com.intellij.featureStatistics.FeatureUsageTracker;
import com.intellij.openapi.actionSystem.DataContext;
import com.intellij.openapi.actionSystem.LangDataKeys;
import com.intellij.openapi.actionSystem.PlatformDataKeys;
import com.intellij.openapi.diagnostic.Logger;
import c... |
package bdv.img.n5;
import bdv.AbstractViewerSetupImgLoader;
import bdv.ViewerImgLoader;
import bdv.cache.CacheControl;
import bdv.cache.SharedQueue;
import bdv.img.cache.SimpleCacheArrayLoader;
import bdv.img.cache.VolatileGlobalCellCache;
import bdv.util.ConstantRandomAccessible;
import bdv.util.MipmapTransforms;
imp... |
package org.eclipse.smarthome.io.transport.mqtt;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.CompletableFuture;
import java.ut... |
package org.jlib.core.digital;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
/**
* Digital representation of an object, for instance, a digit of a digital
* clock. A DigitalObject is formed by DigitalElements which may be set active
* or inactive. The set ... |
package net.mcft.copy.core.base;
import java.util.List;
import net.mcft.copy.core.misc.BlockLocation;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.network.NetworkManager;
... |
package info.ajaxplorer.client.http;
import info.ajaxplorer.client.model.Node;
import info.ajaxplorer.client.model.Server;
import java.io.UnsupportedEncodingException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URLConnection;
import java.util.Iterator;
import java.util.List;
import org.apa... |
package io.cloudchaser.murmur.types;
import static io.cloudchaser.murmur.types.MurmurType.CHARACTER;
import static io.cloudchaser.murmur.types.MurmurType.DECIMAL;
import static io.cloudchaser.murmur.types.MurmurType.INTEGER;
/**
*
* @author Mihail K
* @since 0.1
**/
public class MurmurCharacter extends MurmurObject... |
package ch.openech.xml;
import java.io.IOException;
import java.io.Writer;
import java.time.temporal.Temporal;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.function.Consumer;
import javax.xml.stream.XMLOutputFactory;
import javax.xml.stream.XMLStreamException;
import javax.... |
/* Package Definition */
package org.keylimebox.mail;
/* Imports */
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import javax.mail.Part;
/* ... |
package org.pentaho.di.ui.trans.steps.uniquerowsbyhashset;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.... |
package io.github.secondflight.Parkour.Main;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.logging.Logger;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.command.Com... |
package com.akm.http;
import com.akm.http.exception.HttpServiceException;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.util.Map;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
im... |
package org.kohsuke.github;
import java.io.IOException;
/**
* Builder pattern for creating a {@link GHRelease}
*
* @see GHRepository#createRelease(String)
*/
public class GHReleaseBuilder {
private final GHRepository repo;
private final Requester builder;
public GHReleaseBuilder(GHRepository ghRepositor... |
package edu.wpi.first.wpilib.plugins.core.installer;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;
import javax.swing.JOptionPane;
import org.eclipse.core.runt... |
package net.sf.mzmine.taskcontrol;
import java.util.logging.Logger;
public class TaskSequence implements TaskListener, Runnable {
public enum TaskSequenceStatus {
WAITING, RUNNING, ERROR, CANCELED, FINISHED
};
private Logger logger = Logger.getLogger(this.getClass().getName());
private Task task... |
package io.flutter.actions;
import com.intellij.openapi.actionSystem.ActionManager;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.project.DumbAwareAction;
import com.intellij.openapi.u... |
package org.xins.types.standard;
import org.xins.types.Type;
import org.xins.types.TypeValueException;
import org.xins.util.BooleanConstants;
import org.xins.util.MandatoryArgumentChecker;
/**
* Standard type <em>_boolean</em>.
*
* @version $Revision$ $Date$
* @author Ernst de Haan (<a href="mailto:znerd@FreeBSD.or... |
package com.codeski.nbt.tags;
import java.nio.ByteBuffer;
import java.nio.charset.Charset;
public abstract class NBT<T> {
/**
* The <code>Charset</code> to use for reading a <code>String</code> from an NBT file.
*/
public static final Charset CHARSET = Charset.forName("UTF-8");
/**
* Constant... |
package org.lantern.http;
import java.io.File;
import java.io.IOException;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
impo... |
package net.ssehub.kernel_haven.config;
import java.io.File;
import java.util.List;
import java.util.regex.Pattern;
/**
* A single setting in the configuration. This holds the property key and other useful information. Instances of
* this are registered in a {@link Configuration} object. After that, the values can ac... |
package org.innovateuk.ifs.interview.transactional;
import org.innovateuk.ifs.application.domain.Application;
import org.innovateuk.ifs.application.repository.ApplicationRepository;
import org.innovateuk.ifs.commons.service.ServiceResult;
import org.innovateuk.ifs.interview.domain.InterviewAssignment;
import org.innova... |
package com.ctrip.zeus.support;
import com.ctrip.zeus.dal.core.*;
import com.ctrip.zeus.model.entity.*;
public class C {
public static App toApp(AppDo d) {
return new App()
.setAppId(d.getAppId())
.setName(d.getName());
}
public static AppServer toAppServer(AppServerD... |
package org.lightmare.utils;
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
/**
* Utility class to wor... |
package it.unimi.dsi.sux4j.mph;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.Serializable;
import java.nio.charset.Charset;
import java.util.Arrays;
import java.util.Collection;
import java.util.Iterator;
import java.util.concurrent.ArrayBlockingQueue;
import java.ut... |
// samskivert library - useful routines for java programs
// 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 shoul... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.