answer
stringlengths
17
10.2M
package cx2x.xcodeml.xnode; import org.w3c.dom.Element; import org.w3c.dom.Node; import java.util.*; /** * The XtypeTable represents the typeTable (3.1) element in XcodeML intermediate * representation. * * Elements: ( FbasicType | FfunctionType | FstructType ) * * - Optional: * - FbasicType (XbasicType) * -...
package net.md_5.bungee; import com.google.common.base.Preconditions; import com.google.common.base.Predicate; import com.google.common.collect.Iterables; import com.google.common.collect.Sets; import com.google.gson.GsonBuilder; import net.md_5.bungee.api.Favicon; import net.md_5.bungee.api.ServerPing; import net.md_5...
package api.web.gw2.mapping.v2.wvw.objectives; import api.web.gw2.mapping.core.Coord2DValue; import api.web.gw2.mapping.core.Coord3DValue; import api.web.gw2.mapping.v2.wvw.MapType; import api.web.gw2.mapping.core.IdValue; import api.web.gw2.mapping.core.LocalizedResource; import api.web.gw2.mapping.core.OptionalValue;...
package backupbuddies.gui; import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.util.Map; import java.util.HashMap; import java.lang.*; //do not import util.* //there is a Timer class in util and swing that conflict //currently using swing timer import backupbuddies.shared.Interface; import sta...
package be.ibridge.kettle.cluster; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.util.ArrayList; import java.util.Hashtable; import java.util.Properties; import be.ibridge.kettle.core.SharedObjects; import be.ibridge.kettle.core.databa...
package bzh.plealog.dbmirror.util.runner; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.InputStreamReader; import java.text.MessageFormat; import java.util.ArrayList; import java.util.Hashtable; import java.util.List; import java.util.Map; import org.apache.commons.l...
package cn.shuto.maximo.tool.migration.app; import java.io.File; import java.io.IOException; import java.io.Writer; import java.sql.Clob; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import ...
package com.adsdk.sdk.customevents; import com.chartboost.sdk.Chartboost; import com.chartboost.sdk.ChartboostDelegate; import com.chartboost.sdk.Chartboost.CBAgeGateConfirmation; import com.chartboost.sdk.Model.CBError.CBClickError; import com.chartboost.sdk.Model.CBError.CBImpressionError; import android.app.Activity...
package com.android.email.mail.store; import java.io.IOException; import java.io.InputStream; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.Locale; import android.util.Config; import android.util.Log; import com.android.email.Emai...
package com.anmipo.android.trentobus.view; import android.content.Context; import android.content.res.Resources; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Paint.Align; import android.graphics.Paint.Style; import android.graphics.Point; import a...
package com.axiastudio.zoefx.persistence; import com.axiastudio.zoefx.core.Utilities; import com.axiastudio.zoefx.core.beans.BeanAccess; import com.axiastudio.zoefx.core.beans.BeanClassAccess; import com.axiastudio.zoefx.core.db.Database; import com.axiastudio.zoefx.core.db.Manager; import javax.persistence.EntityManag...
package com.github.obsidianarch.gvengine.core; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.lwjgl.Sys; import com.github.obsidianarch.gvengine.core.options.Option; import com.github.obsidianarch.gvengine.core.options.SliderOption; import com.g...
package net.acomputerdog.core.tree; /** * A "leaf" on a tree. A leaf is a branch that has data and no children * * @param <T> */ public class Leaf<T> { /** * Thee data on this leaf */ private T item; /** * The branch that this leaf is on */ private final Branch branch; /** ...
package com.jcwhatever.nucleus.utils.text; import com.jcwhatever.nucleus.utils.PreCon; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Replaces tags in text. * * <p>Tags consist of enclosing curly braces with tag text inside.</p> ...
package org.jasig.portal.services; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.log4j.Priority; /** * As of uPortal 2.4, use Apache Commons Logging directly instead of using this * LogService. This LogService is retained here for backwards compatibility, * ...
package com.maddyhome.idea.vim.ex.handler; import com.intellij.openapi.actionSystem.DataContext; import com.intellij.openapi.editor.Caret; import com.intellij.openapi.editor.Editor; import com.maddyhome.idea.vim.VimPlugin; import com.maddyhome.idea.vim.common.Register; import com.maddyhome.idea.vim.ex.*; import com.mad...
package com.miviclin.droidengine2d.screen; import java.util.ArrayList; import android.util.SparseArray; import com.miviclin.droidengine2d.Game; import com.miviclin.droidengine2d.graphics.Graphics; /** * ScreenManager. * * @author Miguel Vicente Linares * */ public class ScreenManager { private SparseArray<Scre...
package com.ra4king.opengl.util.render; import static org.lwjgl.opengl.GL11.*; import static org.lwjgl.opengl.GL15.*; import static org.lwjgl.opengl.GL20.*; import java.nio.FloatBuffer; import java.util.function.Supplier; import org.lwjgl.BufferUtils; import com.ra4king.opengl.util.ShaderProgram; import com.ra4king.ope...
package com.redhat.ceylon.compiler.js; import static java.lang.Character.toUpperCase; import java.io.IOException; import java.io.Writer; import java.util.List; import com.redhat.ceylon.compiler.typechecker.model.Declaration; import com.redhat.ceylon.compiler.typechecker.model.Functional; import com.redhat.ceylon.compil...
package com.sojostudios.as3.visitors; import japa.parser.ast.CompilationUnit; import japa.parser.ast.ImportDeclaration; import japa.parser.ast.Node; import japa.parser.ast.PackageDeclaration; import japa.parser.ast.body.ClassOrInterfaceDeclaration; import japa.parser.ast.body.FieldDeclaration; import japa.parser.ast.bo...
package com.swabunga.spell.engine; import java.util.*; /** * Container for various methods that any <code>SpellDictionary</code> based on the original * Jazzy aspell port will use. */ public abstract class SpellDictionaryASpell implements SpellDictionary { /** The replace list is used in the getSuggestions metho...
package com.trendrr.oss.networking; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.SocketChannel; import java.nio.charset.Charset; import java.util.Queue; import java.util.concurrent.ConcurrentLinkedQueue; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFact...
package de.wak_sh.client.fragments; import java.io.IOException; import android.app.Activity; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import de.wak_sh.client.R; import de...
package dr.evomodel.coalescent; import dr.evolution.coalescent.TreeIntervals; import dr.evolution.tree.Tree; import dr.evomodel.tree.TreeModel; import dr.inference.model.Model; import dr.inference.model.Parameter; import dr.inference.model.Variable; import dr.xml.*; import java.util.logging.Logger; /** * @author Josep...
package dr.evomodel.continuous; import dr.inference.model.*; import dr.math.distributions.NormalDistribution; import dr.util.DataTable; import dr.xml.*; import java.io.FileReader; import java.io.IOException; import java.util.*; /** * @author Andrew Rambaut * @author Marc Suchard * @version $Id$ */ public class Anti...
package dr.inferencexml.model; import dr.inference.model.ReciprocalStatistic; import dr.inference.model.Statistic; import dr.xml.*; public class ReciprocalStatisticParser extends AbstractXMLObjectParser { public static String RECIPROCAL_STATISTIC = "reciprocalStatistic"; public static String RECIPROCAL = "recip...
package edu.mit.streamjit.impl.compiler; import static com.google.common.base.Preconditions.*; import edu.mit.streamjit.api.Identity; import java.io.PrintWriter; import java.util.Arrays; import java.util.Map; import org.objectweb.asm.ClassVisitor; import org.objectweb.asm.ClassWriter; import org.objectweb.asm.Opcodes; ...
package edu.mit.streamjit.test.apps; import com.google.common.base.Stopwatch; import com.google.common.collect.ImmutableList; import com.google.common.collect.Iterables; import com.google.common.util.concurrent.Uninterruptibles; import edu.mit.streamjit.api.Filter; import edu.mit.streamjit.api.Input; import edu.mit.str...
package edu.ucsb.cs56.projects.games.poker; import java.awt.*; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import javax.swing.*; import java.lang.String; import java.lang.System; import java.net.URL; import java.util.ArrayList; public class PokerGameGui extends PokerGame{ protected JFram...
package fi.iki.joker.sevedroid; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.List; import android.app.Activity; import android.app.AlertDialog; import android.app.DatePickerDialog; import android.app.Dialog; import android.content.DialogInterface; import and...
package org.voltdb.compiler; import java.io.Serializable; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Timer; import java.util.TimerTask; import org.voltdb.common.Constants; import org.voltdb.planner.BoundPlan; import com.google_voltpatches.co...
package gov.nih.nci.calab.ui.workflow; /** * This class shows the view aliquot page . * * @author pansu */ /* CVS $Id: ViewAliquotAction.java,v 1.3 2006-04-11 18:26:17 pansu Exp $*/ import gov.nih.nci.calab.dto.administration.AliquotBean; import gov.nih.nci.calab.service.workflow.ExecuteWorkflowService; import gov....
package gov.nih.nci.cananolab.dto.particle; import gov.nih.nci.cananolab.domain.common.Keyword; import gov.nih.nci.cananolab.domain.common.Report; import gov.nih.nci.cananolab.domain.common.Source; import gov.nih.nci.cananolab.domain.particle.NanoparticleSample; import gov.nih.nci.cananolab.dto.common.ReportBean; impor...
package afc.ant.modular; import java.text.MessageFormat; import java.util.ArrayList; import java.util.Collection; import java.util.IdentityHashMap; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.concurrent.LinkedBlockingQueue; public class ParallelDependencyResolver implements DependencyRes...
package com.opensymphony.workflow; import com.opensymphony.module.propertyset.PropertySet; import com.opensymphony.module.propertyset.PropertySetManager; import com.opensymphony.provider.BeanProvider; import com.opensymphony.provider.bean.DefaultBeanProvider; import com.opensymphony.util.TextUtils; import com.opensymph...
package com.puppetlabs.puppetserver.pool; import java.util.Deque; import java.util.LinkedList; import java.util.Set; import java.util.concurrent.TimeUnit; import java.util.concurrent.CopyOnWriteArraySet; import java.util.concurrent.locks.Condition; import java.util.concurrent.locks.ReentrantLock; /** * An implementati...
// $Id: TableDirector.java,v 1.3 2001/10/23 20:26:30 mdb Exp $ package com.threerings.parlor.client; import java.util.ArrayList; import com.threerings.presents.dobj.ElementAddedEvent; import com.threerings.presents.dobj.ElementUpdatedEvent; import com.threerings.presents.dobj.ElementRemovedEvent; import com.threerings....
//This library is free software; you can redistribute it and/or //modify it under the terms of the GNU Lesser General Public //This library is distributed in the hope that it will be useful, //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //You should have received a copy of the GNU Lesser General Publi...
package org.dellroad.stuff.graph; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Set; /** * Topological sorting utility class. */ public class TopologicalSorter<E> { private final...
package ai.ilikeplaces.servlets; import ai.ilikeplaces.doc.DOCUMENTATION; import ai.ilikeplaces.doc.LOGIC; import ai.ilikeplaces.doc.NOTE; import ai.ilikeplaces.util.Parameter; import org.apache.commons.httpclient.Header; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.HttpStatus; ...
package at.aau.dwaspgui.debugger; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concur...
package cat.nyaa.nyaautils.elytra; import cat.nyaa.nyaacore.utils.InventoryUtils; import cat.nyaa.nyaautils.I18n; import cat.nyaa.nyaautils.NyaaUtils; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.entity.Player; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.meta.ItemMet...
package cn.com.lemon.common.connection; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; /** * Static utility methods pertaining to {@code Connections} primitives. * <p> * The base utility contain basic operate by {@code newInstance} and * {@code close} * * @author shellpo ...
package com.beamfield.tc2.utils; import cpw.mods.fml.common.Loader; import cpw.mods.fml.common.ModAPIManager; public class ModHelperBase { public static boolean useCofh; public void register() {} public static void detectMods() { useCofh = Loader.isModLoaded("CoFHCore"); } }
package com.civilizer.web.view; import java.io.File; import java.io.Serializable; import org.apache.commons.io.FileUtils; import org.apache.commons.io.FilenameUtils; import org.primefaces.model.UploadedFile; @SuppressWarnings("serial") public final class FileUploadBean implements Serializable { private UploadedFil...
package com.codeborne.selenide.impl; import com.codeborne.selenide.Selenide; import com.codeborne.selenide.logevents.SelenideLog; import com.codeborne.selenide.logevents.SelenideLogger; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebDriverException; im...
package com.gamingmesh.jobs; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.bukkit.Bukkit; import org.bukkit.World; import org.bukkit.entity.Player; import org.bukkit.permissions.PermissionAttachmentInfo; import com.gamingmesh.jobs.container.Job; import com...
package com.github.joschi.jadconfig; import com.github.joschi.jadconfig.converters.NoConverter; import com.github.joschi.jadconfig.converters.StringConverter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.ArrayList; import java...
package com.github.onsdigital.perkin.api; import com.github.davidcarboni.restolino.framework.Api; import com.github.onsdigital.perkin.helpers.Json; import com.github.onsdigital.perkin.json.FtpInfo; import com.github.onsdigital.perkin.storage.FtpPublisher; import javax.servlet.http.HttpServletRequest; import javax.servl...
package com.goodworkalan.mix.builder; import java.io.File; import java.util.ArrayList; import com.goodworkalan.comfort.io.Find; /** * A collection of {@link Find} instances each paired a single directory to * search using the <code>Find</code> instance. * * @author Alan Gutierrez */ public class FindList extends A...
package com.google.sps.data; import java.util.List; import java.util.LinkedList; import java.util.Arrays; import java.io.Serializable; import java.net.URL; import java.util.logging.Logger; import com.google.maps.GeoApiContext; import com.google.maps.PlacesApi; import com.google.maps.NearbySearchRequest; import com.goog...
package com.jaeksoft.searchlib.cache; import java.io.PrintWriter; import java.text.NumberFormat; import java.util.LinkedHashMap; import java.util.Map; import java.util.TreeMap; import com.jaeksoft.searchlib.SearchLibException; import com.jaeksoft.searchlib.util.ReadWriteLock; import com.jaeksoft.searchlib.util.SimpleLo...
package com.jillesvangurp.iterables; import java.util.Iterator; import java.util.NoSuchElementException; /** * Collection of static methods to make working with the various iterables a bit nicer. */ public class Iterables { /** * Wraps an iterator with an iterable so that you may use it in a for loop. *...
package com.khubla.musicbrainztagger; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; import java.util.Properties; import org.apache.http.client.ClientProtocolException; import com.google.gson.JsonArray;...
package com.kryptnostic.rhizome.pods; import java.util.stream.Collectors; import javax.inject.Inject; import org.apache.commons.lang3.StringUtils; import org.apache.spark.SparkConf; import org.apache.spark.sql.SparkSession; import org.springframework.context.annotation.Bean; import org.springframework.context.annotatio...
package com.metamx.http.client; import com.google.common.base.Charsets; import com.google.common.base.Supplier; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.collect.Multimap; import com.google.common.collect.Multimaps; import com.google.common.util.concurrent.L...
package com.meujornal.models.usuarios; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Convert; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.validation.constraints.NotNull; import javax.validation.constraints.P...
package com.microsoft.sqlserver.jdbc; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.Reader; import java.io.Serializable; ...
package com.microsoft.sqlserver.jdbc; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.Reader; import java.io.UnsupportedEnc...
// RMG - Reaction Mechanism Generator // RMG Team (rmg_dev@mit.edu) // copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation // and/or sell copies of the Software, and to permit persons to whom the // Sof...
package com.newsifier.watson.reader; import com.google.gson.JsonObject; import com.ibm.watson.developer_cloud.natural_language_understanding.v1.NaturalLanguageUnderstanding; import com.ibm.watson.developer_cloud.natural_language_understanding.v1.model.*; import com.newsifier.Credentials; import com.newsifier.watson.bea...
package com.qiudao.dataStructure.tree; public class AvlTree<T extends Comparable<? super T>> { /** * AVLNode AvlTreeAvlTreeelement * @param */ private class AvlNode{ /** * nodedata */ private T element; /** * node */ private AvlN...
package com.relayrides.pushy; import io.netty.bootstrap.Bootstrap; import io.netty.channel.Channel; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelInitializer; import io.netty.channel.ChannelOption; import io.netty.channel.ChannelPipeline; import io.netty.channel.nio.NioEventLoopGroup; import io....
package com.yahoo.sketches.memory; import static com.yahoo.sketches.memory.UnsafeUtil.unsafe; /** * The AllocMemory class is a subclass of NativeMemory and is used to allocate direct, off-heap * native memory, which is then accessed by the NativeMemory methods. * It is the responsibility of the calling class to free...
package cpw.mods.fml.common.registry; import java.io.File; import java.io.IOException; import java.util.List; import java.util.Map; import java.util.Map.Entry; import org.apache.logging.log4j.Level; import net.minecraft.block.Block; import net.minecraft.item.Item; import net.minecraft.item.ItemBlock; import net.minecra...
package cz.esc.iot.cloudservice.oauth2; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.util.Random; import org.apache.commons.codec.binary.Hex; import org.json.JSONException; import org.restlet.data.Reference; import org.restlet.ext.oauth.AccessTok...
package eu.amidst.core.header; import eu.amidst.core.database.statics.readers.Attribute; public final class VariableBuilder { private static String name; private static boolean observable; private static int numberOfStates; private static StateSpaceType stateSpaceType; private static DistType distri...
package function.genotype.base; import global.Data; import utils.CommandValue; /** * * @author nick */ public class QualityManager { public static boolean isMafValid(double value) { if (CommandValue.isFlipMaf) { if (value >= CommandValue.maf) { return true; } ...
package ge.edu.freeuni.sdp.xo.rooms.data; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement public class Room { @XmlElement private int id; @XmlElement(nillable=true) private Integer x_user; @XmlElement(nillable=true) private Integer o_...
package io.sigpipe.sing.adapters; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.util.HashSet; import java.util.Scanner; import java.util.Set; import java.util.zip.GZIPOutputStream; import io.sigpipe.sing.dataset.Metadata; import io....
package ir.angellandros.kollektion; import java.util.Collection; import java.util.Iterator; /** * * @author Muhammad-Ali A'rabi <A HREF="me@angellandros.ir"> me@angellandros.ir * </A> * * @param <E> * * @version June 04, 2015 */ public class LinkedList<E> implements Iterator<E> { private Node<E> hea...
package jp.kotmw.splatoon.mainweapons; import java.util.Random; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.entity.EntityType; import org.bukkit.entity.Player; import org.bukkit.entity.Snowball; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event....
package me.jan.invtest; import org.bukkit.Server; import org.bukkit.event.EventHandler; import org.bukkit.event.HandlerList; import org.bukkit.event.Listener; import org.bukkit.event.inventory.InventoryClickEvent; import org.bukkit.event.inventory.InventoryCloseEvent; import org.bukkit.event.inventory.InventoryType; im...
package mx.nhtzr.osgiee.web; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.codehaus.jackson.map.ObjectMapper; import org.codehaus.jackson.map.ObjectWriter; import org.springframework.stereotype.Controller; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import java...
package net.krazyweb.cataclysm.mapeditor; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import net.krazyweb.util.FileUtils; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import java.io.IOException; import java.nio.file.Path; imp...
package net.snowflake.client.core; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import net.snowflake.client.jdbc.ErrorCode; import net.snowflake.client.jdbc.SnowflakeDriver; import net.snowflake.client.jdbc.SnowflakeSQLException; import net.snowflake.client.jdbc.Sn...
package nl.bitwalker.useragentutils; import java.io.Serializable; /** * @author harald * */ public class UserAgent implements Serializable { private static final long serialVersionUID = 7025462762784240212L; private OperatingSystem operatingSystem = OperatingSystem.UNKNOWN; private Browser browser = Brow...
package nom.bdezonia.zorbage.algorithm; import nom.bdezonia.zorbage.type.algebra.Addition; import nom.bdezonia.zorbage.type.algebra.Algebra; import nom.bdezonia.zorbage.type.algebra.BitOperations; import nom.bdezonia.zorbage.type.algebra.Bounded; import nom.bdezonia.zorbage.type.algebra.Ordered; import nom.bdezonia.zor...
package org.cojen.tupl.rows; import java.lang.invoke.CallSite; import java.lang.invoke.ConstantCallSite; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodType; import java.lang.invoke.MutableCallSite; import java.util.function.Supplier; import org.cojen.maker.MethodMaker; /** * Retries generating co...
package org.cojen.tupl.rows; import java.lang.invoke.CallSite; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.lang.invoke.MethodType; import java.lang.invoke.VarHandle; import java.lang.ref.WeakReference; import java.util.Collections; import java.util.HashMap; import java.util....
package org.cyclops.fluidconverters; import org.cyclops.cyclopscore.config.configurable.ConfigurableBlock; import org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainer; import org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig; /** * Class that can hold basic static things that are better no...
package org.deeplearning4j; import org.apache.commons.io.FileUtils; import org.apache.commons.lang3.StringUtils; import org.apache.spark.SparkConf; import org.apache.spark.api.java.JavaRDD; import org.apache.spark.api.java.JavaSparkContext; import org.deeplearning4j.datasets.iterator.impl.MnistDataSetIterator; import o...
package org.dita.dost.reader; import static org.dita.dost.util.Constants.*; import static org.dita.dost.util.FileUtils.*; import static org.dita.dost.util.URLUtils.*; import java.io.File; import java.net.URI; import java.util.Collections; import java.util.Hashtable; import java.util.Map; import java.util.Properties; im...
package org.jboss.virtual.spi; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.security.AccessController; import java.security.PrivilegedAction; import org.jboss.logging.Logger; import org.jboss.virtual.VFS; import org.jboss.virtual.VFSUtils; import ...
package org.jenkins.tools.test.model; import java.io.File; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import javax.xml.transform.Result; import javax.xml.transform.Source; import javax.xml.transform.Transformer; import javax.xml.transform.TransformerFactory; import javax.xml.transform.s...
package org.jenkinsci.plugins.p4; import hudson.AbortException; import hudson.FilePath.FileCallable; import hudson.model.TaskListener; import hudson.remoting.VirtualChannel; import java.io.File; import java.io.IOException; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import java.util....
package org.json.simple.parser; /** * ParseException explains why and where the error occurs in source JSON text. * * @author FangYidong<fangyidong@yahoo.com.cn> * */ public class ParseException extends Exception { private static final long serialVersionUID = -7880698968187728547L; public static final int ...
package org.mafagafogigante.dungeon.game; import org.mafagafogigante.dungeon.commands.IssuedCommand; import org.mafagafogigante.dungeon.commands.IssuedCommandEvaluation; import org.mafagafogigante.dungeon.commands.IssuedCommandProcessor; import org.mafagafogigante.dungeon.gui.GameWindow; import org.mafagafogigante.dung...
package org.ndexbio.rest.services; import java.util.List; import java.util.UUID; import javax.annotation.security.PermitAll; import javax.servlet.http.HttpServletRequest; import javax.ws.rs.DELETE; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs...
package org.openlmis.fulfillment.util; import com.fasterxml.jackson.annotation.JsonProperty; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.Validate; import org.springframework.context.MessageSource; import lombok.Getter; import java.util.Locale; /** * Immutable value object for a message...
package org.realityforge.tarrabah; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import java.io.ByteArrayInputStream; import java.io.InputStream; import java.io.InputStreamReader; import java.util.logging.Level; import java.util.logging.Logger; import java.uti...
package org.sipfoundry.log4j; import java.text.SimpleDateFormat; import java.util.TimeZone; import org.apache.log4j.Layout; import org.apache.log4j.Level; import org.apache.log4j.Priority; import org.apache.log4j.spi.LoggingEvent; import org.sipfoundry.util.Hostname; /** * A log4j Layout class that matches the SipFoun...
package org.takes.facets.auth.social; import com.jcabi.http.request.JdkRequest; import com.jcabi.http.response.JsonResponse; import com.jcabi.http.response.RestResponse; import com.jcabi.http.response.XmlResponse; import java.io.IOException; import java.net.HttpURLConnection; import java.util.HashMap; import java.util....
package org.teamstbf.yats.model.item; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; public class Schedule { public static final String MESSAGE_TIME_ERROR = "Invalid or empty date/time entry"; public static final String STRING_EMPTY = ""; public static final Simpl...
package ru.ifmo.ctddev.gmwcs.solver; import ilog.concert.IloException; import ilog.concert.IloLinearNumExpr; import ilog.concert.IloNumExpr; import ilog.concert.IloNumVar; import ilog.cplex.IloCplex; import org.jgrapht.Graphs; import org.jgrapht.UndirectedGraph; import ru.ifmo.ctddev.gmwcs.LDSU; import ru.ifmo.ctddev.g...
package ru.r2cloud.jradio.fec.ccsds; public class Randomize { public static byte[] shuffle(byte[] data) { int[] sequence = new int[255]; int[] x = new int[] { 1, 1, 1, 1, 1, 1, 1, 1, 1 }; int i; /* * The pseudo random sequence shall be generated using the polynomial ...
package seedu.taskmanager.logic.parser; import seedu.taskmanager.commons.exceptions.IllegalValueException; import seedu.taskmanager.commons.util.StringUtil; import seedu.taskmanager.logic.commands.AddCommand; import seedu.taskmanager.logic.commands.ClearCommand; import seedu.taskmanager.logic.commands.Command; import s...
package seedu.todo.controllers; import java.util.HashMap; import java.util.Map; import seedu.todo.commons.exceptions.UnmatchedQuotesException; import seedu.todo.commons.util.StringUtil; import seedu.todo.models.TodoListDB; import seedu.todo.ui.UiManager; import seedu.todo.ui.views.IndexView; public class UndoController...
package sizebay.catalog.client.model; import java.util.*; import com.fasterxml.jackson.annotation.JsonValue; import lombok.*; @Getter @Setter public class Modeling { private Long id; private String name; private Gender gender; private String gMerchantBrandName; private String gMerchantAgeGroup; private St...
package stsc.general.trading; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileNotFoundException; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; imp...