answer
stringlengths
17
10.2M
package lighthouse.server; import com.sun.net.httpserver.*; import joptsimple.*; import lighthouse.*; import lighthouse.files.*; import lighthouse.protocol.*; import lighthouse.threading.*; import lighthouse.wallet.*; import org.bitcoinj.core.*; import org.bitcoinj.kits.*; import org.bitcoinj.params.*; import org.bitco...
package io.fabric8.gateway.fabric.support.http; import io.fabric8.gateway.ServiceDTO; import io.fabric8.gateway.api.apimanager.ApiManager; import io.fabric8.gateway.api.handlers.http.HttpMappingRule; import io.fabric8.gateway.fabric.http.HTTPGatewayConfig; import io.fabric8.kubernetes.api.KubernetesClient; import io.fa...
package openperipheral.adapter.method; import java.util.Iterator; import java.util.Map; import openperipheral.api.adapter.method.ArgType; import openperipheral.api.converter.IConverter; import com.google.common.base.Preconditions; import com.google.common.reflect.TypeToken; public class OptionalArgument extends Argumen...
package com.seleniumtests.tests; import com.seleniumtests.core.SeleniumTestPlan; import org.testng.annotations.Test; import static com.seleniumtests.core.CustomAssertion.assertThat; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.CoreMatchers.is; /** * Using Matchers */ public class RetryT...
package se.ericthelin.fractions; import static java.util.Objects.requireNonNull; public class Fraction { public static Fraction of(String text) { return new Fraction(text); } private final String text; private Fraction(String text) { this.text = requireNonNull(text); } @Override ...
package de.larmic.butterfaces.component.renderkit.html_basic.text; import java.io.IOException; import javax.faces.component.UIComponent; import javax.faces.context.FacesContext; import javax.faces.context.ResponseWriter; import javax.faces.render.FacesRenderer; import de.larmic.butterfaces.component.html.text.HtmlCalen...
package ezvcard.io.text; import static ezvcard.util.StringUtils.NEWLINE; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import java.io.StringReader; import org.junit.Test; import ezvcard.VCardVersion; /** * @author Michael Angstadt */ public class VCardRawReaderTest { @Tes...
package net.hyperic.sigar; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStreamReader; import java.util.List; import java.util.Map; import net.hyperic.jni.ArchLoaderException; import net.hyperic.jni.ArchNotSupportedException; /** * The Sigar class provides access t...
package com.yahoo.vespa.hosted.controller.maintenance; import com.yahoo.config.provision.SystemName; import com.yahoo.vespa.hosted.controller.Controller; import com.yahoo.vespa.hosted.controller.api.integration.dns.NameService; import com.yahoo.vespa.hosted.controller.dns.NameServiceQueue; import com.yahoo.vespa.hosted...
package water; import java.io.IOException; import java.nio.channels.ByteChannel; import java.sql.Timestamp; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeoutException; import static water.ExternalFrameUtils.writeToChannel; /** * <p> * This class is used to create and write data to H2...
package guitests.guihandles; import java.util.List; import java.util.stream.Collectors; import guitests.GuiRobot; import javafx.scene.Node; import javafx.scene.control.Labeled; import javafx.scene.layout.Region; import javafx.stage.Stage; import seedu.tasklist.model.tag.UniqueTagList; import seedu.tasklist.model.task.D...
package com.yahoo.vespa.hosted.controller.persistence; import com.yahoo.component.Version; import com.yahoo.config.application.api.DeploymentSpec; import com.yahoo.config.application.api.ValidationOverrides; import com.yahoo.config.provision.ApplicationId; import com.yahoo.config.provision.ClusterSpec; import com.yahoo...
package org.epics.util.text; import java.util.Arrays; import java.util.List; import org.junit.Test; import static org.junit.Assert.*; import static org.hamcrest.Matchers.*; /** * Test simulated pv function names parsing * * @author carcassi */ public class StringUtilTest { public StringUtilTest() { } @T...
package org.neo4j.rdf.sail.rmi; import java.net.URI; import java.rmi.RemoteException; import java.rmi.registry.LocateRegistry; import org.junit.Test; import org.neo4j.api.core.NeoService; import org.neo4j.rdf.sail.BaseSailTest; import org.neo4j.rdf.sail.NeoSail; import org.neo4j.rdf.sail.NeoTestUtils; import org.neo4j....
package org.cloudfoundry.samples.handson.ex6; import org.springframework.context.annotation.Configuration; @Configuration public class Ex6Config { // TODO: Add another DataSource. Name it "toDataSource", or change CopyController accordingly }
package org.scm4j.releaser.conf; import static org.hamcrest.Matchers.instanceOf; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertThat; import static org.junit.Assert.fail; import java.io.File; import java.io.FileNotFoundException; import java...
package org.ihtsdo.buildcloud.service.inputfile.prepare; import com.google.common.io.Files; import org.apache.commons.codec.DecoderException; import org.apache.commons.io.FileUtils; import org.apache.commons.io.FilenameUtils; import org.apache.commons.lang.CharEncoding; import org.apache.commons.lang3.StringUtils; impo...
package org.webjars; import static org.hamcrest.core.IsCollectionContaining.hasItems; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertThat; import static org.junit.Assert.fail; import java.util.Map; import java.util.Set; import org.junit.Test;...
package uk.ac.ox.oucs.vle; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import junit.framework.TestCase; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.cfg.Configuration; public class TestCourseDAOImpl extends TestCase { privat...
package org.eclipse.birt.core.script.function.bre; import org.eclipse.birt.core.exception.BirtException; import org.eclipse.birt.core.script.function.i18n.Messages; import org.eclipse.birt.core.script.functionservice.IScriptFunctionContext; import org.eclipse.birt.core.script.functionservice.IScriptFunctionExecutor; ab...
package org.dataone.annotator.matcher.esor; import java.io.InputStream; import java.net.URI; import java.net.URLEncoder; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.Map; import org.apache.commons.io.IOUtils; import org.apache.commons.log...
package org.fedorahosted.tennera.jgettext; import java.text.SimpleDateFormat; import java.util.Collections; import java.util.Date; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.Map; import java.util.Set; import java.util.regex.Pattern; import org.fedorahosted.tennera.jgettext.catalog.parse....
package org.janelia.alignment; import java.io.IOException; import java.io.InputStreamReader; import java.io.Writer; import java.io.FileWriter; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import ja...
package com.diozero.internal.provider.firmata.adapter; import java.io.ByteArrayOutputStream; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.concur...
package com.athena.meerkat.agent; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.scheduling.anno...
package vg.civcraft.mc.civmodcore.util; import java.util.List; import java.util.logging.Level; import org.bukkit.Bukkit; import org.bukkit.Color; import org.bukkit.Material; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.enchantments.Enchantment; import org.bukkit.inventory.ItemStack; import or...
package org.eclipse.birt.report.engine.layout.html; import java.util.logging.Logger; import org.eclipse.birt.core.exception.BirtException; import org.eclipse.birt.report.engine.content.IContent; import org.eclipse.birt.report.engine.content.IReportContent; import org.eclipse.birt.report.engine.content.IStyle; import or...
package io.quarkus.kubernetes.deployment; import java.io.File; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; impo...
package org.jboss.netty.handler.traffic; import java.util.concurrent.ExecutorService; import java.util.concurrent.Future; import java.util.concurrent.atomic.AtomicLong; import org.jboss.netty.channel.Channel; import org.jboss.netty.channel.ChannelHandlerContext; import org.jboss.netty.logging.InternalLogger; import org...
package org.jetel.data; import java.nio.BufferOverflowException; import java.nio.ByteBuffer; import java.nio.CharBuffer; import java.nio.charset.CharacterCodingException; import java.nio.charset.Charset; import java.nio.charset.CharsetDecoder; import java.nio.charset.CharsetEncoder; import java.text.RuleBasedCollator; ...
package org.jetel.util; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.ReadableByteChannel; import java.nio.channels.WritableByteChannel; public class ByteBufferUtils { /** * This method flushes the buffer to the Channel and prepares it for next * reading * * @...
package org.jusecase.executors; import org.jusecase.Usecase; import org.jusecase.UsecaseExecutor; import org.jusecase.UsecaseExecutorException; import org.jusecase.VoidUsecase; import java.util.HashMap; import java.util.Map; public abstract class AbstractUsecaseExecutor implements UsecaseExecutor { private final Ma...
package org.kwstudios.play.ragemode.toolbox; import java.util.Set; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.World; import org.bukkit.configuration.file.FileConfiguration; import org.kwstudios.play.ragemode.loader.PluginLoader; public class MapChecker { private String gameName; pr...
package org.myrobotlab.service.abstracts; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import org.myrobotlab.framework.Config; import org.myrobotlab.framework.Registration; import org.myrobotlab.framework.Service; import org.myrobotlab.framework.interfaces.Attachable; import org.myrobotl...
package org.restheart.handlers.files; import com.mongodb.DuplicateKeyException; import io.undertow.server.HttpServerExchange; import io.undertow.util.HttpString; import org.bson.BsonDocument; import org.bson.BsonValue; import org.restheart.db.GridFsDAO; import org.restheart.db.GridFsRepository; import org.restheart.db....
package org.sagebionetworks.web.client; import org.sagebionetworks.gwt.client.schema.adapter.GwtAdapterFactory; import org.sagebionetworks.gwt.client.schema.adapter.JSONArrayGwt; import org.sagebionetworks.gwt.client.schema.adapter.JSONObjectGwt; import org.sagebionetworks.schema.adapter.AdapterFactory; import org.sage...
package org.devtcg.sqliteserver; import android.database.sqlite.SQLiteDatabase; /** * Common interface for both {@link android.content.ContentProvider} backed and * {@link android.app.Service} backed instances. */ public interface SQLiteServer { /** * Open and return the database instance to be used by this...
/** * Unsigned conversions (Ranges module) */ module com.io7m.junsigned.ranges { requires static org.immutables.value; requires com.io7m.junreachable.core; requires transitive com.io7m.jranges.core; exports com.io7m.junsigned.ranges; }
package org.scm4j.vcs.api.abstracttest; import static org.hamcrest.CoreMatchers.hasItem; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertThat; import st...
package org.xtreemfs.mrc; import java.io.FileInputStream; import java.io.IOException; import java.lang.management.ManagementFactory; import java.lang.management.OperatingSystemMXBean; import java.net.InetSocketAddress; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.ut...
package org.scm4j.vcs.api.abstracttest; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.io.File; import java.util.List; import java.util.UUID...
package org.spongepowered.api.item.data; import com.google.common.base.Optional; import org.spongepowered.api.item.ItemDataTransactionResult; import java.util.Map; import java.util.Set; /** * Represents item data that is mapped by a specific key and value type * definition. Examples of these include: {@link Enchantme...
package com.orientechnologies.orient.graph.blueprints; import java.util.Date; import java.util.Random; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentSkipListSet; import java.util.concurrent.atomic.AtomicInteger; import org.testng.Assert; import org.testng.ann...
package org.vorthmann.zome.app.impl; import java.awt.Component; import java.awt.Dimension; import java.awt.EventQueue; import java.awt.event.ActionEvent; import java.awt.event.MouseEvent; import java.awt.event.MouseWheelEvent; import java.awt.image.RenderedImage; import java.beans.PropertyChangeEvent; import java.beans...
package pixlepix.auracascade.block.tile; import net.minecraft.entity.item.EntityItem; import net.minecraft.item.ItemStack; import pixlepix.auracascade.item.ItemAngelsteelIngot; import pixlepix.auracascade.registry.BlockRegistry; public class AngelSteelTile extends ConsumerTile { public static int MAX_PROGRESS = 100...
package pokeraidbot.infrastructure.jpa.raid; import net.dv8tion.jda.core.entities.User; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.collections4.FluentIterable; import org.apache.commons.lang3.Validate; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.common...
package selling.sunshine.controller; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.pingplusplus.model.Event; import com.pingplusplus.model.Webhooks; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import ...
package sg.ncl.testbed_interface; import lombok.Getter; import lombok.Setter; @Getter @Setter public class ReservationStatusForm { private String teamId; // private String nodes_id_list; private Integer numNodes; private String machineType; private String action; }
package studentcapture.datalayer; import java.io.*; import java.util.Hashtable; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.core.io.InputStreamResource; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; import org.springframework.http....
package studentcapture.datalayer; import com.fasterxml.jackson.databind.ObjectMapper; import org.omg.CORBA.Object; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.core.io.InputStreamResource; import org.springframework.expression.spel.ast.BooleanLiteral; import org.springframew...
package tld.testmod.common.animation; import javax.annotation.Nonnull; import javax.annotation.Nullable; import com.google.common.collect.ImmutableMap; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.EnumFacing; import net.minecraft.util.ResourceLocation; i...
// of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // 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 substanti...
package tsuboneSystem.action.admin; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import javax.annotation.Resource; import org.seasar.framework.beans.util.Beans; import org.seasar.struts.annotation.ActionForm; import org.seasar.struts.annotation.Execute; import tsuboneSystem.code.LeadersK...
package org.apache.gora.pig; import java.io.IOException; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Properties; import org.apache.avro.Sche...
package wanion.unidict.integration; import forestry.api.recipes.ICarpenterRecipe; import forestry.api.recipes.ICentrifugeRecipe; import forestry.core.recipes.ShapedRecipeCustom; import forestry.core.utils.datastructures.ItemStackMap; import forestry.factory.recipes.*; import net.minecraft.item.ItemStack; import net.min...
package com.flytxt.tp.marker; public class Marker { public int index; public int length; private FindMarker fm = new FindMarker(); private int dataType; private long longValue; private double doubleValue; private CurrentObject currentObject; private byte[] localData; public static fi...
package org.apache.gora.pig; import java.io.IOException; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Properties; import org.apache.avro.Sche...
package com.yahoo.restapi; import java.util.Arrays; import java.util.HashMap; import java.util.Map; /** * A path which is able to match strings containing bracketed placeholders and return the * values given at the placeholders. * * E.g a path /a/1/bar/fuz * will match /a/{foo}/bar/{b} * and return foo=1 and b=fu...
package com.meltmedia.cadmium.jgit; import java.io.File; import java.io.IOException; import org.apache.commons.io.FileUtils; import org.eclipse.jgit.api.CreateBranchCommand.SetupUpstreamMode; import org.eclipse.jgit.api.Git; import org.eclipse.jgit.api.errors.CanceledException; import org.eclipse.jgit.api.errors.Concur...
package ${package}; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import org.junit.Test; import com.ociweb.iot.hardware.TestHardware; import com.ociweb.iot.maker.IOTDeviceRuntime; import com.ociweb.pronghorn.stage.scheduling.NonThreadScheduler; /** * Unit test for simple App. ...
package imagej.script; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.Reader; import java.io.Writer; import java.util.List; import javax.script.ScriptEngine; import javax.script.ScriptEngineFactory; import javax.script.ScriptException; import org.scijava.plugin.Sin...
package net.java.sip.communicator.plugin.desktoputil; import java.awt.*; import java.awt.event.*; import java.io.*; import javax.swing.*; import javax.swing.event.*; import net.java.sip.communicator.util.*; import net.java.sip.communicator.util.skin.*; /** * Implements a <tt>JDialog</tt> which displays an error messag...
package com.kehxstudios.atlas.components; import com.badlogic.gdx.math.Vector2; import com.kehxstudios.atlas.entities.Entity; import com.kehxstudios.atlas.type.ComponentType; /** * Abstract class used by all Components */ public class Component { protected String id; protected ComponentType type; protecte...
package co.aikar.commands; import co.aikar.locales.MessageKeyProvider; import com.google.common.collect.Lists; import com.google.common.collect.Sets; import org.jetbrains.annotations.NotNull; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Parameter; import ...
package org.ensembl.healthcheck.testcase.generic; import java.sql.Connection; import org.ensembl.healthcheck.DatabaseRegistryEntry; import org.ensembl.healthcheck.DatabaseType; import org.ensembl.healthcheck.ReportManager; import org.ensembl.healthcheck.testcase.SingleDatabaseTestCase; /** * An EnsEMBL Healthcheck tes...
package com.reason.ide.go; import java.util.*; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import com.intellij.codeInsight.daemon.RelatedItemLineMarkerInfo; import com.intellij.codeInsight.daemon.RelatedItemLineMarkerProvider; import com.intellij.codeInsight.daemon.impl.GutterIc...
package org.helioviewer.jhv.renderable.components; import java.awt.Color; import java.awt.Component; import java.nio.FloatBuffer; import java.text.DecimalFormat; import java.util.ArrayList; import org.helioviewer.jhv.base.astronomy.Position; import org.helioviewer.jhv.base.astronomy.Sun; import org.helioviewer.jhv.base...
package hudson.model; import hudson.util.RunList; import org.kohsuke.stapler.QueryParameter; import org.kohsuke.stapler.StaplerRequest; import org.koshuke.stapler.simile.timeline.Event; import org.koshuke.stapler.simile.timeline.TimelineEventList; import java.io.IOException; import java.util.Date; /** * UI widget for ...
package io.grpc.internal; import static com.google.common.base.Preconditions.checkNotNull; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Preconditions; import io.grpc.Codec; import io.grpc.Decompressor; import io.grpc.Status; import java.io.Closeable; import java.io.FilterInputSt...
package net.time4j.engine; import java.util.List; /** * <p>Represents a calendar system which can map a calendar date to a * day number corresponding to the count of days elapsed since UTC epoch * [1972-01-01]. </p> * * @param <D> generic type of calendar date (subtype of {@code Calendrical} or {@code CalendarVa...
package org.bouncycastle.math.ec; import java.math.BigInteger; /** * base class for points on elliptic curves. */ public abstract class ECPoint { protected static ECFieldElement[] EMPTY_ZS = new ECFieldElement[0]; protected static ECFieldElement[] getInitialZCoords(ECCurve curve) { // Cope with nu...
package org.nschmidt.ldparteditor.shells.editor3d; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.UnsupportedEncodingException; import java.lang.reflect.InvocationTargetEx...
package org.kohsuke.stapler; import javax.servlet.ServletException; import java.io.IOException; /** * {@link HttpResponse} that dose HTTP 302 redirect. * * @author Kohsuke Kawaguchi */ public final class HttpRedirect implements HttpResponse { private final String url; public HttpRedirect(String url) { ...
package org.pentaho.di.trans.steps.textfileoutput; import java.io.BufferedOutputStream; import java.io.File; import java.io.IOException; import java.io.OutputStream; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.List; import java.util.zip.GZIPOutputStream; import java.util.zi...
package org.mskcc.cbio.oncokb.model; import com.fasterxml.jackson.annotation.JsonIgnore; import javax.persistence.*; import java.util.HashSet; import java.util.Set; /** * @author jgao, Hongxin Zhang */ @NamedQueries({ @NamedQuery( name = "findDrugByName", query = "select d from Drug d where d.drug...
package org.realityforge.arez; import java.util.ArrayList; import java.util.Comparator; import javax.annotation.Nonnull; import javax.annotation.Nullable; import org.jetbrains.annotations.TestOnly; public abstract class Observable extends Node { /** * The value that _workState is set to to optimize the detection...
/** * LatticeSequence.java * * Author : Christopher K. Allen * Since : Dec 8, 2014 */ package xal.sim.scenario; import java.io.PrintStream; import java.util.ArrayList; import java.util.Calendar; import java.util.Collection; import java.util.Collections; import java.util.Iterator; import java.util.LinkedList; im...
package protocolsupport.protocol.transformer.v_1_9; import java.io.IOException; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import io.netty.channel.Channel; import io.netty.channel.ChannelHandlerContext; import io.netty.util.AttributeKey; import net.minecraft.server.v1_9_R1.EnumProtocol; import net...
package rapanui.core; import java.util.function.Consumer; import rapanui.dsl.*; /** * A @see JustificationFinder implementation that searches the environment's premises. */ public class PremiseJustificationFinder implements JustificationFinder { @Override public Emitter<Justification> justifyAsync(ProofEnviro...
package cruise.umple; import java.io.*; import org.junit.*; import cruise.umple.util.SampleFileWriter; public class UmpleConsoleMainTest { String pathToInput; @Before public void setUp() { // UmpleConsoleMain.displayOutput = false; pathToInput = SampleFileWriter.rationalize("test/cruise/umple/sequence");...
package de.longri.cachebox3; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.backends.iosrobovm.IOSApplication; import org.robovm.apple.coregraphics.CGRect; import org.robovm.apple.coregraphics.CGSize; import org.robovm.apple.foundation.NSRange; import org.robovm.apple.foundation.NSString; import org.robovm.apple....
package com.example.rollingball.app; import android.content.Context; import android.opengl.GLSurfaceView; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; public class MainView extends GLSurfaceView { public MainRenderer renderer; public SceneM...
package com.smidur.aventon.utilities; import android.content.Context; import android.location.Address; import android.location.Criteria; import android.location.Geocoder; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; import...
package com.t28.rxweather.data.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.annotation.JsonDe...
package com.tetsuyanh.esandroid; import com.tetsuyanh.esandroid.esa.EsaWeb; import com.tetsuyanh.esandroid.entity.Post; import com.tetsuyanh.esandroid.service.BookmarkService; import com.tetsuyanh.esandroid.service.HistoryService; import com.tetsuyanh.esandroid.service.UrlService; import android.annotation.SuppressLint...
package com.whereuat.whereu; import android.app.Activity; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.provider.ContactsContract; import android.content.Context; public class ContactRetriever { private static Context mContext; private static String phone_...
package de.stephanlindauer.criticalmaps; import android.animation.ArgbEvaluator; import android.animation.ValueAnimator; import android.annotation.TargetApi; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.drawable.GradientDrawable; import an...
package io.ticofab.meetupstream; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.annotations.SerializedName; import java.io.IOException; import butterknife.ButterKnife; import butt...
package it.inaf.android; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.RelativeLayout; import android.widget.TextView; import com.google.android.gms.maps.CameraUpdateFactory; import com...
package org.intermine.util; import java.io.PrintWriter; import java.io.StringWriter; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.sql.SQLException; import com.sun.org.apache.xerces...
package org.intermine.web; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import javax.servlet.ServletContext; import org.intermine.InterMineException; import org.intermine.model.Int...
package org.commcare.cases; import org.commcare.cases.model.Case; import org.javarosa.user.utility.IInstanceProcessor; /** * @author ctsims */ public interface ICaseModelProcessor extends IInstanceProcessor { /** * This call is not guaranteed to be valid until the model * is processed. * * @re...
package hr.fer.zemris.vhdllab.vhdl.simulations; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.LinkedList; import java.util.List; import ja...
package concur; import com.sauce.common.SauceOnDemandAuthentication; import com.sauce.common.SauceOnDemandSessionIdProvider; import com.sauce.junit.ConcurrentParameterized; import com.sauce.junit.SauceOnDemandTestWatcher; import org.junit.*; import org.junit.runner.RunWith; import org.openqa.selenium.By; import org.ope...
package com.munzenberger.feed.engine; import java.util.LinkedList; import java.util.List; import com.munzenberger.feed.filter.ItemFilter; import com.munzenberger.feed.filter.ItemFilterException; import com.munzenberger.feed.parser.rss.Item; import junit.framework.TestCase; public class FeedProcessorTest extends TestCas...
package joliex.util; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.StringReader; import java.io.StringWriter; import java.net.URL; import javax.xml.XMLConstants; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserCo...
package org.ccnx.ccn.test.protocol; import static org.ccnx.ccn.protocol.ContentName.ROOT; import static org.ccnx.ccn.protocol.ContentName.SEPARATOR; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.asser...
package nom.bdezonia.zorbage.algorithm; import static org.junit.Assert.assertEquals; import java.math.BigDecimal; import org.junit.Test; import nom.bdezonia.zorbage.algebras.G; import nom.bdezonia.zorbage.type.data.float64.complex.ComplexFloat64Member; import nom.bdezonia.zorbage.type.data.float64.real.Float64Member; i...
package example.jbot.slack; import me.ramswaroop.jbot.core.common.Controller; import me.ramswaroop.jbot.core.common.EventType; import me.ramswaroop.jbot.core.common.JBot; import me.ramswaroop.jbot.core.slack.Bot; import me.ramswaroop.jbot.core.slack.models.Event; import org.slf4j.Logger; import org.slf4j.LoggerFactory;...
package org.chiswicked.tomcat.tools; import org.apache.catalina.LifecycleState; import org.apache.catalina.Valve; import org.apache.catalina.startup.Tomcat; import org.chiswicked.valverine.valves.DelayValve; import org.junit.After; import org.junit.Before; import org.junit.Test; import java.io.BufferedReader; import ja...