answer
stringlengths
17
10.2M
package com.stanfy.views; import android.content.Context; import android.util.AttributeSet; import android.util.Log; import android.view.MotionEvent; import android.view.View; public class Gallery extends android.widget.Gallery implements Runnable { /** Fling mode. */ private boolean flingMode = false; /** Last s...
package com.github.vbauer.yta.model; import com.github.vbauer.yta.model.basic.HasCode; import org.immutables.value.Value.Immutable; import org.immutables.value.Value.Parameter; import javax.annotation.Nonnull; import javax.annotation.Nullable; import java.util.Arrays; import java.util.Collection; import java.util.Colle...
package com.google.sps.data; import java.util.ArrayList; import java.util.List; import java.util.LinkedList; import java.util.Iterator; import com.google.appengine.api.datastore.DatastoreService; import com.google.appengine.api.datastore.DatastoreServiceFactory; import com.google.appengine.api.datastore.Entity; import ...
package com.home.teamnotifier; import com.google.common.util.concurrent.ThreadFactoryBuilder; import com.google.inject.AbstractModule; import com.google.inject.Provides; import com.home.teamnotifier.core.AppServerAvailabilityChecker; import com.home.teamnotifier.core.NotificationManager; import com.home.teamnotifier.co...
public class Deck { private int[] cards = new int[50]; public void initialize() { for (int i=0; i<cards.length(); i++) { cards[i] = i; } return true; } initialize(); public Deck(int numCards) { /* code not shown */ } public boolean inOrder() { int counter = 0; for (int i=0; i<cards...
package com.openlattice.postgres; import java.sql.ResultSet; import java.sql.SQLException; import java.util.Iterator; import java.util.NoSuchElementException; import java.util.function.Function; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @author Matthew Tamayo-Rios &lt;matthew@openlattice.com&gt; ...
package com.rmd.personal.projecteuler; import java.util.LinkedList; import java.util.Date; import java.util.List; public final class Common { private static final int MAX_PRIME_VALUE = 100000000; private Common() { } private static List<Long> primes; static { primes = new LinkedList<Long>();...
package com.royalrangers.service; import com.royalrangers.model.*; import com.royalrangers.bean.UserBean; import com.royalrangers.repository.AuthorityRepository; import com.royalrangers.repository.UserRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.crypto.p...
package com.sdl.selenium.extjs3.tab; import com.sdl.selenium.WebLocatorUtils; import com.sdl.selenium.extjs3.ExtJsComponent; import com.sdl.selenium.utils.config.WebDriverConfig; import com.sdl.selenium.web.SearchType; import com.sdl.selenium.web.WebLocator; import com.sdl.selenium.web.XPathBuilder; import com.sdl.sele...
package com.socotech.wf4j; import java.beans.PropertyEditor; import java.io.IOException; import java.io.InputStream; import java.lang.reflect.Array; import java.lang.reflect.Field; import java.util.Arrays; import java.util.Collections; import java.util.Enumeration; import java.util.List; import java.util.Map; import ja...
package com.socotech.wf4j; import java.beans.PropertyEditor; import java.io.IOException; import java.lang.reflect.Array; import java.lang.reflect.Field; import java.util.Arrays; import java.util.Collections; import java.util.Enumeration; import java.util.List; import java.util.Map; import java.util.Set; import java.uti...
package com.exedio.cope.util; import java.io.IOException; import java.io.PrintStream; import java.io.Serializable; import java.util.HashMap; import java.util.Iterator; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.se...
package com.timepath.hl2.hudeditor; import com.timepath.Utils; import com.timepath.hl2.io.RES; import com.timepath.hl2.io.VMT; import com.timepath.hl2.io.image.VTF; import com.timepath.plaf.IconList; import com.timepath.plaf.x.filechooser.BaseFileChooser; import com.timepath.plaf.x.filechooser.NativeFileChooser; import...
import com.google.gson.Gson; import java.util.HashMap; import java.util.Map; import java.util.Date; import static spark.Spark.get; public class SignUpServer { Gson gson = new Gson(); public SignUpServer() { checkUser(); } User user = new User(); // set default userlist String [] userlist = {...
package com.wepay.model.data; import org.json.*; public class PrefillInfoData { public String name; public String email; public String phone_number; public String address; public String city; public String state; public Integer zip; public String country; public String region; pu...
package utils; import controllers.UserApp; import models.User; import play.api.mvc.PlainResult; import play.mvc.Http; import play.mvc.Result; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; public class AccessLogger { /** * {@code value} null "-", . * * @param val...
package com.wizzardo.http; import com.wizzardo.epoll.ByteBufferProvider; import com.wizzardo.epoll.EpollServer; import com.wizzardo.epoll.IOThread; import java.io.IOException; import java.nio.ByteBuffer; import java.util.concurrent.BlockingQueue; import java.util.concurrent.LinkedBlockingQueue; public abstract class Ab...
package housing; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; public class Bank { // General fields private Config config = Model.config; // Passes the Model's configuration parameters object to a private field private CentralBank centralBank;...
package de.chandre.quartz.spring; import java.text.ParseException; import java.util.Date; import java.util.Map; import java.util.TimeZone; import org.quartz.CronTrigger; import org.quartz.Job; import org.quartz.JobDetail; import org.quartz.SimpleTrigger; import org.quartz.Trigger; import org.springframework.scheduling....
package de.htw_berlin.HoboOthello.Core; import java.util.ArrayList; import java.util.List; public class Board { public static final int BOARD_SIZE_EIGHT = 8; public static final int BOARD_SIZE_SIX = 6; public static final int BOARD_SIZE_TEN = 10; private int boardSize; private Field[][] fields; ...
package jena; import static jena.cmdline.CmdLineUtils.setLog4jConfiguration; import com.hp.hpl.jena.shared.JenaException ; import com.hp.hpl.jena.rdf.model.*; import java.net.*; import java.io.*; public class rdfcopy extends java.lang.Object { static { setLog4jConfiguration() ; } /** * @param ar...
package de.themoep.inventorygui; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.Nameable; import org.bukkit.Sound; import org.bukkit.block.BlockState; import org.bukkit.entity.Entity; import org.bukkit.entity.HumanEntity; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler;...
package spimedb; import ch.qos.logback.classic.Level; import ch.qos.logback.classic.LoggerContext; import ch.qos.logback.classic.encoder.PatternLayoutEncoder; import ch.qos.logback.core.Appender; import ch.qos.logback.core.ConsoleAppender; import ch.qos.logback.core.encoder.Encoder; import ch.qos.logback.core.rolling.F...
package natlab.tame; import java.util.ArrayList; import java.util.Collections; import java.util.List; import natlab.tame.callgraph.SimpleFunctionCollection; import natlab.tame.classes.reference.PrimitiveClassReference; import natlab.tame.valueanalysis.ValueAnalysis; import natlab.tame.valueanalysis.ValueAnalysisPrinter...
package edu.hm.hafner.analysis; import java.io.BufferedReader; import java.io.IOException; import java.io.Reader; import java.io.UncheckedIOException; import java.nio.charset.Charset; import java.nio.file.InvalidPathException; import java.util.function.Function; import java.util.regex.Pattern; import java.util.stream.C...
package com.coolerfall.download; import android.os.Process; import android.util.Log; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.RandomAccessFile; import java.util.concurrent.BlockingQueue; import static com.coolerfall.download.DownloadManager.HTTP_ERROR_SIZE; import stat...
package es.urjc.etsii.mtenrero; import es.urjc.etsii.mtenrero.ServicioInterno.MailerResponse; import org.springframework.http.ResponseEntity; import org.springframework.util.LinkedMultiValueMap; import org.springframework.util.MultiValueMap; import org.springframework.web.client.RestTemplate; import javax.net.ssl.SSLSo...
package water; import java.util.*; import javassist.*; import javassist.bytecode.*; import javassist.bytecode.SignatureAttribute.ClassSignature; import javassist.bytecode.SignatureAttribute.TypeArgument; import water.api.Request.API; import water.util.Log; import water.util.Log.Tag.Sys; public class Weaver { private ...
package pl.magosa.microbe; import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; public class TanhTransferFunctionTest { private static TransferFunction transferFunction; @BeforeClass public static void setUp() { ...
// S t e p M e n u // // Contact author at herve.bitteur@laposte.net to report bugs & suggestions. // package omr.step; import omr.Main; import omr.sheet.Sheet; import omr.sheet.SheetManager; import omr.util.Implement; import java.awt.event.*; import javax.swi...
package fr.insee.stamina.meta; import java.io.FileOutputStream; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.Date; import org.apache.jena.datatypes.BaseDatatype; import org.apache.jena.rdf.model.Literal; import org.apache.jena.rdf.model.Model; import org.apache.jena.rdf.model.ModelFac...
package fr.ourten.teabeans.property; import fr.ourten.teabeans.binding.BidirectionalBinding; import fr.ourten.teabeans.binding.WeakObservableListener; import fr.ourten.teabeans.listener.ValueChangeListener; import fr.ourten.teabeans.listener.ValueInvalidationListener; import fr.ourten.teabeans.value.ObservableValue; im...
package liquibase.datatype.core; import liquibase.database.Database; import liquibase.database.core.DB2Database; import liquibase.database.core.MSSQLDatabase; import liquibase.database.core.MySQLDatabase; import liquibase.database.core.OracleDatabase; import liquibase.datatype.DatabaseDataType; import liquibase.datatyp...
package gov.nasa.jpl.mbee.mdk; public class DocGen3Profile { public static final String sectionStereotype = "Dynamic View"; public static final String paragraphStereotype = "Paragraph"; public static final String documentStereotype = "zzDocument"; public static final String imageStereotype = "Image"; ...
package imagej.patcher; import ij.Macro; import ij.gui.DialogListener; import ij.plugin.filter.PlugInFilterRunner; import java.awt.Button; import java.awt.Checkbox; import java.awt.Color; import java.awt.Component; import java.awt.Font; import java.awt.Insets; import java.awt.Panel; import java.awt.TextArea; import jav...
package io.cogswell.sdk.pubsub; import android.net.Uri; import java.util.UUID; import java.util.concurrent.TimeUnit; import io.cogswell.sdk.utils.Duration; /** * Holds initialization options to use when first connect to Cogswell Pub/Sub */ public class PubSubOptions { /** * The default url to the production ...
package io.redis.client; import static org.testng.Assert.assertEquals; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.List; import java.util.Random; import java.util.concurrent.TimeUnit; import java.util.concurrent.ato...
package jenkins.plugins.coverity; import com.coverity.ws.v6.*; import com.coverity.ws.v9.SnapshotScopeSpecDataObj; import hudson.model.Hudson; import hudson.util.FormValidation; import org.apache.commons.lang.StringUtils; import org.kohsuke.stapler.DataBoundConstructor; import javax.xml.namespace.QName; import javax.xm...
package jenkins.plugins.git; import com.cloudbees.plugins.credentials.CredentialsMatchers; import com.cloudbees.plugins.credentials.CredentialsProvider; import com.cloudbees.plugins.credentials.common.StandardCredentials; import com.cloudbees.plugins.credentials.common.StandardUsernameCredentials; import com.cloudbees....
package lemming.table; import org.apache.wicket.ajax.AjaxRequestTarget; import org.apache.wicket.ajax.form.AjaxFormComponentUpdatingBehavior; import org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator; import org.apache.wicket.markup.html.form.CheckBox; import org.apache.wicket.markup.html.panel....
package mekfarm.containers; import net.minecraft.inventory.IInventory; import net.minecraft.inventory.Slot; import net.minecraft.tileentity.TileEntity; import net.minecraftforge.items.IItemHandler; public class CropFarmContainer extends FarmContainer { public CropFarmContainer(IInventory playerInventory, TileEntity...
package mx.nic.rdap.server; import java.io.IOException; import java.sql.SQLException; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Properties; import java.util.Set; import mx.nic.rdap.core.catalog.Role; import mx.nic.rdap.db.RdapUser; import...
package net.imagej.ops; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Map; import net.imagej.ops.convert.ConvertNamespace; import net.imagej.ops.copy.CopyNamespace; import net.imagej.ops.create.CreateNamespace; im...
package net.networkdowntime.search.trie; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import gnu.trove.map.hash.TCharObjectHashMap; public abstract class Trie { private static fi...
package exh3y.telebot; import java.util.HashMap; import javax.naming.directory.InvalidAttributesException; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.JsonNode; import com.mashape.unirest.http.Unirest...
package net.zomis.calculator.model; import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class ShuntYard { private final CalcContext context; public ShuntYard(CalcContext context) { this.context = context; } public List<Token> tokenize(String data) { List<T...
package com.ev3; import static io.undertow.Handlers.path; import static io.undertow.Handlers.websocket; import io.undertow.Undertow; import java.net.InetAddress; import java.net.NetworkInterface; import java.net.SocketException; import java.util.Arrays; import java.util.Enumeration; import lejos.hardware.Button; import...
package io.norberg.rut; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import java.util.List; import io.norberg.rut.RadixTrie.Node; import static java.lang.Math.max; import static java.util.Arrays.asList; import static org.hamcrest.Matchers.isEmptyOrNullString; import static org...
package yuku.alkitab.base.ac; import android.app.*; import android.content.*; import android.database.*; import android.os.*; import android.util.*; import android.view.*; import android.view.ContextMenu.ContextMenuInfo; import android.widget.AdapterView.AdapterContextMenuInfo; import android.widget.*; import java.io.*...
package nl.lumc.nanopub.store.dao; import java.net.URI; import java.util.List; import ch.tkuhn.nanopub.Nanopub; /** * * @author Eelke, Mark, Reinout, Rajaram * @since 30-10-2013 * @version 0.1 */ public interface NanopubDao { public URI storeNanopub(Nanopub nanopub); public Nanopub retrieveNanopub(URI uri)...
package org.jetbrains.plugins.scala.project; import com.intellij.lang.Language; import com.intellij.openapi.util.Key; import org.jetbrains.annotations.NotNull; import org.jetbrains.plugins.scala.Scala3Language; import org.jetbrains.plugins.scala.ScalaLanguage; import scala.Option; import scala.math.Ordered; import java...
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 SW9.controllers; import SW9.HUPPAAL; import SW9.abstractions.*; import SW9.backend.UPPAALDriver; import SW9.code_analysis.CodeAnalysis; import SW9.presentations.*; import SW9.utility.UndoRedoStack; import SW9.utility.colors.Color; import SW9.utility.helpers.BindingHelper; import SW9.utility.helpers.Circular; im...
package au.com.tyo.common.ui; import android.annotation.SuppressLint; import android.content.Context; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.ViewGroup; import android.widget.AbsListView; import android.widget.AbsListView.OnScrollListener; import android.widget.FrameLay...
package org.commcare.modern.database; import org.commcare.modern.models.EncryptedModel; import org.commcare.modern.util.Pair; import org.javarosa.core.services.storage.IMetaData; import org.javarosa.core.services.storage.Persistable; import org.javarosa.core.util.externalizable.Externalizable; import java.util.*; /** ...
package bbm.actions.impl; import bbm.actions.Action; import bbm.actions.ActionResolver; import static bbm.actions.ActionResolver.ActionType.*; public class ActionResolverImpl implements ActionResolver{ @Override public Action resolveAction(ActionType type, String branchName) { switch (type){ ...
package br.com.caelum.parsac.util; import java.util.ArrayList; import java.util.List; import java.util.regex.Pattern; public class ParserAfc { private List<String> linguagens = new ArrayList<String>(); public ParserAfc() { linguagens.add("java"); linguagens.add("xml"); linguagens.add("ht...
/* Leetcode Problem 450: Delete Node in a BST Given a root node reference of a BST and a key, delete the node with the given key in the BST. Return the root node reference (possibly updated) of the BST. Basically, the deletion can be divided into two stages: Search for a node to remove. If the node is found, delete the...
package br.uff.ic.provviewer.Filter; import br.uff.ic.utility.graph.Edge; import br.uff.ic.provviewer.GraphFrame; import br.uff.ic.provviewer.VariableNames; import br.uff.ic.provviewer.Variables; import br.uff.ic.utility.Utils; import br.uff.ic.utility.graph.AgentVertex; import br.uff.ic.utility.graph.EntityVertex; imp...
package br.uff.ic.provviewer.GUI; import br.uff.ic.provviewer.Variables; import br.uff.ic.utility.graph.Edge; import static br.uff.ic.provviewer.GraphFrame.StatusFilterBox; import br.uff.ic.provviewer.Layout.Temporal_Layout; import br.uff.ic.provviewer.Layout.OneDimensional_Layout; import br.uff.ic.utility.graph.AgentV...
package catastrophe.discovery; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Random; import java.util.Set; import com.ecwid.consul.transport.TransportException; import com.ecwid.consul.v1.ConsistencyMode; import com.ecwid.consul.v1.ConsulClient; import com.ecwid.consul.v1.Query...
package org.helm.notation.demo.tools; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.logging.Level; import java.util.logging.Logger; import org.helm.notation.MonomerFactory; import org.helm.notation.model.Monomer; import org.helm.notation.model.PolymerNode; import org.helm.notat...
/** * Finds the longest repeated substring(s) of a string. * * Time complexity: O(nlogn), bounded by suffix array construction * * @author William Fiset, william.alexandre.fiset@gmail.com **/ import java.util.*; public class LongestRepeatedSubstring { // Example usage public static void main(String[] args) { ...
package ch.liquidmind.inflection; import java.io.StringWriter; import java.lang.reflect.Field; import java.util.HashMap; import java.util.Map; import org.codehaus.jackson.map.ObjectMapper; import org.codehaus.jackson.map.ObjectWriter; import __java.lang.__Class; import __java.lang.reflect.__Field; import ch.liquidmind....
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net.sf.jaer.hardwareinterface.udp; import java.io.*; import java.net.*; import java.util.*; import java.util.logging.*; import net.sf.jaer.eventio.*; import net.sf.jaer.hardwareinterface.*; import net.sf.jaer.har...
package cn.lambdalib.util.datapart; import cn.lambdalib.networkcall.s11n.StorageOption.RangedTarget; import cpw.mods.fml.common.FMLCommonHandler; import net.minecraft.entity.Entity; import net.minecraft.nbt.NBTBase; import net.minecraft.nbt.NBTTagCompound; import cn.lambdalib.annoreg.core.Registrant; import cn.lambdali...
package org.springframework.roo.model; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.springframework.roo.support.util.Assert; import org.springframework.roo.support.util.StringUtils; public final class JavaSymbolName implements Comparable<JavaSymbolName> { /** Constant for keyword "true...
package net.somethingdreadful.MAL; import java.util.ArrayList; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import net.somethingdreadful.MAL.SearchActivity.networkThread; import net.somethingdreadful.MAL.api.BaseMALApi; import net.somethingdreadful.MAL.api.MALApi; import net.som...
package co.phoenixlab.discord; import com.google.gson.Gson; import org.json.simple.parser.ParseException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import sx.blah.discord.DiscordClient; import sx.blah.discord.handle.IDispatcher; import sx.blah.discord.handle.IListener; import sx.blah.discord.handle.impl....
package net.somethingdreadful.MAL; import android.annotation.SuppressLint; import android.app.FragmentManager; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.SearchManager; import android.content.BroadcastReceiver; import android.content.Com...
package application; import java.net.URL; import java.util.ResourceBundle; import java.util.Set; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.fxml.FXML; import javafx.fxml.Initializable; import javafx.scene.Node; import javafx.scene.chart.AreaChart; import javafx.scene.chart.PieChart...
package com.almasb.fxgl.app; import com.almasb.fxeventbus.EventBus; import com.almasb.fxgl.asset.AssetLoader; import com.almasb.fxgl.audio.AudioPlayer; import com.almasb.fxgl.event.FXGLEvent; import com.almasb.fxgl.gameplay.AchievementManager; import com.almasb.fxgl.gameplay.NotificationService; import com.almasb.fxgl....
package org.objectweb.asm.attrs; import org.objectweb.asm.Attribute; import org.objectweb.asm.ByteVector; import org.objectweb.asm.ClassReader; import org.objectweb.asm.ClassWriter; import org.objectweb.asm.Label; public class SourceDebugExtensionAttribute extends Attribute { private String debugExtension; public S...
package erogenousbeef.bigreactors.common; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.List; import appeng.api.Util; import thermalexpansion.api.crafting.CraftingHelpers; import net.minecraft.item.ItemStack; import net.minecraftforge.common.MinecraftForge; import...
package com.almasb.fxgl.app; import com.almasb.fxeventbus.Subscriber; import com.almasb.fxgl.devtools.profiling.Profiler; import com.almasb.fxgl.event.IntroFinishedEvent; import com.almasb.fxgl.gameplay.GameWorld; import com.almasb.fxgl.io.DataFile; import com.almasb.fxgl.logging.Logger; import com.almasb.fxgl.logging....
package org.opencms.ade.detailpage; import org.opencms.ade.config.CmsADEConfigurationManager; import org.opencms.ade.config.CmsSitemapConfigurationData; import org.opencms.file.CmsObject; import org.opencms.file.CmsResource; import org.opencms.main.CmsException; import org.opencms.main.OpenCms; import java.util.ArrayLi...
package org.codice.nitf.filereader; public class RGBColour { private byte red = 0x00; private byte green = 0x00; private byte blue = 0x00; private static final int UNSIGNED_BYTE_MASK = 0xFF; public RGBColour(final byte[] rgb) { // TODO: check array length = 3; red = rgb[0]; g...
// This file is part of JavaSMT, // an API wrapper for a collection of SMT solvers: package org.sosy_lab.java_smt.solvers.cvc5; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkState; import com.google.common.base.Preconditions; import com.google....
package org.dannil.httpdownloader.model; import java.io.Serializable; import java.util.Collection; import java.util.LinkedList; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import j...
package com.cisco.trex.stateless; import java.net.Inet4Address; import java.net.InetAddress; import java.net.UnknownHostException; import java.util.AbstractMap; import java.util.ArrayList; import java.util.Arrays; import java.util.Base64; import java.util.Collections; import java.util.HashMap; import java.util.LinkedLi...
// This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the blocks indicating autogenerated code o...
package org.dyfaces.renderer; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.faces.application.ResourceDependencies; imp...
package com.constantcontact; import com.constantcontact.components.accounts.AccountInfo; import com.constantcontact.components.accounts.VerifiedEmailAddress; import com.constantcontact.components.activities.contacts.request.AddContactsRequest; import com.constantcontact.components.activities.contacts.request.ClearLists...
package com.illposed.osc.argument; import java.io.Serializable; /** * This class represents an OSC 32bit unsigned integer. * We use this class, because Java has no matching primitive data-type, * and <tt>long</tt> is already used for signed 64bit integers. */ public final class OSCUnsigned implements Cloneable, Ser...
package com.docusign.esign.client; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.*; import com.fasterxml.jackson.datatype.joda.*; import com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider; import com.sun.jersey.api.client.Client; import com.sun.jersey.api.client.ClientResponse; impo...
package com.dteknoloji.domain.beacon; import java.io.Serializable; import javax.persistence.*; import javax.validation.constraints.Size; import org.springframework.hateoas.ResourceSupport; import org.springframework.web.bind.annotation.ResponseBody; import com.dteknoloji.domain.beaconGroup.BeaconGroup; import com.faste...
package org.italiangrid.srm.client; import gov.lbl.srm.StorageResourceManager.ArrayOfAnyURI; import gov.lbl.srm.StorageResourceManager.ArrayOfTGetFileRequest; import gov.lbl.srm.StorageResourceManager.ISRM; import gov.lbl.srm.StorageResourceManager.SRMServiceLocator; import gov.lbl.srm.StorageResourceManager.SrmLsReque...
// This file is part of the Salesforce Marketing Cloud Java client library. // modification, are permitted provided that the following conditions // are met: // documentation and/or other materials provided with the distribution. // * Neither the name of ExactTarget, Inc. nor the names of its // contributors may be use...
/* @java.file.header */ package org.gridgain.grid.cache; import org.gridgain.grid.lang.*; import org.jetbrains.annotations.*; /** * Cache projection flags that specify projection behaviour. This flags can be explicitly passed into * the following methods on {@link GridCacheProjection}: * <ul> * <li>{@link GridCache...
package com.forgeessentials.util; import java.util.ArrayList; import java.util.Collection; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.UUID; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayerMP; import net.m...
package com.github.davidmoten.rx; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.EOFException; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; impo...
package org.jlib.core.collections.list; import java.util.ArrayList; import org.jlib.core.collections.Collection; /** * <p> * Fixed sized array. Replacement for the standard Java arrays with special features. * </p> * <p> * The only syntactical difference to Java arrays lies in the syntax of setting and * getting ...
package com.flexibledeveloper.observer; import org.junit.Test; public class ObserverTest { @Test public void nominalBehavior() { System.out.println("Creating Subject"); ConcreteSubject subject = new ConcreteSubject(); Data originalData = new Data("Original Value 1","Original Value 2","Original Value 3")...
package com.github.jerdeb.daqvalidator; import java.io.IOException; import java.net.URI; import javax.json.stream.JsonGenerator; import org.glassfish.grizzly.http.server.HttpServer; import org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpServerFactory; import org.glassfish.jersey.server.ResourceConfig; public class ...
package com.github.mongobee.utils; import com.github.mongobee.changeset.ChangeEntry; import com.github.mongobee.exception.MongobeeChangeSetException; import com.github.mongobee.test.changelogs.*; import junit.framework.Assert; import org.junit.Test; import java.lang.reflect.Method; import java.util.List; import static ...
package com.github.kratorius.jefs; import com.github.kratorius.jefs.internal.BitUtils; import java.util.Collection; import java.util.Iterator; import java.util.NoSuchElementException; import java.util.Queue; import java.util.concurrent.atomic.AtomicLong; import javax.annotation.Nonnull; public class SPSCQueue<T> implem...
package org.jtrfp.trcl.obj; import java.awt.Dimension; import java.util.List; import javax.media.opengl.GL3; import org.apache.commons.math3.geometry.euclidean.threed.Vector3D; import org.jtrfp.trcl.AnimatedTexture; import org.jtrfp.trcl.RenderMode; import org.jtrfp.trcl.Sequencer; import org.jtrfp.trcl.Triangle; impor...
package com.salesforce.phoenix.schema; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.math.BigDecimal; import java.math.BigInteger; import j...
package com.github.tminglei.bind; import java.util.*; /** * object used to hold bind result or errors */ public class BindObject implements Iterable<Map.Entry<String, Object>> { static final String DEFAULT_KEY = "_default$"; private final Object errors; private final Map<String, Object> data; BindObje...
package org.lightmare.utils.earfile; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.util.Collections; import java.util.Set; import java.util.zip.ZipEntry; import java.util.zip.ZipFile; import org.lightmare.jpa.ConfigLoader; import org.lightmare.utils.Abstra...