answer
stringlengths
17
10.2M
package com.vrg.rapid; import com.google.common.net.HostAndPort; import com.vrg.rapid.pb.MembershipServiceGrpc; import io.grpc.ClientInterceptor; import io.grpc.MethodDescriptor; import io.grpc.ServerInterceptor; import org.junit.After; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.j...
package org.neo4j.kernel.ha; import java.util.HashMap; import java.util.Map; import org.neo4j.kernel.CommonFactories; import org.neo4j.kernel.IdGeneratorFactory; import org.neo4j.kernel.IdType; import org.neo4j.kernel.ha.zookeeper.ZooKeeperException; import org.neo4j.kernel.impl.nioneo.store.IdGenerator; import org.neo...
// PrairieReader.java package loci.formats.in; import java.io.File; import java.io.IOException; 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 loci.common.xml.BaseHandler; im...
package timely; import static com.google.common.util.concurrent.Uninterruptibles.sleepUninterruptibly; import static java.nio.charset.StandardCharsets.UTF_8; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.io.BufferedReader; import java.io.File; import java.io.FileWri...
package com.parc.ccn.data.security; import java.sql.Timestamp; import java.util.Arrays; import javax.xml.stream.XMLStreamException; import com.parc.ccn.data.util.DataUtils; import com.parc.ccn.data.util.GenericXMLEncodable; import com.parc.ccn.data.util.XMLDecoder; import com.parc.ccn.data.util.XMLEncodable; import com...
package com.parc.ccn.security.crypto.util; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.math.BigInteger; import java.security.Key; import java.security.KeyFactory; import java.security.NoSuchAlgorithmException; import java.security.PublicKey; import ...
package test.ccn.library.io; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.security.DigestInputStream; import java.security.DigestOutputStream; import java.security.InvalidAlgorithmParameterException; import java.security.I...
// This file is part of the Kaltura Collaborative Media Suite which allows users // to do with audio, video, and animation what Wiki platfroms allow them to do with // text. // This program is free software: you can redistribute it and/or modify // published by the Free Software Foundation, either version 3 of the // T...
// This file is part of the Kaltura Collaborative Media Suite which allows users // to do with audio, video, and animation what Wiki platfroms allow them to do with // text. // This program is free software: you can redistribute it and/or modify // published by the Free Software Foundation, either version 3 of the // T...
// This file is part of the Kaltura Collaborative Media Suite which allows users // to do with audio, video, and animation what Wiki platforms allow them to do with // text. // This program is free software: you can redistribute it and/or modify // published by the Free Software Foundation, either version 3 of the // T...
// This file is part of the Kaltura Collaborative Media Suite which allows users // to do with audio, video, and animation what Wiki platfroms allow them to do with // text. // This program is free software: you can redistribute it and/or modify // published by the Free Software Foundation, either version 3 of the // T...
// This file is part of the Kaltura Collaborative Media Suite which allows users // to do with audio, video, and animation what Wiki platforms allow them to do with // text. // This program is free software: you can redistribute it and/or modify // published by the Free Software Foundation, either version 3 of the // T...
// This file is part of the Kaltura Collaborative Media Suite which allows users // to do with audio, video, and animation what Wiki platforms allow them to do with // text. // This program is free software: you can redistribute it and/or modify // published by the Free Software Foundation, either version 3 of the // T...
/* * $Id: Organ.java,v 1.21 2009-06-04 18:49:09 pandyas Exp $ * * $Log: not supported by cvs2svn $ * Revision 1.20 2009/06/04 16:59:08 pandyas * getting ready for QA build * * Revision 1.19 2009/06/04 15:03:07 pandyas * testing preferred description in new methods * * Revision 1.18 2009/05/20 17:07:20 p...
package br.senac.tads.pi3a.dao; import br.senac.tads.pi3a.model.Cliente; /** * * @author Elton */ public class DaoCliente extends AbstractDao { public DaoCliente() { } public DaoCliente(Cliente model) { super(model); } }
package org.spongycastle.openpgp; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.List; import org.spongyc...
package uk.ac.ox.oucs.vle.proxy; import java.net.URLEncoder; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.Map.Entry; import javax.crypto.Cipher; import javax.crypto.spec.SecretKeySpec; import org.apache.commons.codec.binary.Base64; import org.a...
package org.pdxfinder.utilities; import org.apache.commons.cli.Option; import org.pdxfinder.dao.*; import org.pdxfinder.repositories.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; import org.springframework.util.Assert; import java.time.Instant; import java....
package mil.nga.giat.mage.sdk.fetch; import android.content.Context; import android.util.Log; import com.google.common.io.ByteStreams; import java.io.File; import java.io.FileOutputStream; import java.io.InputStream; import java.net.URL; import java.sql.SQLException; import java.util.ArrayList; import java.util.Collect...
package org.xtreemfs.common.benchmark; import org.xtreemfs.foundation.logging.Logging; import org.xtreemfs.pbrpc.generatedinterfaces.DIR; import org.xtreemfs.utils.DefaultDirConfig; import java.io.IOException; import java.util.concurrent.ConcurrentLinkedQueue; import static org.xtreemfs.common.benchmark.BenchmarkUtils....
package org.xtreemfs.osd.rwre; import java.io.IOException; import java.net.InetSocketAddress; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Queue; import java.util.concurrent.atomic.AtomicInteger; import org.xtreemfs.comm...
package edu.gatech.oad.antlab.person; /** * A simple class for person 4 * returns their name and a * modified string * * @author Bob * @version 1.1 */ public class Person4 { /** Holds the persons real name */ private String name = "Jin W. Chung"; /** * The constructor, takes in the persons ...
package fredboat.audio; import com.sedmelluq.discord.lavaplayer.player.AudioConfiguration; import com.sedmelluq.discord.lavaplayer.player.AudioPlayer; import com.sedmelluq.discord.lavaplayer.player.AudioPlayerManager; import com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager; import com.sedmelluq.discord...
package com.polarbirds.gifcreator; import java.awt.image.BufferedImage; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FilenameFilter; import java.io.IOException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import javax.imagei...
package com.gokuai.base; import com.gokuai.base.utils.Util; import java.util.*; public class SignAbility { static List<String> IGNORE_KEYS = Arrays.asList("filehash", "filesize", "sign"); protected final String mClientId; protected final String mSecret; public SignAbility(String clientId, String secret)...
package org.bridj; import org.bridj.ann.Convention.Style; import java.lang.reflect.*; import java.lang.annotation.*; import java.util.Arrays; import org.bridj.Pointer; import org.bridj.ann.CLong; import org.bridj.ann.Constructor; import org.bridj.ann.Ptr; import org.bridj.util.DefaultParameterizedType; import org.bridj...
package com.facebook.litho; import static com.facebook.litho.ComponentLifecycle.StateUpdate; import static com.facebook.litho.FrameworkLogEvents.EVENT_LAYOUT_CALCULATE; import static com.facebook.litho.FrameworkLogEvents.EVENT_PRE_ALLOCATE_MOUNT_CONTENT; import static com.facebook.litho.FrameworkLogEvents.PARAM_IS_BACK...
package imagej.legacy; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.io.StringWriter; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.Enumeration; import java.u...
import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import java.sql.*; import java.util.*; import org.apache.commons.fileupload.DiskFileUpload; import org.apache.commons.fileupload.FileItem; import oracle.sql.*; import oracle.jdbc.*; import java.awt.Image; import java.awt.image.BufferedImage; import ...
package hudson.diagnosis; import hudson.model.AdministrativeMonitor; import jenkins.model.Jenkins; import hudson.Extension; import org.jenkinsci.Symbol; import org.kohsuke.stapler.StaplerRequest; import org.kohsuke.stapler.StaplerResponse; import java.io.IOException; /** * If Hudson is run with a lot of jobs but no vi...
package net.novucs.ftop.listener; import net.novucs.ftop.FactionsTopPlugin; import net.novucs.ftop.PluginService; import net.novucs.ftop.entity.FactionWorth; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.event.HandlerList; import org.bukkit.event.Listener; import org.buk...
package org.mskcc.cbio.cgds.util; import org.mskcc.cbio.cgds.dao.*; import org.mskcc.cbio.cgds.model.CancerStudy; import org.mskcc.cbio.cgds.model.CanonicalGene; import org.mskcc.cbio.cgds.model.Gistic; import org.mskcc.cbio.cgds.validate.ValidateGistic; import org.mskcc.cbio.cgds.validate.validationException; import o...
package org.mskcc.cbio.portal.dao; import org.mskcc.cbio.portal.model.*; import org.mskcc.cbio.portal.model.ExtendedMutation.*; import org.mskcc.cbio.portal.util.MutationKeywordUtils; import org.apache.commons.lang.StringUtils; import java.sql.*; import java.util.*; /** * Data access object for Mutation table */ publ...
package alpaca; import java.util.ArrayList; import java.util.HashMap; import com.firebase.client.DataSnapshot; import com.firebase.client.Firebase; import com.firebase.client.FirebaseError; import com.firebase.client.ValueEventListener; import alpaca.Alpaca; /** * This class is used to store alpaca objects. It first ...
package com.galvarez.ttw.model; import java.util.ArrayList; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.artemis.Aspect; import com.artemis.ComponentMapper; import com.artemis.Entity; import com.artemis.annotations.Wire; import com.artemis.systems.EntityProcessingSystem; im...
package jenkins.model; import com.google.common.base.Predicate; import hudson.Extension; import hudson.Util; import hudson.model.Job; import hudson.model.PermalinkProjectAction.Permalink; import hudson.model.Run; import hudson.model.TaskListener; import hudson.model.listeners.RunListener; import hudson.util.AtomicFileW...
package hudson.model; import hudson.model.MultiStageTimeSeries.TimeScale; import junit.framework.TestCase; import org.apache.commons.io.IOUtils; import org.jfree.chart.JFreeChart; import javax.imageio.ImageIO; import java.awt.image.BufferedImage; import java.io.File; import java.io.FileOutputStream; import java.io.IOEx...
package com.ionic.keyboard; import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaInterface; import org.apache.cordova.CordovaPlugin; import org.apache.cordova.CordovaWebView; import org.apache.cordova.LOG; import org.apache.cordova.PluginResult.Status; import org.json.JSONArray; import org.json.J...
package com.marketo.plugin; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.util.Base64; import android.util.Log; import java.io.BufferedInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.net.U...
package bam.display.opengl; import bam.display.DisplayParams; import lombok.extern.slf4j.Slf4j; import nativelibs.NativeLibsBinder; import nativelibs.NativeLibsJarIntrospectSearch; import nativelibs.NativeLibsSearch; import org.lwjgl.LWJGLException; import org.lwjgl.opengl.Display; import org.lwjgl.opengl.GL11; import ...
package org.ethereum.core; import org.ethereum.crypto.ECKey; import org.ethereum.db.ByteArrayWrapper; import org.ethereum.manager.WorldManager; import org.ethereum.net.submit.WalletTransaction; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.spongycastle.util.encoders.Hex; import org.springframework...
package org.ethereum.mine; import com.google.common.util.concurrent.ListenableFuture; import com.google.common.util.concurrent.ListeningExecutorService; import com.google.common.util.concurrent.MoreExecutors; import org.apache.commons.lang3.tuple.Pair; import org.ethereum.config.SystemProperties; import org.ethereum.co...
package enc; import static java.lang.System.out; import java.io.IOException; import java.util.Random; import org.apache.parquet.bytes.HeapByteBufferAllocator; import org.apache.parquet.column.values.delta.DeltaBinaryPackingValuesWriterForInteger; import org.apache.parquet.column.values.plain.PlainValuesWriter; public c...
package com.liferay.lms; import java.io.Serializable; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Locale; import java.util.Map; import com.liferay.counter.service.CounterLocalServiceUti...
package ru.revdaalex.oodsrp; import org.junit.Assert; import org.junit.Test; import static org.hamcrest.core.Is.is; public class InteractCalcTest { /** * Test add. */ @Test public void whenTakeSumAndExit(){ MockIO mockIO = new MockIO(new String[]{"1", "1", "1", "7"}); Calculator ca...
package edu.umd.cs.findbugs.ba; import java.util.*; import org.apache.bcel.Constants; import org.apache.bcel.classfile.*; import org.apache.bcel.generic.*; /** * A forward dataflow analysis to determine the types of all values * in the Java stack frame at all points in a Java method. * The values include local varia...
package bisq.network.p2p.peers; import bisq.network.p2p.BundleOfEnvelopes; import bisq.network.p2p.NodeAddress; import bisq.network.p2p.network.Connection; import bisq.network.p2p.network.NetworkNode; import bisq.network.p2p.storage.messages.BroadcastMessage; import bisq.common.Timer; import bisq.common.UserThread; imp...
package com.redhat.ceylon.compiler.java.metadata; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * A type parameter of a Ceylon type or method (should be contained in an * {@link TypeParameters @TypeParameters()}). */ @Retention(RetentionPo...
package rx.android.preferences; import android.content.SharedPreferences; import rx.Observable; import rx.functions.Action1; import rx.functions.Func1; /** A preference of type {@link T}. Instances can be created from {@link RxSharedPreferences}. */ public final class Preference<T> { /** Stores and retrieves instance...
package org.davidmoten.rx.jdbc; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertTrue; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java....
package phrase; import io.FileUtil; import joptsimple.OptionParser; import joptsimple.OptionSet; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.PrintStream; import java.util.List; import java.util.Random; import phrase.Corpus.Edge; import arr.F; public class Traine...
package phrase; import io.FileUtil; import joptsimple.OptionParser; import joptsimple.OptionSet; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.PrintStream; import java.util.List; import java.util.Random; import phrase.Corpus.Edge; import arr.F; public class Traine...
import org.simgrid.msg.Msg; import org.simgrid.msg.Host; import org.simgrid.msg.NativeException; import org.simgrid.msg.Task; import org.simgrid.msg.HostFailureException; import org.simgrid.msg.TaskCancelledException; import org.simgrid.msg.TimeoutException; import org.simgrid.msg.TransferFailureException; public class...
package com.rafkind.paintown.animator; import java.util.*; import java.io.*; public class DrawState { private static boolean drawingEnabled; private static Vector currentDirectoryList; public static boolean isDrawEnabled() { return drawingEnabled; } public static void setDrawEnabled(bool...
import java.util.List; public class Pattern { public String head; public String headTag; public String modifier; public String modifierTag; public Relation relation; public Pattern mother; public Pattern father; public Pattern(String head, String modifier, Relation relation) { th...
package nta.engine; import com.google.common.collect.Lists; import nta.catalog.TCatUtil; import nta.catalog.TableMeta; import nta.catalog.proto.CatalogProtos.StoreType; import nta.catalog.statistics.StatisticsUtil; import nta.catalog.statistics.TableStat; import nta.engine.MasterInterfaceProtos.Command; import nta.engi...
package cs4295.memecreator; import java.io.File; import java.io.FileOutputStream; import java.text.SimpleDateFormat; import java.util.Date; import android.app.ActionBar; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.c...
package com.google.cordova.plugin; import java.util.Iterator; import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaInterface; import org.apache.cordova.CordovaPlugin; import org.apache.cordova.LinearLayoutSoftKeyboardDetect; import org.json.JSONArray; import org.json.JSONException; import org.jso...
package roart.util; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Set; impor...
package com.dwarfartisan.parsec; import org.junit.Assert; import org.junit.Test; import org.junit.Before; import org.junit.After; import java.io.EOFException; /** * BasicState Tester. * * @author <Authors name> * @since <pre> 2, 2016</pre> * @version 1.0 */ public class BasicStateTest0 { private State<Charact...
package alien4cloud.it; import java.beans.IntrospectionException; import java.io.IOException; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.Set; import lombok.Getter...
import java.util.Hashtable; import java.util.Arrays; /** * Every person has a profile, containing a list of cities * containing the attractions they have rated or will be suggested * * @author Siena - Aidan * @version May */ public class Profile { protected int[][] ratings = new int[100][2]; //saves the r...
package beast.evolution.substitutionmodel; import java.util.Arrays; import beast.core.CalculationNode; import beast.core.Description; import beast.core.Input; import beast.core.Input.Validate; import beast.core.parameter.RealParameter; import beast.evolution.alignment.Alignment; import beast.evolution.datatype.DataType...
package ca.eandb.jmist.framework.color; import ca.eandb.jmist.framework.Raster; /** * Default implementations for <code>Raster</code>. * @author Brad Kimmel */ public abstract class AbstractRaster implements Raster { /** Serialization version ID. */ private static final long serialVersionUID = -3717804516623...
package de.haw.rnp.client.model; import de.haw.rnp.util.AddressType; import javafx.beans.property.IntegerProperty; import javafx.beans.property.SimpleIntegerProperty; import javafx.beans.property.SimpleStringProperty; import javafx.beans.property.StringProperty; import java.net.InetAddress; import java.net.UnknownHostE...
import java.io.*; import java.util.*; import java.util.function.BiConsumer; import java.util.function.BinaryOperator; import java.util.function.Function; import java.util.function.Supplier; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.stream.Collector; import static java.util.stream....
package scalac.util; public class Names { public static final Name ERROR = Name.ERROR; public static final Name EMPTY = Name.fromString(""); public static final Name WILDCARD = Name.fromString("_"); public static final Name COMPOUND_NAME = Name.fromString("<ct>"); public static final Name ANON_CLASS...
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 tv.rocketbeans.supermafiosi.screens; import aurelienribon.tweenengine.BaseTween; import aurelienribon.tweenengine.Tween; import aurelienribon.tweenengine.TweenCallback; import aurelienribon.tweenengine.TweenEquations; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.audio.Music; import com.badlogic.gdx.grap...
package imagej.updater.ui; import imagej.updater.core.Conflicts; import imagej.updater.core.Conflicts.Conflict; import imagej.updater.core.Conflicts.Resolution; import imagej.updater.core.Diff; import imagej.updater.core.Diff.Mode; import imagej.updater.core.FileObject; import imagej.updater.core.FileObject.Action; imp...
package de.lessvoid.coregl; import java.io.*; import java.lang.reflect.*; import java.nio.*; import java.util.*; import java.util.logging.*; import de.lessvoid.coregl.spi.CoreGL; /** * Helper class that represents a shader (actually the combination of a vertex * and a fragment shader - what GL actually calls a progra...
package edu.cmu.sv.kelinci; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintStream; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; im...
package io.sidecar.client; import static com.google.common.base.Throwables.propagate; import static io.sidecar.security.signature.SignatureVersion.Version.ONE; import java.net.MalformedURLException; import java.net.URL; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map;...
package org.intermine.util; import java.lang.reflect.Constructor; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Set; import junit.framework.TestCase; import org.intermine.metadata.Model; import org.inte...
package org.intermine.web; import java.util.Iterator; import junit.framework.TestCase; import org.intermine.model.testmodel.Department; import org.intermine.model.testmodel.Employee; import org.intermine.objectstore.ObjectStore; import org.intermine.objectstore.dummy.ObjectStoreDummyImpl; /** * Tests for InterMineBag....
package org.intermine.dwr; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; import javax.servlet.http....
package org.opencms.gwt.client.ui.input; import org.opencms.gwt.client.I_CmsHasInit; import org.opencms.gwt.client.ui.I_CmsAutoHider; import org.opencms.gwt.client.ui.css.I_CmsInputCss; import org.opencms.gwt.client.ui.css.I_CmsInputLayoutBundle; import org.opencms.gwt.client.ui.css.I_CmsLayoutBundle; import org.opencm...
package org.intermine.dwr; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.lang.reflect.Constructor; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Has...
package org.pentaho.di.ui.trans.step; import java.util.ArrayList; import java.util.List; import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.CCombo; import org.eclipse.swt.events.ModifyEvent; import org.eclipse.swt.events.ModifyListener; import org.eclipse.swt.event...
package org.intermine.dwr; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.LinkedHashSet; import ja...
package sample.javafx.property; import javafx.beans.property.SimpleDoubleProperty; public class Main { public static void main(String[] args) { SimpleDoubleProperty a = new SimpleDoubleProperty(); SimpleDoubleProperty b = new SimpleDoubleProperty(); System.out.println(b.get()); a.set...
public static void main(String[] args) throws Exception { { class InsecureTrustManager implements X509TrustManager { @Override public X509Certificate[] getAcceptedIssuers() { return null; } @Override public void checkServerTrusted(X...
package org.javatari.atari.network; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.javatari.atari.cartridge.Cartridge; import org.javatari.atari.console.Console; import org.javatari.atari.console.savestate.ConsoleState; import org.javatari.atari.consol...
package nl.sense_os.service; import nl.sense_os.service.commonsense.SenseApi; import nl.sense_os.service.constants.SensePrefs; import nl.sense_os.service.constants.SensePrefs.Auth; import nl.sense_os.service.constants.SensePrefs.Main.Advanced; import nl.sense_os.service.constants.SensePrefs.Main.Motion; import nl.sense...
package com.cloud.network.lb; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Random; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.Executors; im...
package gw2trades.server.frontend; import gw2trades.repository.api.ItemRepository; import gw2trades.repository.api.Order; import gw2trades.repository.api.Query; import gw2trades.repository.api.model.ListingStatistics; import gw2trades.repository.api.model.SearchResult; import gw2trades.server.model.SeoMeta; import org....
package io.spine.server.storage; import com.google.common.annotations.VisibleForTesting; import com.google.common.collect.ImmutableSet; import com.google.protobuf.Message; import io.spine.annotation.Internal; import io.spine.query.ColumnName; import org.checkerframework.checker.nullness.qual.Nullable; import java.util....
package org.spine3.server.stand; import com.google.protobuf.Any; import org.junit.Assert; import org.junit.Test; import org.mockito.ArgumentMatchers; import org.spine3.testdata.TestStandFactory; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.Executor; import java.util.c...
package cz.muni.fi.pa165.service; import java.util.List; import javax.inject.Inject; import org.springframework.stereotype.Service; import cz.muni.fi.pa165.dao.BookDao; import cz.muni.fi.pa165.entity.Book; import cz.muni.fi.pa165.enums.BookState; import cz.muni.fi.pa165.exceptions.LibraryServiceException; /** * Implem...
package com.github.letsdrink.intellijplugin; import com.google.common.base.Function; import com.google.common.base.Predicates; import com.google.common.collect.FluentIterable; import com.google.common.collect.Iterables; import com.intellij.openapi.project.Project; import com.intellij.openapi.vfs.VfsUtil; import com.int...
import java.util.*; /** * Loop through the tiles and find out how many of them have matching edges. Then, * based upon the number of shared edges we do the following: * * 0: ERROR!! * 1: If a tile has only one matching edge, then it's easy to say where it needs * to be placed. * 2: Work outwards from the centre....
package com.slooce.smpp; import static com.slooce.smpp.SlooceSMPPUtil.sanitizeCharacters; import org.jsmpp.DefaultPDUReader; import org.jsmpp.DefaultPDUSender; import org.jsmpp.InvalidResponseException; import org.jsmpp.PDUException; import org.jsmpp.SynchronizedPDUSender; import org.jsmpp.bean.AlertNotification; impor...
package org.jboss.forge.addon.shell; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import javax.annotation.PreDestroy; import javax.enterprise.inject.Vetoed; import org.jboss.aesh.console.Conso...
package com.intellij.diagnostic; import com.intellij.util.containers.ObjectLongHashMap; import org.jetbrains.annotations.ApiStatus; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.util.*; import java.util.concurrent.ConcurrentLinkedQueue; import java.util.function.Consum...
package modules; import java.util.HashSet; import bot.Message; public class Voting implements Module { private boolean isvoting = false; private HashSet<String> voted = new HashSet<String>(); private double yes = 0; private double votes = 0; private String voteroom; private Message m; privat...
package com.interview.array; public class SortedArrayTransformation { public int[] sortTransformedArray(int[] nums, int a, int b, int c) { int start = 0; int end = nums.length - 1; int[] result = new int[nums.length]; int index = (a >= 0 ? nums.length - 1 : 0); while (start <...
package ch.uzh.fabric.controller; import ch.uzh.fabric.config.ProfileProperties; import ch.uzh.fabric.config.SecurityConfig; import ch.uzh.fabric.model.*; import ch.uzh.fabric.service.CarService; import ch.uzh.fabric.service.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springfr...
package com.miviclin.droidengine2d.scene; import java.util.HashMap; import java.util.Map; import com.miviclin.droidengine2d.Game; import com.miviclin.droidengine2d.graphics.Graphics; /** * SceneManager. * * @author Miguel Vicente Linares * */ public class SceneManager { private HashMap<String, Scene> scenes; ...
/* * $Id$ * $URL$ */ package org.subethamail.plugin.filter; import java.io.UnsupportedEncodingException; import java.util.Collections; import java.util.Set; import java.util.TreeSet; import javax.annotation.security.RunAs; import javax.mail.MessagingException; import javax.mail.internet.MimeUtility; import org.apach...
package com.intellij.openapi.diagnostic; import com.intellij.util.ArrayUtilRt; import com.intellij.util.ExceptionUtil; import com.intellij.util.containers.ContainerUtil; import org.apache.log4j.Level; import org.jetbrains.annotations.Contract; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.N...