answer
stringlengths
17
10.2M
package com.hjh.files.sync.client; import java.io.File; import java.io.IOException; import org.apache.commons.io.FileUtils; import org.apache.http.util.Asserts; import com.hjh.files.sync.common.HLogFactory; import com.hjh.files.sync.common.ILog; import com.hjh.files.sync.common.RemoteFile; import com.hjh.files.sync.com...
package com.lowtuna.dropwizard.grpc; import io.dropwizard.lifecycle.Managed; import io.dropwizard.setup.Environment; import io.grpc.Server; import io.grpc.ServerBuilder; import lombok.Data; import lombok.extern.slf4j.Slf4j; import java.util.Optional; import java.util.concurrent.atomic.AtomicReference; @Slf4j @Data clas...
package com.minesnap.restarter; import java.util.Random; import java.util.Timer; import java.util.TimerTask; import java.util.Calendar; import org.bukkit.command.PluginCommand; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.scheduler.BukkitScheduler; import org.bukkit.plugin...
package com.modym.client.objects; import java.io.Serializable; import java.math.BigDecimal; import org.joda.time.LocalDate; import lombok.Getter; import lombok.Setter; /** * @author bashar * */ @Getter @Setter public class ModymCustomer extends UDFType implements Serializable { private static final long serialVe...
package com.ne0nx3r0.quantum.circuits; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.block.BlockState; import org.bukkit.material.MaterialData; public class Receiver { private Location location; private int type; private int delay = 0; public Re...
package com.nirima.docker.api; import com.nirima.docker.client.model.*; import javax.annotation.Nullable; import javax.ws.rs.*; import javax.ws.rs.core.MediaType; import java.io.InputStream; import java.util.List; @Path("/containers") @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON) public in...
package com.nitorcreations.dopeplugin; import java.awt.image.BufferedImage; import java.io.BufferedReader; import java.io.File; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.FilenameFilter; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java...
package com.ociweb.gl.impl.mqtt; import com.ociweb.gl.api.*; import com.ociweb.gl.impl.BridgeConfigImpl; import com.ociweb.gl.impl.BridgeConfigStage; import com.ociweb.gl.impl.BuilderImpl; import com.ociweb.gl.impl.schema.IngressMessages; import com.ociweb.gl.impl.stage.EgressConverter; import com.ociweb.gl.impl.stage....
package com.ociweb.iot.grove; import com.ociweb.iot.hardware.I2CConnection; import com.ociweb.iot.hardware.IODevice; import com.ociweb.iot.maker.FogCommandChannel; import com.ociweb.pronghorn.iot.schema.I2CCommandSchema; import com.ociweb.pronghorn.pipe.DataOutputBlobWriter; import static com.ociweb.iot.grove.Grove_OLE...
package com.randomcoder.saml; import java.io.Serializable; import java.util.Locale; public class SamlAttributeSpec implements Serializable { private static final long serialVersionUID = -536785258783107725L; private String namespace; private String local; public SamlAttributeSpec(String namespace, Strin...
package com.sandwell.JavaSimulation; import java.io.File; import javax.swing.JFrame; import com.jaamsim.basicsim.Entity; import com.jaamsim.basicsim.InitModelTarget; import com.jaamsim.events.EventManager; import com.jaamsim.input.BooleanInput; import com.jaamsim.input.Input; import com.jaamsim.input.InputAgent; import...
package com.winterbe.java8.explorer; import org.apache.commons.lang3.StringUtils; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.util.Optional; /...
package crazypants.render; import net.minecraftforge.common.util.ForgeDirection; import crazypants.vecmath.Vector3d; public class VertexRotationFacing extends VertexRotation { private static final double ROTATION_AMOUNT = Math.PI / 2; private ForgeDirection defaultDir; public VertexRotationFacing(ForgeDirection d...
package de.hwrberlin.it2014.sweproject.cbr; import de.hwrberlin.it2014.sweproject.cbr.Case; import de.hwrberlin.it2014.sweproject.model.Judgement; import java.sql.SQLException; import java.util.ArrayList; import java.util.Date; /** * controls the cbr-cycle. Start the algorithm with startCBR(ArrayList<String>) method. ...
package edu.harvard.iq.dataverse; import edu.harvard.iq.dataverse.UserNotification.Type; import edu.harvard.iq.dataverse.engine.command.Command; import edu.harvard.iq.dataverse.engine.command.exception.CommandException; import edu.harvard.iq.dataverse.engine.command.impl.CreateDataverseCommand; import edu.harvard.iq.da...
package edu.harvard.iq.dataverse; import edu.harvard.iq.dataverse.UserNotification.Type; import edu.harvard.iq.dataverse.authorization.Permission; import edu.harvard.iq.dataverse.authorization.users.AuthenticatedUser; import edu.harvard.iq.dataverse.engine.command.Command; import edu.harvard.iq.dataverse.engine.command...
package edu.jhu.pacaya.gm.feat; import java.io.Serializable; import edu.jhu.pacaya.gm.data.UFgExample; import edu.jhu.pacaya.gm.model.FactorGraph; import edu.jhu.pacaya.util.FeatureNames; import edu.jhu.prim.map.IntDoubleEntry; /** Cache of feature vectors for a factor graph. */ public class ObsFeatureCache implements ...
package edu.jhu.util.semiring; import edu.jhu.prim.util.math.FastMath; public class LogPosNegAlgebra implements Semiring, Algebra { // We choose the least significant digit of the mantissa as our sign bit. // This bit is chosen for two reasons: (1) the various bit representations // of NaN, +inf, and -inf s...
package fi.csc.chipster.rest; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; impo...
package innovimax.mixthem.io; import innovimax.mixthem.interfaces.IInputChar; import java.io.File; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; /** * <p>Reads characters from a character-input file.</p> * <p>This is the default implementation of IInputChar.</p> * @see IInputChar...
package io.github.data4all.model.data; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import android.os.Parcel; import android.os.Parcelable; /** * Relation represents an OSM relation element which essentially is a collection * of other OSM elements. A relation consists of one or more t...
package logbook.internal.gui; import java.math.BigDecimal; import java.math.RoundingMode; import java.util.Arrays; import java.util.Comparator; import java.util.stream.Collectors; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.collections.FXCollections; import javafx....
package logbook.internal.gui; import java.awt.GraphicsConfiguration; import java.awt.Rectangle; import java.awt.Robot; import java.awt.image.BufferedImage; import java.io.ByteArrayInputStream; import java.io.File; import java.io.PrintWriter; import java.nio.file.Path; import java.time.ZonedDateTime; import java.util.Ar...
package com.intellij.uiDesigner.palette; import com.intellij.ide.ui.LafManager; import com.intellij.ide.ui.LafManagerListener; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.application.ApplicationNamesInfo; import com.intellij.openapi.components.ProjectComponent; import com.int...
package mcjty.rftoolsdim.blocks; import mcjty.lib.McJtyRegister; import mcjty.rftoolsdim.RFToolsDim; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; import net.minecraft.client.renderer.block.model.ModelResourceLocation; import net.minecraft....
package me.lemire.integercompression; import com.kamikaze.pfordelta.PForDelta; import me.lemire.integercompression.synth.ClusteredDataGenerator; import java.text.DecimalFormat; import java.util.ArrayList; import java.util.Arrays; /** * * Simple class meant to compare the speed of different schemes. * @author Daniel ...
package mil.nga.geopackage; /** * GeoPackage constants * * @author osbornb */ public class GeoPackageConstants { /** * Extension to GeoPackage files */ public static final String GEOPACKAGE_EXTENSION = "gpkg"; /** * Extension to GeoPackage extension files * * @deprecated in GeoP...
package net.adrouet.broceliande.struct; import net.adrouet.broceliande.util.InspectionUtils; import java.beans.IntrospectionException; import java.lang.reflect.Method; import java.util.*; import java.util.function.Predicate; import java.util.stream.Collectors; public class DataSet<D extends IData<R>, R extends Comparab...
package com.angcyo.uiview.widget; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Rect; import android.graphics.drawable.Drawable; import android.support.design.widget.TextInputLayout; import android.support.v4.content.res.ResourcesCompat; i...
package com.angcyo.uiview.widget; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Rect; import android.graphics.drawable.Drawable; import android.support.design.widget.TextInputLayout; import android.support.v4...
package net.glider.src.blocks; import net.minecraft.block.material.MapColor; import net.minecraft.block.material.Material; public class MaterialInvisble extends Material { public MaterialInvisble(MapColor p_i2113_1_) { super(p_i2113_1_); } public boolean isSolid() { return false; ...
package org.unipop.elastic.helpers; import org.elasticsearch.action.get.*; import org.elasticsearch.client.Client; import org.unipop.structure.BaseVertex; import java.util.*; public class LazyGetter { private static final int MAX_LAZY_GET = 50; private Client client; private TimingAccessor timing; priva...
package net.imagej.updater.util; /** * A default implementation of the {@link Progress} interface. * * @author Johannes Schindelin */ public class StderrProgress implements Progress { protected final static boolean redirected = System.console() == null; protected final static String end = redirected ? "\n" ...
package net.morematerials.listeners; import net.morematerials.MoreMaterials; import org.bukkit.GameMode; import org.bukkit.Location; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.block.Action; import org.bukkit.event.block.BlockBreakEvent; import org.bukkit.event.player...
package org.jboss.cx.remoting.util; import java.net.URI; import java.net.URISyntaxException; /** * A parser for JBoss Remoting URI types. */ public final class ServiceURI { public static final String SCHEME = "jrs"; private ServiceURI() { } /** * Determine if this URI is a valid Remoting service ...
package org.wso2.carbon.uuf; import org.testng.Assert; import org.testng.annotations.DataProvider; import org.testng.annotations.Test; import org.wso2.carbon.uuf.core.UriPatten; import static java.lang.Integer.signum; public class UriPattenTest { @DataProvider public Object[][] pattenProvider() { return...
package net.sf.ij_plugins.util; import ij.IJ; import ij.ImagePlus; import ij.gui.GenericDialog; import ij.plugin.filter.PlugInFilter; import ij.process.ByteProcessor; import ij.process.ImageProcessor; import java.util.concurrent.atomic.AtomicInteger; /** * @author Jarek Sacha * @since Sep 22, 2009 9:54:28 PM */ publ...
package nl.dykam.dev.reutil.data; import nl.dykam.dev.reutil.ReUtilPlugin; import nl.dykam.dev.reutil.data.annotations.*; import org.bukkit.Bukkit; import org.bukkit.configuration.serialization.ConfigurationSerializable; import java.lang.reflect.Array; class ComponentInfo { public static final ObjectType[] ALL_OBJE...
package nl.peterbloem.motive.exec; import static nl.peterbloem.kit.Functions.log2; import static nl.peterbloem.kit.Series.series; import static org.apache.commons.math3.util.ArithmeticUtils.binomialCoefficientLog; import static org.nodes.models.USequenceEstimator.CIMethod; import static org.nodes.models.USequenceEstima...
package nl.topicus.jdbc; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.sql.CallableStatement; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.SQLFeatureNotSu...
package org.almibe.codeeditor; import javafx.concurrent.Worker; import javafx.scene.Parent; import javafx.scene.web.WebEngine; import javafx.scene.web.WebView; import netscape.javascript.JSObject; import java.net.URI; import java.util.Arrays; import java.util.Queue; import java.util.concurrent.LinkedBlockingQueue; publ...
package com.cascadia.hidenseek; import android.annotation.SuppressLint; import android.app.Activity; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; impo...
package org.apdplat.superword.tools; import org.apache.commons.dbcp2.*; import org.apache.commons.lang.StringUtils; import org.apache.commons.pool2.ObjectPool; import org.apache.commons.pool2.impl.GenericObjectPool; import org.apdplat.superword.model.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import ja...
package org.apdplat.superword.tools; import org.apdplat.superword.model.UserText; import org.apdplat.superword.model.UserWord; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.sql.*; import java.util.ArrayList; import java.util.List; /** * * @author */ public class MySQLUtils { private static...
package org.cobbzilla.util.daemon; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ArrayNode; import com.fasterxml.jackson.databind.node.ObjectNode; import lombok.Getter; import lombok.Setter; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.RandomUtils; impor...
package org.deepsymmetry.beatlink.data; import io.kaitai.struct.ByteBufferKaitaiStream; import org.deepsymmetry.beatlink.Util; import org.deepsymmetry.beatlink.dbserver.BinaryField; import org.deepsymmetry.beatlink.dbserver.Message; import org.deepsymmetry.beatlink.dbserver.NumberField; import org.deepsymmetry.cratedig...
package org.egordorichev.lasttry; import org.egordorichev.lasttry.entity.Enemy; import org.egordorichev.lasttry.entity.Player; import org.egordorichev.lasttry.entity.EnemyID; import org.egordorichev.lasttry.item.Item; import org.egordorichev.lasttry.item.ItemHolder; import org.egordorichev.lasttry.item.modifier.Modifie...
package org.gbif.api.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Annotation that marks a resource method to throw a NotFoundException (becomes http 404) * when null is returned by the...
package org.jtrfp.trcl.obj; import java.io.InputStream; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.concurrent.CopyOnWriteArrayList; import javax.imageio.ImageIO; import org.apache.commons.collections.CollectionUtils; import org.apache.commons.math3.geometry.eucli...
package org.jusecase.properties.ui; import net.miginfocom.swing.MigLayout; import org.jusecase.properties.usecases.*; import javax.swing.*; import javax.swing.event.DocumentEvent; import javax.swing.event.DocumentListener; import java.awt.*; import java.io.File; import java.util.function.Consumer; public class Applicat...
package org.lazan.t5.stitch.demo.pages; import java.awt.image.BufferedImage; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import javax.inject.Inject; import org.apache.tapestry5.ComponentResources; import org.apache.tapestry5.StreamRe...
package org.mybatis.jpetstore.domain; import java.io.Serializable; import java.math.BigDecimal; public class Calculate implements Serializable { public void hello() { System.out.println("JPET Store Application"); System.out.println("Class name: Calculate.java"); System.out.println("Hello World"); System.out.println("Ma...
package org.mybatis.jpetstore.domain; import java.io.Serializable; import java.math.BigDecimal; public class Calculate implements Serializable { public void hello() { System.out.println("Hello World"); } } //Description: Adding coments for documentation //Project: JpetStore //Tools used: Jenkins, SonarQube, Rundeck...
package org.ojlang.models.syswords; import org.ojlang.models.contracts.SystemState; /** * Interpreter word. * * @author Bahman Movaqar [Bahman AT BahmanM.com] */ public class Interpreter extends AbstractSystemWord { final static private long serialVersionUID = -1299211002338774173L; @Override public SystemSta...
package org.yaml.snakeyaml.emitter; import java.io.IOException; import java.io.Writer; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedList; import java.util.Map; import java.util.Queue; import java.util.Set; import java.util.TreeSet; import java.util.regex.Pattern; import org.yaml.snakeyaml...
package programminglife.model.drawing; import org.eclipse.collections.impl.factory.Sets; import programminglife.model.GenomeGraph; import programminglife.model.XYCoordinate; import programminglife.utility.Console; import java.util.*; /** * A part of a {@link programminglife.model.GenomeGraph}. It uses a centerNode and...
package ru.taximaxim.pgsqlblocks.ui; import java.text.SimpleDateFormat; import java.util.Date; import org.apache.log4j.WriterAppender; import org.apache.log4j.spi.LoggingEvent; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.StyledText; import org.eclipse.swt.custom.StyledTextContent; import org.eclipse.swt.e...
package sizebay.catalog.client.http; import java.io.*; import java.net.*; import java.util.*; import lombok.RequiredArgsConstructor; import sizebay.catalog.client.model.ProductIntegration; @RequiredArgsConstructor public class RESTClient { static final String METHOD_POST = "POST"; static final String METHOD_GET...
package xdi2.core.impl.redis; import java.io.IOException; import org.apache.commons.codec.binary.Base64; import redis.clients.jedis.Jedis; import xdi2.core.GraphFactory; import xdi2.core.impl.keyvalue.AbstractKeyValueGraphFactory; import xdi2.core.impl.keyvalue.KeyValueStore; /** * GraphFactory that creates graphs in ...
package xyz.rc24.bot.commands.wii; import ch.qos.logback.classic.Logger; import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; import com.jagrosh.jdautilities.command.Command; import com.jagrosh.jdautilities.command.CommandEvent; import net.dv8tion.jda.api.EmbedBuilder; import net.dv8tion.jda....
package org.strongback.hardware; import org.strongback.annotation.Experimental; import org.strongback.components.Accelerometer; import org.strongback.components.AngleSensor; import org.strongback.components.DistanceSensor; import org.strongback.components.Gyroscope; import org.strongback.components.Motor; import org.st...
package retrobox.utils; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import java.util.List; import android.app.Activity; import android.os.AsyncTask; import android.util.Log; import android.view.KeyEvent; import android.view.LayoutInflater; import android.view.View; import androi...
package cn.cerc.db.nas; import java.io.File; import java.io.IOException; import java.nio.charset.StandardCharsets; import org.apache.commons.io.FileUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import cn.cerc.core.ISession; import cn.cerc.core.Utils; import cn.cerc.db.core.DataQuery; import cn.cerc.db...
package org.jboss.as.version; import java.io.BufferedReader; import java.io.Closeable; import java.io.File; import java.io.InputStream; import java.io.Serializable; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Paths; import java.security.AccessController; import java.securi...
package bookmark.views; import java.util.ArrayList; import org.eclipse.swt.widgets.Composite; import org.eclipse.ui.part.*; import org.eclipse.jface.util.DelegatingDragAdapter; import org.eclipse.jface.util.TransferDragSourceListener; import org.eclipse.jface.viewers.*; import org.eclipse.jface.window.Window; import or...
package com.oldterns.vilebot.handlers.user; import ca.szc.keratin.bot.annotation.HandlerContainer; import ca.szc.keratin.core.event.message.recieve.ReceivePrivmsg; import net.engio.mbassy.listener.Handler; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import java.io.Unsupporte...
package bruce.common.utils; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileFilter; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FilenameFilter; import ...
package bruce.common.utils; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileFilter; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FilenameFilter; import ...
package businessmodel; import java.util.ArrayList; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedList; import org.joda.time.DateTime; import businessmodel.assemblyline.AssemblyLine; import businessmodel.assemblyline.AssemblyLineAFactory; import businessmodel.assemblyline.AssemblyLineBFacto...
/* Open Source Software - may be modified and shared by FRC teams. The code */ /* the project. */ package ca.team3161.iapetus; import ca.team3161.lib.robot.ThreadedAutoRobot; import ca.team3161.lib.utils.controls.LogitechDualAction; import ca.team3161.lib....
package ch.ntb.inf.deep.lowLevel; public class LL { /** get bits of floating point value */ public static long doubleToBits(double d) { return 0; } /** set double from bits */ public static double bitsToDouble(long val) { return 0; } public void imDelegI1Mm(){ } publi...
package com.lenddo.javaapi; public class LenddoConfig { public static final String api_version = "2.9.0"; public static final String score_base_url = "https://scoreservice.lenddo.com"; public static final String whitelabel_base_url = "https://networkservice.lenddo.com"; public static final String onboar...
package com.knox.tree; import com.knox.Asserts; import com.knox.tree.printer.BinaryTreeInfo; import com.knox.tree.printer.BinaryTrees; import java.util.Comparator; import java.util.LinkedList; import java.util.Queue; public class BinarySearchTree<T> implements BinaryTreeInfo { public static abstract class Visitor<T...
package Ordered_Jobs.solution1; import org.jetbrains.annotations.NotNull; import org.junit.Before; import org.junit.Test; import java.util.ArrayList; import java.util.TreeSet; import static org.testng.AssertJUnit.assertEquals; public class OrderedJobsTest { private OrderedJobs jobs; @Before public void setU...
package org.pillowsky.securehttp; import java.nio.file.Paths; import java.nio.file.Files; import java.nio.file.NoSuchFileException; import java.security.KeyFactory; import java.security.KeyPair; import java.security.KeyPairGenerator; import java.security.PrivateKey; import java.security.PublicKey; import java.security....
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net.colar.netbeans.fan.wizard; import java.awt.Component; import java.util.HashSet; import java.util.Iterator; import java.util.Set; import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeListener; ...
package net.devrieze.chatterbox.server; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.io.PrintWriter; import javax.jdo.JDOHelper; import javax.jdo.JDOObjectNotFoundException; import javax.jdo.PersistenceManager; import javax.jdo.PersistenceManagerFactory; import javax...
//FILE: MMStudioMainFrame.java //PROJECT: Micro-Manager //SUBSYSTEM: mmstudio // Modifications by Arthur Edelstein, Nico Stuurman, Henry Pinkard // This file is distributed in the hope that it will be useful, // of MERCHANTABILITY or FITNESS FOR A PARTICULAR ...
package com.thaiopensource.util; public abstract class Utf16 { // 110110XX XXXXXX 110111XX XXXXXX static public boolean isSurrogate(char c) { return (c & 0xF800) == 0xD800; } static public boolean isSurrogate(int c) { return c >= 0 && c <= 0xFFFF && isSurrogate((char)c); } static public boolean isSu...
package thredds.dqc.server; import thredds.servlet.ServletUtil; import thredds.servlet.AbstractServlet; import thredds.servlet.ThreddsConfig; import thredds.servlet.UsageLog; import thredds.catalog.InvCatalogFactory; import thredds.catalog.InvCatalogImpl; import javax.servlet.ServletException; import javax.servlet.http...
package org.adaptlab.chpir.android.cloudtable; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.URL; import java.util.ArrayList; import org.json.JSONException; import org.json.JSONObject; import android.net.Uri; import andro...
package org.apache.qpid.contrib.json; import java.io.IOException; import org.apache.commons.configuration2.Configuration; import org.apache.commons.configuration2.FileBasedConfiguration; import org.apache.commons.configuration2.PropertiesConfiguration; import org.apache.commons.configuration2.builder.FileBasedConfigura...
package org.biojava.bio.program.tagvalue; import org.biojava.utils.ParserException; public abstract class TagValueWrapper implements TagValueListener { private TagValueListener delegate; public TagValueWrapper(TagValueListener delegate) { this.delegate = delegate; } public TagValueListener getDelegate...
package org.jitsi.impl.neomedia.conference; import java.lang.ref.*; import javax.media.*; /** * Caches <tt>int</tt> arrays for the purposes of reducing garbage collection. * * @author Lyubomir Marinov */ class IntArrayCache { /** * The cache of <tt>int</tt> arrays managed by this instance for the * pu...
package com.datdo.mobilib.carrier; import android.annotation.SuppressLint; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.util.Log; import android.view.View; import android.widget.FrameLayout; import com.datdo.mobilib.event.MblCommonEvents; import com.datdo.mo...
package org.kwstudios.play.ragemode.events; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Random; import java.util.UUID; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Location; import org.bukkit.World; import org.bukkit.block.Sign; import org.bukkit.c...
package org.nusco.swimmers.creature.genetics; class OrganParser { private final int[] genes; private int index_in_genes = 0; public OrganParser(DNA dna) { genes = dna.getGenes(); } public int[] nextPart() { int[] result = new int[OrganBuilder.GENES_PER_PART]; int index_in_res...
package org.objectweb.proactive.core.gc; import java.io.IOException; import java.util.Collection; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Vector; import org.apache.log4j.Level; import org.objectweb.proactive.core.ProActiveRuntimeException; imp...
package org.opencms.file.types; import org.opencms.configuration.CmsConfigurationException; import org.opencms.db.CmsSecurityManager; import org.opencms.file.CmsFile; import org.opencms.file.CmsObject; import org.opencms.file.CmsProperty; import org.opencms.file.CmsPropertyDefinition; import org.opencms.file.CmsRequest...
package org.pentaho.di.trans.steps.getxmldata; import java.io.FileInputStream; import java.io.StringReader; import java.util.List; import org.dom4j.io.SAXReader; import org.dom4j.XPath; import org.dom4j.tree.AbstractNode; import org.apache.commons.vfs.FileObject; import org.pentaho.di.core.Const; import org.pentaho.di....
package sudoku; import java.io.File; import java.io.FileNotFoundException; import java.io.PrintStream; import java.util.Collections; import java.util.List; import java.util.Scanner; import java.util.function.BiConsumer; import java.util.stream.Collectors; import java.util.stream.IntStream; import sudoku.parse.Parser; i...
package org.rubyforge.debugcommons.model; import java.io.File; import org.rubyforge.debugcommons.RubyDebuggerException; import org.rubyforge.debugcommons.RubyDebuggerProxy; import org.rubyforge.debugcommons.Util; public final class RubyDebugTarget extends RubyEntity { private final Process process; private fina...
package jfxtras.scene.control.window; import javafx.animation.Animation; import javafx.animation.ScaleTransition; import javafx.animation.Transition; import javafx.beans.property.BooleanProperty; import javafx.beans.property.DoubleProperty; import javafx.beans.property.ObjectProperty; import javafx.beans.property.Prope...
package com.belladati.sdk; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import com.belladati.sdk.exception.InvalidImplementationException; /** * Serves as the entry point to the BellaDati SDK. Use either of the connect * methods to connect to a server, then authenticate to...
package com.dmdirc.parser; import com.dmdirc.parser.callbacks.CallbackManager; import com.dmdirc.parser.callbacks.CallbackOnConnectError; import com.dmdirc.parser.callbacks.CallbackOnDataIn; import com.dmdirc.parser.callbacks.CallbackOnDataOut; import com.dmdirc.parser.callbacks.CallbackOnDebugInfo; import com.dmdirc.p...
package com.example.timestamp; import com.example.timestamp.model.TimePost; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.os.Bundle; import android.view.Gravity; import android.view.View; import android.view.ViewGroup;...
package pitt.search.semanticvectors.vectors; import java.io.IOException; import java.util.ArrayList; import java.util.Random; import java.util.logging.Logger; import org.apache.lucene.store.IndexInput; import org.apache.lucene.store.IndexOutput; import org.apache.lucene.util.OpenBitSet; import pitt.search.semanticvecto...
// -*- mode:java; encoding:utf-8 -*- // vim:set fileencoding=utf-8: // @homepage@ package example; import java.awt.*; import java.awt.event.HierarchyEvent; import java.awt.event.HierarchyListener; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.awt....
import org.json.simple.JSONArray; import org.json.simple.JSONObject; import spark.Request; import spark.Response; import spark.servlet.SparkApplication; import spark.utils.IOUtils; import javax.mail.Authenticator; import javax.mail.PasswordAuthentication; import java.io.BufferedReader; import java.io.FileReader; import...
package com.jme.scene; import java.io.IOException; import java.io.Serializable; import com.jme.renderer.RenderContext; import com.jme.renderer.Renderer; import com.jme.scene.state.RenderState; import com.jme.util.export.InputCapsule; import com.jme.util.export.JMEExporter; import com.jme.util.export.JMEImporter; import...