answer
stringlengths
17
10.2M
package <%=packageName%>.aop.logging; import <%=packageName%>.config.Constants; import org.aspectj.lang.JoinPoint; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang....
package com.dataiku.wt1.controllers; import java.io.IOException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @SuppressWarnings("serial") public class GlobalIdServlet extends HttpServlet { public static final String FUN_PARAM = "...
// Administrator of the National Aeronautics and Space Administration // This software is distributed under the NASA Open Source Agreement // (NOSA), version 1.3. The NOSA has been approved by the Open Source // Initiative. See the file NOSA-1.3-JPF at the top of the distribution // directory tree for the complete NO...
package <%=packageName%>.aop.logging; import <%=packageName%>.config.Constants; import org.aspectj.lang.JoinPoint; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang....
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.eas.util; import java.io.*; import java.util.logging.Level; import java.util.logging.Logger; /** * Common operations with files. * * @author vv */ public class FileUtils { public static final char EXT...
package com.github.horrorho.ragingmoose; import static java.lang.Long.toHexString; import java.nio.ByteBuffer; import java.util.Objects; import javax.annotation.Nonnull; import javax.annotation.ParametersAreNonnullByDefault; import javax.annotation.concurrent.NotThreadSafe; /** * Low level bit in stream. * * @author...
package com.github.phantomthief.util; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; import static java.util.Spliterator.IMMUTABLE; import static java.util.Spliterator.NONNULL; import static java.util.Spliterator.ORDERED; import static ...
package joliex.io; import com.sun.xml.xsom.XSSchemaSet; import com.sun.xml.xsom.XSType; import com.sun.xml.xsom.parser.XSOMParser; import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream...
package org.basex.query.func; import static org.basex.query.util.Err.*; import static org.basex.util.Token.*; import java.io.IOException; import java.math.BigInteger; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.zip.CRC32; import org.basex.io.IO; import org.basex.q...
package com.google.appengine.gcloudapp; import com.google.appengine.repackaged.com.google.api.client.util.Throwables; import com.google.appengine.repackaged.com.google.common.io.ByteStreams; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureException; import java.io.File; ...
package org.jbox2d.common; /** * Global tuning constants based on MKS units and various integer maximums (vertices per shape, * pairs, etc.). */ public class Settings { /** A "close to zero" float epsilon value for use */ public static final float EPSILON = 1.1920928955078125E-7f; public static final float PI ...
package org.fungsi.concurrent; import org.fungsi.Either; import org.fungsi.Throwables; import java.time.Duration; import java.util.Deque; import java.util.Optional; import java.util.concurrent.ConcurrentLinkedDeque; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import java.util.concu...
package org.drpowell.vcf; import java.util.Arrays; import java.util.Collections; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.NoSuchElementException; import java.util.logging.Level; import java.util.logging.Logger; import org.drpowell.util.Cus...
package com.plivo.examples.multipartycall; import com.plivo.api.Plivo; import com.plivo.api.exceptions.PlivoRestException; import com.plivo.api.exceptions.PlivoValidationException; import com.plivo.api.models.base.ListResponse; import com.plivo.api.models.multipartycall.MultiPartyCall; import com.plivo.api.models.multi...
package com.jenjinstudios.jgsf; import com.jenjinstudios.jgsf.message.ServerExecutableMessage; import com.jenjinstudios.message.ExecutableMessage; import com.jenjinstudios.message.Message; import com.jenjinstudios.net.Communicator; import java.io.IOException; import java.net.Socket; import java.util.LinkedList; import ...
package org.mskcc.cbio.portal.dao; import org.mskcc.cbio.portal.model.CanonicalGene; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.u...
package org.javafp.util; /** * Interfaces for composable functions which throw. */ public abstract class FunctionsEx { /** * Function of arity 0. * @param <R> return type */ @FunctionalInterface public interface F0<R> { static <R> F0<R> of(F0<R> f) { return f; } ...
package com.redhat.ceylon.maven; import java.io.Closeable; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.Collections; import java.util.Enumeration; import java.util.HashSet; import java.util.List; import java.u...
package com.indexdata.pz2utils4jsf.config; import java.io.IOException; import java.io.Serializable; import java.util.HashMap; import java.util.Map; import javax.enterprise.context.SessionScoped; import javax.inject.Named; import org.apache.log4j.Logger; import com.indexdata.masterkey.config.MissingMandatoryParameterExc...
package com.jme3.animation; import com.jme3.export.InputCapsule; import com.jme3.export.JmeExporter; import com.jme3.export.JmeImporter; import com.jme3.export.OutputCapsule; import com.jme3.math.Quaternion; import com.jme3.math.Vector3f; import com.jme3.scene.Spatial; import com.jme3.util.TempVars; import com.jme3.uti...
package me.benjozork.onyx.entity.ai; import me.benjozork.onyx.entity.LivingEntity; /** * @author Benjozork */ public class AIConfiguration { /** * The strategy used by the AI */ public AIStrategy strategy; /** * The degree of bullet avoidance */ public ProjectileReluctance reluctan...
package org.mamute.auth; import org.scribe.model.OAuthRequest; import org.scribe.model.Response; import org.scribe.model.Token; import org.scribe.model.Verb; import org.scribe.oauth.OAuthService; import com.google.common.base.Optional; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.go...
package com.solace.kafka.connect; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.common.config.ConfigDef.Type; import org.apache.kafka.common.utils.AppInfoParser; import org.apache.kafka.connect.errors.ConnectException; i...
package cz.zcu.kiv.jop.binding; import java.lang.annotation.Annotation; import java.lang.reflect.Constructor; import javax.inject.Singleton; import cz.zcu.kiv.jop.util.Preconditions; public class BindingImpl<T> implements Binding<T> { /** Class type of annotation for which was created this binding. */ protected fin...
package ch.ntb.usb.test; import ch.ntb.usb.LibusbJava; import ch.ntb.usb.UsbBus; import ch.ntb.usb.UsbConfigDescriptor; import ch.ntb.usb.UsbDevice; import ch.ntb.usb.UsbEndpointDescriptor; import ch.ntb.usb.UsbInterface; import ch.ntb.usb.UsbInterfaceDescriptor; /** * This class replicates the code from testlibusb.c ...
package org.monarch.golr; import static com.google.common.collect.Collections2.transform; import static java.util.Collections.singleton; import java.io.IOException; import java.io.StringWriter; import java.io.Writer; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util...
package readers; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import org.junit.Test; import basics.Service; import basics.VehicleRoutingProblem; import basics.VehicleRoutingProblem.FleetSize; import basics.route.Vehicle; public class CordeauReaderTest { @Test public vo...
package org.mvel; import static org.mvel.DataConversion.canConvert; import org.mvel.ast.AssignmentNode; import org.mvel.ast.LiteralNode; import org.mvel.ast.Substatement; import org.mvel.util.ExecutionStack; import static org.mvel.util.ParseTools.containsCheck; import static org.mvel.util.ParseTools.doOperations; impor...
package com.timgroup.statsd; import jnr.unixsocket.UnixDatagramChannel; import java.io.IOException; import java.net.SocketAddress; import java.nio.ByteBuffer; import java.nio.channels.DatagramChannel; public class DatagramClientChannel implements ClientChannel { private final DatagramChannel delegate; private f...
package protocolsupportpocketstuff.packet; import org.bukkit.plugin.PluginManager; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import protocolsupport.api.Connection; import protocolsupport.api.Connection.PacketListener; import protocolsupport.protocol.serializer.VarNumberSerializer; import protocol...
package com.photon.phresco.commons.model; public class CoreOption { String techId; boolean core; public CoreOption(){ super(); } public CoreOption(String techId, boolean core) { super(); this.techId = techId; this.core = core; } public String getTechId() { ...
package com.volumetricpixels.politics.group; import gnu.trove.iterator.TIntObjectIterator; import gnu.trove.map.TIntObjectMap; import gnu.trove.map.hash.TIntObjectHashMap; import java.io.Serializable; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map.Entry; import java.ut...
import com.google.gson.Gson; import com.researchworx.cresco.library.messaging.MsgEvent; import com.researchworx.cresco.library.plugin.core.CPlugin; import java.util.Map; import java.util.Timer; import java.util.TimerTask; class PerfMonitor { private CPlugin plugin; private Timer timer; private boolean runni...
package com.pingidentity.developer.pingid; import org.apache.commons.io.IOUtils; import org.jose4j.base64url.Base64; import org.jose4j.jws.AlgorithmIdentifiers; import org.jose4j.jws.JsonWebSignature; import org.jose4j.keys.HmacKey; import org.jose4j.lang.JoseException; import org.json.simple.JSONObject; import org.jso...
package com.vranec.minimax; public class ArtificialIntelligence { public BestMove negamax(Board board, int depth, Color color) { return negamax(board, depth, -Integer.MAX_VALUE, Integer.MAX_VALUE, color); } /** * * @param board * Current board state. * @param depth ...
package org.languagetool; import lombok.extern.slf4j.Slf4j; import org.languagetool.markup.AnnotatedText; import org.languagetool.rules.Rule; import java.io.IOException; import java.io.InputStream; import java.lang.reflect.Constructor; import java.util.*; @Slf4j /** * Information about premium-only rules. */ public a...
package com.sun.star.lib.uno.environments.remote; public interface IReceiver { /** * Send back a reply for a request. * * @param exception <CODE>true</CODE> if an exception (instead of a normal * result) is sent back. * @param threadId the thread ID of the request. * @param result ...
package org.se.lab.data; import org.apache.log4j.Logger; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import java.util.List; class UserDAOImpl implements UserDAO { private final Logger LOG = Logger.getLogger(UserDAOImpl.class); @PersistenceContext private EntityMa...
import org.lwjgl.BufferUtils; import org.lwjgl.LWJGLException; import org.lwjgl.opengl.*; import java.nio.FloatBuffer; import static org.lwjgl.opengl.GL11.*; import static org.lwjgl.opengl.GL20.*; import static org.lwjgl.opengl.GL30.*; public class SuperBible1 { // Source code for vertex shader private final St...
package com.pyramidacceptors.ptalk.api; /** * Provides constant strings and enumerations used for API transactions<br> * between client code and the {@code ICommDevice} * <br> * @author <a href="mailto:cory@pyramidacceptors.com">Cory Todd</a> * @since 1.0.0.0 */ public class APIConstants { /** * String r...
package com.fsck.k9.mailstore; import java.io.IOException; import java.io.OutputStream; import java.util.Date; import java.util.Set; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.util.Log; import com.fsck.k9.Account; import com.fsck.k...
/* * $Id$ * $URL$ */ package org.subethamail.wiser; import java.io.BufferedInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintStream; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Propertie...
package gui; import javafx.geometry.VPos; import javafx.scene.canvas.GraphicsContext; import javafx.scene.paint.Color; import javafx.scene.text.Font; public class Minimap { public static final int MINIMAP_Y = 700; public static final int MINIMAP_HEIGHT = 20; public static final int TEXT_Y = 740; public ...
package com.yuvalshavit.effes.parser; import com.google.common.base.Supplier; import org.antlr.v4.runtime.CommonToken; import org.antlr.v4.runtime.Token; import java.util.ArrayDeque; import java.util.Deque; import java.util.Queue; public final class DenterHelper { private final Queue<Token> dentsBuffer = new ArrayDeq...
package hex.drf; import static water.util.Utils.*; import hex.ShuffleTask; import hex.gbm.*; import hex.gbm.DTree.DecidedNode; import hex.gbm.DTree.LeafNode; import hex.gbm.DTree.TreeModel.TreeStats; import hex.gbm.DTree.UndecidedNode; import java.util.Arrays; import java.util.Random; import jsr166y.ForkJoinTask; impor...
package de.bmoth.backend.z3; import com.microsoft.z3.*; import de.bmoth.app.PersonalPreferences; import de.bmoth.backend.TranslationOptions; import de.bmoth.parser.Parser; import de.bmoth.parser.ast.AbstractVisitor; import de.bmoth.parser.ast.AstTransformationForZ3; import de.bmoth.parser.ast.nodes.*; import de.bmoth.p...
package ru.r2cloud.jradio.lrpt; import java.util.ArrayList; import java.util.List; public class Vcdu { public static final int SIZE = 892; public static final int VITERBI_SIZE = (SIZE / 4 + 32) * 4; public static final int VITERBI_TAIL_SIZE = (VITERBI_SIZE + 1) * 16; private static final int VCDU_HEADER...
package com.sharparam.sharpmemory.models; import com.sharparam.sharpmemory.Difficulty; import com.sharparam.sharpmemory.SharpMemory; import com.sharparam.sharpmemory.State; import com.sharparam.sharpmemory.events.FieldEventListener; import com.sharparam.sharpmemory.events.FieldEventType; import com.sharparam.sharpmemor...
package seedu.address.ui; import javafx.scene.Node; import javafx.scene.Scene; import javafx.scene.layout.AnchorPane; import javafx.scene.web.WebView; import javafx.stage.Stage; import seedu.address.commons.util.FxViewUtil; import seedu.address.commons.core.LogsCenter; import java.util.logging.Logger; /** * Controller...
package com.skelril.nitro.entity; import org.spongepowered.api.block.BlockTypes; import org.spongepowered.api.data.key.Keys; import org.spongepowered.api.entity.Entity; import org.spongepowered.api.world.Location; import org.spongepowered.api.world.World; import java.util.Optional; public class SafeTeleportHelper { ...
package soaba.core.config; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.nio.file.Files; import java.util.ArrayList; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import soaba.core.api.IDatapoint; import soaba.core.api.IDatapoint.ACCESSTYPE; im...
package com.thanglequoc.aqicalculator; import java.util.Optional; /** * A calculator use to calculate AQI from pollutant concentration, support both * <b>regular AQI</b> calculation and <b>Nowcast AQI</b> calculation. This * object is intended to be a singleton object to avoid perfomance issue. * <p> * To use the ...
package de.retest.recheck.report; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.stream.Collectors; import de.retest.recheck.ignore.Filter; import de.retest.recheck.report.action.ActionReplayData; import de.retest.recheck.ui.actions.ExceptionWrapper; import de.retest.re...
package water; import hex.ConfusionMatrix; import hex.VariableImportance; import java.util.Arrays; import java.util.HashMap; import javassist.*; import water.api.DocGen; import water.api.Request.API; import water.fvec.*; import water.util.Log.Tag.Sys; import water.util.Log; import water.util.Utils; /** * A Model model...
package swf.app; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import swf.accel.model.AccelerationData; import swf.model.TimeSeries; import swf.nnc.NearestNeighbourClassificator; import swf.transformer.SubTransformer; public class GestureDistanceInfo implements Evaluator { private Nea...
// of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // all copies or substanti...
package tigase.cert; import tigase.util.Algorithms; import tigase.util.Base64; import java.io.*; import java.security.*; import java.security.cert.*; import java.security.cert.Certificate; import java.security.interfaces.RSAPrivateKey; import java.security.spec.InvalidKeySpecException; import java.security.spec.PKCS8En...
// Triple Play - utilities for use in PlayN-based games package tripleplay.game; import java.util.ArrayList; import java.util.List; import playn.core.PlayN; import playn.core.Game; /** * Manages a stack of screens. The stack supports useful manipulations: pushing a new screen onto * the stack, replacing the screen at...
package com.zuehlke.carrera.javapilot.Utils; import com.zuehlke.carrera.relayapi.messages.PenaltyMessage; import org.apache.commons.math3.stat.regression.SimpleRegression; public class Segment{ TurnStateRecognizer.TurnState turnState; private static final int init_throttle_time=300; private static final int...
package de.braintags.vertx.util.security; import java.util.List; import io.vertx.core.json.JsonObject; public class JWTOptions { private static final IllegalArgumentException INCOMPATIBLE_CONFIG = new IllegalArgumentException( "Can only set expiresIn to seconds or minutes"); private JsonObject header; priva...
package gov.nasa.jpl.mbee.mdk.emf; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ObjectNode; import com.nomagic.magicdraw.core.Project; import com.nomagic.magicdraw.openapi.uml.ReadOnlyElementException; import com.nomagic.magicdraw.openapi.uml.SessionManager; import com.noma...
package de.nrw.hbz.regal.api.helper; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.StringReader; import java.io.StringWriter; import java.io.UnsupportedEncodingException; import java.net.URL; import java.net.URLEncoder; import java.util.Date; import java.uti...
package de.retest.recheck.auth; import static org.keycloak.adapters.rotation.AdapterTokenVerifier.verifyToken; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.net.MalformedURLException; import java.ne...
package info.istamendil.bookcatalogue.models; import javax.persistence.*; import javax.validation.constraints.*; import org.hibernate.validator.constraints.*; @Entity @Table(name = "book") public class Book{ @Id @GeneratedValue(strategy = GenerationType.AUTO) @Column(name = "id", unique = true, nullable = false) ...
package io.github.nucleuspowered.nucleus; import com.google.common.base.Preconditions; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import io.github.nucleuspowered.nucleus.modules.core.config.CoreConfigAdapter; import org.spongepowered.api.command.CommandSource; import org.spongepowere...
package hudson.plugins.tasks; import hudson.maven.AggregatableAction; import hudson.maven.MavenAggregatedReport; import hudson.maven.MavenBuild; import hudson.maven.MavenModule; import hudson.maven.MavenModuleSet; import hudson.maven.MavenModuleSetBuild; import hudson.model.Action; import hudson.model.AbstractBuild; im...
package info.u_team.u_team_core.util; import java.util.Map; import java.util.concurrent.Callable; import java.util.function.Supplier; import com.google.common.collect.Maps; import net.minecraft.client.renderer.tileentity.ItemStackTileEntityRenderer; import net.minecraft.item.Item.Properties; import net.minecraftforge.c...
package jenkins.plugins.telegram; import hudson.EnvVars; import hudson.Extension; import hudson.Launcher; import hudson.model.AbstractBuild; import hudson.model.AbstractProject; import hudson.model.BuildListener; import hudson.model.Descriptor; import hudson.model.listeners.ItemListener; import hudson.tasks.BuildStepDe...
package mcjty.immcraft.worldgen; import mcjty.immcraft.blocks.ModBlocks; import mcjty.immcraft.blocks.foliage.SticksTE; import mcjty.immcraft.blocks.generic.GenericBlock; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.init.Blocks; import net.minecraft.util.BlockPos;...
package net.bootsfaces.issues.issue280; import java.io.Serializable; import javax.faces.bean.ManagedBean; import javax.faces.view.ViewScoped; @ManagedBean @ViewScoped public class BookshopBean implements Serializable { private static final long serialVersionUID = 1L; private double discount=10.5; private do...
package me.robertyang.codeic.block; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.block.properties.PropertyBool; import net.minecraft.block.state.BlockStateContainer; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.EntityLivingBase; import...
package ml.duncte123.skybot.utils; import ml.duncte123.skybot.Settings; import ml.duncte123.skybot.objects.ConsoleUser; import ml.duncte123.skybot.objects.FakeUser; import net.dv8tion.jda.bot.sharding.ShardManager; import net.dv8tion.jda.core.JDA; import net.dv8tion.jda.core.MessageBuilder; import net.dv8tion.jda.core....
package net.bull.javamelody; import java.io.IOException; 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; import javax.servlet.http.HttpServ...
package net.floodlightcontroller.util; import java.io.IOException; import java.io.StringWriter; import java.io.Writer; import java.util.ArrayDeque; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.projectfloodlight....
package net.ihiroky.niotty; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicIntegerFieldUpdater; import java.util.concurrent.locks.LockSupport; /** * A implementation of {@link net.ihiroky.niotty.EventDispatcher} which depends on * {@link java.util.concurrent.locks.LockSupport#parkNanos...
package net.minecraftforge.client.model; import java.awt.Color; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Iterato...
package net.onrc.onos.apps.proxyarp; import java.net.InetAddress; import java.net.UnknownHostException; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import java...
package net.kaczmarzyk.kata; import java.util.Arrays; import java.util.List; public class RomanNumeralConverter { private List<RomanSymbol> symbols = Arrays.asList( new RomanSymbol(1000, "M"), new RomanSymbol(900, "CM"), new RomanSymbol(500, "D"), new RomanSymbol(400, "CD"), ...
package net.malisis.core.renderer; import java.lang.reflect.Field; import javax.vecmath.Matrix4f; import net.malisis.core.MalisisCore; import net.malisis.core.MalisisRegistry; import net.malisis.core.asm.AsmUtils; import net.malisis.core.renderer.element.Face; import net.malisis.core.renderer.element.Shape; import net....
package net.sf.jabref.logic; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import net.sf.jabref.model.EntryTypes; import net.sf.jabref.model.database.BibDatabaseMode; import net.sf.jabref.model.entry.CustomEntryType; import net.sf.jabref.preferences.JabRefPre...
package net.timbusproject.extractors.core; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement @XmlAccessorType(XmlAccessType.NONE) public class Parameter{ @Xml...
package net.zero918nobita.Xemime.interpreter; import net.zero918nobita.Xemime.entity.*; import net.zero918nobita.Xemime.parser.Parser; import net.zero918nobita.Xemime.utils.VirtualMemoryMonitor; import net.zero918nobita.Xemime.ast.*; import java.io.*; import java.util.ArrayList; import java.util.Arrays; import java.uti...
package net.zero918nobita.Xemime.interpreter; import net.zero918nobita.Xemime.entity.*; import net.zero918nobita.Xemime.parser.Parser; import net.zero918nobita.Xemime.utils.VirtualMemoryMonitor; import net.zero918nobita.Xemime.ast.*; import java.io.*; import java.util.ArrayList; import java.util.Arrays; import java.uti...
package org.agmip.translators.apsim.events; import java.text.ParseException; import java.util.Calendar; import java.util.Date; import org.agmip.ace.LookupCodes; import org.agmip.translators.apsim.core.Management; import org.agmip.translators.apsim.util.Util; import org.codehaus.jackson.annotate.JsonProperty; /** * @au...
package nl.hsac.fitnesse.junit; import fitnesse.ContextConfigurator; import fitnesse.FitNesseContext; import fitnesse.components.PluginsClassLoader; import fitnesse.wiki.WikiPage; import nl.hsac.fitnesse.fixture.Environment; import nl.hsac.fitnesse.fixture.slim.web.SeleniumDriverSetup; import nl.hsac.fitnesse.fixture.u...
package no.ntnu.okse.web.controller; import no.ntnu.okse.web.model.Log; import org.apache.commons.io.FileUtils; import org.apache.commons.io.filefilter.TrueFileFilter; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework....
package Alg.Kernelization; import org.jgrapht.graph.DefaultEdge; import org.jgrapht.graph.Multigraph; import java.util.*; import java.util.stream.Collectors; import java.util.stream.Stream; /** * Kernelization rules mainly focused on the Simple Disjoint Kernelization Problem. * * See Section 4.3.1 from the book */ ...
package org.broad.igv.ui.commandbar; import com.jidesoft.swing.JideBoxLayout; import com.jidesoft.swing.JideButton; import com.jidesoft.swing.JideToggleButton; import org.apache.log4j.Logger; import org.broad.igv.Globals; import org.broad.igv.event.*; import org.broad.igv.feature.genome.Genome; import org.broad.igv.fea...
package org.cytoscape.hybrid.internal.ui; import static org.cytoscape.hybrid.internal.ui.UiTheme.DEF_FONT; import java.awt.Color; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import java.util.concurrent.ExecutorSer...
package org.embulk.input.zendesk; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.ArrayNode; import com.fasterxml.jackson.databind.node.ObjectNode; import com.google.common.annotations.VisibleForTesting; import com.google.com...
package org.irmacard.api.common; import org.irmacard.credentials.info.IssuerIdentifier; import java.math.BigInteger; import java.util.HashMap; public class JwtSessionRequest { private String jwt; private BigInteger nonce; private BigInteger context; private HashMap<IssuerIdentifier, Integer> keys; p...
package org.imirsel.nema.flowservice; import java.util.logging.Logger; import org.springframework.beans.BeansException; import org.springframework.context.support.ClassPathXmlApplicationContext; /** * Main class for the NEMA Flow Service. * * @author shirk * @since 0.4.0 */ public class FlowServiceApp { private...
package org.java_websocket.server; import java.io.IOException; import java.net.InetSocketAddress; import java.net.ServerSocket; import java.net.Socket; import java.net.UnknownHostException; import java.nio.ByteBuffer; import java.nio.channels.ByteChannel; import java.nio.channels.CancelledKeyException; import java.nio....
package org.jsoftware.command; import org.jsoftware.config.AbstractPatch; import org.jsoftware.config.Patch; import org.jsoftware.config.RollbackPatch; import org.jsoftware.impl.CloseUtil; import org.jsoftware.impl.DuplicatePatchNameException; import org.jsoftware.impl.PatchParser; import java.io.File; import java.io.F...
package org.jtrfp.trcl.game; import org.jtrfp.trcl.conf.ConfigRootFeature; import org.jtrfp.trcl.core.Feature; import org.jtrfp.trcl.core.FeatureFactory; import org.jtrfp.trcl.core.Features; import org.jtrfp.trcl.core.FeaturesImpl.FeatureNotFoundException; import org.jtrfp.trcl.core.LoadOrderAware; import org.jtrfp.trc...
package org.jenkinsci.plugins.ghprb; import hudson.Extension; import hudson.model.AbstractProject; import hudson.model.UnprotectedRootAction; import hudson.security.ACL; import hudson.security.csrf.CrumbExclusion; import jenkins.model.Jenkins; import org.acegisecurity.Authentication; import org.acegisecurity.context.Se...
package org.kairosdb.core.http.rest; import com.google.common.collect.SetMultimap; import com.google.gson.JsonArray; import com.google.gson.JsonObject; import org.kairosdb.core.datastore.QueryMetric; import org.kairosdb.core.datastore.QueryQueuingManager; import org.kairosdb.core.http.rest.json.ErrorResponse; import or...
package org.kitteh.irc.client.library.element; /** * Represents an entity on an IRC server which can perform actions. */ public interface Actor { /** * Gets the Actor's name. * * @return the Actor's name */ String getName(); }
package org.lightmare.jpa.jta; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.Stack; import javax.persistence.EntityManager; import javax.persistence.EntityTransaction; import javax.transaction.HeuristicMixedException; import javax.transaction.HeuristicRollbackExcepti...
package org.mahjong4j.yaku.yakuman; import org.mahjong4j.hands.Kotsu; import org.mahjong4j.hands.MentsuComp; import java.util.List; import static org.mahjong4j.yaku.yakuman.MahjongYakumanEnum.SUANKO; /** * * 4 * * * @author yu1ro */ public class SuankoResolver implements YakumanResolver { private final int co...