answer stringlengths 17 10.2M |
|---|
package com.cv4j.image.util;
import android.graphics.Bitmap;
import android.os.Environment;
import android.util.Log;
import com.cv4j.core.binary.ConnectedAreaLabel;
import com.cv4j.core.binary.MorphOpen;
import com.cv4j.core.binary.Threshold;
import com.cv4j.core.datamodel.ByteProcessor;
import com.cv4j.core.datamodel.... |
package imagej.script;
import imagej.command.Command;
import imagej.module.AbstractModuleInfo;
import imagej.module.DefaultMutableModuleItem;
import imagej.module.ModuleException;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.io.Reader;
import jav... |
package net.mgsx.kit;
import java.lang.annotation.Annotation;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Map.Entry;
import org.reflections.Reflections;
import org.reflections.scanners.SubTypesScanner;
import org.reflections.scanners.TypeAnnotationsScanner;
import org.... |
package com.example.db;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class DbImplConfig {
@Bean
public BookRepository bookRepository() {
BookRepositoryImpl bookRepository = new BookRepositoryImpl();
bookRep... |
package nl.mpi.kinnate.export;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import javax.swing.JFileChooser;
import javax.swing.filechooser.FileFilter;
import nl.mpi.arbil.ui.ArbilWindowManager;
import nl.mpi.arbil.ui.GuiHelper;
import nl.mpi.arbil.userstorage.ArbilSessionStorage;
import ... |
package co.aikar.commands;
import java.lang.annotation.Annotation;
import java.lang.reflect.AnnotatedElement;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Collection;
import java.util.HashSet;
import java.util.IdentityHashMap;
import java.util.Map;
@SuppressWarni... |
package com.xqbase.tuna;
import java.io.IOException;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.ClosedSelectorException;
import java.nio.channels.SelectableChannel;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import ... |
package com.xqbase.tuna;
import java.io.IOException;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.ClosedSelectorException;
import java.nio.channels.SelectableChannel;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import ... |
package de.otto.jlineup;
import de.otto.jlineup.browser.Browser;
import de.otto.jlineup.browser.BrowserUtils;
import de.otto.jlineup.config.JobConfig;
import de.otto.jlineup.config.Step;
import de.otto.jlineup.file.FileService;
import de.otto.jlineup.image.ImageService;
import de.otto.jlineup.report.*;
import org.slf4j... |
package hudson.model.labels;
import hudson.BulkChange;
import hudson.CopyOnWrite;
import hudson.XmlFile;
import hudson.model.Action;
import hudson.model.Descriptor.FormException;
import hudson.model.Failure;
import hudson.model.Hudson;
import hudson.model.Label;
import hudson.model.Saveable;
import hudson.model.listene... |
package hudson.security;
import com.octo.captcha.service.CaptchaServiceException;
import com.octo.captcha.service.image.DefaultManageableImageCaptchaService;
import groovy.lang.Binding;
import hudson.ExtensionPoint;
import hudson.model.Describable;
import hudson.model.Descriptor;
import hudson.model.Hudson;
import huds... |
package io.bitsquare.user;
import io.bitsquare.app.BitsquareEnvironment;
import io.bitsquare.app.DevFlags;
import io.bitsquare.app.Version;
import io.bitsquare.btc.BitcoinNetwork;
import io.bitsquare.btc.FeePolicy;
import io.bitsquare.common.persistance.Persistable;
import io.bitsquare.locale.*;
import io.bitsquare.sto... |
/*
* $Id$
* $URL$
*/
package org.subethamail.core.lists;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.sql.Blob;
impor... |
package hudson.model;
import junit.framework.TestCase;
import java.util.Random;
/**
* @author Stephen Connolly
*/
public class ResourceListTest extends TestCase {
private Resource a1, a2, a3, a4, a;
private Resource b1, b2, b3, b4, b;
private Resource c1, c2, c3, c4, c;
private Resource d, e, f;
p... |
package imagej.ui;
import imagej.InstantiableException;
import imagej.command.CommandService;
import imagej.data.display.ImageDisplay;
import imagej.display.Display;
import imagej.display.DisplayService;
import imagej.display.event.DisplayActivatedEvent;
import imagej.display.event.DisplayCreatedEvent;
import imagej.di... |
package cl.fatman.capital.fund;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
import javax.persistence.Query;
import org.apache.log4j.Logger;
import java.util.List;
public class PersistenceData {
private static final PersistenceData INST... |
/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
package processing.app;
import static processing.app.I18n._;
import java.io.*;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.ev... |
package claw.wani.x2t.translator;
import claw.shenron.transformation.DependentTransformationGroup;
import claw.shenron.transformation.IndependentTransformationGroup;
import claw.shenron.transformation.Transformation;
import claw.shenron.transformation.TransformationGroup;
import claw.shenron.translator.Translator;
impo... |
package ai.grakn.client;
import ai.grakn.Grakn;
import ai.grakn.GraknGraph;
import ai.grakn.GraknSession;
import ai.grakn.GraknTxType;
import ai.grakn.concept.EntityType;
import ai.grakn.concept.ResourceType;
import ai.grakn.graql.Graql;
import ai.grakn.graql.InsertQuery;
import ai.grakn.test.EngineContext;
import org.... |
package app.hongs.serv.common;
import app.hongs.HongsUnchecked;
import java.util.regex.Pattern;
import javax.servlet.http.HttpSession;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRequestWrapper;
/**
*
* @author Hongs
*/
public class SessFiller extends HttpServletRequestWrapper ... |
package uk.ac.ox.oucs.vle.proxy;
import java.io.UnsupportedEncodingException;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLEncoder;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Map.Entr... |
package net.iaeste.iws.ejb;
import net.iaeste.iws.api.enums.exchange.OfferState;
import net.iaeste.iws.api.exceptions.IWSException;
import net.iaeste.iws.persistence.ExchangeDao;
import net.iaeste.iws.persistence.entities.exchange.OfferEntity;
import net.iaeste.iws.persistence.entities.exchange.OfferGroupEntity;
import... |
package com.izforge.izpack.util;
import java.awt.event.KeyEvent;
import java.io.*;
import java.util.logging.Level;
import java.util.logging.Logger;
import jline.console.ConsoleReader;
import jline.console.completer.FileNameCompleter;
import jline.internal.Log;
/**
* I/O streams to support prompting and keyboard input ... |
package com.youtube.vitess.client;
import com.google.common.base.Function;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Iterables;
import com.google.common.primitives.UnsignedLong;
import com.google.protobuf.ByteString;
import com.youtube.vitess.client.cursor.Cursor;
import com.youtu... |
package com.microsoft.bond;
import com.microsoft.bond.helpers.ArgumentHelper;
import com.microsoft.bond.protocol.*;
import java.io.IOException;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/**
* Partially implem... |
package com.carmanconsulting.akka;
import akka.actor.ActorRef;
import akka.actor.Props;
import akka.actor.Terminated;
import akka.actor.UntypedActor;
import org.junit.Test;
public class StoppingTest extends AkkaTestCase {
// Other Methods
@Test
public void testStopMethod() {
ActorRef echo = system().act... |
package com.mgmtp.jfunk.unit;
import javax.annotation.concurrent.ThreadSafe;
import javax.inject.Inject;
import javax.inject.Provider;
import javax.inject.Singleton;
import com.mgmtp.jfunk.common.JFunkConstants;
import com.mgmtp.jfunk.core.module.TestModule;
import com.mgmtp.jfunk.core.reporting.Reporter;
import com.mg... |
package com.github.aha.poc.junit5;
import static com.github.aha.poc.junit5.SpyingTests.Greeting.GreetingService.WELCOME;
import static org.assertj.core.api.Assertions.assertThat;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Nested;
import org.junit.jupiter.api.Test;
import org.mockito.Mockito;... |
package gui;
import org.eclipse.swt.*;
import org.eclipse.swt.widgets.*;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import sun.java2d.pipe.SpanShapeRenderer.Simple;
import system.PFSystem;
import domainobjects.DateRange;
import domainobjects.ExpenseFilter;
import domai... |
package com.meltmedia.cadmium.cli;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.entity.UrlE... |
package com.microsoft.rest;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.primitives.Primitives;
import com.google.common.reflect.TypeToken;
import org.joda.time.DateTime;
import org.joda.time.LocalDate;
import org.joda.time.Period;
import java.lang.reflect.Field;
import java.lang.refle... |
package com.sendwithus;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.codec.binary.Base64;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.FilenameUtils;
import com.sendwithus.exception.SendWith... |
package classycle.graph;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.Stack;
import java.util.Vector;
/**
* A processor which extracts the strong components of a directed graph.
* A strong component is a maximal strongly connected subgraph of a
* directed graph. The implementation is... |
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* the project. */
package edu.wpi.first.wpilibj.templates;
import edu.wpi.first.wpilibj.*;
/**
* The VM is configured to automatically run this class, and to call the
* funct... |
package org.intermine.bio.gbrowse;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.intermine.objectstore.query.ConstraintO... |
package net.bither.bitherj.core;
import com.google.common.base.Predicate;
import com.google.common.collect.Collections2;
import net.bither.bitherj.crypto.ECKey;
import net.bither.bitherj.crypto.EncryptedData;
import net.bither.bitherj.crypto.KeyCrypterException;
import net.bither.bitherj.crypto.PasswordSeed;
import net... |
package com.browseengine.bobo.api;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
... |
package hudson.model;
import hudson.search.SearchFactory;
import org.kohsuke.stapler.StaplerRequest;
import org.kohsuke.stapler.StaplerResponse;
import org.kohsuke.stapler.Stapler;
import javax.servlet.ServletException;
import java.io.IOException;
import hudson.search.SearchableModelObject;
import hudson.search.Search;... |
package com.novoda.downloadmanager.lib;
import android.content.ContentValues;
import android.content.Context;
import android.net.Uri;
import android.os.Environment;
import android.util.Pair;
import com.novoda.downloadmanager.notifications.NotificationVisibility;
import java.io.File;
import java.net.URI;
import java.uti... |
package io.bitsquare.locale;
import io.bitsquare.user.Preferences;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.*;
import java.util.stream.Collectors;
public class CurrencyUtil {
private static final Logger log = LoggerFactory.getLogger(CurrencyUtil.class);
private static final List... |
package lucee.runtime.debug;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
import java.util.Map;
import java.util.Map.Entry;
import java.util.co... |
package bisq.asset.coins;
import bisq.asset.Coin;
import bisq.asset.RegexAddressValidator;
public class Noir extends Coin {
public Noir() {
super("Noir", "NOR", new RegexAddressValidator("^[Z][_A-z0-9]*([_A-z0-9])*$"));
}
} |
package lucee.runtime.config;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.jar.Attributes;
import java.util.jar.Manifest;
import java.util.zip.ZipEntry;
import java.util.zip.ZipException;
import java.util... |
package net.mueller_martin.turirun;
import java.io.IOException;
import com.badlogic.gdx.graphics.Camera;
import com.badlogic.gdx.maps.MapObjects;
import com.badlogic.gdx.maps.MapProperties;
import com.badlogic.gdx.maps.tiled.TiledMap;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.Gdx;
import... |
package com.punchline.javalib.entities;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.InputMultiplexer;
import com.badlogic.gdx.graphics.Camera;
import com.badlogic.gdx.math.Rectangle;
import com.badlogic.gdx.math.Vector2;
import com.bad... |
package org.joda.time.partial;
import org.joda.time.Chronology;
import org.joda.time.DateTime;
import org.joda.time.DateTimeField;
import org.joda.time.DateTimeZone;
import org.joda.time.ReadableInstant;
/**
* Defines an instant that does not support every datetime field.
* <p>
* A PartialInstant supports a set of f... |
package com.alexstyl.specialdates.util;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import a... |
package jorgealvarezlab3;
import java.awt.Color;
import java.util.ArrayList;
import java.util.Date;
import javax.swing.JOptionPane;
/**
*
* @author ofici
*/
public class JorgeAlvarezLab3 {
static ArrayList<Carro> Carros = new ArrayList();
static ArrayList<Cliente> Clientes = new ArrayList();
static Array... |
package com.alexstyl.specialdates.util;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import a... |
package org.croudtrip.api.trips;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.base.Objects;
import javax.persistence.Column;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.EnumType;
impor... |
package ch.openech.mj.db;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.standard.StandardAnalyzer;
import org.apac... |
package oasis.model.directory;
import javax.annotation.Nonnull;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;
import com.wordnik.swagger.annotations.ApiModelProperty;
import oasis.model.annotations.Id;
@JsonRootName("organization")
public class Organization ... |
package org.eclipse.egit.core;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.Platform;
import org.eclipse.core.runtime.PlatformObject;
import org.eclipse.egit.core.internal.Utils;
import org.eclipse.jgit.annotations.Nullable;
/**
* Utilities for working with objects that implement {@link ... |
package org.mwc.cmap.core.wizards;
import java.text.ParseException;
import java.util.Date;
import org.eclipse.core.runtime.Status;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.widgets.Text;
import org.mwc.cma... |
package org.microbule.osgi;
import java.util.Map;
import org.junit.Rule;
import org.junit.Test;
import org.microbule.api.JaxrsServer;
import org.microbule.api.JaxrsServerFactory;
import org.microbule.test.MockObjectTestCase;
import org.microbule.test.hello.HelloService;
import org.microbule.test.hello.HelloServiceImpl;... |
package me.shortify.sparkserver.exception;
import org.json.JSONObject;
public class Error {
public static final String URL_EXISTS = "The custom text specified already exists in the database. Try with another one.";
public static final String BAD_URL = "The URL specified refers to a not safe website. Try with an... |
/**
@header@
*/
package org.pcmm;
import org.pcmm.gates.ITransactionID;
import org.pcmm.gates.impl.PCMMGateReq;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.umu.cops.stack.COPSError;
import java.util.Hashtable;
public class PCMMPdpDataProcess { // extends COPSPdpDataProcess
public final sta... |
package edu.wustl.catissuecore.domain;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
import edu.wustl.catissuecore.actionForm.AbstractActionForm;
import edu.wustl.catissuecore.actionForm.DistributionForm;
import edu.wustl.common.util.Ma... |
package com.intellij.openapi.util;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.util.ExceptionUtil;
import com.intellij.util.containers.ContainerUtil;
import org.jetbrains.annotations.*;
import java.util.*;
import java.util.concurrent.atomic.AtomicBoolean;
/... |
package git4idea.commands;
import com.intellij.openapi.util.Key;
/**
* @deprecated Use the {@link GitLineHandlerListener}.
*/
@Deprecated
public class GitLineHandlerAdapter implements GitLineHandlerListener {
@Override
public void onLineAvailable(final String line, final Key outputType) {
}
} |
package org.pm4j.core.pm.impl;
import java.util.Set;
import org.pm4j.core.pm.PmCommand;
import org.pm4j.core.pm.PmObject;
import org.pm4j.core.pm.annotation.PmCommandCfg;
import org.pm4j.core.pm.annotation.PmCommandCfg.BEFORE_DO;
/**
* Proxy commands are designed as stand-in's for optionally existing real application ... |
package org.jetel.lookup;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import org.jetel.connection.jdbc.AbstractCopySQLData;
import org.jetel.connection.jdbc.SQLClov... |
package edu.utah.sci.cyclist.ui.views;
import org.controlsfx.control.RangeSlider;
import javafx.beans.InvalidationListener;
import javafx.beans.Observable;
import javafx.beans.property.BooleanProperty;
import javafx.beans.property.ListProperty;
import javafx.beans.property.MapProperty;
import javafx.beans.property.Obje... |
package components;
import java.awt.Point;
import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.Transferable;
import java.awt.datatransfer.UnsupportedFlavorException;
import java.awt.dnd.DnDConstants;
import java.awt.dnd.DropTarget;
import java.awt.dnd.DropTargetDragEvent;
import java.awt.dnd.DropTarge... |
package edu.mum.waa.group9.utils;
import java.sql.Connection;
import java.sql.SQLException;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.sql.DataSource;
public class ConnectionManager {
public static Connection getConnection() throws NamingExcept... |
package eu.project.rapid.ac.rm;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
im... |
package com.ezardlabs.lostsector.objects.warframes;
import com.ezardlabs.dethsquare.Animation;
import com.ezardlabs.dethsquare.Animation.AnimationListener;
import com.ezardlabs.dethsquare.AnimationType;
import com.ezardlabs.dethsquare.Animator;
import com.ezardlabs.dethsquare.GameObject;
import com.ezardlabs.dethsquare... |
package com.googlecode.objectify.test;
import java.util.HashMap;
import java.util.Map;
import org.testng.annotations.Test;
import com.googlecode.objectify.Key;
import com.googlecode.objectify.annotation.Embed;
import com.googlecode.objectify.annotation.Entity;
import com.googlecode.objectify.annotation.Id;
import com.g... |
package com.mobilesolutionworks.codex;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import android.util.SparseArray;
import java.lang.ref.WeakReference;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;... |
package com.qiniu.android.http;
import java.util.Locale;
/**
* HTTP
*/
public final class ResponseInfo {
public static final int InvalidArgument = -4;
public static final int InvalidFile = -3;
public static final int Cancelled = -2;
public static final int NetworkError = -1;
// <-- error code copy... |
package play.mvc;
import akka.stream.javadsl.Source;
import akka.util.ByteString;
import play.api.mvc.MultipartFormData;
import play.core.formatters.Multipart;
import scala.Option;
import java.nio.charset.Charset;
import java.util.concurrent.ThreadLocalRandom;
public class MultipartFormatter {
public static String ra... |
package com.facebook.litho;
import android.support.v4.util.Pools;
import android.support.v4.util.Pools.Pool;
import android.support.v4.util.SimpleArrayMap;
import javax.annotation.Nullable;
/**
* Keeps the {@link Component} and its information that will allow the framework
* to understand how to render it.
*
* Span... |
package org.epnoi.harvester;
import com.rabbitmq.client.ConnectionFactory;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.processor.idempotent.FileIdempotentRepository;
import org.apache.camel.spring.SpringCamelContext;
import org.epnoi.harvester.routes.converter.FileTypeConverter;
import org.spr... |
package bisq.core.dao.node.lite;
import bisq.core.btc.wallet.BsqWalletService;
import bisq.core.dao.node.BsqNode;
import bisq.core.dao.node.explorer.ExportJsonFilesService;
import bisq.core.dao.node.full.RawBlock;
import bisq.core.dao.node.lite.network.LiteNodeNetworkService;
import bisq.core.dao.node.messages.GetBlock... |
package cgeo.geocaching.activity;
import cgeo.geocaching.utils.Log;
import cgeo.geocaching.utils.ShareUtils;
import android.app.Activity;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.fragment.ap... |
package com.example.flink;
import org.apache.flink.api.common.functions.MapFunction;
import org.apache.flink.api.java.DataSet;
import org.apache.flink.api.java.ExecutionEnvironment;
import org.apache.flink.graph.Edge;
import org.apache.flink.graph.Graph;
import org.apache.flink.graph.GraphAlgorithm;
import org.apache.f... |
package edu.brandeis.cs.steele.wn;
import java.util.*;
import java.util.logging.*;
/** A <code>Synset</code>, or <b>syn</b>onym <b>set</b>, represents a line of a WordNet <var>pos</var><code>.data</code> file.
* A <code>Synset</code> represents a concept, and contains a set of {@link WordSense}s, each of which has a s... |
package com.bloatit.web.linkable.team;
import static com.bloatit.framework.webprocessor.context.Context.tr;
import java.util.EnumSet;
import java.util.Iterator;
import com.bloatit.common.Log;
import com.bloatit.data.DaoTeamRight.UserTeamRight;
import com.bloatit.framework.exceptions.highlevel.ShallNotPassException;
imp... |
package com.laytonsmith.core.functions;
import com.laytonsmith.PureUtilities.Common.StringUtils;
import com.laytonsmith.PureUtilities.Version;
import com.laytonsmith.abstraction.MCChunk;
import com.laytonsmith.abstraction.MCCommandSender;
import com.laytonsmith.abstraction.MCItemStack;
import com.laytonsmith.abstractio... |
package jenkins.model.lazy;
import java.util.AbstractList;
import java.util.Arrays;
/**
* {@code ArrayList<Integer>} that uses {@code int} for storage.
*
* Plus a number of binary-search related methods that assume the array is sorted in the ascending order.
*
* @author Kohsuke Kawaguchi
*/
class SortedIntList... |
package example.callbacks;
import java.util.function.Supplier;
import org.junit.jupiter.api.extension.Extension;
class Logger {
static final java.util.logging.Logger logger = java.util.logging.Logger.getLogger(Logger.class.getName());
static void beforeAllMethod(String text) {
log(() -> "@BeforeAll " + ... |
package acs.benchmark.util;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import junit.framework.Assert;
import junit.framework.AssertionFailedError;
import org.omg.CORBA.ORB;
import si.ijs.maci.Administrator;
import si.ijs.maci.Adm... |
package org.intermine.web;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.poi.hssf.usermodel.*;
import org.intermine.w... |
package com.smartnsoft.droid4me.app;
import java.util.ArrayList;
import java.util.List;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import android.view.Menu;
import android.view.MenuItem;
import com.smartnsoft... |
package com.malhartech.dag;
import com.malhartech.util.CircularBuffer;
import java.io.IOException;
import java.nio.BufferOverflowException;
import java.util.Collection;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* The for context for all of the operators<p>
* <br>
*
* @author Chetan Narsude <cheta... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.malhartech.dag;
import com.malhartech.bufferserver.Buffer.Data;
import com.malhartech.stram.StreamContext;
import com.malhartech.stram.StreamingNodeContext;
import java.util.Collection;
import java.util.Compa... |
package com.malhartech.stram;
import com.malhartech.api.Context.PortContext;
import com.malhartech.api.Operator.InputPort;
import com.malhartech.api.Operator.OutputPort;
import com.malhartech.api.Operator.Unifier;
import com.malhartech.api.*;
import com.malhartech.bufferserver.Server;
import com.malhartech.bufferserver... |
package com.malhartech.stram;
import com.malhartech.dag.Component;
import com.malhartech.dag.Module;
import com.malhartech.dag.ModuleConfiguration;
import com.malhartech.dag.ModuleContext;
import com.malhartech.dag.ModuleSerDe;
import com.malhartech.dag.Sink;
import com.malhartech.dag.Stream;
import com.malhartech.dag.... |
package net.mingsoft.cms.action;
import java.io.File;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.lang3.StringUtils;
import org.apache.shiro.authz.annotation.RequiresP... |
package com.malhartech.stram;
import com.malhartech.api.Operator.Unifier;
import com.malhartech.api.*;
import com.malhartech.bufferserver.Server;
import com.malhartech.bufferserver.storage.DiskStorage;
import com.malhartech.bufferserver.util.Codec;
import com.malhartech.engine.*;
import com.malhartech.stram.StreamingCo... |
package nuclibook.server;
import com.j256.ormlite.jdbc.JdbcConnectionSource;
import com.j256.ormlite.support.ConnectionSource;
import com.j256.ormlite.table.TableUtils;
import nuclibook.constants.C;
import nuclibook.models.User;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
pu... |
package org.amc.servlet.model;
public class PartSearchForm implements WebPageForm
{
private String partName;
private String qSSNumber;
private String company;
/**
* @return the part
*/
public String getPartName()
{
return partName;
}
/**
* @return the qSSNumber
... |
/**
Khalid
*/
package org.sikuli.slides.sikuli;
import static org.sikuli.api.API.browse;
import java.awt.Color;
import java.awt.Dimension;
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.concurrent.TimeUnit;
... |
import com.messagebird.MessageBirdClient;
import com.messagebird.MessageBirdService;
import com.messagebird.MessageBirdServiceImpl;
import com.messagebird.exceptions.GeneralException;
import com.messagebird.exceptions.NotFoundException;
import com.messagebird.exceptions.UnauthorizedException;
import com.messagebird.obj... |
package seedu.jimi.model.task;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import seedu.jimi.commons.util.CollectionUtil;
import seedu.jimi.commons.exceptions.DuplicateDataException;
import java.util.*;
/**
* A list of tasks that enforces uniqueness between its elements and does ... |
package seedu.task.model.task;
import java.util.Iterator;
import java.util.List;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import seedu.task.commons.core.UnmodifiableObservableList;
import seedu.task.commons.exceptions.DuplicateDataException;
import seedu.task.commons.util.Colle... |
package net.katsuster.ememu.board;
import java.io.*;
import net.katsuster.ememu.generic.*;
import net.katsuster.ememu.riscv.*;
import net.katsuster.ememu.riscv.core.*;
public class RISCVUnleashed extends AbstractBoard {
private RV64[] cpu;
private Bus64 bus;
private RAM cl0_ddr;
private InputStream[] ua... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package nl.nelen_schuurmans.aquo;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import nl.services.rws.domaintablews._2010._10.DomainTableServiceGetDomainTableChangesDomainTableFaultFaultFault... |
package se.l4.crayon;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import com.google.inject.AbstractModule;
import com.google.inject.Binder;
import com.google.inject.Binding;
import com.google.inject.Key;
import com.google.inject.MembersInjector;
import com.google.inject.Module;
import com.g... |
package org.androidfromfrankfurt.archnews;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.apache.http.util.LangUtils;
import android.app.ActionBar;
import android.app.ActionBar.OnNavigationListener;
import android.app.ListActivity;
import android.content.Intent;
import android.co... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.