answer
stringlengths
17
10.2M
package eu.focusnet.app.ui.adapter; import android.app.Dialog; import android.app.ProgressDialog; import android.content.Context; import android.content.Intent; import android.content.res.Resources; import android.graphics.Bitmap; import android.os.AsyncTask; import android.os.SystemClock; import android.support.v7.app...
package org.oakgp.function; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertSame; import static org.junit.Assert.assertTrue; import java.io.IOException; import java.io.UncheckedIOException; import java.util.Observable; import java.util.Obse...
package eu.kanade.mangafeed.data.database; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.support.annotation.NonNull; import eu.kanade.mangafeed.data.database.tables.ChapterSyncTable; import eu.kanade.mangafeed.data.database...
package org.owasp.esapi.reference; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.File; import java.io.IOException; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.*; impor...
package im.tny.segvault.disturbances; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.PorterDuff; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawabl...
package org.secureauth.restapi.test; import org.junit.*; import org.junit.rules.ExpectedException; import org.secureauth.sarestapi.ISAAccess; import org.secureauth.sarestapi.SAAccess; import org.secureauth.sarestapi.data.PushAcceptStatus; import org.secureauth.sarestapi.data.Response.*; import org.secureauth.sarestapi....
package pl.codecouple.controller; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.SpringApplicationConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; i...
package seedu.todo.guitests; import static org.junit.Assert.*; import java.time.LocalDateTime; import org.junit.Test; import seedu.todo.commons.util.DateUtil; import seedu.todo.models.Event; // @@author A0139812A public class AddEventCommandTest extends GuiTest { @Test public void addEvent_eventSameDateInFuture...
package com.crawljax.core; import junit.framework.Assert; import org.apache.commons.configuration.ConfigurationException; import org.junit.Ignore; import org.junit.Test; import com.crawljax.core.configuration.CrawlSpecification; import com.crawljax.core.configuration.CrawljaxConfiguration; import com.crawljax.core.conf...
package org.worshipsongs.activity; import android.app.SearchManager; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.graphics.PorterDuff; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.os.Parcelable; import android.support...
package com.github.davidmoten.rtree; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.io.File; import java.util.Arrays; import java.util.List; import org.junit.Test; import com.github.davidmoten.rtree.geometry.Rectangle; publ...
package tonivade.db.replication; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import static org.mockito.Mockito.timeout; import static org.mockito.Mockito.verify; import static tonivade.db.persistence.HexUtil.toHexString; import java.io.InputStream; import org.junit.Before; imp...
package ve.com.abicelis.chefbuddy.ui.home; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.support.annotation.Nullable; import android.support.design.widget.AppBarLayout; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Ta...
package com.lfkdsk.justel.lexer; import com.lfkdsk.justel.utils.logger.Logger; import org.junit.jupiter.api.Test; import java.io.StringReader; import static org.junit.jupiter.api.Assertions.*; class JustLexerTest { @Test void testLexer() { String lfkdsk = " 12 13.2222 \"lfkdsk\" lfkdsk 1200000000000 || ...
package com.messners.gitlab.api; import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertNotNull; import static org.junit.Assume.assumeTrue; import java.util.List; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import com.messners.gitla...
package org.openlmis.core.presenter; import com.google.inject.AbstractModule; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.ArgumentCaptor; import org.mockito.Captor; import org.mockito.MockitoAnnotations; import org.openlmis.core.LMISApp; im...
package com.thankjava.wqq.test.qq; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import javax.imageio.ImageIO; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.thankjava.wqq.SmartQQClient; import com.thankjava.wqq.WQQClient; import com.thankjava.wqq.entity.msg....
package org.commcare.utils; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.URL; import java.util.HashMap; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.io.BufferedReader; import java.util....
package edu.mayo.ve.VCFParser; import com.google.gson.Gson; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import com.mongodb.*; import com.mongodb.util.JSON; import com.tinkerpop.pipes.util.Pipeline; import edu.mayo.TypeAhead.TypeAhead; import edu.mayo.concurrency.exceptions.ProcessTerminatedExc...
package integration.resources; import static org.analogweb.core.fake.FakeApplication.fakeApplication; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.MatcherAssert.assertThat; import java.io.ByteArrayInputStream; import java.util.Arrays; import org.analogweb.ReadableBuffer; import org.analogweb.c...
package io.bdrc.lucene.bo; import static org.junit.Assert.*; import java.io.IOException; import java.io.Reader; import java.io.StringReader; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.apache.lucene.analysis.TokenStream; import org.apache.lucene.analysis.Tokenizer; import org....
package org.apache.catalina.util; import static org.junit.Assert.assertEquals; import java.text.SimpleDateFormat; import org.junit.Ignore; import org.junit.Test; public class TestStrftime { @Test public void parseText() throws Exception { long t = 1358675873; String pat = "%Y-%m-%d %X %z"; ...
package org.commcare.util; import org.junit.Assert; import org.junit.Test; /**Tests for the GetJsonProperty * * * @author rcostello */ public class GetJsonPropertyTest { @Test public void getJsonProperty() { String testObj1 = "{name: Sam}"; String testVal1 = GetJsonProperty.getJsonProperty(t...
package org.mvel2.marshalling; import java.beans.BeanInfo; import java.beans.IntrospectionException; import java.beans.Introspector; import java.beans.PropertyDescriptor; import java.lang.reflect.Array; import java.lang.reflect.Method; import java.math.BigDecimal; import java.math.BigInteger; import java.math.MathConte...
package org.unidle.social.test; import org.springframework.social.connect.ConnectionData; import org.springframework.social.connect.UserProfile; import org.springframework.social.connect.support.AbstractConnection; public class ConnectionStub<A> extends AbstractConnection<A> { private final ConnectionData connectio...
package ru.r2cloud.jradio.blocks; import static org.junit.Assert.assertEquals; import org.junit.Test; import ru.r2cloud.jradio.ArrayFloatInput; public class MultiplyTest { @Test public void test() throws Exception { Multiply multiply = new Multiply(new ArrayFloatInput(2.0f, 0.0f), new ArrayFloatInput(2....
package se.tla.mavenversionbumper.vcs; import static junit.framework.Assert.*; import org.apache.commons.exec.CommandLine; import org.junit.After; import org.junit.Before; import org.junit.Test; import se.tla.mavenversionbumper.Module; import java.io.File; import java.io.IOException; import java.util.Arrays; import jav...
package com.thoughtworks.xstream.mapper; import com.thoughtworks.xstream.converters.Converter; import com.thoughtworks.xstream.converters.SingleValueConverter; public interface Mapper { /** * Place holder type used for null values. */ class Null {} /** * How a class name should be represented...
package org.jdesktop.swingx.test; import java.beans.PropertyChangeEvent; import java.util.Collections; import java.util.LinkedList; import java.util.List; import javax.swing.event.ChangeEvent; import javax.swing.event.ListSelectionEvent; import javax.swing.event.TableColumnModelEvent; import org.jdesktop.swingx.event.T...
package com.tpcstld.twozerogame; import android.content.Context; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Typeface; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawab...
package sokoban.Elements; import java.util.ArrayList; import sokoban.Map; public abstract class ElementMovable extends Element { public abstract String Show(); public boolean Deplacer(String s, Map m) { //On rcupre la map ArrayList<ArrayList<ElementNonMovable>> map = m.getStructure(); ...
package yuku.alkitab.base.widget; import android.text.TextPaint; import android.text.style.ClickableSpan; import android.view.View; public abstract class VerseInlineLinkSpan extends ClickableSpan { public interface Factory { VerseInlineLinkSpan create(final Type type, final int arif); } private fina...
package com.letscode.lcg.screens; import net.engio.mbassy.listener.Handler; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.scenes.scene2d.Actor; import com.badlogic.gdx.scenes.scene2d.EventListener; import com.badlogic.gdx.scenes.scene2d.InputEvent; import com.badlogic.gdx.scenes.scene2d.ui.Button; imp...
package de.uka.ipd.sdq.beagle.core; import de.uka.ipd.sdq.beagle.core.evaluableexpressions.EvaluableExpression; import de.uka.ipd.sdq.beagle.core.judge.EvaluableExpressionFitnessFunction; import de.uka.ipd.sdq.beagle.core.measurement.BranchDecisionMeasurementResult; import de.uka.ipd.sdq.beagle.core.measurement.LoopRep...
package us.kbase.jgiintegration.test; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import static org.junit.Assert.fail; import static us.kbase.jgiintegration.common.JGIUtils.wipeRemoteServer; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOExcepti...
package de.mibtex.export; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.List; import de.mibtex.BibtexEntry; import de....
package org.ilrt.mca; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Stack; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * @author Mike Jones (mike.a.jones@bristol.ac.uk) */ public class Common { // TODO look at using JodaTime to ...
package com.flytxt.tp.store; import java.io.IOException; import com.flytxt.tp.marker.Marker; import com.flytxt.tp.marker.MarkerSerDer; import com.flytxt.tp.store.chronicle.ChronicleWriter; import com.flytxt.tp.store.chronicle.StreamData; import lombok.extern.slf4j.Slf4j; @Slf4j public class StreamStore implements Store...
package me.dslztx.assist.util; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.nio.charset.Charset; import java.util.Arrays; import org.apache.commons.io.IOUtils; /** * @author dslztx */ public class CharCodingAssist { public static byte[] encode(String str, Charset ch...
package org.atlasapi.neo4j; import org.neo4j.driver.v1.AuthToken; import org.neo4j.driver.v1.Config; import org.neo4j.driver.v1.Driver; import org.neo4j.driver.v1.GraphDatabase; import org.neo4j.driver.v1.Session; import static com.google.common.base.Preconditions.checkNotNull; public class Neo4jSessionFactory { pr...
package com.microsoft.azure; import com.microsoft.rest.RestException; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.ListIterator; import java.util.NoSuchElementException; /** * Defines a list response from a pagin...
package com.github.vignesh_iopex.oplog; import org.bson.Document; import rx.Observable; import rx.Subscriber; import rx.functions.Func1; public class Runner { /** Filter non empty name space and process document to return Json string */ public static Observable<String> applyOperators(Observable<Document> observable...
package com.idogfooding.backbone.browser; import android.content.Context; import android.content.Intent; import android.net.Uri; import com.idogfooding.backbone.utils.StrKit; /** * BrowserUtils * * @author Charles */ public class BrowserUtils { public static void openUri(Context context, String uri) { I...
package liquibase.util; import java.util.*; import java.util.regex.Pattern; /** * Various utility methods for working with strings. */ public class StringUtils { private static final Pattern upperCasePattern = Pattern.compile(".*[A-Z].*"); private static final Pattern lowerCasePattern = Pattern.compile(".*[a-...
package org.opensim.view.nodes; import java.awt.Image; import java.net.URL; import java.util.List; import java.util.ResourceBundle; import javax.swing.Action; import javax.swing.ImageIcon; import org.openide.nodes.Children; import org.openide.nodes.Node; import org.openide.nodes.PropertySupport; import org.openide.node...
package com.ehpefi.iforgotthat; import java.util.ArrayList; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.SQLException; import android.database.sqlite.SQLiteConstraintException; import android.database.sqlite.SQLiteDatabase; import android....
package com.bot; import java.io.IOException; import java.math.BigDecimal; import java.util.HashMap; import java.util.Random; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.s...
package pl.tkowalcz.examples.ui; import javafx.application.Application; import javafx.geometry.Insets; import javafx.geometry.Point2D; import javafx.geometry.Pos; import javafx.scene.Scene; import javafx.scene.control.*; import javafx.scene.image.Image; import javafx.scene.input.KeyCode; import javafx.scene.input.KeyEv...
package arez.browser.extras; import arez.annotations.Action; import arez.annotations.ArezComponent; import arez.annotations.Observable; import arez.annotations.PreDispose; import arez.browser.extras.Arez_BrowserLocation; import elemental2.dom.DomGlobal; import elemental2.dom.Event; import elemental2.dom.EventListener; ...
package org.unitime.timetable.solver.exam.ui; import java.io.Serializable; import java.util.Enumeration; import java.util.HashSet; import java.util.Iterator; import java.util.Set; import java.util.TreeSet; import java.util.Vector; import net.sf.cpsolver.exam.model.ExamInstructor; import net.sf.cpsolver.exam.model.ExamM...
package com.uber.okbuck.extension; import org.gradle.api.Action; import org.gradle.api.Project; import org.gradle.api.tasks.Input; import java.io.File; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; @SuppressWarnings("unused") public class OkBuckEx...
package com.bustiblelemons.views; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.text.TextUtils; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.view.animation.Animation; import android....
package com.parse; import org.json.JSONObject; import org.junit.After; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import org.junit.runner.RunWith; import org.mockito.Matchers; import org.robolectric.RobolectricGradleTestRunner; import org.robolectric...
package com.ibm.mil.cafejava; import android.support.annotation.NonNull; import android.support.annotation.StringDef; import com.worklight.wlclient.api.WLResourceRequest; import com.worklight.wlclient.api.WLResponseListener; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java...
package com.m2stice.graphics; public class Component { public Component() { // TODO Auto-generated constructor stub } public static void main(String[] args) { // TODO Auto-generated method stub System.out.println("oj"); } }
package com.collective.celos.ci.mode; import com.collective.celos.ScheduledTime; import com.collective.celos.ci.config.CelosCiCommandLine; import com.collective.celos.ci.config.deploy.CelosCiTarget; import com.collective.celos.ci.config.deploy.CelosCiTargetParser; import com.collective.celos.ci.mode.test.TestCase; impo...
package main.java.rest.resource; import java.io.InputStream; import javax.ws.rs.Consumes; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import org.glassfish.jersey.media.multipart.FormDataContentDisposition; import org.glassfish.jersey.media.multi...
import lejos.hardware.lcd.LCD; import lejos.hardware.motor.EV3LargeRegulatedMotor; import lejos.hardware.port.MotorPort; import lejos.hardware.port.SensorPort; import lejos.hardware.sensor.EV3TouchSensor; import lejos.robotics.RegulatedMotor; //Farbsensor 4 // Touchs 1 // Motoren r. A // Motor l. D // Kopfmotor C imp...
import java.io.IOException; import java.io.PrintWriter; import java.nio.charset.Charset; import java.nio.file.Files; import java.nio.file.Paths; import java.util.Arrays; import java.util.List; import java.util.BitSet; import java.security.SecureRandom; import java.lang.Math; import java.math.BigInteger; import gnu.geto...
package playn.java; import org.eclipse.swt.SWT; import playn.core.Events; import playn.core.Key; import playn.core.Touch; import playn.core.util.Callback; public class SWTKeyboard extends JavaKeyboard { private SWTPlatform platform; public SWTKeyboard(SWTPlatform platform) { this.platform = platform; } // T...
import java.util.ArrayList; import java.util.List; import java.util.concurrent.TimeUnit; import java.util.Random; import java.util.Scanner; /** * Test * * @author APCSA2014-15 * @version 2015-03-06 */ public class Zoo { public static void main(String[] args) throws InterruptedException { List<Rand...
package com.wegas.core.ejb; import com.fasterxml.jackson.databind.JsonNode; import com.wegas.core.Helper; import com.wegas.core.exception.client.WegasErrorMessage; import com.wegas.core.exception.internal.WegasNoResultException; import com.wegas.core.jcr.content.AbstractContentDescriptor; import com.wegas.core.jcr.cont...
package com.base.action; 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.OutputStream; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.u...
package com.intellij.refactoring.util; import com.intellij.ant.PsiAntElement; import com.intellij.codeInsight.ChangeContextUtil; import com.intellij.codeInsight.ExpectedTypeInfo; import com.intellij.codeInsight.ExpectedTypesProvider; import com.intellij.codeInsight.daemon.impl.analysis.HighlightControlFlowUtil; import ...
package com.ecyrd.jspwiki.plugin; import java.util.Collection; import java.util.Properties; import org.apache.jspwiki.api.PluginException; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import com.ecyrd.jspwiki.TestEngine; import com.ecyrd.jspwiki.WikiContext; import com...
// This file is part of the OpenNMS(R) Application. // OpenNMS(R) is a derivative work, containing both original code, included code and modified // and included code are below. // OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. // Modifications: // 2007 Dec 08: Code formatting. - dj@opennms.org // This...
// Decompiler options: packimports(3) // Source File Name: Data.java package com.middleearthgames.orderchecker.io; import com.middleearthgames.orderchecker.Nation; import java.awt.Dimension; import java.awt.Point; import java.io.*; import java.util.Vector; import javax.swing.JCheckBox; // Referenced classes of packag...
package me.calebjones.spacelaunchnow.content.jobs; import android.support.annotation.NonNull; import com.evernote.android.job.Job; import com.evernote.android.job.JobRequest; import me.calebjones.spacelaunchnow.content.models.Constants; import me.calebjones.spacelaunchnow.content.services.LaunchDataService; public clas...
package org.frc4931.robot; import org.frc4931.robot.commandnew.Scheduler; import org.frc4931.robot.commandnew.auto.GrabAndGoAuto; import org.frc4931.robot.commandnew.auto.TransferTote; import org.frc4931.robot.commandnew.grabber.ToggleGrabber; import org.frc4931.robot.commandnew.grabber.ToggleGrabberLift; import org.fr...
package com.drew.metadata.apple; import java.io.IOException; import java.util.HashMap; import java.util.Map; import java.util.Set; import com.drew.lang.annotations.NotNull; import com.drew.metadata.Directory; import com.drew.metadata.Metadata; import com.drew.metadata.exif.makernotes.AppleMakernoteDirectory; import com...
package tpe.fruh_razzaq_jando.pue1; /** * Diese Klasse implementiert einen Bruch * * @author TPE_UIB_01 */ public class Bruch implements Cloneable { public static final int HASHSHIFT = 32; // Properties private long nenner, zaehler, ganze; // Constructors Bruch(long zaehler, long nenner) { ...
/* -*- mode: Java; c-basic-offset: 2; -*- */ /** * LZX Function representation * @author steele@osteele.com */ package org.openlaszlo.sc; public class Function { public String name; private final String args; private final String body; private final String sourceLocation; public Function(String body) { ...
package jodd.util; import java.io.File; /** * Various system utilities. */ public class SystemUtil { /** * Calculates and returns java system timer resolution in miliseconds. * Resolution of a timer depends on platform and java version. */ public static double systemTimerResolution() { ...
package org.dspace.app.webui.servlet; import java.io.IOException; import java.sql.SQLException; import javax.mail.MessagingException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apac...
// -*- mode:java; encoding:utf-8 -*- // vim:set fileencoding=utf-8: // @homepage@ package example; import java.awt.*; import java.awt.event.HierarchyEvent; import java.io.IOException; import java.io.UncheckedIOException; import java.nio.file.FileSystems; import java.nio.file.Files; import java.nio.file.Path; import jav...
package dynamake.dragndrop; import java.awt.Point; import java.awt.Rectangle; import java.util.List; import javax.swing.JComponent; import javax.swing.JPopupMenu; import dynamake.commands.DejectTransaction; import dynamake.commands.DualCommand; import dynamake.commands.DualCommandPair; import dynamake.commands.InjectTr...
package io.spacedog.services; import java.util.stream.Stream; import org.elasticsearch.action.support.QuerySourceBuilder; import org.elasticsearch.index.query.BoolQueryBuilder; import org.elasticsearch.index.query.QueryBuilders; import io.spacedog.services.Credentials.Level; import io.spacedog.services.CredentialsResou...
package uk.ac.bournemouth.darwin.auth; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import java.security.Provider; import java.security.Provider.Service; import java.security.Security; import java.util.ArrayList; import java.util.List; import java.util.Map.Entry; import java.util...
package org.simplity.tp; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.FilenameFilter; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.simplity.kernel.Application; import o...
package org.nusco.narjillos.views; import javafx.scene.Node; import javafx.scene.paint.Color; import javafx.scene.shape.Circle; import javafx.scene.shape.Shape; import javafx.scene.transform.Translate; import org.nusco.narjillos.shared.physics.Vector; import org.nusco.narjillos.shared.things.FoodPiece; class FoodView e...
package com.greensnow25.start; /** * public class StartUI run TRACKER. * @author grensnow25. * @since 28.12.16. * @version 1.0. */ public class StartUI { /** * method init run the aplication */ public void init() throws Exception { ConsoleInput input = new ConsoleInput(); input.ch...
package owltools.gaf; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.util.Arrays...
package ru.osetsky.tracker.start; import org.junit.Test; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.core.Is.is; import static org.hamcrest.Matchers.nullValue; public class StunInputTest { /** * Method is testStunInputHowUser. */ @Test public void testStunInputH...
package vg.civcraft.mc.namelayer.listeners; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.UUID; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.OfflinePlayer; import org.bukkit.entity.Player; import org.bukkit.event.EventHand...
package org.slf4j.event; import java.util.Queue; import org.slf4j.Logger; import org.slf4j.Marker; import org.slf4j.helpers.SubstituteLogger; public class EventRecodingLogger implements Logger { String name; SubstituteLogger logger; Queue<SubstituteLoggingEvent> eventQueue; public EventRecodingLogger(Su...
package rjsv.circularview; import android.os.Handler; import android.view.animation.Animation; import android.view.animation.Interpolator; import android.view.animation.LinearInterpolator; import android.view.animation.Transformation; import rjsv.circularview.enumerators.AnimationStyle; import rjsv.circularview.utils.C...
package org.dspace.app.webui.servlet; import java.io.IOException; import java.net.URLEncoder; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import java.util.HashMap; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequ...
package com.hsalf.smilerating; import android.animation.Animator; import android.animation.ArgbEvaluator; import android.animation.FloatEvaluator; import android.animation.ValueAnimator; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Color;...
package org.jetel.interpreter; import java.util.Calendar; import java.util.Date; import java.util.Iterator; import java.util.Properties; import java.util.regex.Matcher; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.jetel.data.DataField; import org.jetel.data.DataRecord;...
package com.hsalf.smilerating; import android.animation.Animator; import android.animation.ArgbEvaluator; import android.animation.FloatEvaluator; import android.animation.ValueAnimator; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Color;...
package edu.rpi.phil.legup.puzzles.lightup; import java.util.LinkedHashSet; import java.util.Set; import edu.rpi.phil.legup.BoardState; import edu.rpi.phil.legup.PuzzleRule; import edu.rpi.phil.legup.newgui.LEGUP_Gui; import edu.rpi.phil.legup.Contradiction; public class RuleBulbsOutsideDiagonal extends PuzzleRule { ...
package dk.netarkivet.wayback.indexer; import java.io.File; import dk.netarkivet.common.CommonSettings; import dk.netarkivet.common.distribute.arcrepository.ArcRepositoryClientFactory; import dk.netarkivet.common.distribute.arcrepository.LocalArcRepositoryClient; import dk.netarkivet.common.utils.FileUtils; import dk.n...
package edu.duke.cabig.c3pr.domain; import edu.duke.cabig.c3pr.utils.ProjectedList; import edu.duke.cabig.c3pr.utils.StringUtils; import gov.nih.nci.cabig.ctms.collections.LazyListHelper; import gov.nih.nci.cabig.ctms.domain.AbstractMutableDomainObject; import java.util.ArrayList; import java.util.List; import javax.pe...
package com.datatorrent.stram.client; import com.datatorrent.stram.client.StramAppLauncher.AppFactory; import com.datatorrent.stram.plan.logical.LogicalPlan; import java.io.*; import java.util.*; import java.util.jar.*; import net.lingala.zip4j.core.ZipFile; import net.lingala.zip4j.exception.ZipException; import org.a...
package model.objects.pen.normal; import java.awt.Color; import java.awt.Rectangle; import java.awt.image.BufferedImage; import java.util.Random; import model.objects.pen.Pen; import model.settings.Constants; import model.settings.Status; import model.settings.ViewSettings; import model.util.DPoint; /** * Pencil fetch...
package br.com.redesocial.modelo.dao; import br.com.redesocial.modelo.dto.Comentario; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.Statement; import java.sql.Types; import java.util.ArrayList; import java.util.List; public class ComentarioDAO extends DAOCRUDB...
package br.com.redesocial.modelo.bo; import br.com.redesocial.modelo.dto.Cidade; import br.com.redesocial.modelo.dto.Estado; import br.com.redesocial.modelo.dto.Pais; import br.com.redesocial.modelo.dto.Usuario; import br.com.redesocial.modelo.dto.enumeracoes.Sexo; import java.util.Calendar; import java.util.Date; impo...
package commons.lang.quickbean; import java.io.Serializable; /** * @author Wayne.Wang<5waynewang@gmail.com> * @since 1:27:44 PM Nov 16, 2014 */ public class ResponseObject<T> implements Serializable { private static final long serialVersionUID = -906477148460366748L; private int code; private String msg;...
package org.neo4j.shell; import static java.lang.Runtime.getRuntime; import static java.lang.System.getProperty; import static org.junit.Assert.assertEquals; import static org.neo4j.test.TargetDirectory.forTest; import org.junit.Test; import org.neo4j.test.ProcessStreamHandler; public class TestRmiPublication { @Te...
package org.spine3.test; import com.google.common.collect.ArrayListMultimap; import com.google.common.collect.FluentIterable; import com.google.common.collect.ImmutableList; import com.google.common.collect.Multimap; import com.google.common.collect.Sets; import org.junit.Assert; import org.junit.Test; import java.lang...