answer
stringlengths
17
10.2M
package com.codemelon.graph.edge.types; import static org.junit.Assert.*; import java.util.HashMap; import org.junit.After; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.matchers.JUnitMatchers; import org.junit.rules.ExpectedException; import com.codemelon.graph.graph.types.Wei...
package ublu.util; import java.util.Locale; import java.util.ResourceBundle; /** * Manage locale and resources for the Interpreter * * @author jax */ public class LocaleHelper { private Locale currentLocale; private ResourceBundle messages; /** * get language * * @return language */ ...
package com.yuneec.example; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.ViewGroup; import android.view.View; import android.widget.Toast; import com.yuneec.sdk.Camera; public class CameraSettingsFragment extends Fragment implements View.OnCli...
package corp.mahisan.medicinastore; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.animation.Animation; import android.view.animation.AnimationUtils; import android.widget.ImageView; public class MajorHypnotize extends Activity { Animation animTogether; ...
package edu.csh.cshwebnews.fragments; import android.content.ContentResolver; import android.content.SyncStatusObserver; import android.database.Cursor; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.design.widget.Snackbar; import android.support.v4.app.Fragment; import and...
package com.axelor.meta.schema.views; import java.util.Collection; import java.util.List; import java.util.Map; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElements; import javax.xml.bind.annotation.XmlTransient; import javax.xml.bind.a...
package edu.rit.jitternetreceiver; import android.media.AudioFormat; import android.media.AudioManager; import android.media.AudioTrack; import android.os.AsyncTask; import android.util.Log; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigDecimal; import java.net.Socket; import java.ni...
package com.axelor.meta.views; import java.io.IOException; import java.io.Reader; import java.io.StringReader; import java.util.Collection; import java.util.List; import java.util.Map; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; i...
package org.wikipedia.page; import android.animation.ArgbEvaluator; import android.graphics.Color; import android.graphics.PorterDuff; import android.graphics.drawable.Drawable; import android.os.Build; import android.view.Gravity; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView...
package org.commcare.dalvik.activities; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.content.res.Configuration; import android.databas...
package org.javarosa.engine; import org.javarosa.core.model.Constants; import org.javarosa.core.model.FormDef; import org.javarosa.core.model.FormIndex; import org.javarosa.core.model.SelectChoice; import org.javarosa.core.model.condition.EvaluationContext; import org.javarosa.core.model.data.AnswerDataFactory; import ...
package io.kubernetes.client; import io.kubernetes.client.Configuration; import io.kubernetes.client.models.V1Pod; import io.kubernetes.client.util.WebSockets; import io.kubernetes.client.util.WebSocketStreamHandler; import java.io.InputStream; import java.io.IOException; import java.io.OutputStream; import java.util.A...
package com.github.app.rest; import javax.inject.Inject; import javax.validation.Valid; import javax.ws.rs.Consumes; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import javax.ws.rs.core.Response.Status; import com.git...
package org.basex.core.locks; import static org.basex.query.func.Function.*; import static org.junit.Assert.*; import org.basex.*; import org.basex.core.*; import org.basex.core.cmd.*; import org.basex.util.*; import org.junit.Test; public final class NonLockingTest extends SandboxTest { /** Query for returning all j...
package zendesk.belvedere; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ValueAnimator; import android.content.Context; import android.content.res.Resources; import android.graphics.drawable.Drawable; import android.graphics.drawable.LayerDrawable; import ...
package com.telefonica.iot.tidoop.mrlib; import bsh.EvalError; import bsh.Interpreter; import com.telefonica.iot.tidoop.mrlib.io.NumericType; import org.apache.hadoop.io.Text; import org.apache.log4j.Logger; /** * * @author frb */ public class Function { private final Logger logger = Logger.getLogger(Function.cl...
package to.etc.domui.logic.errors; import to.etc.domui.component.binding.ComponentPropertyBinding; import to.etc.domui.component.binding.IBinding; import to.etc.domui.component.binding.OldBindingHandler; import to.etc.domui.dom.errors.IErrorFence; import to.etc.domui.dom.errors.UIMessage; import to.etc.domui.dom.html.N...
package com.intellij.uiDesigner.radComponents; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.module.Module; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.Comparing; import com.intellij.uiDesigner.*; import com.intellij.uiDesigner.core.GridConstraints; import ...
package org.tigris.subversion.subclipse.ui.util; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.HashMap; import org.eclipse.core.resources.IContainer; import org.eclipse.core.resources.IResource; import org.eclipse.core.resources.IWorkspaceRoot; import org.eclipse.cor...
package org.neo4j.server; import org.neo4j.graphdb.TransactionFailureException; import org.neo4j.server.configuration.Configurator; import org.neo4j.server.logging.Logger; import org.neo4j.server.startup.healthcheck.ConfigFileMustBePresentRule; import org.neo4j.server.startup.healthcheck.StartupHealthCheck; import org....
package net.pdp7.v2f.core; import junit.framework.TestCase; import net.pdp7.v2f.core.Router.ListTableRoute; public class RouterTest extends TestCase { public void testRouter() { ListTableRoute route = (ListTableRoute) new Router(null, null, null).findRoute("/table_name/"); assertEquals("table_name",...
package reactor.pipe.key; import java.util.Arrays; import java.util.UUID; public class Key { private final Object[] parts; private final boolean isDerived; private volatile Object metadata; public Key(Object[] parts) { this(parts, false, null); } protected Key(Object[] parts, boolean isDerived, Object m...
package org.sirix.diff; import org.sirix.access.trx.node.HashType; import org.sirix.api.Axis; import org.sirix.api.NodeCursor; import org.sirix.api.NodeReadOnlyTrx; import org.sirix.api.NodeTrx; import org.sirix.axis.DescendantAxis; import org.sirix.axis.IncludeSelf; import org.sirix.diff.DiffFactory.Builder; import or...
package ualberta.g12.adventurecreator.data; import java.io.IOException; import java.io.Serializable; import java.util.LinkedList; import java.util.List; @SuppressWarnings({ "serial", "rawtypes" }) public class Story extends SModel implements Serializable { /** * Signifies that a story with this id is i...
package org.codeartisans.qipki.ca.domain.ca; import java.security.GeneralSecurityException; import java.security.KeyStoreException; import java.security.PrivateKey; import java.security.cert.X509Certificate; import org.codeartisans.qipki.core.QiPkiFailure; import org.qi4j.api.injection.scope.This; public abstract class...
package uk.ac.horizon.observer.vc; import java.net.MalformedURLException; import java.util.Stack; import uk.ac.horizon.observer.R; import uk.ac.horizon.observer.model.Observations; import uk.ac.horizon.observer.model.Place; import uk.ac.horizon.observer.model.Places; import uk.ac.horizon.observer.model.Task; import and...
package org.perl6.nqp.runtime; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.lang.invoke.MethodType; import java.math.BigDecimal; import java.math.BigInteg...
package alobar.workout.db; import android.provider.BaseColumns; /** * Database contract */ public class DatabaseContract { /** * Constants for Exercise table. */ public interface Exercise { /* Name of table */ String tableName = "exercise"; // Content column names Str...
package com.samourai.wallet.send; import android.app.AlertDialog; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import android.os.Looper; import android.widget.Toast; import android.util.Log; import com.samourai.wallet.JSONRPC.TrustedNodeUtil; import com.samo...
package generics; import java.util.ArrayList; import java.util.Collection; import java.util.List; /** * Generic types not declared in class must be declared in method declaration * - Multiple types can be allowed * - Any letter with upper or lowercase is allowed * - Generic type declared in class can not be used in...
package com.t28.rxweather.model; import android.location.Criteria; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; import android.os.Looper; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.j...
package de.mygrades.util; import android.util.Log; import java.util.ArrayList; import java.util.List; import de.mygrades.database.dao.GradeEntry; import de.mygrades.view.adapter.model.GradeItem; import de.mygrades.view.adapter.model.GradesAdapterItem; /** * Calculates the average grade and credit points sum for a list...
package ee.ria.DigiDoc.android; import android.arch.lifecycle.ViewModel; import android.arch.lifecycle.ViewModelProvider; import android.content.ContentResolver; import android.content.Context; import android.content.Intent; import android.hardware.usb.UsbManager; import android.os.Bundle; import android.os.Handler; im...
package com.mrmodise.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.http.HttpMethod; import org.springframework.security.config.annotation.authentication.bu...
package be.billington.rob; import ch.qos.logback.classic.Logger; import ch.qos.logback.classic.LoggerContext; import ch.qos.logback.classic.encoder.PatternLayoutEncoder; import ch.qos.logback.core.ConsoleAppender; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import okio.*; import org.eclipse.s...
package com.Ryan.Calculator; public class Complex { public double real; public double imaginary; public double epsilon; // The tolerance for comparisons. Can be changed if a certain Complex is known to need a different epsilon static public double default_epsilon = 1E-6; // The default tolerance for all...
package com.vimeo.networking; import com.google.gson.Gson; import com.vimeo.networking.callbacks.ModelCallback; import com.vimeo.networking.logging.ClientLogger; import org.jetbrains.annotations.Nullable; public class GsonDeserializer { /** * Deserialize the json and call a callback method. * <p> * O...
package com.connfa.model.data; import android.content.ContentValues; import android.database.Cursor; import com.connfa.model.database.AbstractEntity; import com.connfa.model.database.AbstractEntityDAO; import com.connfa.utils.CursorStringParser; import com.google.gson.annotations.SerializedName; import java.text.ParseE...
package com.nbusy.app.worker; import android.util.Log; import com.google.common.eventbus.AsyncEventBus; import com.google.common.eventbus.EventBus; import com.nbusy.app.data.DB; import com.nbusy.app.data.DataMaps; import com.nbusy.app.data.InMemDB; import com.nbusy.app.data.Message; import com.nbusy.app.data.Profile; i...
package com.google.job.data; import com.google.api.core.ApiFuture; import com.google.cloud.firestore.*; import com.google.utils.FireStoreUtils; import org.junit.*; import java.io.IOException; import java.util.*; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import static com.google...
package org.traccar.protocol; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import org.junit.Test; public class H02ProtocolDecoderTest { @Test public void testDecode() throws Exception { H02ProtocolDecoder decoder = new H02ProtocolDecoder(null); decoder...
package com.sometrik.framework; import android.graphics.Color; import android.graphics.drawable.GradientDrawable; import android.graphics.drawable.ShapeDrawable; import android.graphics.drawable.shapes.RoundRectShape; import android.view.Gravity; import android.view.View; import android.view.ViewGroup.LayoutParams; imp...
package lt.markmerkk; import java.io.File; import java.io.IOException; import javax.annotation.PostConstruct; import javax.annotation.PreDestroy; import lt.markmerkk.storage2.SimpleIssue; import lt.markmerkk.storage2.SimpleLog; import lt.markmerkk.storage2.database.DBBaseExecutor; import lt.markmerkk.storage2.jobs.Crea...
package com.mapzen.tangram; import android.content.Context; import android.content.res.AssetManager; import android.opengl.GLSurfaceView; import android.opengl.GLSurfaceView.Renderer; import android.util.DisplayMetrics; import com.mapzen.tangram.TouchInput.Gestures; import com.squareup.okhttp.Callback; import com.squar...
package io.scif.formats; import io.scif.AbstractFormat; import io.scif.AbstractMetadata; import io.scif.AbstractParser; import io.scif.AbstractTranslator; import io.scif.ByteArrayPlane; import io.scif.ByteArrayReader; import io.scif.Format; import io.scif.FormatException; import io.scif.HasColorTable; import io.scif.Im...
package com.example.bmaroney_todolist; import java.util.HashSet; import java.util.Set; import java.util.TreeSet; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.view.Menu; import android.view.M...
package com.board.gd.domain.post; import com.board.gd.domain.post.form.*; import com.board.gd.domain.user.UserService; import com.board.gd.response.ServerResponse; import com.querydsl.core.types.Predicate; import lombok.extern.slf4j.Slf4j; import org.modelmapper.ModelMapper; import org.springframework.beans.factory.ann...
package de.jpaw.bonaparte.xml; import java.io.OutputStream; import javax.xml.bind.JAXBElement; import javax.xml.bind.JAXBException; import javax.xml.bind.Marshaller; import javax.xml.namespace.QName; import javax.xml.stream.XMLOutputFactory; import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamW...
package br.com.sailboat.canoe.helper; import android.content.Context; import android.support.annotation.NonNull; import android.text.format.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import br.com.sailboat.canoe.R; public class DateHelper { private sta...
package ucar.nc2.ncml; import static com.google.common.truth.Truth.assertThat; import java.util.Set; import java.util.stream.Collectors; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; import org.junit.experimental.categories.Category; import org.slf4j.Logger; import org.slf4j.LoggerFa...
package vr4java; import org.apache.commons.io.FileUtils; import org.apache.commons.io.IOUtils; import org.apache.log4j.Logger; import org.apache.log4j.xml.DOMConfigurator; import org.apache.maven.repository.internal.MavenRepositorySystemUtils; import org.eclipse.aether.DefaultRepositorySystemSession; import org.eclipse...
//Spanish Number Game v1.2.1 //Code by Ethan MacDonald on 4/27/16 . 4/28/16 . 4/29/16 . 5/1/16 . 5/16/16 //Checks a users spelling of a randomly generated Spanish number against proper spelling. //Eventually I'd like it to be able to look up a spelling based a user input. package spanishSpelling; import java.util.*; pu...
package logic; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.List; import java.i...
package org.codehaus.xfire.client; import java.io.InputStream; import java.net.URL; import java.util.Collection; import java.util.Iterator; import java.util.List; import javax.wsdl.Definition; import javax.wsdl.factory.WSDLFactory; import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamReader; imp...
package org.opentelecoms.media.rtp.secure; import java.io.ByteArrayOutputStream; import org.opentelecoms.media.rtp.secure.platform.EncryptorSuite; import org.opentelecoms.media.rtp.secure.platform.HMAC; import org.opentelecoms.media.rtp.secure.platform.LongSortedVector; import org.opentelecoms.media.rtp.secure.platform...
package com.alio; import java.util.ArrayList; import java.util.List; import com.alio.base.IExecutable; import com.alio.base.Node; import com.alio.exec.DivideExecutor; import com.alio.exec.MinusExecutor; import com.alio.exec.ModExecutor; import com.alio.exec.MultipyExecutor; import com.alio.exec.PlusExecutor; import com...
import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.HttpException; import org.apache.commons.httpclient.HttpStatus; import org.apache.commons.httpclient.NameValuePair; import org.apache.commons.httpclient.methods.GetMethod; import java.io.BufferedReader; import java.io.IOException; imp...
package bisq.network.p2p; import bisq.network.Socks5ProxyProvider; import bisq.network.crypto.EncryptionService; import bisq.network.p2p.messaging.DecryptedMailboxListener; import bisq.network.p2p.network.CloseConnectionReason; import bisq.network.p2p.network.Connection; import bisq.network.p2p.network.ConnectionListen...
package store.common; import static com.google.common.io.BaseEncoding.base16; import java.util.Arrays; public final class Hash implements Comparable<Hash> { private final byte[] value; public Hash(byte[] value) { this.value = value; } public Hash(String encoded) { this(base16() ...
package zutil.net.http; import java.net.URL; import java.util.HashMap; /** * Handles URLs in the HTTP protocol * * @author Ziver */ public class HttpURL { public static final String PROTOCOL_SEPARATOR = ": public static final String PORT_SEPARATOR = ":"; public static final String PATH_SEPARATOR = "/"; ...
package zutil.parser; import zutil.io.file.FileUtil; import zutil.log.LogUtil; import zutil.struct.MutableInt; import java.io.File; import java.io.IOException; import java.lang.reflect.Array; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java...
/** * The main frame of the entire suite. * * @author Amanda Fisher * @contrib Aidan Sawyer [rit: aks5238 | sf daniels-ai] */ import javax.swing.JFrame; import javax.swing.JTabbedPane; import java.awt.Toolkit; import one.d.electrophoresis.Electrophoresis; /** * The main frame for the JBioFramework program. * -A...
package com.xeiam.xchange.cryptsy; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.TimeZone; /** * @author ObsessiveOrange */ public final class CryptsyUtils { /** * private Constructor */ private CryptsyUtils() { } public static Date convertDa...
package org.knowm.xchange.kucoin; import static java.util.stream.Collectors.toCollection; import static org.knowm.xchange.dto.Order.OrderStatus.*; import static org.knowm.xchange.dto.Order.OrderType.ASK; import static org.knowm.xchange.dto.Order.OrderType.BID; import static org.knowm.xchange.kucoin.dto.KucoinOrderFlags...
package fr.masciulli.drinks.fragment; import android.app.Fragment; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuInflater; import androi...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.epics.util.array; import org.junit.AfterClass; import org.junit.Test; import static org.junit.Assert.*; import static org.hamcrest.Matchers.*; import org.junit.BeforeClass; import static org.epics.util.array....
package org.jetel.component; import java.nio.channels.WritableByteChannel; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.jetel.data.DataRecord; import org.jetel.data.Defaults; import org.jetel.data.formatter.provider.FixLenDataFormatterProvider; import org.jetel.data.lo...
package com.example.habitrack; import android.content.Context; import android.provider.CalendarContract; import android.util.Log; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import junit.runner.TestRunListener; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.File...
package org.jetel.util.compile; import java.io.File; import java.io.UnsupportedEncodingException; import java.lang.reflect.Method; import java.net.MalformedURLException; import java.net.URL; import java.net.URLClassLoader; import java.net.URLDecoder; import java.security.AccessController; import java.security.Privilege...
package com.example.habitrack; import android.content.Context; import android.util.Log; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.lang.reflect.Array; ...
package it.cnr.ilc.ilcsimpletypes; import java.util.Arrays; /** * * @author Riccardo Del Gratta &lt;riccardo.delgratta@ilc.cnr.it&gt; */ public class IlcSimpleLemma { private String theLemma; private int lemmaLength; private int id; private String type; /** * the referenced tokenid */ ...
/* * $Log: ConfigurationDigester.java,v $ * Revision 1.19 2007-10-24 08:28:03 europe\M00035F * Allow 'include' to work when no digester-rules.xml is specified, and use default configuration for 'stackTop' when stackTop = null * * Revision 1.18 2007/10/16 13:18:30 Tim van der Leeuw <tim.van.der.leeuw@ibissource...
package org.joda.time.convert; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import junit.framework.TestCase; import junit.framework.TestSuite; import org.joda.time.Chronology; import org.joda.time.DateTimeZone; import org.joda.time.PeriodType; import org.joda....
package com.notlob.jgrid.input; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import org.eclipse.swt.SWT; import org.eclipse.swt.events.MouseAdapter; import org.eclipse.swt.events.MouseEvent; import org.eclipse.swt.events.MouseMoveListener; import org.ecli...
package org.epics.pvmanager.loc; import org.epics.pvmanager.Collector; import org.epics.pvmanager.TUtil; import org.epics.pvmanager.ValueCache; import org.epics.pvmanager.data.VDouble; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.mockito.ArgumentC...
package org.epics.pvmanager.loc; import org.epics.pvmanager.*; import org.epics.pvmanager.data.VDouble; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import static org.mockito.Mockito.*; import static org.junit.Assert.*; import static org.hamcrest.Matche...
package com.jcabi.ssh; import com.google.common.io.Files; import com.jcabi.log.Logger; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.ServerSocket; import java.security.PublicKey...
package mho.qbar; import mho.haskellesque.numbers.Numbers; import org.junit.Test; import java.math.BigDecimal; import java.math.BigInteger; import java.math.RoundingMode; import static mho.haskellesque.ordering.Ordering.*; import static org.junit.Assert.*; public class RationalTest { @Test public void testConst...
package org.yamcs.client; import java.time.Instant; import java.util.Arrays; import java.util.Collections; import java.util.LinkedHashMap; import java.util.Map; import java.util.Map.Entry; import org.yamcs.protobuf.Commanding.CommandHistoryAttribute; import org.yamcs.protobuf.Commanding.CommandHistoryEntry; import org....
package org.jpmml.xjc; import java.util.Arrays; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.xml.namespace.QName; import com.sun.codemodel.JAnnotatable; import com.sun.codemodel.JAnnotationUse; import com.sun.codem...
package org.chenmin.auto.server; import org.chenmin.auto.client.GreetingService; import org.chenmin.auto.shared.FieldVerifier; import com.google.gwt.user.server.rpc.RemoteServiceServlet; /** * The server-side implementation of the RPC service. */ @SuppressWarnings("serial") public class GreetingServiceImpl extends Re...
package com.connectifier.xeroclient; import java.io.ByteArrayInputStream; import java.io.Reader; import java.io.StringWriter; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.TimeZone; import ja...
package org.jetel.interpreter.data; import org.jetel.metadata.DataFieldMetadata; public enum TLValueType { NULL(0,"NULL",true,false,false), INTEGER(1,"INTEGER",true,true,false), LONG(2,"LONG",true,true,false), DOUBLE(3,"DOUBLE",true,true,false), DECIMAL(4,"DECIMAL",true,true,false), BYTE(5,"BYTE...
package net.bither.bitherj.core; import net.bither.bitherj.api.GetHDMBIdRandomApi; import net.bither.bitherj.api.UploadHDMBidApi; import net.bither.bitherj.api.http.HttpException; import net.bither.bitherj.crypto.ECKey; import net.bither.bitherj.crypto.EncryptedData; import net.bither.bitherj.crypto.SecureCharSequence;...
package aQute.bnd.differ; import static aQute.bnd.service.diff.Delta.CHANGED; import java.io.File; import java.io.InputStream; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.Set; import java.ut...
package com.talkdata.service; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.logging.Logger; import javax.enterprise.context.RequestScoped; import javax.inject.Inject; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.POST; impor...
package sr_eels; import gui.GenericDialogPlus; import ij.IJ; import ij.ImageJ; import ij.ImagePlus; import ij.gui.GenericDialog; import ij.plugin.filter.ExtendedPlugInFilter; import ij.plugin.filter.PlugInFilterRunner; import ij.process.FloatProcessor; import ij.process.ImageProcessor; import java.awt.Desktop; import j...
package charts.builder.spreadsheet; import static com.google.common.collect.Lists.newLinkedList; import static java.lang.String.format; import java.io.IOException; import java.io.StringWriter; import java.util.List; import java.util.Map; import org.supercsv.io.CsvListWriter; import org.supercsv.prefs.CsvPreference; imp...
package io.xunyss.commons.exec; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import java.util.List; import io.xunyss.commons.io.IOUtils; import io.xunyss.commons.lang.ArrayUtils; import io.xunyss.commons.lang.RegularExpressions; /*...
package org.neo4j.server; import java.io.File; import org.neo4j.graphdb.TransactionFailureException; import org.neo4j.helpers.Service; import org.neo4j.kernel.configuration.Config; import org.neo4j.kernel.info.JvmChecker; import org.neo4j.kernel.info.JvmMetadataRepository; import org.neo4j.kernel.lifecycle.LifeSupport;...
package org.neo4j.server; import java.io.File; import java.util.logging.Level; import java.util.logging.Logger; import org.neo4j.graphdb.TransactionFailureException; import org.neo4j.helpers.Service; import org.neo4j.kernel.GraphDatabaseDependencies; import org.neo4j.logging.FormattedLogProvider; import org.neo4j.kerne...
package loci.formats.in; import java.io.File; import java.io.IOException; import java.util.Arrays; import java.util.Comparator; import java.util.Hashtable; import java.util.Vector; import loci.common.DataTools; import loci.common.DateTools; import loci.common.Location; import loci.common.RandomAccessInputStream; import...
package com.battlelancer.seriesguide.util; import android.content.Context; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.annotation.VisibleForTesting; import android.text.TextUtils; import android.text.format.DateFormat; import android.text.format.DateUtil...
package net.aws.filters; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.annotation.WebFilter; import javax...
package org.onlab.onos.net.device; import org.onlab.onos.event.AbstractEvent; import org.onlab.onos.net.Device; import org.onlab.onos.net.Port; import static com.google.common.base.MoreObjects.toStringHelper; /** * Describes infrastructure device event. */ public class DeviceEvent extends AbstractEvent<DeviceEvent.Ty...
package hudson.tasks._maven; import hudson.console.LineTransformationOutputStream; import java.io.IOException; import java.io.OutputStream; import java.nio.ByteBuffer; import java.nio.charset.Charset; import java.util.regex.Matcher; /** * Filter {@link OutputStream} that places annotations that marks various Maven out...
package org.bouncycastle.asn1; import java.io.IOException; import org.bouncycastle.util.Arrays; /** * ASN.1 UniversalString object - encodes UNICODE (ISO 10646) characters using 32-bit format. In Java we * have no way of representing this directly so we rely on byte arrays to carry these. */ public abstract class AS...
package org.jasig.cas.util; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.HttpVersion; import org.apache.commons.httpclient.MultiThreadedHttpConnectionManager; import org.apache.commons.httpclient.contrib.ssl.StrictSSLProtocolSocketFactory; import org.apache.commons.httpclient.pa...
package org.mskcc.cbio.portal.servlet; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.File; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedHashM...
package imagej.updater.core; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.zip.GZIPOutputStream; import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.SAXParser; i...