answer stringlengths 17 10.2M |
|---|
package ra.jademy.persistance;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Enumeration;
import java.util.List;
import java.util.Properties;
import java.util.TreeSet;
import ra.jademy.domain.CD;
import ra.jademy.domain.Genre;
impo... |
package edu.cornell.pserc.jips.tdouble;
import java.util.HashMap;
import java.util.Map;
import cern.colt.matrix.Norm;
import cern.colt.matrix.tdouble.DoubleFactory1D;
import cern.colt.matrix.tdouble.DoubleFactory2D;
import cern.colt.matrix.tdouble.DoubleMatrix1D;
import cern.colt.matrix.tdouble.DoubleMatrix2D;
import c... |
package de.hhu.propra16.tddt.controller;
/**
* The Timer Class from TDDT project
* contains some variables for time management
* @author group pwnyhof
* @param startTime long type, Time to start with
* @param endTime long type, Time at the end
* @param timerRuns (true if it runs or fal... |
// NPDSTracker for Java
// Last Modified: 16 August 2012
import java.io.*;
import java.net.*;
import java.util.*;
import java.text.*;
public class npdstracker extends Thread
{
// VARIABLES AND CONSTANTS
// Version Information
public static final String serverdesc = "NPDSTracker for Java";
public stat... |
package rsc.publisher;
import java.util.Iterator;
import java.util.Objects;
import java.util.Queue;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import java.util.concurrent.atomic.AtomicIntegerFieldUpdater;
import java.util.concurrent.atomic.AtomicLongFieldUpdater;
import ja... |
package de.jeha.photo.mosaic.core;
import java.awt.*;
import java.awt.image.BufferedImage;
/**
* @author jenshadlich@googlemail.com
*/
public class ImageScaler {
public static BufferedImage scale(BufferedImage input, int width, int height) {
final Image scaled = input.getScaledInstance(width, height, Imag... |
package joliex.util;
import java.math.BigDecimal;
import jolie.runtime.JavaService;
import jolie.runtime.Value;
/**
* JavaService offering various math related functionalities.
* @author Fabrizio Montesi
*/
public class MathService extends JavaService
{
public Double random()
{
return Math.random();
... |
package scrum.client.issues;
import scrum.client.collaboration.EmoticonsWidget;
import scrum.client.common.ABlockWidget;
import scrum.client.common.AScrumAction;
import scrum.client.common.BlockHeaderWidget;
import scrum.client.common.BlockWidgetFactory;
import scrum.client.dnd.TrashSupport;
import scrum.client.img.Img... |
package org.aikodi.jlo.translate;
import java.util.List;
import java.util.Set;
import org.aikodi.chameleon.core.document.Document;
import org.aikodi.chameleon.core.element.Element;
import org.aikodi.chameleon.core.lookup.LookupException;
import org.aikodi.chameleon.exception.ChameleonProgrammerException;
import org.aik... |
package edu.cmu.sv.ws.ssnoc.data.util;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.sql.Timestamp;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import edu.cmu.sv.ws.ssnoc.common.lo... |
package edu.harvard.iq.dataverse;
/**
*
* @author skraffmiller
*/
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
impor... |
package org.apache.xerces.impl.v2;
import java.util.*;
import org.w3c.dom.*;
import org.apache.xerces.impl.v2.datatypes.*;
import org.apache.xerces.impl.XMLErrorReporter;
import org.apache.xerces.util.DOMUtil;
import org.apache.xerces.util.SymbolTable;
import org.apache.xerces.util.XInt;
import org.apache.xerces.util.X... |
package com.deuteriumlabs.dendrite.model;
/**
*Represents a unique identifier for a story page. The IDs are two-
*dimensional, where differing page numbers represent different points in the
*story (or possibly even different stories) while differing versions of the
*same page number represent different alternatives... |
package edu.oldenburg.it.bluemoep;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.json.Json;
import javax.json.JsonArray;
import javax.json.JsonReader;
import javax.json.Json... |
package tars.commons.util;
import java.text.SimpleDateFormat;
import java.time.DayOfWeek;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.time.temporal.TemporalAdjusters;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.TimeZone;
import com.joestelmach.n... |
package technology.tabula;
import org.apache.fontbox.util.BoundingBox;
import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.pdmodel.font.PDFont;
import org.apache.pdfbox.pdmodel.font.PDFontDescriptor;
import org.apache.pdfbox.pdmodel.font.PDType3Font;
import org.apache.pdfbox.text.PDFTextStripper;
impo... |
package edu.ucsf.mousedatabase;
import java.io.File;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.Properties;
import java.util.Vector;
import java.util.regex.Matcher;
import java.util.regex... |
package edu.ucsf.mousedatabase;
import java.io.File;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.Properties;
import java.util.Vector;
import java.util.regex.Matcher;
import java.util.regex... |
package twitter4j;
import twitter4j.conf.Configuration;
import twitter4j.conf.ConfigurationContext;
import twitter4j.http.Authorization;
import twitter4j.http.AuthorizationFactory;
/**
* A factory class for TwitterFactory.<br>
* An instance of this class is completely thread safe and can be re-used and used concurren... |
package org.bouncycastle.crypto.tls;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.math.BigInteger;
import org.bouncycastle.asn1.DERBitString;
import org.bouncycastle.asn1.x509.KeyUsage;
import org.bouncycastle.asn1.x509.SubjectPublicKeyInfo;
import org.bouncycastle.as... |
package org.bouncycastle.util.encoders;
import java.io.IOException;
import java.io.OutputStream;
public class Base64Encoder
implements Encoder
{
protected final byte[] encodingTable =
{
(byte)'A', (byte)'B', (byte)'C', (byte)'D', (byte)'E', (byte)'F', (byte)'G',
(byte)'H', (byte)... |
package eus.ixa.ixa.pipe.convert;
import java.io.IOException;
import java.io.StringWriter;
import java.nio.charset.StandardCharsets;
import java.nio.file.DirectoryStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.List;
import java.util.regex.Matcher;
import java... |
package org.concord.data.state;
import org.concord.framework.otrunk.DefaultOTController;
import org.concord.framework.otrunk.OTObject;
public class OTDataStoreController extends DefaultOTController
{
public static Class [] realObjectClasses = {OTDataStoreRealObject.class};
public static Class otObjectClass = O... |
package fgis.server.services;
import fgis.server.entity.fgis.Resource;
import fgis.server.entity.fgis.ResourceTrack;
import fgis.server.entity.fgis.dao.ResourceRepository;
import fgis.server.entity.fgis.dao.ResourceTrackRepository;
import java.util.Date;
import java.util.List;
import java.util.Random;
import javax.ejb.... |
package org.ensembl.healthcheck.testcase.generic;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import org.ensembl.healthcheck.DatabaseRegistryEntry;
import org.ensembl.healthcheck.DatabaseType;
import org.ensembl.healthcheck.ReportManager;
import o... |
package hprose.io.unserialize;
import static hprose.io.HproseTags.TagEmpty;
import static hprose.io.HproseTags.TagNull;
import static hprose.io.HproseTags.TagRef;
import static hprose.io.HproseTags.TagString;
import java.io.IOException;
import java.io.InputStream;
import java.lang.reflect.Type;
import java.net.Malforme... |
/*
* $Id: HtmlFilterInputStream.java,v 1.21 2014-03-31 23:48:24 thib_gc Exp $
*/
package org.lockss.filter.html;
import org.apache.commons.io.*;
import org.htmlparser.*;
import org.htmlparser.lexer.*;
import org.htmlparser.util.*;
import org.htmlparser.scanners.ScriptScanner;
import org.lockss.config.*;
import org.lo... |
package me.ruici.upyun.http.client;
import com.github.kevinsawicki.http.HttpRequest;
import com.google.common.base.Charsets;
import com.google.common.io.CharStreams;
import me.ruici.upyun.UpyunException;
import me.ruici.upyun.auth.Credentials;
import me.ruici.upyun.auth.Signer;
import me.ruici.upyun.auth.UpyunHttpSigne... |
package me.tango.devops.google;
import static me.tango.devops.google.CredentialsManager.*;
import com.google.api.client.http.InputStreamContent;
import com.google.api.services.storage.Storage;
import com.google.api.services.storage.model.Bucket;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.By... |
package net.darkhax.bookshelf.util;
import java.util.ArrayList;
import java.util.List;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
impor... |
package nl.eernie.jmoribus.parser;
import nl.eernie.jmoribus.model.*;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang3.StringUtils;
import java.io.IOException;
import java.io.InputStream;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
impor... |
package no.rosbach.jcoru.compile;
import static java.util.stream.Collectors.toList;
import static no.rosbach.jcoru.utils.Stream.stream;
import no.rosbach.jcoru.filemanager.CompiledClassObject;
import no.rosbach.jcoru.filemanager.InMemoryFileManager;
import no.rosbach.jcoru.filemanager.JavaSourceString;
import com.sun.s... |
package org.apache.mesos.hdfs.state;
import com.google.common.base.Predicate;
import com.google.common.collect.Sets;
import com.google.inject.Singleton;
import org.apache.commons.lang.time.DateUtils;
import org.apache.mesos.Protos;
import org.apache.mesos.hdfs.util.HDFSConstants;
import java.sql.Timestamp;
import java.... |
package org.bricolages.streaming;
import org.bricolages.streaming.filter.*;
import org.bricolages.streaming.event.*;
import org.bricolages.streaming.s3.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DataIntegrityViolationException;
import java.io.BufferedReader;
import ... |
package org.concord.energy3d.model;
import java.nio.FloatBuffer;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JOptionPane;
import org.concord.energy3d.gui.MainFrame;
import org.concord.energy3d.scene.Scene;
import org.concord.energy3d.scene.Scene.TextureMode;
import org.concord.energy3d.scene.S... |
// File: $Id$
import java.io.File;
class Compress extends ibis.satin.SatinObject implements Configuration, CompressorInterface
{
static boolean doVerification = false;
private int top;
private int lookahead;
public Compress( int top, int lookahead )
{
this.top = top;
this.lookahead = loo... |
package org.irmacard.api.web;
import com.google.gson.JsonSyntaxException;
import io.jsonwebtoken.SignatureAlgorithm;
import org.irmacard.api.common.util.GsonUtil;
import org.irmacard.credentials.info.AttributeIdentifier;
import org.irmacard.credentials.info.CredentialIdentifier;
import javax.ws.rs.WebApplicationExcepti... |
package org.jboss.loom.utils;
import java.io.File;
import java.io.IOException;
import java.nio.file.FileSystems;
import java.nio.file.PathMatcher;
import java.util.ArrayList;
import java.util.Collection;
import java.util.LinkedList;
import java.util.List;
import org.apache.commons.io.DirectoryWalker;
import org.apache.... |
package org.jboss.osgi.spi.util;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Loads service implementations from the requesters c... |
package org.jtrfp.trcl.core;
import java.io.IOException;
import java.lang.Thread.UncaughtExceptionHandler;
import java.nio.ByteBuffer;
import java.nio.IntBuffer;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.media.opengl.GL3;
import org.jtrfp.trcl.gpu.GLFrameBuffer;
import... |
package postgresql;
import java.io.*;
import java.lang.*;
import java.net.*;
import java.util.*;
import java.sql.*;
import postgresql.*;
/**
* @version 1.0 15-APR-1997
*
* This class is used by Connection & PGlobj for communicating with the
* backend.
*
* @see java.sql.Connection
*/
// This class handles all th... |
package org.lightmare.utils.reflect;
import java.io.IOException;
import java.lang.annotation.Annotation;
import java.lang.reflect.AccessibleObject;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.... |
package org.lightmare.utils.shutdown;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.atomic.AtomicBoolean;
import org.apache.log4j.Logger;
import org.lightmare.cache.ConnectionContainer;
import org.lightmare.cache.MetaContainer;
import org.lightmare.cache.Rest... |
package org.restheart.handlers;
import io.undertow.server.HttpServerExchange;
import io.undertow.util.HttpString;
import org.restheart.utils.HttpStatus;
/**
*
* @author Andrea Di Cesare {@literal <andrea@softinstigate.com>}
*/
public class OptionsHandler extends PipedHttpHandler {
public OptionsHandler(PipedHttp... |
package com.almasb.fxglgames.drop;
import com.almasb.fxgl.app.ApplicationMode;
import com.almasb.fxgl.app.GameApplication;
import com.almasb.fxgl.core.math.FXGLMath;
import com.almasb.fxgl.entity.Entity;
import com.almasb.fxgl.input.Input;
import com.almasb.fxgl.input.UserAction;
import com.almasb.fxgl.settings.GameSet... |
package org.scijava.annotations;
import java.io.File;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.HashSet;
import java.util.Set;
import java.util.jar.Attributes.Name;
import java.util.jar.JarFile;
import java.util.jar.Manifest;... |
package org.gluu.oxauth;
import org.apache.commons.lang.StringUtils;
import org.apache.http.client.CookieStore;
import org.apache.http.conn.ssl.NoopHostnameVerifier;
import org.apache.http.conn.ssl.SSLConnectionSocketFactory;
import org.apache.http.conn.ssl.TrustStrategy;
import org.apache.http.impl.client.CloseableHtt... |
package org.luaj.vm2.vm1;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintStream;
import java.net.URL;
import junit.framework.TestCase;
import org.luaj.vm2.LuaTable;
import org.luaj.vm2.LuaThread;
impo... |
/**
Khalid
*/
package org.sikuli.slides.parsing;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import org.xml.sax.Attributes;
import org.xml.sax.SAXExcep... |
package org.tools4j.hoverraft.command;
import org.agrona.DirectBuffer;
import org.agrona.MutableDirectBuffer;
import java.nio.ByteBuffer;
public interface Command {
int byteLength();
void bytesFrom(byte[] bytes, int offset, int length);
void bytesFrom(ByteBuffer bytes, int offset, int length);
void byte... |
package org.traccar.protocol;
import org.junit.Test;
import org.traccar.ProtocolTest;
public class AplicomProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecode() throws Exception {
AplicomProtocolDecoder decoder = new AplicomProtocolDecoder(new AplicomProtocol());
verifyPositio... |
package org.vaadin.viritin.fields;
import com.vaadin.data.Container;
import com.vaadin.data.Property;
import com.vaadin.data.Validator;
import com.vaadin.data.Validator.InvalidValueException;
import com.vaadin.ui.*;
import org.vaadin.viritin.ListContainer;
import java.util.Arrays;
import java.util.Collection;
import ja... |
package org.opencms.file;
import org.opencms.main.CmsException;
import org.opencms.util.CmsStringUtil;
import org.opencms.util.PrintfFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
/**
* A default resource collector to generate some example list of reso... |
package org.zwobble.mammoth;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Iterables;
import com.google.common.io.ByteStreams;
import org.zwobble.mammoth.documents.*;
import org.zwobble.mammoth.html.Html;
import org.zwobble.mammoth.html.H... |
package org.pentaho.di.core.logging;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.pentaho.di.core.Const;
import org.pentaho.di.core.Result;
import org.pentaho.di.core.RowMetaAndData;
import org.pentaho.di.core.database.DatabaseMeta;
import org.pentaho.di.core.gui.JobTracker;
impo... |
package org.cratedb.import_;
import com.google.common.base.Joiner;
import com.google.common.base.Splitter;
import com.google.common.collect.ImmutableMap;
import org.cratedb.action.import_.ImportContext;
import org.cratedb.action.import_.NodeImportRequest;
import org.elasticsearch.ElasticSearchException;
import org.elas... |
package ru.doublebyte.mathquizbot.bot;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ru.doublebyte.mathquizbot.bot.types.*;
import ru.doublebyte.mathquizbot.bot.types.mediaentity.Chat;
import ru.doublebyte.mathquizbot.bot.types.util.EditMessageTextParams;
import ru.doublebyte.mathquizbot.bot.types.uti... |
package org.pentaho.di.job.entries.http;
import static org.pentaho.di.job.entry.validator.AndValidator.putValidators;
import static org.pentaho.di.job.entry.validator.JobEntryValidatorUtils.andValidator;
import static org.pentaho.di.job.entry.validator.JobEntryValidatorUtils.integerValidator;
import static org.pentaho.... |
package hudson.tasks.junit;
import hudson.model.FreeStyleProject;
import hudson.model.AbstractBuild;
import hudson.model.BuildListener;
import hudson.model.Result;
import hudson.model.FreeStyleBuild;
import hudson.maven.MavenModuleSet;
import hudson.maven.MavenModuleSetBuild;
import hudson.maven.MavenBuild;
import huds... |
package org.pentaho.di.trans.steps.csvinput;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.vfs.FileObject;
import org.apache.commons.vfs.provider.local.Loca... |
package hudson.tasks.junit;
import com.thoughtworks.xstream.XStream;
import hudson.XmlFile;
import hudson.util.HeapSpaceStringConverter;
import hudson.util.XStream2;
import java.io.File;
import java.net.URISyntaxException;
import java.util.Collection;
import java.util.List;
import junit.framework.TestCase;
/**
*
* @a... |
package org.pentaho.di.trans.steps.csvinput;
import java.io.FileInputStream;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.vfs.FileObject;
import org.apache.commons.vfs.provider.local.LocalFile;
import org.pentaho.di.core.Const;
impo... |
//@@author A0147984L
package seedu.address.model.task;
import seedu.address.model.tag.Tag;
/**
* A read-only immutable interface for a Task in the TaskManager.
* Implementations should guarantee: details are present and not null, field values are validated.
*/
public interface ReadOnlyTask {
public enum FinishPr... |
package org.springframework.beans;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* PropertyComparator performs a comparis... |
package seedu.jimi.logic.commands;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Optional;
import java.util.Set;
import seedu.jimi.commons.core.Messages;
import seedu.jimi.commons.core.UnmodifiableObservableList;
import seedu.jimi.commons.exceptions.IllegalValueException;
impo... |
package seedu.task.logic.commands;
import java.util.List;
import java.util.Optional;
import seedu.task.commons.core.Messages;
import seedu.task.commons.exceptions.IllegalValueException;
import seedu.task.commons.util.CollectionUtil;
import seedu.task.logic.commands.exceptions.CommandException;
import seedu.task.model.t... |
package org.vrjuggler.vrjconfig.ui;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.Point;
import java.awt.event.*;
import java.beans.*;
import java.util.*;
import javax.swing.*;
import org.vrjugg... |
package org.usfirst.frc.team4915.stronghold;
import edu.wpi.first.wpilibj.CANTalon;
/**
* The RobotMap is a mapping from the ports sensors and actuators are wired into
* to a variable name. This provides flexibility changing wiring, makes checking
* the wiring easier and significantly reduces the number of magic num... |
package fredboat.audio;
import com.sedmelluq.discord.lavaplayer.player.AudioConfiguration;
import com.sedmelluq.discord.lavaplayer.player.AudioPlayer;
import com.sedmelluq.discord.lavaplayer.player.AudioPlayerManager;
import com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager;
import com.sedmelluq.discord... |
package seedu.todo.controllers;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import seedu.todo.commons.exceptions.ParseException;
import seedu.todo.commons.util.DateUtil;
import seedu.todo.commons.util.FilterUtil;
import seedu.todo.co... |
package bisq.monitor.metric;
import bisq.monitor.OnionParser;
import bisq.monitor.Reporter;
import bisq.core.dao.monitoring.model.StateHash;
import bisq.core.dao.monitoring.network.messages.GetBlindVoteStateHashesRequest;
import bisq.core.dao.monitoring.network.messages.GetDaoStateHashesRequest;
import bisq.core.dao.mo... |
// 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 sizebay.catalog.client.model;
import java.util.*;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.*;
@Getter
@Setter
public class Modeling {
private Long id;
private String name;
private Gender gender;
private String gMerchantBrandName;
private String gMerchantAgeGroup;
private St... |
/*
* Requirements mandating inclusion:
* */
package view.TableTab;
import javafx.scene.Node;
import javafx.scene.control.*;
import javafx.scene.layout.GridPane;
import model.TripleHashMap;
/*
* Used inside centre pane of TableTabView.
* Displays and allows modifications to be made to grid properties.
*
* */
public clas... |
package yanagishima.service;
import com.facebook.presto.client.*;
import com.google.common.collect.Lists;
import io.airlift.http.client.HttpClientConfig;
import io.airlift.http.client.jetty.JettyHttpClient;
import io.airlift.json.JsonCodec;
import io.airlift.units.DataSize;
import io.airlift.units.Duration;
import me.g... |
package com.shinemo.mpush.netty.client;
import io.netty.handler.codec.http.HttpRequest;
import io.netty.util.Timeout;
import io.netty.util.TimerTask;
import java.util.concurrent.atomic.AtomicBoolean;
public class RequestInfo implements TimerTask {
final AtomicBoolean cancelled = new AtomicBoolean(false);
HttpCa... |
// modification, are permitted provided that the following conditions are met:
// documentation and/or other materials provided with the distribution.
// * Neither the name of the <organization> nor the
// names of its contributors may be used to endorse or promote products
// ANY EXPRESS OR IMPLIED WARRAN... |
package org.openlca.geo.parameter;
import java.io.Closeable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.geotools.data.DataStore;
import org.openlca.core.model.Parameter;
import org.openlca.geo.kml.FeatureType;
import org.openlca.ge... |
package org.opennms.netmgt.rtc;
import java.io.IOException;
import java.io.Reader;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.Map;
import org.exolab.castor.xml.MarshalException;
import org.exolab.castor.xml.ValidationException;
import org.opennms.netmgt.config.CategoryFactory;
import org.o... |
package org.caleydo.core.view.opengl.layout2;
import gleem.linalg.Vec2f;
import gleem.linalg.Vec3f;
import java.awt.Color;
import java.util.Arrays;
import javax.media.opengl.GL;
import javax.media.opengl.GL2;
import javax.media.opengl.glu.GLU;
import org.caleydo.core.util.base.ILabelProvider;
import org.caleydo.core.ut... |
package picodedTests.JStack;
import org.junit.*;
import static org.junit.Assert.*;
import java.util.*;
import picoded.JSql.*;
import picoded.JCache.*;
import picoded.JStack.*;
import picoded.conv.GUID;
import picoded.struct.CaseInsensitiveHashMap;
import java.util.Random;
import org.apache.commons.lang3.RandomUtils;
im... |
package framework.sql.data;
import framework.connector.datasource.TomcatDataSource;
import framework.setting.WebAppSettingBuilder;
import framework.sql.context.SQLContext;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.util.HashMap;
import java.util.Map;
public abstract class DataService {
... |
package org.vx68k.bitbucket.webhook;
/**
* Collection of constant JSON keys.
* @author Kaz Nishimura
* @since 4.0
*/
public class JsonKeys {
/**
* JSON key for the <code>push</code> object.
*/
public static final String PUSH = "push";
/**
* JSON key for the <code>links</code> object.
... |
package mondrian.rolap.cache;
import mondrian.olap.QueryCanceledException;
import mondrian.olap.Util;
import mondrian.rolap.BitKey;
import mondrian.rolap.RolapUtil;
import mondrian.rolap.agg.*;
import mondrian.server.Execution;
import mondrian.spi.*;
import mondrian.util.*;
import org.apache.log4j.Logger;
import java.i... |
package org.commcare.modern.database;
import org.commcare.modern.models.MetaField;
import org.commcare.modern.util.Pair;
import org.javarosa.core.services.storage.IMetaData;
import org.javarosa.core.services.storage.Persistable;
import org.javarosa.core.util.externalizable.Externalizable;
import java.io.ByteArrayOutput... |
package org.modmine.web;
import java.io.IOException;
import java.io.InputStream;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import j... |
package net.bytten.metazelda.util;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.Map;
import java.util.PriorityQueue;
import java.util.Queue;
import java.util.Set;
import java.util.TreeMap;
import java.util.Tre... |
package org.gluu.service.cache;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import redis.clients.jedis.HostAndPort;
/**
* @author yuriyz
*/
public abstract class AbstractRedisProvider {
private final static Logger LOG = LoggerFactory.getLogger(AbstractRedisProvider.class);
protected RedisConfigur... |
package net.sf.jaer.graphics;
import java.awt.Canvas;
import java.awt.Color;
import java.awt.Font;
import java.awt.Insets;
import java.awt.Point;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.InputEvent;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEven... |
package generics.variant;
import java.util.ArrayList;
import java.util.List;
class City implements IEntityInfo{
@Override
public List<IEntityInfo> getChildren() {
return null;
}
}
class Province implements IEntityInfo {
List<City> cities;
public Province(List<City> in) {
this.cities ... |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.InetAddress;
import java.net.MulticastSocket;
public class MulticastChat {
private MulticastSocket socket;
private BufferedReader in;
private OutputStreamWriter out... |
package com.ibm.streamsx.rest;
import java.io.IOException;
import java.math.BigInteger;
import java.util.List;
import org.apache.http.client.fluent.Executor;
import com.ibm.streamsx.topology.internal.streams.InvokeCancel;
import com.ibm.streamsx.topology.internal.streams.Util;
/**
* Connection to IBM Streams.
*/
publ... |
package com.microsoft.storageperf;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Random;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.atomic.AtomicInteger;
import com.azure.storage.blob.Bl... |
package org.ccnx.ccn.io.content;
import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.Key;
import java.security.NoSuchAlgorithmException;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.util.Comparator;
import java.util.SortedSet;
import java.util.TreeS... |
package org.wikipedia.settings;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.res.Resources;
import android.preference.PreferenceManager;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.annotation.StringRes;... |
package wint.mvc.flow;
import wint.core.config.Constants;
import wint.core.service.ServiceContext;
import wint.lang.WintException;
import wint.lang.exceptions.FlowDataException;
import wint.lang.io.FastByteArrayOutputStream;
import wint.lang.io.FastStringWriter;
import wint.lang.misc.profiler.Profiler;
import wint.lang... |
package org.assurenote;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
class LibGSN {
... |
package com.example.conter;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;
import android.widget.Toast;
/**
* @author bqi
... |
package org.reldb.dbrowser.ui;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.graphics.ImageData;
import org.eclipse.swt.graphics.ImageDataProvider;
import org.eclipse.swt.widgets.Display;
import org.eclipse.wb.swt.SWTResourceManager;
import org.reldb.dbrowser.ui.preferences.PreferencePageGeneral;
import... |
package ca.appvelopers.mcgillmobile.util;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import java.util.ArrayList;
import ca.appvelopers.mcgillmobile.App;
import ca.appvelopers.mcgillmobile.object.ClassItem;
import ca.appvelopers.mcgillmobile.obj... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.