answer stringlengths 17 10.2M |
|---|
package org.jgroups;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jgroups.conf.ConfiguratorFactory;
import org.jgroups.conf.ProtocolStackConfigurator;
import org.jgroups.stack.IpAddress;
import org.jgroups.stack.ProtocolStack;
import org.jgroups.stack.StateTransferInfo... |
package org.nosco.ant;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.sql.Blob;
import java.sql.Date;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Collection;
impo... |
/*
* $Id: MockLinkRewriterFactory.java,v 1.3 2008-07-10 10:05:31 dshr Exp $
*/
package org.lockss.test;
import java.util.*;
import java.io.*;
import org.lockss.daemon.*;
import org.lockss.plugin.*;
import org.lockss.rewriter.*;
public class MockLinkRewriterFactory implements LinkRewriterFactory {
private PluginExcept... |
package org.magnolialang.magnolia.repr.impl;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.NoSuchElementException;
import org.magnolialang.magnolia.repr.ASTCursor;
import org.magnolialang.magnolia.repr.Ast;
import org.magnolialang.magnolia.repr.Entry;
import org.magnol... |
package org.jsdoc;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;
import org.mozilla.javascript.CompilerEnvirons;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.NativeArra... |
package edu.utexas.cycic;
import java.util.ArrayList;
import edu.utah.sci.cyclist.core.ui.components.ViewBase;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.geometry.Insets;
import javafx.geometry.Pos... |
package com.planet_ink.coffee_mud.interfaces;
public interface EnvResource extends Item
{
// item materials
public final static int MATERIAL_UNKNOWN=0;
public final static int MATERIAL_CLOTH=1<<8;
public final static int MATERIAL_LEATHER=2<<8;
public final static int MATERIAL_METAL=3<<8;
public ... |
package edu.wustl.catissuecore.dao;
import java.util.List;
import java.util.Vector;
import net.sf.hibernate.HibernateException;
import edu.wustl.catissuecore.action.DomainObjectListAction;
import edu.wustl.catissuecore.domain.CancerResearchGroup;
import edu.wustl.catissuecore.domain.Department;
import edu.wustl.catissu... |
package org.mapyrus;
/**
* Limits CPU usage by occasionally sleeping when called.
*/
public class Throttle
{
private long m_startTime;
/*
* Number of milliseconds to run in each second.
*/
private long m_millisToUse = 1000;
/*
* Total number of milliseconds that thread can run for.
... |
package org.neuvoo.profileinspector;
import java.io.*;
import org.jargp.*;
import java.util.Vector;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Set;
import java.util.regex.Pattern;
public class ProfileInspector {
private String action = "";
private String profile = "";
private Stri... |
package com.merrillogic.stump;
import android.util.Log;
import java.lang.ref.WeakReference;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import java.util.Stack;
/*
TODO:
Add annotations from support library - assuming that doesn't make the minSdk something bad
Add rx... |
package org.ms2ms.math;
import com.google.common.collect.Ordering;
import com.google.common.collect.TreeBasedTable;
import org.apache.commons.math3.fitting.PolynomialCurveFitter;
import org.apache.commons.math3.fitting.WeightedObservedPoint;
import org.apache.commons.math3.stat.regression.SimpleRegression;
import org.m... |
package org.objectweb.proactive.core.body;
/**
* This class is the default implementation of the Body interface.
* An implementation of the Body interface, which lets the reified object
* explicitely manage the queue of pending requests through its live() routine.
*
* @author ProActive Team
* @version 1.0, 2001... |
package com.tinkerpop.rexster.server;
import com.tinkerpop.rexster.filter.AbstractSecurityFilter;
import com.tinkerpop.rexster.filter.DefaultSecurityFilter;
import com.tinkerpop.rexster.protocol.RexProSessionMonitor;
import com.tinkerpop.rexster.protocol.filter.RexProMessageFilter;
import com.tinkerpop.rexster.protocol... |
package org.ojalgo.matrix.decomposition;
import static org.ojalgo.constant.PrimitiveMath.*;
import java.math.BigDecimal;
import org.ojalgo.access.Access2D;
import org.ojalgo.access.Access2D.Collectable;
import org.ojalgo.access.Structure2D;
import org.ojalgo.array.Array1D;
import org.ojalgo.array.Primitive64Array;
impo... |
package org.opencms.ade.sitemap;
import org.opencms.ade.configuration.CmsADEConfigData;
import org.opencms.ade.configuration.CmsADEManager;
import org.opencms.ade.configuration.CmsFunctionReference;
import org.opencms.ade.configuration.CmsModelPageConfig;
import org.opencms.ade.configuration.CmsResourceTypeConfig;
impo... |
package com.slugterra.entity.velocity;
import java.util.Random;
import com.slugterra.entity.EntitySlug;
import com.slugterra.events.SlugterraSoundEvents;
import net.minecraft.client.particle.Particle;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.En... |
package net.runelite.client.plugins.hunter;
import com.google.common.eventbus.Subscribe;
import com.google.inject.Provides;
import java.time.Instant;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import javax.injec... |
package org.pentaho.di.trans.steps.rssinput;
import it.sauronsoftware.feed4j.FeedParser;
import it.sauronsoftware.feed4j.bean.FeedItem;
import java.net.URL;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import org.pentaho.di.core.Const;
import org.pentaho.di.core.exception.KettleException;
import org.... |
package org.maker_pattern;
import java.io.File;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.Properties;
import org.maker_pattern.animals.Dog;
/**
* A very basic, light-weight, pragmatic programmatic alternative to DI frameworks
* Maker Pattern versions:
* 0.1 First version using an ex... |
package net.runelite.client.plugins.twitch;
import com.google.common.eventbus.Subscribe;
import com.google.inject.Provides;
import java.time.temporal.ChronoUnit;
import java.util.Map;
import javax.inject.Inject;
import lombok.extern.slf4j.Slf4j;
import net.runelite.api.ChatMessageType;
import net.runelite.api.Client;
i... |
package net.runelite.client.plugins.xptracker;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.GridLayout;
import java.math.RoundingMode;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import javax.swing.Im... |
package org.usfirst.frc.team4342.api.drive;
import org.usfirst.frc.team4342.api.drive.pid.DrivePID;
import org.usfirst.frc.team4342.robot.components.Repository;
import com.kauailabs.navx.frc.AHRS;
import edu.wpi.first.wpilibj.CANTalon;
import edu.wpi.first.wpilibj.DoubleSolenoid;
import edu.wpi.first.wpilibj.Encoder;
i... |
package mil.nga.giat.geopackage.sample;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Fragment;
import android.app.ProgressDialog;
import android.content.ContentResolver;
import android.content.Context;
import android.content.DialogInterface;
import... |
package org.sakaiproject.gradebook.jobs;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.text.NumberFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.ut... |
package uk.org.taverna.scufl2.rdfxml;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertSame;
import static org.junit.Assert.fail;
import java.io.ByteArrayInputStream;
import java.io.IOException;... |
package sur.snapps.sentoff.reports.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.mail.javamail.JavaMailSender;
import org.springframework.mail.javamail.JavaM... |
// This file is part of Serleena.
// Nicola Mometto, Filippo Sestini, Tobia Tesan, Sebastiano Valle.
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// sell copies of the Software, and to permit persons to whom t... |
package org.elasticsearch.cluster;
import org.apache.lucene.util.Constants;
import org.elasticsearch.action.ActionFuture;
import org.elasticsearch.action.admin.cluster.health.ClusterHealthResponse;
import org.elasticsearch.action.admin.indices.settings.put.UpdateSettingsRequest;
import org.elasticsearch.action.support.... |
package eu.stratuslab.marketplace.server.resources;
import static eu.stratuslab.marketplace.server.resources.XPathUtils.CREATED_DATE;
import static eu.stratuslab.marketplace.server.resources.XPathUtils.EMAIL;
import static eu.stratuslab.marketplace.server.resources.XPathUtils.IDENTIFIER_ELEMENT;
import java.io.File;
im... |
package complex.dbaccess;
import com.sun.star.container.ElementExistException;
import com.sun.star.io.IOException;
import com.sun.star.lang.WrappedTargetException;
import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.sdb.XSingleSelectQueryComposer;
import com.sun.star.sdbc.SQLException;
import com.sun.sta... |
package org.aksw.servicecat.core;
import java.util.ArrayList;
import java.util.List;
import org.aksw.jena_sparql_api.concepts.Concept;
import org.aksw.jena_sparql_api.concepts.ConceptUtils;
import org.aksw.jena_sparql_api.core.QueryExecutionFactory;
import org.aksw.jena_sparql_api.http.QueryExecutionFactoryHttp;
import... |
package mantis.tests;
import mantis.model.Issue;
import mantis.model.Project;
import org.testng.annotations.Test;
import javax.xml.rpc.ServiceException;
import java.net.MalformedURLException;
import java.rmi.RemoteException;
import java.util.Set;
import static org.testng.Assert.assertEquals;
public class SoapTests exte... |
package org.simpleflatmapper.jdbc.spring;
import org.simpleflatmapper.jdbc.JdbcMapper;
import org.simpleflatmapper.jdbc.named.NamedParameter;
import org.simpleflatmapper.jdbc.named.NamedSqlQuery;
import org.springframework.dao.DataAccessException;
import org.springframework.jdbc.core.PreparedStatementCreator;
import or... |
package se.chalmers.watchme.database;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.LinkedList;
import java.util.List;
import android.content.ContentResolver;
import android.content.ContentValues;
import android.database.Cursor;
import android.net.Uri;
import android.util.Log;
import se.chalme... |
package com.continuuity.data;
import org.junit.Test;
/**
* Test that mimics the level of access/behavior of the fabric from flows.
*
* This uses transactional stuff!
*/
public class TestLikeAFlow {
@Test
public void testMemorySetupAndTeardown() {
// // Use the in-memory
// TransactionalOperationExecutor e... |
package com.kushkipagos.unit;
import com.kushkipagos.Kushki;
import org.junit.Before;
import org.junit.Test;
import static org.apache.commons.lang3.RandomStringUtils.randomAlphabetic;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.core.Is.is;
public class KushkiApiTest {
private Str... |
package guitests.guihandles;
import guitests.GuiRobot;
import javafx.scene.Node;
import javafx.stage.Stage;
import seedu.task.model.task.ReadOnlyTask;
/**
* Provides a handle to a task card in the task list panel.
*/
public class TaskCardHandle extends GuiHandle {
private static final String TASK_NAME_FIELD_ID = ... |
//FILE: MMImageWindow.java
//PROJECT: Micro-Manager
//SUBSYSTEM: mmstudio
// This file is distributed in the hope that it will be useful,
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
// ... |
package hudson.plugins.dry;
import hudson.FilePath;
import hudson.model.Result;
import hudson.tasks.Maven;
import org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition;
import org.jenkinsci.plugins.workflow.job.WorkflowJob;
import org.junit.*;
import org.jvnet.hudson.test.JenkinsRule;
import static org.junit.Assert.asse... |
package jdk.java.net;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class HttpURLConnectionTest {
private static final Lo... |
package org.mahjong4j.hands;
import org.junit.Before;
import org.junit.Test;
import org.mahjong4j.tile.MahjongTile;
import java.util.ArrayList;
import java.util.List;
import static org.junit.Assert.assertEquals;
import static org.mahjong4j.tile.MahjongTile.*;
/**
* @author yu1ro
*/
public class MentsuCompTest {
L... |
package org.opencompare;
import org.junit.Test;
import org.opencompare.api.java.*;
import org.opencompare.api.java.impl.io.KMFJSONLoader;
import org.opencompare.api.java.io.CSVExporter;
import org.opencompare.api.java.io.PCMLoader;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java... |
package throwing.stream;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertSame;
import static org.junit.Assert.fail;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.IntStream;
import org.junit.Test;
import throwing.Nothing;
import throwing.bridge.ThrowingBridg... |
package ttaomae.trees;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.util.Arrays;
import java.util.Collection;
import java.util.Random;
import org.junit.Before;
import org.junit.Test;
i... |
package org.apache.commons.lang;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import junit.textui.TestRunner;
/**
* Unit tests {@link org.apache.commons.lang.ObjectUtils}.
*
* @author <a href="mailto:jmcnally@collab.net">John McNally</a>
* @author <a href="mailto:s... |
package dt.call.aclient.fdkaac;
public class FdkAAC
{
static
{
System.loadLibrary("fdkaac-aclient");
}
//for consistency in java and C, keep the scared numbers in 1 place
public static native int getWavFrameSize();
//setup for 32kbit/s stereo @ 44100hz, CBR
public static native void ... |
package aima.gui.demo.search;
import aima.core.search.csp.BacktrackingStrategy;
import aima.core.search.csp.CSP;
import aima.core.search.csp.MapCSP;
import aima.core.search.csp.MinConflictsStrategy;
/**
* @author Ravi Mohan
* @author Ruediger Lunde
*/
public class CSPDemo {
public static void main(String[] args)... |
package com.splicemachine.derby.stream.utils;
import com.splicemachine.db.iapi.sql.Activation;
import com.splicemachine.db.iapi.sql.execute.ExecRow;
import com.splicemachine.db.iapi.types.RowLocation;
import com.splicemachine.derby.iapi.sql.execute.SpliceOperation;
import com.splicemachine.derby.stream.control.HregionD... |
package com.splicemachine.derby.security;
import com.splicemachine.db.shared.common.reference.SQLState;
import com.splicemachine.derby.test.framework.*;
import org.junit.*;
import org.junit.rules.RuleChain;
import org.junit.rules.TestRule;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.concu... |
package de.jtem.jrworkspace.plugin.sidecontainer.widget;
import static java.awt.GridBagConstraints.BOTH;
import static java.awt.GridBagConstraints.REMAINDER;
import java.awt.Color;
import java.awt.Component;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.GridBagConstrain... |
package de.jtem.jrworkspace.plugin.sidecontainer.widget;
import static java.awt.GridBagConstraints.BOTH;
import static java.awt.GridBagConstraints.REMAINDER;
import java.awt.Color;
import java.awt.Component;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.GridBagConstrain... |
package org.objectweb.proactive.extra.gcmdeployment.core;
import static org.objectweb.proactive.extra.gcmdeployment.GCMDeploymentLoggers.GCMA_LOGGER;
import static org.objectweb.proactive.extra.gcmdeployment.GCMDeploymentLoggers.GCM_NODEALLOC_LOGGER;
import java.lang.reflect.Method;
import java.util.ArrayList;
import j... |
package be.kuleuven.cs.distrinet.chameleon.analysis.dependency;
import java.util.LinkedList;
import java.util.concurrent.TimeUnit;
import com.google.common.base.Stopwatch;
import be.kuleuven.cs.distrinet.chameleon.analysis.Analysis;
import be.kuleuven.cs.distrinet.chameleon.core.declaration.Declaration;
import be.kuleu... |
package be.kuleuven.cs.distrinet.chameleon.analysis.dependency;
import java.util.ArrayList;
import java.util.LinkedList;
import be.kuleuven.cs.distrinet.chameleon.analysis.Analysis;
import be.kuleuven.cs.distrinet.chameleon.core.declaration.Declaration;
import be.kuleuven.cs.distrinet.chameleon.core.element.Element;
im... |
package net.ontopia.xml;
import java.util.Stack;
import java.io.*;
import org.xml.sax.*;
import org.xml.sax.helpers.ParserFactory;
import net.ontopia.utils.StringUtils;
import net.ontopia.utils.OntopiaRuntimeException;
/**
* INTERNAL: SAX document handler that writes pretty-printed XML to a
* Writer.
*/
public class... |
package com.github.dkanellis.skyspark.api.algorithms.wrappers;
import java.util.List;
import org.apache.spark.SparkConf;
import org.apache.spark.api.java.*;
import scala.Tuple2;
/**
*
* @author Dimitris Kanellis
*/
public class SparkContextWrapper {
private final SparkConf sparkConf;
private final JavaSparkC... |
package hr.fer.zemris.vhdllab.applets.editor.schema2.model;
import hr.fer.zemris.vhdllab.applets.editor.schema2.enums.EComponentType;
import hr.fer.zemris.vhdllab.applets.editor.schema2.exceptions.NotImplementedException;
import hr.fer.zemris.vhdllab.applets.editor.schema2.interfaces.ISchemaComponent;
import hr.fer.zem... |
package com.sometrik.framework;
import java.util.ArrayList;
import com.sometrik.framework.NativeCommand.Selector;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.graphics.drawable.ShapeDrawable;
import android.graphics.drawable.shapes.OvalShape;
import android.view.View;
import android.wid... |
package com.mybigday.rns3;
import java.util.*;
import com.facebook.react.ReactPackage;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.JavaScriptModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.uimanager.ViewManager;
public class RNS3Package imp... |
package org.endeavour.enterprise.email;
import org.endeavour.enterprise.framework.config.models.Template;
import org.endeavourhealth.enterprise.core.database.DbAbstractTable;
import org.endeavourhealth.enterprise.core.database.administration.DbEndUser;
import org.endeavourhealth.enterprise.core.database.administration.... |
package de.fhws.tutorium.ss17.tut7;
import java.util.*;
public class Roulette implements Iterable<Integer> {
private final class RouletteIterator implements Iterator<Integer> {
private boolean isDone = false;
@Override
public boolean hasNext() {
System.out.println("hasNext aufger... |
package gov.nih.nci.caintegrator.analysis.messaging;
import gov.nih.nci.caintegrator.enumeration.CoVariateType;
import gov.nih.nci.caintegrator.enumeration.MultiGroupComparisonAdjustmentType;
import gov.nih.nci.caintegrator.enumeration.StatisticalMethodType;
import java.io.Serializable;
import java.util.ArrayList;
impo... |
package at.favre.lib.hood;
import android.Manifest;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.hardware.SensorManager;
import android.os.SystemClock;
import android.os.Vibrator;
import android.support.annotation.No... |
package org.rstudio.studio.client.workbench.views.output.lint;
import org.rstudio.core.client.Debug;
import org.rstudio.core.client.Invalidation;
import org.rstudio.studio.client.RStudioGinjector;
import org.rstudio.studio.client.application.events.EventBus;
import org.rstudio.studio.client.common.RetinaStyleInjector;
... |
// package
package org.mskcc.cbio.importer;
// imports
import java.util.Arrays;
import java.util.HashSet;
import org.mskcc.cbio.importer.model.DataMatrix;
import org.mskcc.cbio.importer.model.PortalMetadata;
import org.mskcc.cbio.importer.model.DatatypeMetadata;
import org.mskcc.cbio.importer.model.CancerStudyMetadata;... |
package org.apache.velocity.runtime.resource.loader;
import java.io.InputStream;
import java.io.BufferedInputStream;
import java.util.Map;
import java.util.Hashtable;
import java.sql.*;
import javax.sql.DataSource;
import javax.naming.InitialContext;
import org.apache.velocity.runtime.Runtime;
import org.apache.velocit... |
package au.com.centrumsystems.hudson.plugin.buildpipeline;
import hudson.model.Item;
import hudson.model.AbstractBuild;
import hudson.model.AbstractProject;
import hudson.model.FreeStyleProject;
import hudson.model.Hudson;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
im... |
package au.gov.dva.sopref.interfaces.model.casesummary;
import au.gov.dva.sopref.interfaces.model.Factor;
import au.gov.dva.sopref.interfaces.model.Operation;
import au.gov.dva.sopref.interfaces.model.SoP;
import com.google.common.collect.ImmutableSet;
import java.time.LocalDate;
public interface CaseSummaryModel {
... |
package ca.corefacility.bioinformatics.irida.model;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import org.springframework.hateoas.Link;
import org.springframework.hateoas.ResourceSupport;
import org.springframework.util.Assert;
import com.fasterxml.jackson.annotation... |
package com.alexrnl.subtitlecorrector.correctionstrategy;
import static com.alexrnl.commons.utils.StringUtils.SPACE;
import static com.alexrnl.subtitlecorrector.common.TranslationKeys.KEYS;
import java.io.IOException;
import java.io.InputStream;
import java.nio.file.FileVisitOption;
import java.nio.file.FileVisitResult... |
package com.axellience.vuegwt.client.definitions;
import com.axellience.vuegwt.client.VueComponent;
import com.axellience.vuegwt.client.definitions.component.ComputedDefinition;
import com.axellience.vuegwt.client.definitions.component.DataDefinition;
import com.axellience.vuegwt.client.definitions.component.DataFactor... |
package com.felhr.usbmassstorageforandroid.filesystems.fat32;
import android.hardware.usb.UsbDevice;
import android.hardware.usb.UsbDeviceConnection;
import com.felhr.usbmassstorageforandroid.filesystems.MasterBootRecord;
import com.felhr.usbmassstorageforandroid.filesystems.Partition;
import com.felhr.usbmassstoragefo... |
package com.github.mjeanroy.spring.mappers.objects;
import com.github.mjeanroy.spring.mappers.Mapper;
import com.github.mjeanroy.spring.mappers.commons.ClassUtils;
import com.github.mjeanroy.spring.mappers.factory.ObjectFactory;
import com.github.mjeanroy.spring.mappers.iterables.Iterables;
import com.github.mjeanroy.s... |
package com.insightfullogic.honest_profiler.ports.sources;
import static java.nio.channels.FileChannel.MapMode.READ_ONLY;
import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.ByteBuffer;
import java.nio.MappedByteBuffer;
import java.nio.channels.FileChannel;
import com.insig... |
package com.outofbounds.empire.Showrooms.Controllers;
import com.outofbounds.empire.Showrooms.Models.Showroom;
import com.outofbounds.empire.Showrooms.Repositories.ShowroomRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
... |
package com.intellij.ui.classFilter;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.util.DefaultJDOMExternalizer;
import com.intellij.openapi.util.InvalidDataException;
import com.intellij.openapi.util.JDOMExternalizable;
import com.intellij.openapi.util.WriteExternalException;
import com.in... |
package de.fernunihagen.dna.jkn.scalephant.distribution;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.apache.zookeeper.CreateMode;
import org.apache.zookeeper.KeeperException;
import org.apache.zookeeper.WatchedEvent;
import org.apache.zookeeper.Watcher;... |
package com.yahoo.log;
import static java.nio.charset.StandardCharsets.UTF_8;
import static java.nio.file.StandardOpenOption.APPEND;
import static java.nio.file.StandardOpenOption.CREATE;
import java.io.File;
import java.io.OutputStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;... |
package nl.opengeogroep.safetymaps.server.stripes;
import java.io.IOException;
import java.io.StringReader;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import javax.servlet.ht... |
package zorbage.type.data.int128;
import zorbage.algorithm.Gcd;
import zorbage.algorithm.Lcm;
import zorbage.type.algebra.BitOperations;
import zorbage.type.algebra.Bounded;
import zorbage.type.algebra.Integer;
import zorbage.type.algebra.Random;
/**
*
* @author Barry DeZonia
*
*/
public class UnsignedInt128Group
... |
package org.jparsec.java;
import static org.junit.Assert.assertEquals;
import java.util.List;
import java.util.Map;
import org.codehaus.jparsec.error.ParserException;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import com.google.common.reflect.TypeToken;
@RunWith(JUnit4.clas... |
package org.ccnx.ccn.impl.repo;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.NoSuchElementException;
import java.util.Queue;
import java.util.concurrent.ConcurrentLinkedQueue;
import javax.xml.stream.XMLStreamException;
import org.ccnx.ccn.CCNInterestListener;
impor... |
package tigase.jaxmpp.gwt.client;
import java.util.Date;
import java.util.logging.Level;
import tigase.jaxmpp.core.client.AsyncCallback;
import tigase.jaxmpp.core.client.Connector;
import tigase.jaxmpp.core.client.Connector.ConnectorEvent;
import tigase.jaxmpp.core.client.JID;
import tigase.jaxmpp.core.client.JaxmppCor... |
package org.jpos.ee;
import java.util.*;
import java.io.Serializable;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.EqualsBuilder;
@SuppressWarnings("unused")
public class Consumer extends Cloneable implements Se... |
package org.jmxdatamart.common;
import java.sql.PreparedStatement;
import java.sql.SQLException;
/**
* Supported data types
* @author Binh Tran <mynameisbinh@gmail.com>
*/
public enum DataType {
BYTE(
java.lang.Byte.class,
"MS SQL type",
"Derby type",
"HSQL type"
... |
package gcm.gui;
import java.awt.BorderLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import java.util.Properties;
import gcm.parser.GCMFile;
import gcm.util.GlobalConstants;
import javax.swing.JComboBox;
import javax.swing.JLabel... |
package reactivestreams.commons.publisher;
import java.util.Collection;
import java.util.Iterator;
import java.util.Objects;
import java.util.concurrent.CancellationException;
import java.util.concurrent.atomic.AtomicIntegerFieldUpdater;
import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
import java.util.f... |
package uk.co.byteindustries.bytecore.event;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
import org.bukkit.plugin.java.JavaPlugin;
public class ByteCoreInitializationEvent extends Event {
private static final HandlerList HANDLER_LIST = new HandlerList();
private JavaPlugin plugin;
pu... |
package com.kuxhausen.huemore.net;
import java.util.ArrayList;
import java.util.List;
import alt.android.os.CountDownTimer;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.os.SystemClock;
import com.google.gson.Gson;
import com.kuxhausen.huemore.OnAct... |
package com.lasarobotics.ftc;
import com.qualcomm.robotcore.hardware.DcMotor;
/**
* Drive Train Math
*/
public class Drive {
/**
* Implements the Tank drive train
* @param left Left motor
* @param right Right motor
* @param leftValue Left motor target value
* @param rightValue Right motor... |
package javax.swingx.data;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.util.Date;
import java.util.Random;
/**
* This class is used to generate random numbers with different conditions.
* java.utils.Random is used to create base random numbers. A lot of differ... |
package fr.neamar.kiss;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import java.util.ArrayList;
import java.util.Arrays;
import java.ut... |
package org.ensembl.healthcheck.testcase.generic;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.HashMap;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.ensembl.healthcheck.DatabaseRegistryEntry;
import org.ensembl.hea... |
package org.mtransit.parser.ca_brampton_transit_bus;
import java.util.HashSet;
import java.util.Locale;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.mtransit.parser.DefaultAgencyTools;
import org.mtransit.parser.Utils;
import org.mtransit.parser.gtfs.data.GCalendar;
import org.mtransit.par... |
package org.pentaho.platform.dataaccess.datasource.api.resources;
import static javax.ws.rs.core.MediaType.APPLICATION_JSON;
import static javax.ws.rs.core.MediaType.APPLICATION_XML;
import static javax.ws.rs.core.MediaType.WILDCARD;
import static javax.ws.rs.core.Response.Status.CREATED;
import static javax.ws.rs.core... |
package app.sunstreak.yourpisd.net;
import android.support.annotation.NonNull;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.regex.Matcher;
import java.... |
package ch.trvlr.trvlr;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.Ed... |
package com.bkromhout.minerva.realm;
import com.bkromhout.minerva.data.CoverHelper;
import com.bkromhout.minerva.data.SuperBook;
import com.bkromhout.minerva.enums.ModelType;
import com.bkromhout.minerva.util.BookUtils;
import com.bkromhout.minerva.util.Util;
import com.bkromhout.ruqus.Hide;
import com.bkromhout.ruqus.... |
package com.iic.mokojin;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.app.ActionBarActivity;
i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.