answer
stringlengths
17
10.2M
package node; import java.util.Vector; /** * This is a recursive representation of an ordered tree. Each node stores a * vector of pointers to its children. The order of children is significant and * must be observed while implmeneting a custom input parser. * * @param <D> the type of node data (node label). */ p...
package water; import java.util.concurrent.*; import java.util.concurrent.atomic.AtomicInteger; import jsr166y.ForkJoinPool; import water.H2O.FJWThr; import water.H2O.H2OCountedCompleter; /** * A remotely executed FutureTask. Flow is: * * 1- Build a DTask (or subclass). This object will be replicated remotely. * ...
package com.almasb.fxgl.core.math; import javafx.geometry.Point2D; import javafx.geometry.Rectangle2D; import javafx.scene.paint.Color; import java.util.List; import java.util.Optional; import java.util.Random; /** * Utility and fast math functions. * Thanks to Riven on JavaGaming.org for the basis of sin/cos/floor/c...
package org.esteid.applet; import javacard.framework.APDU; import javacard.framework.Applet; import javacard.framework.ISOException; import javacard.framework.JCSystem; import javacard.framework.Util; import javacard.security.KeyBuilder; import javacard.security.RSAPrivateCrtKey; import javacardx.crypto.Cipher; import ...
package org.joseki.http; import java.io.IOException; import javax.servlet.ServletOutputStream; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.hp.hpl.jena.query.QueryException; import com.hp.hpl.jena.query.ResultSet; import com.hp.hpl.jena.query.ResultSetFormatter...
package be.kuleuven.cs.distrinet.jnome.core.type; import java.lang.ref.SoftReference; import java.util.List; import java.util.Set; import org.aikodi.chameleon.core.Config; import org.aikodi.chameleon.core.declaration.Declaration; import org.aikodi.chameleon.core.lookup.LookupException; import org.aikodi.chameleon.core....
// checkstyle: Checks Java source code for adherence to a set of rules. // 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...
package org.linuxguy.MarketBot; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.net.URL; import java.net.URLConnection...
package org.missiledefense; import hermes.World; import hermes.postoffice.*; import processing.core.PApplet; import processing.core.PImage; import processing.core.PVector; import java.awt.*; import java.text.MessageFormat; import java.util.ArrayList; class GameWorld extends World implements MouseSubscriber, KeySubscrib...
package jobs; import play.Logger; import play.db.jpa.JPA; import play.jobs.Every; import play.jobs.Job; import javax.persistence.Query; @Every("600s") public class UpdateNetworkEdges extends Job { public static final Double tolerance = 0.000001; public void doJob() { updateNetworEdges(); } public stat...
package com.t28.sectionadapter; import android.support.v7.widget.RecyclerView; import android.view.ViewGroup; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; public abstract class SectionAdapter<T, VH extends RecyclerView.ViewHolder> extends RecyclerView.Adapter<Recycl...
package org.nutz.dao.impl; import java.sql.Connection; import java.sql.DatabaseMetaData; import javax.sql.DataSource; import org.nutz.dao.ConnCallback; import org.nutz.dao.DatabaseMeta; import org.nutz.dao.SqlManager; import org.nutz.dao.entity.EntityMaker; import org.nutz.dao.impl.entity.AnnotationEntityMaker; import ...
package com.haxademic.demo.draw.texures.shaders; import com.haxademic.core.app.P; import com.haxademic.core.app.PAppletHax; import com.haxademic.core.constants.AppSettings; import com.haxademic.core.draw.textures.pshader.TextureShader; import com.haxademic.core.hardware.shared.InputTrigger; public class Demo_TextureSha...
package com.opengamma.engine.view.cache; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Queue; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentLinkedQueue; import java.util.concurrent.ExecutorService; import jav...
package org.nutz.mvc.upload; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Collection; import org.nutz.lang.Files; /** * * <p> 1.r.55servlet 3.0+Part,. </p> */ public class TempFile { private File file; ...
package org.opencms.main; import org.opencms.configuration.CmsConfigurationException; import org.opencms.configuration.CmsConfigurationManager; import org.opencms.configuration.CmsImportExportConfiguration; import org.opencms.configuration.CmsModuleConfiguration; import org.opencms.configuration.CmsSearchConfiguration;...
package org.reprap.geometry; import javax.media.j3d.*; import org.reprap.Preferences; import org.reprap.Printer; import org.reprap.geometry.polygons.*; import org.reprap.gui.PreviewPanel; import org.reprap.gui.RepRapBuild; import org.reprap.machines.MachineFactory; import org.reprap.machines.NullCartesianMachine; impor...
package org.smof.parsers; import java.util.ArrayList; import java.util.Collection; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import org.bson.BsonArray; import org.bson.BsonValue; import org.smof.collection.SmofDispatcher; import org.smof.field.ParameterField; import org.smof.field.Pri...
package org.terifan.raccoon; import java.io.ByteArrayInputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Spliterator; import java.util.Spliterators.AbstractSplit...
package dr.evomodel.coalescent.operators; import dr.evomodel.coalescent.GMRFSkyrideLikelihood; import dr.inference.model.Parameter; import dr.inference.operators.*; import dr.math.MathUtils; import dr.xml.*; import no.uib.cipr.matrix.*; import java.io.IOException; import java.util.logging.*; /* A Metropolis-Hastings op...
package dr.evomodel.coalescent.operators; import dr.evomodel.coalescent.GMRFSkyrideLikelihood; import dr.inference.model.Parameter; import dr.inference.operators.*; import dr.math.MathUtils; import dr.xml.*; import no.uib.cipr.matrix.*; /* A Metropolis-Hastings operator to update the log population sizes and precision ...
package dr.evomodel.treedatalikelihood.continuous; import dr.evomodel.treedatalikelihood.continuous.cdi.PrecisionType; import dr.inference.model.CompoundParameter; import dr.math.matrixAlgebra.WrappedMatrix; import dr.math.matrixAlgebra.missingData.MissingOps; import dr.xml.*; import org.ejml.data.DenseMatrix64F; impor...
package fonzerelly.consorsbank.jsdevwrapper.test; import static org.junit.Assert.assertEquals; import org.junit.Test; public class TestScriptConcatenator extends TestScriptManipulator { @Test public void itShouldReplaceNewLinePlaceholderWithProperNewLine() { String scriptWithPlaceholders = "var/*ScriptE...
package fr.inria.verveine.extractor.fortran.visitors; import fr.inria.verveine.extractor.fortran.FortranLanguage; import fr.inria.verveine.extractor.fortran.Options; import fr.inria.verveine.extractor.fortran.ir.IRDictionary; import fr.inria.verveine.extractor.fortran.ir.IREntity; import fr.inria.verveine.extractor.for...
package org.voltdb.sysprocs.saverestore; import java.io.IOException; import java.util.Arrays; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.atomic.AtomicInteger; import org.json_voltpatches.JSONObject; import org.voltcore.utils.Pair; import o...
package gov.nih.nci.ispy.service.findings.strategies; import gov.nih.nci.caintegrator.application.cache.BusinessTierCache; import gov.nih.nci.caintegrator.dto.query.QueryDTO; import gov.nih.nci.caintegrator.enumeration.FindingStatus; import gov.nih.nci.caintegrator.exceptions.FindingsAnalysisException; import gov.nih.n...
package org.rstudio.studio.client.workbench.views.source; import com.google.gwt.core.client.JavaScriptObject; import com.google.gwt.core.client.JsArray; import com.google.gwt.core.client.JsArrayString; import com.google.gwt.core.client.Scheduler; import com.google.gwt.core.client.Scheduler.ScheduledCommand; import com....
package org.dellroad.stuff.pobj; import java.util.HashMap; import java.util.concurrent.Callable; import java.util.concurrent.CancellationException; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import java.util.concurrent.FutureTask; import java.util.concurrent.LinkedBlockingQueue;...
package org.orbeon.oxf.processor.validation; import com.sun.msv.verifier.jarv.Const; import com.sun.msv.verifier.jarv.TheFactoryImpl; import org.apache.log4j.Logger; import org.dom4j.Document; import org.iso_relax.verifier.*; import org.orbeon.oxf.common.OXFException; import org.orbeon.oxf.common.ValidationException; i...
package io.github.greyp9.arwo.core.codec.b64; import java.io.IOException; public final class Base64Codec { private Base64Codec() { } public static String encode(final byte[] bytes) { return ((bytes == null) ? null : java.util.Base64.getEncoder().encodeToString(bytes)); } public static byte[]...
package ameba.mvc.template.internal; import ameba.Ameba; import ameba.core.Application; import ameba.message.error.ErrorMessage; import com.google.common.collect.Lists; import org.apache.commons.collections4.ListUtils; import org.apache.commons.collections4.Predicate; import org.apache.commons.lang3.ArrayUtils; import ...
package br.com.fourdev.orderfood.controller; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; import org....
package ch.sportchef.business.event.control; import ch.sportchef.business.AverageColorCalculator; import ch.sportchef.business.ImageResizer; import ch.sportchef.business.event.entity.Event; import org.apache.commons.io.IOUtils; import pl.setblack.badass.Politician; import javax.annotation.PostConstruct; import javax.im...
package com.aif.associations.controller; import com.aif.associations.model.IAssociationsExtractor; import com.aif.associations.model.IConnectionExtractor; import com.aif.associations.model.IItem; import javax.validation.constraints.Max; import javax.validation.constraints.Min; public final class AssociationsExtractor i...
package com.coinbasetrader.webpage.service; import com.coinbase.api.Coinbase; import com.coinbase.api.entity.Transfer; import com.coinbase.api.exception.CoinbaseException; import com.coinbasetrader.webpage.model.Client; import org.joda.money.Money; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.spr...
package com.cube.storm.ui.controller.adapter; import android.content.Context; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.text.TextUtils; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import com.cube.storm.UiSettings...
package com.devcru.journowatch.api.controllers; import com.devcru.journowatch.api.constants.Constants; import com.devcru.journowatch.api.objects.User; import com.devcru.journowatch.api.services.UserService; import freemarker.core.ParseException; import freemarker.template.Configuration; import freemarker.template.Malfo...
package com.epam.ta.reportportal.triggers; import com.epam.ta.reportportal.database.dao.LogRepository; import com.epam.ta.reportportal.database.entity.item.TestItem; import com.mongodb.BasicDBObject; import com.mongodb.DBObject; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.d...
package com.fasterxml.jackson.databind.deser; import java.io.IOException; import java.util.*; import com.fasterxml.jackson.core.*; import com.fasterxml.jackson.databind.*; import com.fasterxml.jackson.databind.deser.impl.*; import com.fasterxml.jackson.databind.util.NameTransformer; import com.fasterxml.jackson.databin...
package com.github.anba.es6draft.runtime.objects; import static com.github.anba.es6draft.runtime.AbstractOperations.Get; import static com.github.anba.es6draft.runtime.AbstractOperations.ToFlatString; import static com.github.anba.es6draft.runtime.AbstractOperations.ToNumber; import static com.github.anba.es6draft.runt...
package com.github.nthportal.uhc.commands; import com.github.nthportal.uhc.core.Config; import com.github.nthportal.uhc.UHCPlugin; import com.google.common.base.Joiner; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import java.util.*; public class...
package com.gmail.Rhisereld.HorizonShips; import java.io.IOException; import java.util.HashMap; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import com.sk89q....
package com.moandjiezana.uncommons.dbutils; import static java.util.stream.Collectors.toMap; import java.beans.BeanInfo; import java.beans.ConstructorProperties; import java.beans.IntrospectionException; import java.beans.Introspector; import java.beans.PropertyDescriptor; import java.lang.reflect.AccessibleObject; imp...
package com.mooo.aimmac23.hub.proxy; import java.util.Map; import org.openqa.grid.internal.utils.CapabilityMatcher; public class ReliableCapabilityMatcher implements CapabilityMatcher { private CapabilityMatcher innerMatcher; private ReliabilityAwareProxy proxy; public ReliableCapabilityMatcher(ReliabilityA...
package com.mooo.aimmac23.hub.proxy; import java.util.Map; import java.util.logging.Logger; import org.openqa.grid.internal.utils.CapabilityMatcher; public class ReliableCapabilityMatcher implements CapabilityMatcher { private static Logger log = Logger.getLogger(ReliableCapabilityMatcher.class.getName()); priv...
package com.nalin.springbootmongo.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; impo...
package com.saanx.configurator.data.repository; import com.saanx.configurator.data.entity.User; import org.springframework.data.repository.PagingAndSortingRepository; import org.springframework.data.rest.core.annotation.RepositoryRestResource; import java.util.List; import java.util.Optional; @RepositoryRestResource(ex...
package com.tealcube.minecraft.bukkit.chatterbox; import com.tealcube.minecraft.bukkit.chatterbox.titles.GroupData; import com.tealcube.minecraft.bukkit.chatterbox.titles.PlayerData; import com.tealcube.minecraft.bukkit.facecore.utilities.MessageUtils; import org.bukkit.ChatColor; import org.bukkit.entity.Player; impor...
package de.rwth.idsg.bikeman.repository; import de.rwth.idsg.bikeman.domain.*; import de.rwth.idsg.bikeman.domain.CardAccount_; import de.rwth.idsg.bikeman.domain.Customer_; import de.rwth.idsg.bikeman.domain.MajorCustomer_; import de.rwth.idsg.bikeman.domain.Pedelec_; import de.rwth.idsg.bikeman.domain.StationSlot_; i...
package eu.musesproject.client.model.decisiontable; public class ActionType { public static final String OPEN = "open"; public static final String INSTALL = "install"; public static final String UNINSTALL = "uninstall"; public static final String RUN = "run"; public static final String ACCESS = "acc...
package i5.las2peer.connectors.webConnector.client; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.InputStream; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import java.nio.charset.StandardCharsets; import java.util.Base64; import java.util.Ha...
package io.github.m0pt0pmatt.spongesurvivalgames; import com.google.common.collect.Sets; import io.github.m0pt0pmatt.spongesurvivalgames.config.SurvivalGameConfig; import io.github.m0pt0pmatt.spongesurvivalgames.exceptions.*; import io.github.m0pt0pmatt.spongesurvivalgames.loot.Loot; import io.github.m0pt0pmatt.sponges...
package net.openhft.chronicle.queue.impl.single; import net.openhft.chronicle.bytes.*; import net.openhft.chronicle.core.Jvm; import net.openhft.chronicle.core.StackTrace; import net.openhft.chronicle.core.annotation.UsedViaReflection; import net.openhft.chronicle.core.io.AbstractCloseable; import net.openhft.chronicle...
package net.sf.taverna.t2.activities.rest; import java.io.IOException; import java.net.URI; import java.util.Set; import net.sf.taverna.t2.security.credentialmanager.CredentialManager; import net.sf.taverna.t2.workflowmodel.processor.activity.ActivityConfigurationException; import net.sf.taverna.t2.workflowmodel.proces...
package ninja.eivind.hotsreplayuploader.window; import ninja.eivind.hotsreplayuploader.AccountService; import ninja.eivind.hotsreplayuploader.files.FileHandler; import ninja.eivind.hotsreplayuploader.models.Account; import ninja.eivind.hotsreplayuploader.models.Hero; import ninja.eivind.hotsreplayuploader.models.Leader...
package nl.hsac.fitnesse.fixture.slim.web; import nl.hsac.fitnesse.fixture.Environment; import nl.hsac.fitnesse.fixture.slim.SlimFixture; import nl.hsac.fitnesse.fixture.slim.SlimFixtureException; import nl.hsac.fitnesse.fixture.util.SauceLabsHelper; import nl.hsac.fitnesse.fixture.util.SeleniumHelper; import org.openq...
package org.apache.poi.xdgf.usermodel.section; import java.awt.geom.Path2D; import java.util.Iterator; import java.util.Map.Entry; import java.util.SortedMap; import java.util.TreeMap; import org.apache.poi.POIXMLException; import org.apache.poi.xdgf.geom.SplineCollector; import org.apache.poi.xdgf.usermodel.XDGFCell; ...
package org.cyclops.integrateddynamics.block; import net.minecraft.block.Block; import net.minecraft.block.SoundType; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.RenderTypeLookup; import net.minecraft.item.Item; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.api...
package org.jboss.elasticsearch.river.jira; import java.io.IOException; import java.util.Date; import java.util.Map; import org.elasticsearch.action.bulk.BulkRequestBuilder; import org.elasticsearch.action.search.SearchRequestBuilder; import org.elasticsearch.action.search.SearchResponse; import org.elasticsearch.commo...
package org.railwaystations.api.resources; import io.dropwizard.auth.Auth; import org.apache.commons.io.FileUtils; import org.apache.commons.io.IOUtils; import org.apache.commons.io.output.NullOutputStream; import org.apache.http.entity.InputStreamEntity; import org.eclipse.jetty.util.URIUtil; import org.glassfish.jers...
package org.spongepowered.common.data.provider.entity; import net.minecraft.world.entity.LivingEntity; import net.minecraft.world.entity.Mob; import org.spongepowered.api.data.Keys; import org.spongepowered.api.data.type.HandPreference; import org.spongepowered.api.data.type.HandPreferences; import org.spongepowered.ap...
package org.spongepowered.mod.network; import static com.google.common.base.Preconditions.checkState; import io.netty.channel.ChannelFutureListener; import io.netty.channel.ChannelHandler; import net.minecraft.client.Minecraft; import net.minecraft.entity.player.EntityPlayerMP; import net.minecraftforge.fml.common.netw...
package org.verdictdb.core.querying; import org.verdictdb.core.scrambling.ScrambleMetaSet; import org.verdictdb.core.sqlobject.SelectQuery; import org.verdictdb.exception.VerdictDBException; public class QueryExecutionPlanFactory { /** * Creates a node tree and return it as an instance of QueryExecutionPlan. * ...
package prope.metrics.adaptability.elements; import java.io.FileNotFoundException; import java.io.PrintWriter; import java.util.List; public class ElementSerializer { private final String fileName; private final String ROW_COLOR = "\\myrowcolour"; private final String TABLE_NEWLINE = "\\\\"; private fin...
package io.hawt.web.filters; import java.util.concurrent.TimeUnit; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class CORSFilter exten...
package jolie.net; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.net.URI; import java.util.Arrays; import javax.bluetooth.L2CAPConnection; import jolie.Interpreter; import jolie.net.protocols.CommProtocol; public class BTL2CapCommChannel extends Strea...
package org.ofbiz.webapp; import java.io.File; import java.io.IOException; import java.io.Serializable; import java.nio.file.Paths; import java.util.Collections; import java.util.HashMap; import java.util.Map; import javax.servlet.http.HttpServletRequest; import com.ilscipio.scipio.ce.util.SafeOptional; import org.apac...
package cgeo.geocaching.apps.cache.navi; import cgeo.geocaching.R; import cgeo.geocaching.location.Geopoint; import cgeo.geocaching.utils.ProcessUtils; import org.eclipse.jdt.annotation.NonNull; import android.app.Activity; import android.content.Intent; import android.net.Uri; class SygicNavigationApp extends Abstract...
package org.app.material.widget; import android.content.Context; import android.content.res.ColorStateList; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Paint.Align; import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; import android.text.T...
package de.martido.genny.maven; import java.util.Arrays; import java.util.List; import org.apache.maven.model.FileSet; import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureException; import de.martido.genny.GeneratorDefinition; imp...
package hudson.maven; import static hudson.model.Result.FAILURE; import hudson.AbortException; import hudson.EnvVars; import hudson.ExtensionList; import hudson.FilePath; import hudson.FilePath.FileCallable; import hudson.Launcher; import hudson.Util; import hudson.maven.MavenBuild.ProxyImpl2; import hudson.maven.repor...
package peergos.server.util; import com.sun.net.httpserver.*; import peergos.shared.storage.*; import java.io.*; import java.net.*; import java.util.*; import java.util.logging.*; public class HttpUtil { public static boolean allowedQuery(HttpExchange exchange, boolean isPublicServer) { // only allow http P...
package cx2x.translator.language; import cx2x.translator.language.helper.accelerator.AcceleratorDirective; import cx2x.translator.language.helper.accelerator.AcceleratorGenerator; import cx2x.translator.language.helper.target.Target; import cx2x.xcodeml.exception.IllegalDirectiveException; import cx2x.xcodeml.language....
package cc.ly.mc.core.context; import cc.ly.mc.core.attribute.Attributes; import cc.ly.mc.core.data.impl.Integer32; import cc.ly.mc.core.message.Message; import cc.ly.mc.core.message.RelayMessage; import io.netty.channel.ChannelId; import java.util.concurrent.ConcurrentHashMap; import cc.ly.mc.core.data.impl.Integer64;...
package org.modmine.web; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import org.apache.struts.tiles.ComponentC...
package com.gani.lib.json; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import com.gani.lib.ui.Ui; import com.google.gson.internal.bind.util.ISO8601Utils; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.text.ParseException; impo...
package net.domesdaybook.matcher.multisequence; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.List; import net.domesdaybook.matcher.sequence.SequenceMatcher; import net.domesdaybook.reader.Reader; /** * WARNING: THIS CLASS IS ENTIRELY UNFINISHED. DO NOT USE. * ...
package org.jenetix; import static org.jenetics.engine.EvolutionResult.toBestPhenotype; import static org.jenetics.engine.limit.byFitnessThreshold; import java.util.stream.IntStream; import org.jenetics.CharacterChromosome; import org.jenetics.CharacterGene; import org.jenetics.Genotype; import org.jenetics.Phenotype; ...
package at.ac.univie.isc.asio; import at.ac.univie.isc.asio.integration.IntegrationTest; import com.google.common.collect.ImmutableTable; import org.apache.http.HttpHeaders; import org.apache.http.HttpStatus; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import org.junit.experimental.categori...
package apiWrapper; import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.net.HttpURLConnection; import java.net.URL; import java.util.stream.Collectors; import org.json.JSONObject; public class HttpClien...
package org.intermine.web.logic; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.util.Arrays; import java.util.List; import java.util.Properties; import junit.framework.TestCase; import org.intermine.metadata.Model; import org.intermine.pathquery.Path; import or...
package org.javarosa.demo.applogic; import java.io.IOException; import java.util.Vector; import javax.microedition.midlet.MIDlet; import org.javarosa.core.model.CoreModelModule; import org.javarosa.core.model.FormDef; import org.javarosa.core.model.condition.IFunctionHandler; import org.javarosa.core.model.utils.IPrelo...
// Triple Play - utilities for use in PlayN-based games package tripleplay.platform; import java.awt.Color; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.FocusEvent; import java.awt.event.FocusListener; import javax.swing.JPasswordField; import javax.swing.JTextArea; imp...
package controllers; import com.avaje.ebean.ValidationException; import models.AuthToken; import models.JsonViews.ShowWithoutSeasonsNetworkActors; import models.Settings; import models.Show; import models.User; import org.codehaus.jackson.JsonNode; import org.codehaus.jackson.map.ObjectMapper; import org.codehaus.jacks...
package org.eclipse.jetty.http; import java.io.IOException; import org.eclipse.jetty.io.Buffer; import org.eclipse.jetty.io.BufferCache.CachedBuffer; import org.eclipse.jetty.io.BufferUtil; import org.eclipse.jetty.io.Buffers; import org.eclipse.jetty.io.ByteArrayBuffer; import org.eclipse.jetty.io.EndPoint; import org...
package jme3test.model; import com.jme3.anim.AnimComposer; import com.jme3.anim.SkinningControl; import com.jme3.app.*; import com.jme3.asset.plugins.FileLocator; import com.jme3.input.KeyInput; import com.jme3.input.controls.ActionListener; import com.jme3.input.controls.KeyTrigger; import com.jme3.math.*; import com....
package com.kylinolap.job.tools; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.lang.StringUtils; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileSystem; imp...
package org.jpos.transaction; import org.HdrHistogram.AtomicHistogram; import org.jdom2.Element; import org.jpos.core.Configuration; import org.jpos.core.ConfigurationException; import org.jpos.q2.QBeanSupport; import org.jpos.q2.QFactory; import org.jpos.space.*; import org.jpos.util.*; import java.io.PrintStream; imp...
package org.ensembl.healthcheck.testcase.mart; import java.sql.Connection; import org.ensembl.healthcheck.DatabaseRegistryEntry; import org.ensembl.healthcheck.ReportManager; import org.ensembl.healthcheck.testcase.SingleDatabaseTestCase; /** * Check that there is a table (e.g. hsapiens_gene_ensembl__eFG_PHALANX_OneAr...
package org.objectweb.proactive.core.process.unicore; import java.awt.*; import java.awt.event.*; import javax.swing.*; /** * @author mleyton * * TODO To change the template for this generated type comment go to * Window - Preferences - Java - Code Style - Code Templates */ public class UnicorePasswordGUI extends ...
package org.opencms.ade.configuration.formatters; import org.opencms.ade.configuration.CmsConfigurationReader; import org.opencms.ade.configuration.CmsPropertyConfig; import org.opencms.file.CmsObject; import org.opencms.file.CmsResource; import org.opencms.main.CmsException; import org.opencms.main.CmsLog; import org....
package com.crossge.necessities; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.scheduler.BukkitRunnable; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.util.ArrayList; import java.util.Random; ...
package org.ocelotds.core; import java.lang.reflect.Method; import org.junit.Test; import org.ocelotds.annotations.JsCacheResult; import org.mockito.runners.MockitoJUnitRunner; import org.junit.runner.RunWith; import org.mockito.InjectMocks; import org.mockito.Mock; import org.ocelotds.annotations.JsCacheRemove; import...
package org.openlca.app.editors.epds; import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.Combo; import org.eclipse.swt.widgets.Composite; import org.eclipse.ui.forms.widgets.FormToolkit; import org.openlca.app.M; import org.openlca.app.components.ModelLink; import org.openlca.app.util.Controls; import org.openl...
package com.openxc.remote; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.net.URISyntaxException; import java.util.Collections; import java.util.HashMap; import java.util.Map; import com.google.common.collect.HashMultimap; import com.google.common.collect.Multimaps...
package uk.ac.cam.ch.wwmm.opsin; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Deque; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.regex.Pattern; import static uk.ac.cam.ch.wwmm.opsin.XmlDeclarations.*; /** * A set of useful methods and constants t...
package mteam; /* Import standard Java classes. */ import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.ut...
package MWC.GUI.Shapes.Symbols.SVG; import java.awt.Point; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.List; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurati...
package org.kie.scanner; import org.drools.core.common.ProjectClassLoader; import org.drools.core.util.ClassUtils; import org.drools.compiler.kproject.ReleaseIdImpl; import org.drools.compiler.kproject.models.KieModuleModelImpl; import org.drools.core.rule.TypeMetaInfo; import org.kie.api.builder.ReleaseId; import org....
package org.kie.scanner; import org.drools.core.common.ProjectClassLoader; import org.drools.core.rule.KieModuleMetaInfo; import org.drools.compiler.kproject.ReleaseIdImpl; import org.drools.compiler.kproject.models.KieModuleModelImpl; import org.drools.core.rule.TypeMetaInfo; import org.kie.api.builder.ReleaseId; impo...