answer stringlengths 17 10.2M |
|---|
package de.retest.recheck.util;
import java.util.Locale;
import java.util.Objects;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.text.similarity.FuzzyScore;
public class StringSimilarity {
private StringSimilarity() {}
private static final FuzzyScore fuzzyScore = new FuzzyScore( Locale.... |
package dinglydell.techresearch.gui;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.Map.Entry;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.FontRenderer;
import net.minecraft.client.gui.Gui;
import net.minecraft.client.... |
package foodtruck.socialmedia;
import java.net.URI;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import com.google.common.collect.ImmutableList;
import com.google.inject.Inject;
import com.sun.jersey.api.client.WebResource;
import org.codehaus.jettison.json.JSONArray;
import o... |
package ge.edu.freeuni.sdp.arkanoid.model;
import ge.edu.freeuni.sdp.arkanoid.model.geometry.Point;
import ge.edu.freeuni.sdp.arkanoid.model.geometry.Rectangle;
public abstract class Brick extends Gobj<Rectangle> {
private final BrickColor _color;
private final Capsule _capsule;
private final int _score;
... |
package hudson.plugins.jira;
import hudson.Util;
import hudson.model.AbstractProject;
import hudson.model.Job;
import hudson.model.JobProperty;
import hudson.model.JobPropertyDescriptor;
import hudson.util.CopyOnWriteList;
import hudson.util.FormFieldValidator;
import org.apache.axis.AxisFault;
import org.kohsuke.stapl... |
package hudson.plugins.templateproject;
import hudson.Extension;
import hudson.FilePath;
import hudson.Launcher;
import hudson.console.HyperlinkNote;
import hudson.Util;
import hudson.model.BuildListener;
import hudson.model.Item;
import hudson.model.TaskListener;
import hudson.model.AbstractBuild;
import hudson.model.... |
package info.gameboxx.gameboxx.util;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.Sound;
import org.bukkit.World;
import org.bukkit.entity.Player;
import java.util.Collection;
/**
* A {@link Sound} with a volume and pitch.
* Has a bunch of methods to play the sounds.
*/
public class SoundE... |
/**
* Part of Employ
*/
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class DashboardFrame extends CommonFrame implements ActionListener {
JButton buttonAddData = new JButton("Add");
JButton buttonDeleteData = new JButton("Delete");
JTextField textNumber = new JTextField(10);
JTextF... |
package innovimax.mixthem.interfaces;
import java.io.IOException;
public interface IInputChar {
/**
* Returns true if there is more characters.
* @return Returns true if there is more characters
* @throws IOException - If an I/O error occurs
*/
public boolean hasCharacter() throws IOException;
... |
/**
* Part of Employ
*/
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class DashboardFrame extends CommonFrame implements ActionListener {
JButton buttonAddData = new JButton("Add");
JButton buttonDeleteData = new JButton("Delete");
JTextField textInputNumber = new JTextField(10);
J... |
// 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 the Software is
// furnished to do so, subject to the following conditions:
// all copies or substantial... |
package foam.nanos.auth;
import foam.core.ContextAwareSupport;
import foam.core.X;
import foam.dao.ArraySink;
import foam.dao.DAO;
import foam.dao.Sink;
import foam.mlang.MLang;
import foam.nanos.logger.Logger;
import foam.nanos.NanoService;
import foam.nanos.session.Session;
import foam.util.Email;
import foam.util.Pa... |
package jp.toastkid.slideshow.control;
import com.jfoenix.controls.JFXButton;
import javafx.animation.KeyFrame;
import javafx.animation.Timeline;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
import javafx.util.Duration;
/**
* Stop watch powered by JavaFX.
*
* <pre>
... |
package net.explorviz.server.main;
import java.util.ArrayList;
import java.util.Arrays;
public class Configuration {
public static String selectedLanguage = "english";
public static ArrayList<String> languages = new ArrayList<String>(Arrays.<String>asList("english", "german"));
public static boolean secondL... |
package net.imagej.ops;
import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.List;
import net.imagej.ops.OpCandidate.StatusCode;
import org.scijava.Context;
import org.scijava.InstantiableException;
import org.scijava.command.CommandInfo;
import org.scijava.command.CommandService;
import org.scij... |
package nl.topicus.mssql2monetdb;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.ArrayList;
import java.util.Arrays;
import java.u... |
package org.apache.couchdb.lucene;
import static java.lang.Math.min;
import java.io.IOException;
import java.util.HashSet;
import java.util.Set;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
import org.apache.commons.lang.StringEscapeUtils;
import org.apache.lucene.document.Document;
import org.apache.lu... |
package org.jenkinsci.backend.ircbot;
import com.atlassian.jira.rest.client.api.ComponentRestClient;
import com.atlassian.jira.rest.client.api.IssueRestClient;
import com.atlassian.jira.rest.client.api.JiraRestClient;
import com.atlassian.jira.rest.client.api.RestClientException;
import com.atlassian.jira.rest.client.a... |
package org.jenkinsci.plugins;
import hudson.Launcher;
import hudson.Extension;
import hudson.util.FormValidation;
import hudson.model.AbstractBuild;
import hudson.model.BuildListener;
import hudson.model.AbstractProject;
import hudson.tasks.Builder;
import hudson.tasks.BuildStepDescriptor;
import net.sf.json.JSONObjec... |
package org.jenkinsci.plugins.p4.scm;
import com.perforce.p4java.core.file.FileSpecBuilder;
import com.perforce.p4java.core.file.IFileSpec;
import edu.umd.cs.findbugs.annotations.NonNull;
import hudson.init.InitMilestone;
import hudson.init.Initializer;
import hudson.model.Items;
import jenkins.scm.api.SCMFile;
import ... |
package Game;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.Scanner;
public class LoadLevel {
static Scanner scanner;
//Load the level
public static Square[][] loadLevel(String filepath, int width){
Square[][] squareArray = new Square[width][World.worldHeight];
... |
package org.konstructs.furnace;
import akka.actor.ActorRef;
import akka.actor.Props;
import konstructs.api.*;
import konstructs.api.messages.*;
import konstructs.plugin.KonstructsActor;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
public class FurnaceViewActor extends KonstructsActor {
/*
... |
package org.ktc.soapui.maven.extension;
import java.util.Properties;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.project.MavenProject;
import com.eviware.soapui.SoapUI;
import com.eviware... |
package org.lightmare.cache;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicInteger;
import javax.persistence.EntityManagerFactory;
/**
* Container class for {@link EntityManagerFactory} with check if connection
* configuration is in progress and user count
*
* @author Le... |
package org.numenta.nupic.examples.qt;
import gnu.trove.list.array.TIntArrayList;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Arrays;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Set;
import org.numenta.nupic.ComputeCycle;
import org.... |
package org.numenta.nupic.examples.qt;
import gnu.trove.list.array.TIntArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Set;
import org.numenta.nupic.Connections;
import org.numenta.nupic.Parameters;
import org.numenta.nupic.Parameters... |
package org.owasp.esapi.util;
/**
* Conversion to/from byte arrays to/from short, int, long. The assumption
* is that they byte arrays are in network byte order (i.e., big-endian
* ordered).
*
* @see org.owasp.esapi.crypto.CipherTextSerializer
* @author kevin.w.wall@gmail.com
*/
public class ByteConversionUtil {... |
package org.parboiled.matchers.join;
import org.parboiled.Rule;
import org.parboiled.matchers.CustomDefaultLabelMatcher;
import org.parboiled.matchers.Matcher;
import org.parboiled.matchervisitors.MatcherVisitor;
public abstract class JoinMatcher
extends CustomDefaultLabelMatcher<JoinMatcher>
{
private static f... |
package org.purl.wf4ever.robundle.fs;
import java.io.File;
import java.io.IOException;
import java.net.URI;
import java.nio.file.LinkOption;
import java.nio.file.Path;
import java.nio.file.WatchEvent.Kind;
import java.nio.file.WatchEvent.Modifier;
import java.nio.file.WatchKey;
import java.nio.file.WatchService;
import... |
package org.rmatil.sync.network.core;
import io.netty.util.concurrent.DefaultEventExecutorGroup;
import net.tomp2p.connection.*;
import net.tomp2p.dht.PeerBuilderDHT;
import net.tomp2p.dht.PeerDHT;
import net.tomp2p.dht.StorageLayer;
import net.tomp2p.futures.BaseFuture;
import net.tomp2p.futures.FutureBootstrap;
impor... |
package org.robolectric.util;
import android.app.Activity;
import android.app.Application;
import android.app.Instrumentation;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.content.res.Configuration;
import android.os.Bundle;
import android.os.IBin... |
package pitt.search.semanticvectors;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.List;
import java.util.TreeSet;
import java.util.logging.Logger;
import org.apache.lucene.document.Docu... |
package pixlepix.auracascade.block.tile;
import cpw.mods.fml.common.network.NetworkRegistry;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.AxisAlignedBB;
import net.minecraftforge.oredict.OreDictionary;
import org.apa... |
package rst.pdfbox.layout.text;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.apache.pdfbox.pdmodel.edit.PDPageContentStream;
import rst.pdfbox.layout.elements.Dividable.Divided;
import rst.pdfbox.layout.elements.Paragraph;
/**
* Utility methods for dealing with text sequenc... |
package gov.nih.nci.calab.domain;
import java.util.Collection;
import java.util.HashSet;
public class InstrumentType {
private static final long serialVersionUID = 1234567890L;
private Long id;
private String name;
private String description;
private String abbreviation;
private Collection<Manuf... |
package seedu.address.logic.commands;
import seedu.address.commons.exceptions.IllegalValueException;
import seedu.address.model.person.*;
import seedu.address.model.tag.Tag;
import seedu.address.model.tag.UniqueTagList;
import java.util.HashSet;
import java.util.Set;
/**
* Adds a task to the task manager.
*/
public c... |
package seedu.todo.controllers;
import java.time.LocalDateTime;
import java.time.ZoneId;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.joestelmach.natty.DateGroup;
import com.joestelmach.natty.Pars... |
package sg.ncl.service;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.Import;
import org.springframework.core.env.ConfigurableEnviron... |
package synapticloop.b2.response;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import synapticloop.b2.exception.B2ApiException;
import java.util.Iterator;
public abstract class BaseB2Response {
private static final Log... |
package uk.ac.standrews.cs.jetson;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.net.InetSocketAddress;
import... |
package ibis.ipl.impl;
import ibis.io.DataInputStream;
import ibis.io.SerializationFactory;
import ibis.io.SerializationInput;
import java.io.IOException;
import org.apache.log4j.Logger;
/**
* This class represents the information about a particular sendport/receiveport
* connection, on the receiver side.
*/
public ... |
package ibis.ipl.impl.registry.gossip;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Random;
import java.util.UUID;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
imp... |
package inpro.incremental.unit;
import inpro.annotation.Label;
import inpro.audio.DDS16kAudioInputStream;
import inpro.synthesis.MaryAdapter;
import inpro.synthesis.MaryAdapter4internal;
import inpro.synthesis.hts.FullPFeatureFrame;
import inpro.synthesis.hts.FullPStream;
import inpro.synthesis.hts.IUBasedFullPStream;
... |
import org.junit.Test;
import java.util.ArrayList;
import static org.assertj.core.api.Assertions.assertThat;
class HEntry<T, K> {
private T key;
private K value;
HEntry(T key, K value) {
this.key = key;
this.setValue(value);
}
T getKey() {
return key;
}
K getValue() {... |
package tests;
import engine.DataReader;
import engine.Recommender;
import engine.Graph;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.util.List;
/**
* Recommender Tester.
*/
public class RecommenderTest {
@Before
public void before() throws Exception {
}
@After
public void after()... |
package threadtest;
/**
*
* @author Ruchira
*/
public class ThreadTest {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
System.out.println("Hello Thread");
}
} |
package net.tomp2p.holep;
import java.io.IOException;
import java.net.Inet4Address;
import java.util.Scanner;
import net.tomp2p.dht.FutureGet;
import net.tomp2p.dht.FuturePut;
import net.tomp2p.dht.PeerBuilderDHT;
import net.tomp2p.dht.PeerDHT;
import net.tomp2p.futures.FutureBootstrap;
import net.tomp2p.futures.Future... |
package org.ocelotds;
/**
* Constants Class
*
* @author hhfrancois
*/
public interface Constants {
String UTF_8 = "UTF-8";
String JS = ".js";
String MIN = "-min";
String SLASH = "/";
String BACKSLASH_N = "\n";
String LOCALE = "LOCALE";
String OCELOT = "ocelot";
String OCELOT_CORE = O... |
package modules.test;
import java.util.Map;
import java.util.TreeMap;
import org.junit.Assert;
import org.junit.Test;
import org.skyve.CORE;
import org.skyve.domain.MapBean;
import org.skyve.domain.types.DateOnly;
import org.skyve.domain.types.DateTime;
import org.skyve.domain.types.TimeOnly;
import org.skyve.domain.ty... |
// This file is part of OpenTSDB.
// This program is free software: you can redistribute it and/or modify it
// option) any later version. This program is distributed in the hope that it
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
package net.opentsdb.tsd;
import java.io.IOException;... |
package ublu.util;
import ublu.Ublu;
import java.util.logging.Level;
import java.util.logging.Logger;
import ublu.command.CommandInterface;
import ublu.command.CommandInterface.COMMANDRESULT;
import ublu.command.CommandMap;
import ublu.util.Generics.UbluProgram;
import ublu.util.Generics.FunctorMap;
import ublu.util.Ge... |
package udo.testdriver;
import static org.loadui.testfx.Assertions.verifyThat;
import static org.loadui.testfx.controls.Commons.hasText;
import java.io.IOException;
import java.io.RandomAccessFile;
import javafx.scene.Parent;
import javafx.scene.input.KeyCode;
import org.junit.runners.MethodSorters;
import org.junit.Fi... |
package com.openxc.sinks;
import java.util.HashSet;
import java.util.Set;
import android.util.Log;
import com.google.common.base.Objects;
import com.google.common.collect.HashMultimap;
import com.google.common.collect.Multimap;
import com.google.common.collect.Multimaps;
import com.openxc.NoValueException;
import com.o... |
package view;
import controller.CellSocietyController;
import javafx.scene.Node;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.GridPane;
import javafx.scene.layout.HBox;
import javafx.scene.paint.Color;
import javafx.scene.shape.Rectangl... |
package com.jbooktrader.platform.web;
import com.jbooktrader.platform.model.*;
import com.jbooktrader.platform.performance.*;
import com.jbooktrader.platform.position.*;
import com.jbooktrader.platform.startup.*;
import com.jbooktrader.platform.strategy.*;
import com.jbooktrader.platform.util.*;
import com.sun.net.http... |
package org.jfree.data.general;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.jfree.data.DomainInfo;
import org.jfree.data.KeyToGroupMap;
import org.jfree.data.KeyedValues;
import org.jfree.data.Range;
import org.jfree.data.RangeInfo;
import org.jfree.data.category.CategoryDat... |
import java.util.List;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Collections;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import uk.co.uwcs.choob.modules.Modules;
import uk.co.uwcs.choob.support.ChoobBadSyntaxError;
import uk.co.uwcs.choob.support.IRCInterface;
import... |
package core;
import java.util.Locale;
import java.util.ResourceBundle;
/**
*
* @author Jonas
*/
public class Translator {
Locale[] locales = {new Locale("de", "DE"), new Locale("en", "GB"), new Locale("it", "IT"),
new Locale("el", "GR"), new Locale("es", "ES"), new Locale("fi", "FI"), new Locale("fr", "FR")... |
package fini.main;
import java.io.File;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.stream.Collectors;
import fini.main.model.Command;
import fini.main.model.Command.CommandType;
import fini.main.model.FiniParser;
import fini.main.model.StatusSaver;
import fini.main.mo... |
package foam.dao;
import foam.core.*;
import java.io.FileWriter;
import java.io.IOException;
import java.io.FileNotFoundException;
import javax.xml.stream.XMLOutputFactory;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamWriter;
import java.util.List;
import java.util.Iterator;
public class... |
package frontend;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Insets;
import java.awt.event.ActionEvent;
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.util.HashMap;... |
package luajava;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/**
* LuaJava console
* @author Thiago Ponte
*/
public class Console
{
/**
* Creates a console for user interaction
* @param args - names of the lua files to be executed
*/
public static void main(String[] args)
{
... |
package org.glob3.mobile.generated;
public class Mark
{
/**
* The text the mark displays.
* Useless if the mark does not have label.
*/
private final String _label;
/**
* Flag to know if the label will be located under the icon (if TRUE) or on its right (if FALSE).
* Useless if the mark does not ha... |
package org.mtransit.parser.ca_moncton_codiac_transpo_bus;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Locale;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.commons.lang3.StringUtils;... |
package io.spacedog.model;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonAutoDetect(fieldVisibility = Visibility.ANY,
getter... |
package org.frcbitbucketbase.control.profile;
import org.frcbitbucketbase.control.KinematicController;
import org.frcbitbucketbase.control.MovementVector;
/**
* An base class for motion profiles.
*
* @author Miles Marchant
* @version 0.9
*
*/
public abstract class Profile<T> {
protected Spline[] splines;
... |
package org.postgresql.jdbc1;
import java.io.IOException;
import java.net.ConnectException;
import java.sql.*;
import java.util.*;
import org.postgresql.Driver;
import org.postgresql.PGNotification;
import org.postgresql.core.BaseConnection;
import org.postgresql.core.BaseResultSet;
import org.postgresql.core.BaseState... |
package net.canadensys.dataportal.vascan.controller;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.util.List;
import net.canadensys.dataportal.vascan.config.GeneratedContentConfig;
import net.canadensys.utils.ZipUtils;
import org.apache.commons.... |
package serviceComponents;
import db.DBConnector;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import serviceRepresen... |
package com.emc.mongoose.storage.driver.base;
import com.emc.mongoose.model.DaemonBase;
import static com.emc.mongoose.common.Constants.BATCH_SIZE;
import static com.emc.mongoose.ui.config.Config.LoadConfig;
import static com.emc.mongoose.ui.config.Config.StorageConfig.AuthConfig;
import static com.emc.mongoose.ui.conf... |
package com.gridbuilder;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.content.Context;
import android.graphics.Bitmap;
import android.support.v7.widget.GridLayout;
import android.view.LayoutInflater;
import android.view.SoundEffectConstants;
import android.view.View;
imp... |
package com.itti7.itimeu;
import android.content.ContentValues;
import android.content.CursorLoader;
import android.content.DialogInterface;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import android.app.LoaderManager;
import android.content.Loader;
import android.support.v7.a... |
package net.fasolato.jfmigrate;
import net.fasolato.jfmigrate.builders.Change;
import net.fasolato.jfmigrate.builders.Data;
import net.fasolato.jfmigrate.internal.*;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import sun.reflect.generics.reflectiveObjects.NotImplementedException;... |
package org.mwc.cmap.plotViewer.editors;
import java.awt.Color;
import java.beans.*;
import java.util.*;
import org.eclipse.core.resources.*;
import org.eclipse.core.runtime.Status;
import org.eclipse.jface.action.*;
import org.eclipse.jface.viewers.*;
import org.eclipse.swt.dnd.*;
import org.eclipse.swt.widgets.*;
imp... |
import java.awt.*;
import java.io.*;
import java.net.Socket;
import java.util.Formatter;
import java.util.Locale;
public class VisualClient {
Socket socket;
OutputStream outputStream;
InputStream inputStream;
BufferedReader reader;
final String DEFAULT_HOST = "127.0.0.1";
fin... |
// $RCSfile$
// @author $Author$
// @version $Revision$
// $Log$
// Revision 1.36 2006-08-11 08:24:31 Ian.Mayo
// Don't let repaints stack up
// Revision 1.35 2006/08/08 13:54:59 Ian.Mayo
// Remove dependency on Debrief classes
// Revision 1.34 2006/07/28 10:16:22 Ian.Mayo
// Reset normal cursor on mouse up
// Re... |
package org.treeleafj.xdoc.resolver.javaparser.converter;
import com.github.javaparser.JavaParser;
import com.github.javaparser.ast.CompilationUnit;
import com.github.javaparser.ast.body.FieldDeclaration;
import com.github.javaparser.ast.visitor.VoidVisitorAdapter;
import org.apache.commons.beanutils.PropertyUtils;
imp... |
package info.bitrich.xchangestream.bitstamp;
import info.bitrich.xchangestream.core.StreamingExchange;
import info.bitrich.xchangestream.core.StreamingExchangeFactory;
import io.reactivex.disposables.Disposable;
import org.knowm.xchange.currency.CurrencyPair;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
pub... |
package org.xwiki.test.ui;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.firefox.FirefoxProfile;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.openqa.s... |
package org.xwiki.rendering.block;
import org.xwiki.rendering.listener.Listener;
/**
* Represents a new line or line break (it's up to the Renderers to decide if it should be outputted as a new
* line or as a line break in the given syntax).
*
* @version $Id$
* @since 1.5M2
*/
public final class NewLineBlock exte... |
package de.mat3.badintent.hooking.proxy.hooks;
import android.os.IBinder;
import android.os.Parcel;
import android.util.Log;
import java.io.FileDescriptor;
import java.io.IOException;
import de.mat3.badintent.hooking.BaseHook;
import de.mat3.badintent.hooking.proxy.ParcelAgent;
import de.mat3.badintent.hooking.proxy.Re... |
package ch.hevs.aislab.magpie.sample.activity;
import android.content.Context;
import android.test.AndroidTestCase;
import java.lang.reflect.Method;
import alice.tuprolog.Term;
import ch.hevs.aislab.magpie.agent.PrologAgentMind;
import ch.hevs.aislab.magpie.event.LogicTupleEvent;
import ch.hevs.aislab.magpie.sample.R;
... |
package com.futurice.cascade.systemtest;
import android.support.annotation.NonNull;
import android.util.Log;
import com.futurice.cascade.functional.ImmutableValue;
import com.futurice.cascade.i.CallOrigin;
import com.futurice.cascade.i.action.IAction;
import com.futurice.cascade.i.action.IActionOne;
import com.futurice... |
package org.wordpress.android.analytics;
import android.annotation.SuppressLint;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import com.mi... |
package org.alien4cloud.tosca.catalog.index;
import static alien4cloud.dao.FilterUtil.fromKeyValueCouples;
import static alien4cloud.dao.FilterUtil.singleKeyFilter;
import java.util.*;
import javax.annotation.Resource;
import org.alien4cloud.tosca.model.CSARDependency;
import org.alien4cloud.tosca.model.Csar;
import or... |
package com.noveogroup.android.task;
import java.util.Collection;
import java.util.List;
public interface TaskExecutor {
/**
* Returns synchronization object of this {@link TaskExecutor}.
* <p/>
* Any access to this {@link TaskExecutor} should be synchronized using
* this object.
* <p/>
... |
package com.nestedworld.nestedworld.network.socket.implementation;
import android.support.annotation.NonNull;
import com.nestedworld.nestedworld.helpers.log.LogHelper;
import com.nestedworld.nestedworld.network.socket.listener.SocketListener;
import org.msgpack.core.MessageInsufficientBufferException;
import org.msgpac... |
package org.herac.tuxguitar.player.base;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.herac.tuxguitar.song.managers.TGSongManager;
import org.herac.tuxguitar.song.models.TGBeat;
import org.herac.tuxguitar.song.models.TGChannel;
import org.herac.tuxguitar.song.models.TGDuratio... |
package me.rei_m.hyakuninisshu.presentation.utilitty;
import android.content.Context;
import android.databinding.BindingAdapter;
import android.databinding.ObservableField;
import android.graphics.Color;
import android.support.annotation.DimenRes;
import android.support.annotation.NonNull;
import android.support.annota... |
package br.usp.each.saeg.badua.test.validation;
import org.junit.Assert;
import org.junit.Test;
public class MaxException1SourceTest extends AbstractMaxSourceTest {
private Throwable exception;
@Override
public int[] input() {
return new int[] { };
}
@Override
protected void handle(final... |
package org.ovirt.engine.core.bll;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import org.ovirt.engine.core.bll.context.CommandContext;
import org.ovirt.engine.co... |
package ch.elexis.core.data.service.internal;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.nio.file.Files;
import java.nio.file.LinkOption;
import java.ni... |
package org.switchyard.quickstarts.camel.sql;
import static org.junit.Assert.assertEquals;
import java.sql.PreparedStatement;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.junit.Test;
import org.switchyard.Exchange;
import org.switchyard.component.bean.config.model.BeanSwitchYar... |
package edu.wustl.catissuecore.util.global;
import java.util.HashMap;
/**
* This class stores the constants used in the operations in the application.
* @author gautam_shetty
*/
public class Constants
{
//Constants used for authentication module.
public static final String LOGIN = "login";
public static ... |
package us.blauha.wmsdemo;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.OnMapReadyCallback;
import com.google.android.gms.maps.SupportMapFragment;
import com.google.android.gms.maps.mo... |
package org.voovan.http.server;
import org.voovan.Global;
import org.voovan.http.HttpSessionParam;
import org.voovan.http.HttpRequestType;
import org.voovan.http.message.HttpParser;
import org.voovan.http.message.HttpStatic;
import org.voovan.http.message.Request;
import org.voovan.http.message.Response;
import org.voo... |
package aima.gui.framework;
/**
* In this framework a graphical agent application consists at least of three
* parts: An {@link AgentAppEnvironmentView}, an {@link AgentAppFrame}, and an
* {@link AgentAppController}. This class plugs the three parts together. Note
* that no support for model creation is included he... |
package ch.epfl.sweng.project;
import android.support.test.espresso.UiController;
import android.support.test.espresso.ViewAction;
import android.support.test.espresso.contrib.DrawerActions;
import android.support.test.espresso.contrib.NavigationViewActions;
import android.support.test.filters.LargeTest;
import android... |
package com.allengarvey.annuncified;
import android.content.ComponentName;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.database.Cursor;
import android.media.Ringtone;
import android.media.RingtoneManager;
import android.net.Uri;
impo... |
package com.bigkoo.pickerviewdemo;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.