answer stringlengths 17 10.2M |
|---|
package org.threadly.concurrent;
import java.lang.Thread.UncaughtExceptionHandler;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Deque;
import java.util.Iterator;
import java.util.List;
import java.util.concurrent.Callable;
import java.util.concurrent.Delayed;
import java.util.concurrent.Exe... |
package policycompass.fcmmanager.services;
import javax.ws.rs.*;
import javax.ws.rs.core.*;
import javax.ws.rs.HeaderParam;
import org.codehaus.jettison.json.JSONObject;
import policycompass.fcmmanager.controllers.*;
import policycompass.fcmmanager.simulation.pcjfcm;
@Path("/fcmmanager")
public class FCMModelService {
... |
package pt.lighthouselabs.obd.reader.io;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothSocket;
import android.content.Context;
import androi... |
package org.ojacquemart.eurobets.firebase.rx;
import com.firebase.client.*;
import rx.Observable;
import rx.Subscriber;
import rx.functions.Action0;
import rx.functions.Func1;
import rx.subscriptions.Subscriptions;
import java.util.ArrayList;
import java.util.List;
public class RxFirebase {
/**
* Essentially a... |
package org.grouplens.lenskit.eval.maven;
import org.apache.commons.exec.CommandLine;
import org.apache.commons.exec.DefaultExecutor;
import org.apache.commons.exec.ExecuteException;
import org.apache.maven.execution.MavenSession;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecution... |
package com.yahoo.vespa.flags;
import com.yahoo.component.Vtag;
import com.yahoo.vespa.defaults.Defaults;
import com.yahoo.vespa.flags.custom.PreprovisionCapacity;
import java.util.List;
import java.util.Optional;
import java.util.TreeMap;
import static com.yahoo.vespa.flags.FetchVector.Dimension.APPLICATION_ID;
import... |
package org.lenskit.knn.user;
import org.lenskit.inject.Shareable;
import org.lenskit.knn.MinNeighbors;
import javax.annotation.Nullable;
import javax.annotation.concurrent.Immutable;
import javax.inject.Inject;
import java.io.Serializable;
import java.util.List;
/**
* Score an item using the weighted average of neigh... |
package com.yahoo.vespa.flags;
import com.yahoo.component.Vtag;
import com.yahoo.vespa.defaults.Defaults;
import java.time.Instant;
import java.time.LocalDate;
import java.time.ZoneOffset;
import java.time.format.DateTimeFormatter;
import java.util.List;
import java.util.Optional;
import java.util.TreeMap;
import stati... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.nativelibs4java.opencl.util;
import com.nativelibs4java.opencl.*;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.nio.Buffer;
import java.util.LinkedH... |
package com.timehop.stickyheadersrecyclerview;
import android.graphics.Rect;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import com.timehop.stickyheadersrecyclerview.cach... |
package com.timehop.stickyheadersrecyclerview;
import android.graphics.Rect;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import com.timehop.stickyheadersrecyclerview.cach... |
package org.libreplan.web.common.entrypoints;
import java.util.HashMap;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.servlet.http.HttpServletRequest;
public class MatrixParameters {
private MatrixParameters() {
}
private static Pattern matrixParamPattern... |
package com.excelian.mache.integrations.eventing;
import com.codeaffine.test.ConditionalIgnoreRule;
import com.excelian.mache.core.NoRunningKafkaForTests;
import com.excelian.mache.events.MQFactory;
import com.excelian.mache.events.integration.DefaultKafkaMqConfig;
import com.excelian.mache.events.integration.KafkaMQFa... |
package org.mobicents.protocols.ss7.map.api.errors;
import java.io.Serializable;
/**
* Base class of MAP ReturnError messages
*
* @author sergey vetyutnev
*
*/
public interface MAPErrorMessage extends Serializable {
public Long getErrorCode();
public boolean isEmParameterless();
public boolean isEmExte... |
package org.apache.geronimo.xml.deployment;
import java.io.File;
import java.io.FileReader;
import junit.framework.TestCase;
import org.apache.geronimo.deployment.model.geronimo.appclient.ApplicationClient;
import org.apache.geronimo.deployment.model.geronimo.j2ee.EjbRef;
import org.apache.geronimo.deployment.model.ger... |
package org.motechproject.server.svc.impl;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.motechproject.server.messaging.MessageDefDate;
import org.motechproject.server.messaging.MessageNotFoundException;
import org.motechproje... |
package name.abuchen.portfolio.datatransfer.pdf;
import static name.abuchen.portfolio.datatransfer.pdf.PDFExtractorUtils.checkAndSetGrossUnit;
import java.math.BigDecimal;
import java.math.RoundingMode;
import name.abuchen.portfolio.datatransfer.pdf.PDFParser.Block;
import name.abuchen.portfolio.datatransfer.pdf.PDFPar... |
package name.abuchen.portfolio.online.portfolioreport;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.time.Instant;
import java.util.ArrayList;
import java.util.List;
import org.apache.http.Header;
import org.apache.http.HttpHeaders;
import org.apache.http.HttpStatus;
import org.apach... |
package com.x.base.core.project.config;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import com.x.base.core.project.annotation.FieldDescribe;
import com.x.base.core.project.gson.XGsonBuilder;
import com.x.base.core.project.tools.DefaultCharset;
import com.x.base.core.project.tools.ListTools;
... |
package org.gbif.occurrence.search.es;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.collect.*;
import com.vividsolutions.jts.geom.*;
import com.vividsolutions.jts.io.ParseException;
import com.vividsolutions.jts.io.WKTReader;
import org.elasticsearch.action.search.SearchRequest;
impo... |
import java.nio.file.Files;
import java.nio.file.StandardCopyOption;
import java.io.File;
import org.opensim.modeling.*;
class TestTables {
public static void test_DataTable() {
DataTable table = new DataTable();
// Set column labels.
StdVectorString labels = new StdVectorString();
l... |
package org.jpos.q2.iso;
import org.jdom2.Element;
import org.jpos.core.ConfigurationException;
import org.jpos.iso.*;
import org.jpos.q2.QBeanSupport;
import org.jpos.q2.QFactory;
import org.jpos.space.*;
import org.jpos.util.Loggeable;
import org.jpos.util.NameRegistrar;
import java.io.IOException;
import java.io.Pri... |
package yuku.alkitab.base.fr;
import android.app.AlertDialog;
import android.content.Context;
import android.graphics.Typeface;
import android.os.Bundle;
import android.text.SpannableStringBuilder;
import android.text.style.StyleSpan;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view... |
package bayesGame.minigame;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.Set;
import org.apache.commons.math3.fraction.Fraction;
import bayesGame.levelcontrollers.LevelController;
import bayesGame.l... |
package org.bimserver.geometry;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.DoubleBuffer;
import java.nio.FloatBuffer;
impor... |
package org.avallach.daedalus.ide.highlighting;
import com.intellij.codeHighlighting.TextEditorHighlightingPassRegistrar;
import com.intellij.codeInsight.daemon.impl.HighlightInfoType;
import com.intellij.lang.annotation.HighlightSeverity;
import com.intellij.openapi.editor.colors.TextAttributesKey;
import com.intellij... |
// RMG - Reaction Mechanism Generator
// RMG Team (rmg_dev@mit.edu)
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// and/or sell copies of the Software, and to permit persons to whom the
// Sof... |
package org.helioviewer.jhv.layers.spaceobject;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Point;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import javax.swing.BorderFactory;
import javax.swing.JCheckBox;
import javax.swing.JLabel;
import java... |
package org.pentaho.di.trans.steps.scriptvalues_mod;
import java.math.BigDecimal;
import java.util.Date;
import java.util.Hashtable;
import java.util.Map;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.EvaluatorException;
import org.mozilla.javascript.Script;
import org.mozilla.javascript.Scriptab... |
package org.usfirst.frc330.Beachbot2014Java.commands;
import edu.wpi.first.wpilibj.command.Command;
import org.usfirst.frc330.Beachbot2014Java.Robot;
/**
*
* @author Joe-XPS13-W7
*/
public abstract class MoveArmCommand extends Command {
double setpoint;
boolean started = false;
double outputRange = 0;
... |
package org.eclipse.dawnsci.analysis.api.tree;
public class TreeUtils {
/**
* Get the path
* @param tree
* @param node
* @return path to node, return null if not found
*/
public static String getPath(Tree tree, Node node) {
GroupNode g = tree.getGroupNode();
if (g == nod... |
package org.eclipse.mylyn.context.tests.support;
import java.io.File;
import java.io.FileInputStream;
import java.net.URL;
import java.util.Properties;
import junit.framework.AssertionFailedError;
import org.eclipse.core.runtime.FileLocator;
import org.eclipse.mylyn.context.core.ContextCore;
import org.eclipse.mylyn.co... |
package org.jasig.portal;
import org.jasig.portal.security.IPerson;
import org.jasig.portal.utils.XSLT;
import javax.servlet.*;
import javax.servlet.jsp.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;
import java.text.*;
import java.net.*;
import org.w3c.dom.*;
import org.apache.xalan.... |
package org.jasig.portal;
import org.jasig.portal.services.LogService;
import org.jasig.portal.security.IPerson;
import org.jasig.portal.jndi.JNDIManager;
import org.jasig.portal.jndi.PortalNamingException;
import org.jasig.portal.utils.BooleanLock;
import org.jasig.portal.utils.XML;
import org.jasig.portal.utils.Prop... |
package org.jfree.chart;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Font;
import java.awt.Paint;
import java.awt.Stroke;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.Iterator;
import java.util.List... |
package protocolsupport.zplatform.impl.glowstone;
import java.security.KeyPair;
import java.text.MessageFormat;
import java.util.Arrays;
import java.util.Map;
import java.util.concurrent.Callable;
import java.util.concurrent.FutureTask;
import java.util.stream.Collectors;
import org.bukkit.Achievement;
import org.bukki... |
package org.jfree.chart.plot.dial;
import java.awt.Graphics2D;
import java.awt.Shape;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.util.Iterator;
import java.util.List;
import org.jfree.chart.... |
package com.dumontierlab.pdb2rdf.parser;
import java.io.IOException;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import org.xml.sax.Attributes;
import org.xml.sax.ContentHandler;
import org.xml.sax.InputSource;
import org.xml.sax.Locator;
import org.xml.sax.SAXException;
import org.xml.sax.SAXPar... |
package com.wirelust.personalapi.api.v1.resources;
import java.util.List;
import javax.inject.Inject;
import javax.inject.Named;
import javax.persistence.EntityManager;
import javax.persistence.TypedQuery;
import javax.transaction.Transactional;
import javax.validation.constraints.NotNull;
import javax.validation.const... |
package sk.henrichg.phoneprofilesplus;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Build;
class ApplicationPreferences {
static SharedPreferences preferences = null;
static final String PREF_APPLICATION_START_ON_BOOT = "applicationStartOnBoot";
private static... |
package ua.com.fielden.platform.test;
import static java.lang.String.format;
import java.io.FileInputStream;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.Collection;
import java... |
package com.intellij.ide.ui.search;
import com.intellij.codeStyle.CodeStyleFacade;
import com.intellij.ide.plugins.IdeaPluginDescriptor;
import com.intellij.ide.plugins.PluginManagerConfigurable;
import com.intellij.ide.plugins.PluginManagerCore;
import com.intellij.openapi.application.ApplicationManager;
import com.in... |
package com.intellij.execution.process;
import com.intellij.openapi.util.Key;
import com.intellij.openapi.util.Pair;
import com.intellij.testFramework.PlatformTestCase;
import com.intellij.util.Function;
import com.intellij.util.containers.ContainerUtil;
import org.jetbrains.annotations.NotNull;
import org.junit.Assert... |
package com.intellij.coverage.actions;
import com.intellij.coverage.*;
import com.intellij.openapi.actionSystem.*;
import com.intellij.openapi.actionSystem.ex.ComboBoxAction;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.extensions.Extensions;
import com.intellij.openapi.fileChooser.FileCho... |
package org.editorconfig.plugincomponents;
import com.intellij.lang.Language;
import com.intellij.lang.LanguageAnnotators;
import com.intellij.openapi.components.ApplicationComponent;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.fileTypes.FileType;
import com.intellij.openapi.fileT... |
package hex.tree;
import java.util.Arrays;
import java.util.Random;
import water.*;
import water.util.IcedBitSet;
import water.util.SB;
// Highly compressed tree encoding:
// tree: 1B nodeType, 2B colId, 4B splitVal, left-tree-size, left, right
// nodeType: (from lsb):
// 2 bits (1,2) skip-tree-size-size,
... |
package hex.rulefit;
import hex.ConfusionMatrix;
import hex.ScoringInfo;
import hex.genmodel.utils.DistributionFamily;
import hex.glm.GLM;
import hex.glm.GLMModel;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import water.DKV;
import water.Key;
import water.Scope;
import water.TestUt... |
package com.opengamma.masterdb.security;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import java.util.LinkedList;
import java.util.TimeZone;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
impo... |
package com.netflix.ribbonclientextensions;
import static org.junit.Assert.*;
import java.io.IOException;
import java.nio.charset.Charset;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.atomic.AtomicReference;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import io.reactivex.... |
package org.noear.weed;
import org.noear.weed.cache.CacheUsing;
import org.noear.weed.cache.ICacheController;
import org.noear.weed.cache.ICacheService;
import org.noear.weed.ext.Act2;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;
public interface IQuery extends ICacheController<IQuery> {
... |
package edu.rpi.phil.legup.newgui;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FileDialog;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import javax.swing.GroupLayout;
import java.awt.Insets;
import java.io.File;
import java.io.FilenameFilter;
import java.awt.event.Act... |
import java.sql.DriverManager;
import java.sql.Connection;
import java.sql.Statement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.io.File;
import java.io.FileReader;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.List;
import... |
package fr.obvil.grep;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.net.MalformedURLException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Ha... |
package net.fortuna.ical4j.model.component;
import java.io.IOException;
import java.net.URISyntaxException;
import java.text.ParseException;
import java.util.Iterator;
import net.fortuna.ical4j.model.Component;
import net.fortuna.ical4j.model.ComponentList;
import net.fortuna.ical4j.model.Date;
import net.fortuna.ical4... |
package com.purdue.CampusFeed;
import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.ListView;
import android.widget.Toast;
public class BrowseFragment extends Fragment ... |
package com.perimeterx.api;
import com.perimeterx.api.activities.DefaultActivityHandler;
import com.perimeterx.api.blockhandler.BlockHandler;
import com.perimeterx.api.providers.DefaultHostnameProvider;
import com.perimeterx.api.providers.HostnameProvider;
import com.perimeterx.api.providers.IPProvider;
import com.peri... |
package com.uwetrottmann.tmdb2.services;
import com.uwetrottmann.tmdb2.BaseTestCase;
import com.uwetrottmann.tmdb2.TestData;
import com.uwetrottmann.tmdb2.entities.AppendToResponse;
import com.uwetrottmann.tmdb2.entities.Credits;
import com.uwetrottmann.tmdb2.entities.Images;
import com.uwetrottmann.tmdb2.entities.List... |
package com.wpetit.projecthome.generator;
import static org.junit.Assert.assertEquals;
import java.util.Arrays;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.skyscreamer.jsonassert.JSONAssert;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.contex... |
package edu.harvard.iq.dataverse.util.json;
import edu.harvard.iq.dataverse.ControlledVocabularyValue;
import edu.harvard.iq.dataverse.DatasetField;
import edu.harvard.iq.dataverse.DatasetFieldCompoundValue;
import edu.harvard.iq.dataverse.DatasetFieldServiceBean;
import edu.harvard.iq.dataverse.DatasetFieldType;
impor... |
package info.u_team.u_team_test.item;
import info.u_team.u_team_core.item.UItem;
import info.u_team.u_team_test.entity.BetterEnderPearlEntity;
import info.u_team.u_team_test.init.*;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item.*;
import net.minecraft.util.*;
import net.minecraft.world.Worl... |
package net.openhft.chronicle.wire;
import io.github.classgraph.*;
import net.openhft.chronicle.bytes.Bytes;
import org.junit.jupiter.api.DynamicTest;
import org.junit.jupiter.api.TestFactory;
import javax.sql.rowset.serial.SerialBlob;
import javax.sql.rowset.serial.SerialClob;
import javax.swing.*;
import java.awt.*;
... |
package no.difi.sdp.client.internal;
import no.difi.begrep.sdp.schema_v10.*;
import no.difi.sdp.client.domain.Feil;
import no.difi.sdp.client.domain.Feiltype;
import no.difi.sdp.client.domain.Prioritet;
import no.difi.sdp.client.domain.kvittering.*;
import no.posten.dpost.offentlig.api.representations.EbmsApplikasjonsK... |
package org.n52.movingcode.runtime.test;
import org.apache.log4j.BasicConfigurator;
import org.junit.Test;
import org.n52.movingcode.runtime.feed.FeedGenerator;
import org.n52.movingcode.runtime.feed.FeedTemplate;
public class FeedGeneratorTest {
// the source folder where the packages currently reside
private ... |
package org.threadly.util.debug;
import static org.junit.Assert.*;
import java.util.Arrays;
import java.util.Iterator;
import org.junit.Before;
import org.junit.Test;
import org.threadly.util.debug.Profiler.ThreadSample;
@SuppressWarnings("javadoc")
public class FilteredStackProfilerTest extends ProfilerTest {
@Befor... |
/*
* StubbornNetworkReliabiltyTest.java
*
*
*/
package org.prevayler.foundation;
import java.io.IOException;
import junit.framework.TestCase;
import org.prevayler.foundation.network.Network;
import org.prevayler.foundation.network.NetworkImpl;
import org.prevayler.foundation.network.ObjectReceiver;
import org.preva... |
package com.health.input;
import java.io.FileInputStream;
import java.io.IOException;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import java.time.format.DateTimeParseException;
import java.util.Objects;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.Row... |
package app.hongs.dh;
import app.hongs.util.Dict;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
/**
*
* @author Hongs
*/
public class MergeMore
{
protected List<Map> rows;
public ... |
// 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.gluu.oxtrust.service.scim2.interceptor;
import org.apache.commons.lang.StringUtils;
import org.gluu.oxtrust.ldap.service.IPersonService;
import org.gluu.oxtrust.model.GluuCustomPerson;
import org.gluu.oxtrust.model.exception.SCIMException;
import org.gluu.oxtrust.model.scim2.*;
import org.gluu.oxtrust.model... |
package com.jme3.scene;
import com.jme3.bounding.BoundingBox;
import com.jme3.bounding.BoundingVolume;
import com.jme3.collision.Collidable;
import com.jme3.collision.CollisionResults;
import com.jme3.collision.bih.BIHTree;
import com.jme3.export.*;
import com.jme3.material.Material;
import com.jme3.material.RenderStat... |
package net.ellitron.ldbcsnbimpls.interactive.torc;
import static org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__.*;
import static org.apache.tinkerpop.gremlin.process.traversal.Order.incr;
import static org.apache.tinkerpop.gremlin.process.traversal.Order.decr;
import static org.apache.tinkerpop.gremlin.pr... |
// modification, are permitted provided that the following conditions are met:
// documentation and/or other materials provided with the distribution.
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// LIABLE FOR ... |
package gov.nih.nci.cananolab.ui.sample;
import gov.nih.nci.cananolab.dto.common.ColumnHeader;
import gov.nih.nci.cananolab.dto.common.ExperimentConfigBean;
import gov.nih.nci.cananolab.dto.common.FileBean;
import gov.nih.nci.cananolab.dto.common.FindingBean;
import gov.nih.nci.cananolab.dto.particle.SampleBean;
import... |
package joliex.io;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.FilenameFilter;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamR... |
package datastructs;
import java.util.ArrayList;
import java.util.Scanner;
public class ArrayListIpod {
public static ArrayList<String> songs = new ArrayList<String>();
public static ArrayList<String> artists = new ArrayList<String>();
public static ArrayList<String> myplaylistsongs = new ArrayList<String>(... |
package ca.corefacility.bioinformatics.irida.ria.web.cart;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
... |
package ca.corefacility.bioinformatics.irida.service;
import ca.corefacility.bioinformatics.irida.model.IridaClientDetails;
import org.springframework.security.oauth2.provider.ClientDetails;
import org.springframework.security.oauth2.provider.ClientDetailsService;
import org.springframework.security.oauth2.provider.NoS... |
package com.yahoo.sketches.hive.tuple;
import org.apache.hadoop.hive.ql.exec.Description;
import org.apache.hadoop.hive.ql.exec.UDF;
import org.apache.hadoop.io.BytesWritable;
import com.yahoo.memory.Memory;
import com.yahoo.sketches.quantiles.DoublesSketch;
import com.yahoo.sketches.quantiles.DoublesSketchBuilder;
imp... |
package de.hs.mannheim.modUro.controller.overview;
import de.hs.mannheim.modUro.model.MetricType;
import de.hs.mannheim.modUro.model.Simulation;
import de.hs.mannheim.modUro.model.overview.SimulationOverview;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEv... |
package net.davidvoid.thor.lightning.service.security;
import io.jsonwebtoken.Claims;
import io.jsonwebtoken.Jws;
import io.jsonwebtoken.JwtException;
import io.jsonwebtoken.Jwts;
import io.jsonwebtoken.SignatureAlgorithm;
import java.io.*;
import java.util.Date;
import java.util.Map;
import net.davidvoid.thor.lightnin... |
package org.sitenv.service.ccda.smartscorecard.controller;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
import java.io.OutputStream;
import java.net.URI;
import java.net.URISyntaxException... |
package xyz.brassgoggledcoders.boilerplate.lib.common.registries;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.item.Item;
import net.minecraftforge.fml.common.registry.GameRegistry;
import xyz.brassgoggledcoders.boilerplate.lib.BoilerplateLib;
import xyz.brassgogg... |
package org.usfirst.frc.team3070.robot;
import com.ctre.CANTalon;
import org.usfirst.frc.team3070.robot.Pronstants;
import edu.wpi.first.wpilibj.AnalogGyro;
public class Drive {
static CANTalon talFR, talFL, talBR, talBL;
static AnalogGyro gyro;
public Drive()
{
//defines the talon variables
... |
package org.formular.operation;
import java.util.LinkedList;
import java.util.List;
import org.formular.core.IOperation;
import org.formular.core.Input;
import org.formular.description.DescriptionElement;
public abstract class BinaryOperation extends AOperation<Float> {
private static final long serialVersionUID = ... |
package com.sonymobile.tools.gerrit.gerritevents.dto.events;
import com.sonymobile.tools.gerrit.gerritevents.GerritJsonEventFactory;
import com.sonymobile.tools.gerrit.gerritevents.dto.GerritEvent;
import net.sf.json.JSONObject;
import org.apache.commons.io.IOUtils;
import org.junit.Test;
import java.io.IOException;
im... |
package gcm.gui;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.Rectangle;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
import org.sbml.libsbml.Compartment;
import com.mx... |
public class Vehicle {
private String regNbr;
private String model;
private String type;
private String licenseReq;
private int price;
private String info;
private boolean hasHook;
private String expiryDate;
public String getRegNbr() {
return regNbr;
}
public void set... |
package org.scenarioo.pizza.selenium;
import org.scenarioo.pizza.scenarioo.ScenariooEventListener;
import org.scenarioo.pizza.scenarioo.UseCaseContext;
import org.scenarioo.pizza.scenarioo.UseCaseContextHolder;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.sel... |
package org.cornutum.tcases.openapi.test;
import com.fasterxml.jackson.databind.JsonNode;
import org.junit.Test;
import static org.cornutum.hamcrest.Composites.*;
import static org.hamcrest.MatcherAssert.*;
import static org.hamcrest.Matchers.*;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util... |
package org.collectionspace.chain.storage;
import static org.junit.Assert.*;
import java.io.IOException;
import java.io.InputStream;
import org.apache.commons.io.IOUtils;
import org.collectionspace.chain.controller.ChainServlet;
import org.collectionspace.chain.util.json.JSONUtils;
import org.collectionspace.bconfiguti... |
package io.spine.tools.gradle.compiler.protoc;
import com.google.protobuf.Message;
/**
* Selects messages by a pattern.
*/
public interface FilePattern<T extends Message> extends Selector<T> {
/**
* Returns current file pattern.
*/
String getPattern();
} |
package info.hossainkhan.dailynewsheadlines.browser;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.res.Resources;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.Handler;
import android.support.v17.l... |
package edu.cornell.mannlib.vitro.webapp.controller.grefine;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletRequest;
impor... |
package com.exedio.cope.lib;
import java.io.IOException;
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.Set;
import junit.framework.TestCase;
public class LibTest extends TestCase
{
fina... |
package com.exedio.cope.lib;
public class SumTest extends DatabaseLibTest
{
SumItem item;
SumItem item2;
final static Integer i1 = new Integer(1);
final static Integer i2 = new Integer(2);
final static Integer i3 = new Integer(3);
final static Integer i4 = new Integer(4);
final static Intege... |
package imj2.tools;
import static java.awt.Color.RED;
import static java.awt.Color.YELLOW;
import static java.lang.Math.abs;
import static java.lang.Math.max;
import static net.sourceforge.aprog.swing.SwingTools.show;
import static net.sourceforge.aprog.tools.Tools.debugPrint;
import static net.sourceforge.aprog.tools.... |
import static org.junit.Assert.assertEquals;
import org.junit.BeforeClass;
import org.junit.Test;
import coeur.*;
import java.util.concurrent.*;
import javax.swing.SwingUtilities;
import javafx.embed.swing.JFXPanel;
public class TestEtats
{
private static Controleur controleur = Controleur.getInstance();
privat... |
package org.doube.util;
import ij.IJ;
import ij.ImagePlus;
import ij.ImageStack;
import ij.measure.Calibration;
import ij.plugin.ClassChecker;
import ij.process.ImageStatistics;
/**
* Check if an image conforms to the type defined by each method.
*
* @author Michael Doube
*
*/
public class ImageCheck {
/**
... |
/*
Reverses an array of ints.
*/
public class ArrayReverser
{
public static void main(String[] args)
{
java.util.Scanner gets = new java.util.Scanner(System.in);
System.out.println("Enter a set of numbers with each number separated by a space.");
//Get input and split into an array of St... |
package io.spark.ddf;
import com.google.gson.Gson;
import io.ddf.DDF;
import io.ddf.DDFManager;
import io.ddf.exception.DDFException;
import io.spark.ddf.util.SparkUtils;
import org.apache.commons.lang.StringUtils;
import org.apache.spark.SparkContext;
import org.apache.spark.api.java.JavaRDD;
import org.apache.spark.a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.