answer
stringlengths
17
10.2M
package org.chromium.distiller; import com.google.gwt.dom.client.AnchorElement; import com.google.gwt.dom.client.BaseElement; import com.google.gwt.dom.client.Document; import com.google.gwt.dom.client.Element; import com.google.gwt.user.client.Window; public class PagingLinksFinderTest extends DomDistillerJsTestCase {...
// SECTION-END package org.jomc.logging; // SECTION-START[Documentation] /** * Logs events for a specific component. * <p>This specification declares a multiplicity of {@code One}. * An application assembler is required to provide no more than one implementation of this specification (including none). * Use of clas...
package com.badlogic.gdx.tests; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.GL10; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.Texture.TextureFilter; import com.badlogic.gdx.scenes.scene2d.Action; import com.badlogic.gdx.scenes.scene2d.OnActionCompleted; import com.badlog...
package org.jgroups.tests; import org.jgroups.JChannel; import org.jgroups.Message; import org.jgroups.ReceiverAdapter; import org.jgroups.protocols.TP; import org.jgroups.util.Util; import java.util.LinkedList; import java.util.List; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; /...
package com.charlesmadere.hummingbird.models; import android.os.Build; import com.charlesmadere.hummingbird.BuildConfig; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.RobolectricTestRunner; import org.robolectric.annotation.Config; import java.lang.reflect.Const...
package tlc2.tool.impl; import java.io.File; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.function.Supplier; import tla2sany.parser.SyntaxTreeNode; import tla2sany.semantic.APSubstInNode; import tla2sany.semantic.ExprNode; import tla2sany.semantic.Exp...
package natlab.toolkits.analysis; import ast.*; import java.util.*; /** * Very General interface for analysis. Note: implementations should * supply a standard constructor that takes in ASTNode as argument. */ public interface Analysis extends NodeCaseHandler { /** * Executes the analysis. */ publi...
package pl.grzeslowski.jsupla.protocol.decoders; import pl.grzeslowski.jsupla.protocol.calltypes.CallType; import pl.grzeslowski.jsupla.protocol.structs.ds.DeviceServer; public interface DecoderFactory { <T extends DeviceServer> Decoder<T> getDecoderForCallType(CallType callType); }
package org.bouncycastle.jcajce.provider.keystore.bc; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.security.Key; import java.sec...
package io.quantumdb.core.planner; import static org.junit.Assert.assertEquals; import java.util.Map; import com.google.common.collect.Sets; import io.quantumdb.core.backends.PostgresqlDatabase; import io.quantumdb.core.schema.definitions.Catalog; import io.quantumdb.core.schema.definitions.Column; import io.quantumdb....
package com.rho.net; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; //import javolution.io.UTF8StreamReader; import com.rho.RhoClassFactory; //import com.rho.RhoConf; import com.rho.RhoConf; import com.rho.RhoEmptyLogger; import com.rho.RhoLogger; import com.rho.SimpleFile; import ...
package net.sandius.rembulan.gen; import net.sandius.rembulan.core.CallInfo; import net.sandius.rembulan.core.ControlThrowable; import net.sandius.rembulan.core.Coroutine; import net.sandius.rembulan.core.Function; import net.sandius.rembulan.core.LuaState; import net.sandius.rembulan.core.ObjectStack; import net.sandi...
package com.rho.net; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; //import javolution.io.UTF8StreamReader; import com.rho.RhoClassFactory; //import com.rho.RhoConf; import com.rho.FilePath; import com.rho.IRhoRubyHelper; import com.rho.RhoConf; import com.rho.RhoEmptyLogger; impo...
package net.somethingdreadful.MAL; import android.content.Context; import android.content.res.Resources; import android.util.Log; import com.crashlytics.android.Crashlytics; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.Calendar; import java.util.Date; imp...
package git4idea.history; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.text.StringUtil; import com.intellij.openapi.vcs.VcsException; import com.intellij.util.Function; import com.intellij.util.containers.ContainerUtil; import com.intellij....
package io.socket; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map.Ent...
package jfmi.dao; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.Statement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.Iterator; import java.util.Set; import java.util.SortedSet; import java.util.TreeSet; import jfmi.app.FileTag; import jfmi.app.TaggedFile;...
package com.yahoo.security.tls; import com.yahoo.security.KeyStoreBuilder; import com.yahoo.security.KeyStoreType; import com.yahoo.security.KeyUtils; import com.yahoo.security.SslContextBuilder; import com.yahoo.security.X509CertificateUtils; import com.yahoo.security.tls.authz.PeerAuthorizerTrustManager; import com.y...
package org.zanata.security; import static org.jboss.seam.ScopeType.SESSION; import java.util.List; import javax.faces.context.ExternalContext; import javax.servlet.http.HttpServletRequest; import org.jboss.seam.Component; import org.jboss.seam.ScopeType; import org.jboss.seam.annotations.AutoCreate; import org.jboss.s...
package gameEngine.model; import gameEngine.factory.gridFactory.GridFactory; import gameEngine.factory.towerfactory.TowerFactory; import gameEngine.model.purchase.PurchaseInfo; import gameEngine.model.tile.Tile; import gameEngine.model.tower.Tower; import gameEngine.model.warehouse.EnemyWarehouse; import gameEngine.mod...
package gameEngine.model; import gameEngine.factory.GridFactory; import gameEngine.factory.towerfactory.TowerFactory; import gameEngine.model.tower.Tower; import gameEngine.model.warehouse.EnemyWarehouse; import gameEngine.model.warehouse.TowerWarehouse; import gameEngine.parser.Parser; import java.awt.Dimension; impor...
package org.elasticsearch.indices.recovery; import org.apache.logging.log4j.Logger; import org.apache.logging.log4j.message.ParameterizedMessage; import org.apache.lucene.index.CorruptIndexException; import org.apache.lucene.index.IndexCommit; import org.apache.lucene.index.IndexFormatTooNewException; import org.apache...
package com.intellij.ide; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.application.ex.ApplicationManagerEx; import com.intellij.openapi.application.impl.LaterInvocator; import com.intellij.openapi.components.ApplicationComponent; import com.intellij.openapi.diagnostic.Logger; ...
package org.jboss.as.server.deployment.integration; import org.jboss.as.server.deployment.Attachments; import org.jboss.as.server.deployment.DeploymentPhaseContext; import org.jboss.as.server.deployment.DeploymentUnit; import org.jboss.as.server.deployment.DeploymentUnitProcessingException; import org.jboss.as.server.d...
package org.realityforge.gwt.appcache.server; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Map; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.ServletOutputStream; i...
package com.badlogic.gradletest; import com.badlogic.gdx.*; import com.badlogic.gdx.audio.Music; import com.badlogic.gdx.audio.Sound; import com.badlogic.gdx.graphics.*; import com.badlogic.gdx.graphics.g2d.BitmapFont; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.graphics.g3d.*; import com....
package cucumber.runtime.io; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; class FileResource implements Resource { private final File root; private final File file; private final boolean classpathFileResource; static FileResource createFile...
package hudson.tools; import hudson.Extension; import hudson.model.Node; import hudson.model.TaskListener; import java.io.IOException; import java.util.Map; import java.util.WeakHashMap; import java.util.concurrent.Semaphore; /** * Actually runs installations. * @since 1.305 */ @Extension public class InstallerTrans...
package com.google.sps.agents; // Imports the Google Cloud client library import com.google.gson.Gson; import com.google.maps.errors.ApiException; import com.google.protobuf.Struct; import com.google.protobuf.Value; import com.google.sps.data.Video; import com.google.sps.utils.WorkoutUtils; import java.io.IOException; ...
// This file is part of the Whiley-to-Java Compiler (wyjc). // The Whiley-to-Java Compiler is free software; you can redistribute // it and/or modify it under the terms of the GNU General Public // The Whiley-to-Java Compiler is distributed in the hope that it // You should have received a copy of the GNU General Publi...
// This file is part of the Whiley-to-Java Compiler (wyjc). // The Whiley-to-Java Compiler is free software; you can redistribute // it and/or modify it under the terms of the GNU General Public // The Whiley-to-Java Compiler is distributed in the hope that it // You should have received a copy of the GNU General Publi...
// modification, are permitted provided that the following conditions are met: // documentation and/or other materials provided with the distribution. // * Neither the name of the <organization> nor the // names of its contributors may be used to endorse or promote products // ANY EXPRESS OR IMPLIED WARRAN...
package hey.rich.countit; import java.util.ArrayList; import java.util.List; import java.util.TimerTask; import wei.mark.standout.StandOutWindow; import wei.mark.standout.constants.StandOutFlags; import wei.mark.standout.ui.Window; import android.content.Intent; import android.os.Handler; import android.os.Handler.Call...
package org.batfish.client; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.PrintStream; import java.io.PrintWriter; i...
package ibis.ipl.server; import ibis.ipl.registry.ControlPolicy; import ibis.ipl.registry.central.server.CentralRegistryService; import ibis.ipl.registry.gossip.BootstrapService; import ibis.ipl.support.management.ManagementService; import ibis.smartsockets.SmartSocketsProperties; import ibis.smartsockets.direct.Direct...
package info.tregmine; import info.tregmine.api.*; import info.tregmine.commands.*; import info.tregmine.database.*; import info.tregmine.database.db.DBContextFactory; import info.tregmine.events.CallEventListener; import info.tregmine.listeners.*; import info.tregmine.quadtree.IntersectionException; import info.tregmi...
/* $Log$ Revision 1.2 1999/06/30 12:24:54 rimassa Fixed a bug dealing with unlimited message queues. Revision 1.1 1999/03/25 16:50:44 rimassa This class implements a message queue for an agent, that can be either bounded or unbounded and adopts a FIFO replacement policy. */ package jade.core; import jav...
package japura.Tribes; import japura.MonoUtil.MonoConf; import org.bukkit.entity.Player; import org.bukkit.plugin.java.JavaPlugin; import org.bukkit.scheduler.BukkitRunnable; import org.bukkit.Bukkit; import org.bukkit.entity.EntityType; import org.json.simple.JSONObject; public class AutoSave extends BukkitRunnable{ ...
package nut.xml.pull; import java.io.InputStream; import java.io.InputStreamReader; import java.io.EOFException; import java.io.IOException; import java.io.Reader; import java.io.UnsupportedEncodingException; //import nut.xml.XmlReader; //import ab.nut.util.ReaderFactory; //import java.util.Hashtable; //TODO best handl...
package MWC.GUI.ETOPO; import java.io.File; import java.io.IOException; import java.io.RandomAccessFile; import java.util.TreeMap; import MWC.GUI.CanvasType; import MWC.GUI.Editable; import MWC.GUI.Chart.Painters.SpatialRasterPainter; import MWC.GUI.Properties.LineWidthPropertyEditor; import MWC.GenericData.WorldArea; ...
package org.openntf.arpa; import java.io.Serializable; import java.util.HashMap; import java.util.logging.Logger; /** * NamePartsMap carries the various component string values that make up a name. * * @author Devin S. Olson (dolson@czarnowski.com) * */ public class NamePartsMap extends HashMap<NamePartsMap.Key, S...
package org.apps8os.trafficsense.first; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; import android.app.AlarmManager; import android.app.PendingIntent; import android.app.Service; import android.content.BroadcastReceiver; import android.content.Cont...
package zielu.gittoolbox.ui.blame; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.ide.CopyPasteManager; import com.intellij.openapi.progress.PerformInBackgroundOption; import com.intellij.openapi.progress.ProgressIndicator; import com.intellij.openapi.progress.ProgressManager; import com.int...
package io.github.rlee287.jrainbuck.constants; import java.util.HashMap; public class Constants { //public static final int CLASSIC_SIZE=30000; public static final String[] LIST_SWITCHES={"-file","-input","-output"}; /* 0|file MANDATORY * 1|stdin OPTIONAL * 2|stdout OPTIONAL */ public ...
package nut.project; import nut.artifact.Artifact; //import nut.artifact.ArtifactUtils; import nut.logging.Log; import nut.model.Build; import nut.model.Dependency; import nut.model.Model; import nut.model.xmlReader; import nut.project.InvalidDependencyVersionException; import nut.project.NutProject; import nut.project...
package hudson; import com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider; import com.thoughtworks.xstream.core.JVM; import hudson.model.Hudson; import hudson.model.User; import hudson.triggers.Trigger; import hudson.triggers.SafeTimerTask; import hudson.util.*; import javax.naming.Context; impor...
package org.bonej.testImages; import net.imagej.ImgPlus; import net.imagej.axis.Axes; import net.imagej.axis.AxisType; import net.imagej.ops.OpEnvironment; import net.imglib2.FinalDimensions; import net.imglib2.img.Img; import net.imglib2.type.logic.BitType; /** * A utility class to create an ImgPlus that follows the ...
package hudson.model; import com.thoughtworks.xstream.XStream; import hudson.FeedAdapter; import hudson.XmlFile; import hudson.CopyOnWrite; import hudson.model.Descriptor.FormException; import hudson.scm.ChangeLogSet; import hudson.util.RunList; import hudson.util.XStream2; import org.kohsuke.stapler.StaplerRequest; im...
package gameOfLife.packageTracker.shipping; import java.util.HashMap; import java.util.Random; import gameOfLife.packageTracker.exceptions.InvalidUserNameException; import gameOfLife.packageTracker.exceptions.InvalidUserNameException.InvalidUserNameType; public class User { private final HashMap<String , User> users...
package com.junjunguo.pocketmaps.util; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import com.junjunguo.pocketmaps.R; import com.junjunguo.pocketmaps.activities.MainActivi...
package com.vk.vktestapp; import android.app.AlertDialog; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v7.app.ActionBarActivity; import android.util.L...
package ragnardb.plugin; import gw.lang.reflect.*; import gw.lang.reflect.java.JavaTypes; import gw.util.GosuExceptionUtil; import ragnardb.RagnarDB; import ragnardb.parser.ast.Expression; import ragnardb.runtime.SQLConstraint; import ragnardb.runtime.SQLRecord; import java.io.IOException; import java.sql.Connection; i...
package com.jetbrains.python.psi.types; import com.google.common.collect.ImmutableSet; import com.intellij.codeInsight.lookup.LookupElement; import com.intellij.codeInsight.lookup.LookupElementBuilder; import com.intellij.openapi.extensions.Extensions; import com.intellij.openapi.util.SystemInfo; import com.intellij.op...
package org.rakam.util; import io.netty.handler.codec.http.HttpResponseStatus; import javax.annotation.Nullable; import java.text.Normalizer; import static io.netty.handler.codec.http.HttpResponseStatus.BAD_REQUEST; import static java.util.Locale.ENGLISH; public final class ValidationUtil { private ValidationUtil()...
package net.kencochrane.raven.dsn; import mockit.Expectations; import mockit.Mocked; import mockit.NonStrictExpectations; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import javax.naming.Context; import java.lang.reflect.Field; import java.net.URI; import java.util.Collections; import...
package re.notifica.reactnative; import com.facebook.react.bridge.Arguments; import com.facebook.react.bridge.ReadableArray; import com.facebook.react.bridge.ReadableMap; import com.facebook.react.bridge.ReadableMapKeySetIterator; import com.facebook.react.bridge.ReadableType; import com.facebook.react.bridge.WritableA...
package com.creatubbles.api.service; import com.creatubbles.api.EndPoints; import com.creatubbles.api.model.creation.Creation; import com.creatubbles.api.model.creation.ToybooDetails; import com.creatubbles.api.model.image_manipulation.ImageManipulation; import com.creatubbles.api.model.upload.Upload; import com.creatu...
package org.pmiops.workbench.db.dao; import com.google.api.client.http.HttpStatusCodes; import com.google.api.services.oauth2.model.Userinfoplus; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableList; import java.io.IOExceptio...
package org.whattf.datatype; import java.io.IOException; import java.util.Arrays; import java.util.regex.Pattern; import org.relaxng.datatype.DatatypeException; import org.whattf.datatype.data.LanguageData; /** * * @version $Id$ * @author hsivonen */ public final class Language extends AbstractDatatype { /** ...
package com.example.saurabhkumar.downz; import android.Manifest; import android.content.Intent; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.net....
package com.instamojo.androidsdksample; import android.app.ProgressDialog; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.AppCompatEditText; import android.support.v7.widget.AppCompatSpinner; import andr...
package com.nikita.recipiesapp.common.models; import java.util.List; public final class Recipe { public final int id; public final String name; public final List<Ingredient> ingredients; public final List<Step> steps; public final int servings; private final String image; public Recipe(int id, ...
package com.platypii.baseline.altimeter; import android.content.Context; import android.content.SharedPreferences; import android.hardware.Sensor; import android.hardware.SensorEvent; import android.hardware.SensorEventListener; import android.hardware.SensorManager; import android.preference.PreferenceManager; import ...
package com.seandbeach.stockticker; import android.os.Bundle; import android.preference.ListPreference; import android.preference.Preference; import android.preference.PreferenceActivity; import android.preference.PreferenceManager; import android.preference.SwitchPreference; public class SettingsActivity extends Prefe...
package com.tamic.retrofitclient.net; import android.content.Context; import android.text.TextUtils; import android.util.Log; import com.tamic.retrofitclient.IpResult; import java.io.File; import java.util.Map; import java.util.concurrent.TimeUnit; import okhttp3.Cache; import okhttp3.ConnectionPool; import okhttp3.OkH...
package fm.jiecao.jiecaovideoplayer; import android.app.ActionBar; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.view.MenuItem; import android.view.ViewGroup; import android.webkit.JavascriptInterface; import android.webkit.WebView;...
package me.devsaki.hentoid.activities; import android.content.Intent; import android.os.Bundle; import android.support.v7.preference.Preference; import android.support.v7.preference.PreferenceFragmentCompat; import android.support.v7.preference.PreferenceScreen; import me.devsaki.hentoid.R; import me.devsaki.hentoid.ab...
package net.squanchy.support.debug; import android.content.Context; import android.content.SharedPreferences; import net.squanchy.BuildConfig; public class DebugPreferences { private static final String PREFERENCES_NAME_DEBUG = "debug"; private static final String KEY_CONTEST_TESTING_ENABLED = "contest.testing_...
package org.stepic.droid.ui.fragments; import android.os.AsyncTask; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.design.widget.TabLayout; import android.support.v4.view.ViewPager; import android.support.v7.app.AppCompatActivity; ...
package se.chalmers.dat255.sleepfighter; import se.chalmers.dat255.sleepfighter.model.AlarmList; import se.chalmers.dat255.sleepfighter.persist.PersistenceManager; import se.chalmers.dat255.sleepfighter.utils.message.Message; import se.chalmers.dat255.sleepfighter.utils.message.MessageBus; import android.app.Applicatio...
package uk.ac.ebi.gxa.statistics; import java.io.Serializable; import java.util.*; import it.uniroma3.mat.extendedset.ConciseSet; public class Statistics implements Serializable { private static final long serialVersionUID = -164439988781254870L; private Map<Integer, Map<Integer, ConciseSet>> statistics = ...
package org.chromium.base; import android.app.Notification; import android.graphics.drawable.Drawable; import android.os.Build; import android.view.View; import android.view.ViewGroup.MarginLayoutParams; import android.view.ViewTreeObserver; /** * Utility class to use new APIs that were added after ICS (API level 14)....
package org.basex.query.func.admin; import static org.basex.core.users.UserText.*; import static org.basex.query.QueryError.*; import java.io.*; import java.math.*; import java.util.*; import org.basex.io.*; import org.basex.query.*; import org.basex.query.iter.*; import org.basex.query.value.*; import org.basex.query....
package io.bootique.meta.module; import io.bootique.meta.MetadataNode; import io.bootique.meta.config.ConfigListMetadata; import io.bootique.meta.config.ConfigMapMetadata; import io.bootique.meta.config.ConfigMetadataNode; import io.bootique.meta.config.ConfigMetadataVisitor; import io.bootique.meta.config.ConfigObject...
package de.hpi.bpmn2execpn.converter; import java.util.ArrayList; import java.util.List; import sun.reflect.generics.reflectiveObjects.NotImplementedException; import de.hpi.bpmn.BPMNDiagram; import de.hpi.bpmn.IntermediateEvent; import de.hpi.bpmn.SubProcess; import de.hpi.bpmn.Task; import de.hpi.bpmn2execpn.model.Ex...
import java.awt.Color; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import javax.imageio.ImageIO; import javax.swing.BoxLayout; import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.JPanel; import javax...
package org.opencms.ade.galleries.client.preview.ui; import org.opencms.ade.galleries.client.preview.CmsImagePreviewHandler; import org.opencms.ade.galleries.client.preview.I_CmsPreviewHandler; import org.opencms.ade.galleries.client.ui.Messages; import org.opencms.ade.galleries.client.ui.css.I_CmsLayoutBundle; import ...
/* * Chat server */ package freeleserver; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.InetAddress; import java.net.ServerSocket; import java.net.Socket; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.M...
package nl.b3p.viewer.util; import java.io.IOException; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import nl.b3p.viewer.config.app.Application; import nl.b3p.viewer.config.app.A...
package com.oldterns.vilebot.handlers.user; import ca.szc.keratin.bot.annotation.HandlerContainer; import ca.szc.keratin.core.event.message.recieve.ReceivePrivmsg; import com.oldterns.vilebot.Vilebot; import com.oldterns.vilebot.db.KarmaDB; import net.engio.mbassy.listener.Handler; import org.jsoup.Jsoup; import twitte...
package org.jgrapes.http; import java.net.SocketAddress; import java.nio.ByteBuffer; import java.util.Map; import java.util.WeakHashMap; import org.jdrupes.httpcodec.HttpRequest; import org.jdrupes.httpcodec.HttpRequestDecoder; import org.jdrupes.httpcodec.HttpResponse; import org.jdrupes.httpcodec.HttpResponseEncoder;...
import java.io.File; import java.util.ArrayList; import java.util.Arrays; import components.simplereader.SimpleReader; import components.simplereader.SimpleReader1L; /** * This class retrieves the saved data from the /data folder and uses it to * create a visual graph * * @author Thomas Clark */ public final class...
package org.locationtech.geogig.plumbing.diff; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkState; import static com.google.common.collect.Iterables.transform; import static com....
import java.util.*; /* Computes Ext_A^{s,t} (M, Z/2) through a minimal resolution of M. */ /* This seems to work effectively through about t=75, and then becomes prohibitively slow. */ public class ResMain { /* upper bound on total degree to compute */ static final int T_CAP = 100; static final boolean DEBU...
package com.sapienter.jbilling.server.user.balance; import com.sapienter.jbilling.common.Constants; import com.sapienter.jbilling.server.item.CurrencyBL; import com.sapienter.jbilling.server.order.db.OrderDAS; import com.sapienter.jbilling.server.order.event.NewOrderEvent; import com.sapienter.jbilling.server.order.eve...
package bisq.desktop.util; import bisq.desktop.components.AddressTextField; import bisq.desktop.components.AutoTooltipButton; import bisq.desktop.components.AutoTooltipCheckBox; import bisq.desktop.components.AutoTooltipLabel; import bisq.desktop.components.AutoTooltipRadioButton; import bisq.desktop.components.AutoToo...
package net.codejva; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; //import com.hp.hpl.jena.rdf...
package au.com.centrumsystems.hudson.plugin.buildpipeline; import hudson.Util; import hudson.model.Item; import hudson.model.AbstractBuild; import hudson.model.AbstractProject; import hudson.model.FreeStyleProject; import hudson.model.Hudson; import java.text.DateFormat; import java.util.ArrayList; import java.util.Dat...
package ru.job4j; public class Model<V> implements Versionable { /** * Name. */ String name; V v; final private int version; /** * Constructor. */ public Model() { this.version = 0; } /** * Constructor. * @param v v */ public Model(V v) { ...
package com.github.appreciated.quickstart.base.navigation.upload; import java.io.*; import java.nio.charset.StandardCharsets; public class Upload { private File file; private StringUploadListener stringUploadListener; private ByteUploadListener byteUploadListener; private FileUploadListener fileUploadLi...
package com.wegas.core.rest; import java.lang.management.*; import java.util.*; import javax.ejb.Stateless; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; @Stateless @Path("JvmStats") @Produces(MediaType.APPLICATION_JSON) pu...
package plugin.google.maps; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.annotation.TargetApi; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphi...
package com.google.gcs.sdrs.service.worker.impl; import com.google.api.services.storagetransfer.v1.Storagetransfer; import com.google.api.services.storagetransfer.v1.model.ObjectConditions; import com.google.api.services.storagetransfer.v1.model.TimeOfDay; import com.google.api.services.storagetransfer.v1.model.Transfe...
package com.ning.http.client.providers.grizzly; import com.ning.http.client.AsyncHandler; import com.ning.http.client.AsyncHttpClientConfig; import com.ning.http.client.AsyncHttpProvider; import com.ning.http.client.Body; import com.ning.http.client.BodyGenerator; import com.ning.http.client.ConnectionsPool; import com...
package com.openlattice.postgres.mapstores; import static com.google.common.base.Preconditions.checkState; import com.codahale.metrics.annotation.Timed; import com.dataloom.streams.StreamUtil; import com.google.common.collect.ImmutableList; import com.google.common.collect.MapMaker; import com.google.common.collect.Set...
package de.prob2.ui.consoles.groovy.codecompletion; import java.io.IOException; import javax.script.ScriptEngine; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import de.prob2.ui.consoles.groovy.GroovyConsole; import de.prob2.ui.consoles.groovy.objects.GroovyAbstractItem; import javafx.collections.FXCollecti...
/* * GeneralProperty.java * */ package de.uni_stuttgart.vis.vowl.owl2vowl.parser; import de.uni_stuttgart.vis.vowl.owl2vowl.model.nodes.BaseNode; import de.uni_stuttgart.vis.vowl.owl2vowl.model.nodes.classes.BaseClass; import de.uni_stuttgart.vis.vowl.owl2vowl.model.nodes.classes.OwlThing; import de.uni_stuttgart.vi...
package dk.statsbiblioteket.medieplatform.newspaper.manualQA; import dk.statsbiblioteket.medieplatform.autonomous.ResultCollector; import dk.statsbiblioteket.medieplatform.autonomous.iterator.common.AttributeParsingEvent; import dk.statsbiblioteket.medieplatform.autonomous.iterator.eventhandlers.DefaultTreeEventHandler...
package org.jetbrains.idea.devkit.projectRoots; import com.intellij.openapi.application.ApplicationStarter; import com.intellij.openapi.application.PathManager; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.progress.ProcessCanceledException; import com.intellij.openapi.progress.ProgressIndi...
package microsoft.exchange.webservices.data; import javax.xml.stream.XMLStreamException; import java.lang.reflect.Array; import java.lang.reflect.Type; import java.util.*; import java.util.Map.Entry; /** * Represents a user configuration's Dictionary property. */ @EditorBrowsable(state = EditorBrowsableState.Never) p...