answer
stringlengths
17
10.2M
package io.traintracker.core; import java.net.URI; import java.time.LocalDate; import java.time.ZoneId; import java.time.format.DateTimeFormatter; import java.util.Deque; import org.jsoup.Jsoup; import org.springframework.cache.annotation.Cacheable; import org.springframework.http.MediaType; import org.springframework....
package jaci.openrio.toast.core; import edu.wpi.first.wpilibj.communication.FRCNetworkCommunicationsLibrary; import edu.wpi.first.wpilibj.communication.UsageReporting; import edu.wpi.first.wpilibj.livewindow.LiveWindow; import jaci.openrio.toast.lib.FRCHooks; import jaci.openrio.toast.lib.state.RobotState; import jaci....
package se.sics.cooja.dialogs; import java.awt.Color; import java.awt.Component; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PipedInputStream; import java.io.PipedOutputStream; import java.io.PrintStream; import javax.swing.DefaultListCellRenderer; import ...
package com.malhartech.lib.math; import com.malhartech.api.OperatorConfiguration; import com.malhartech.api.Sink; import com.malhartech.dag.Tuple; import java.util.HashMap; import junit.framework.Assert; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class MaxTest { private s...
package mil.nga.geopackage.io; import java.awt.Color; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.lang.reflect.Field; import java.sql.SQLException; import java.util.logging.Level; import java.util.logging.Logger; import javax.imageio.ImageIO; import mil.nga.geopacka...
package net.asrex.skillful.perk; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.util.Collection; import java.util.LinkedHashMap; import java.util.LinkedList; imp...
package liquibase.hub; import liquibase.Contexts; import liquibase.LabelExpression; import liquibase.RuntimeEnvironment; import liquibase.Scope; import liquibase.changelog.ChangeLogIterator; import liquibase.changelog.ChangeSet; import liquibase.changelog.DatabaseChangeLog; import liquibase.changelog.visitor.ListVisito...
package net.nuagenetworks.bambou; import java.util.List; import org.apache.commons.codec.binary.Base64; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; import ...
package net.sf.mzmine.main; import net.sf.mzmine.modules.batchmode.BatchModeModule; import net.sf.mzmine.modules.masslistmethods.chromatogrambuilder.ChromatogramBuilderModule; import net.sf.mzmine.modules.masslistmethods.ADAPchromatogrambuilder.ADAPChromatogramBuilderModule; import net.sf.mzmine.modules.masslistmethods...
package net.vexelon.currencybg.srv; import java.io.IOException; import java.util.List; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import net.vexelon.currencybg.srv.db.DataSource; import net.vexelon.currenc...
package nl.lumc.nanopub.store.dao; import java.net.URI; import java.util.List; import ch.tkuhn.nanopub.Nanopub; public interface NanopubDao { public URI storeNanopub(Nanopub nanopub); public Nanopub retrieveNanopub(URI uri); public List<URI> listNanopubs(); // public Nanopub retrieveNanopub(); }
package org.jboss.netty.channel;
package org.jenkinsci.remoting; import hudson.remoting.Callable; import java.util.Collection; /** * Used by {@link Callable}-like objects to designate the intended recipient of the callable, * to help verify callables are running in JVMs that it is intended to run. * * <p> * This interface is defined separately fr...
package org.jtrfp.trcl; import java.util.ArrayList; import java.util.Collection; import org.apache.commons.math3.geometry.euclidean.threed.Vector3D; import org.jtrfp.trcl.obj.PositionListenable; import org.jtrfp.trcl.obj.PositionListener; import org.jtrfp.trcl.obj.VisibleEverywhere; public abstract class SpacePartition...
package org.lappsgrid.mallet; import cc.mallet.fst.CRF; import cc.mallet.pipe.iterator.StringArrayIterator; import cc.mallet.types.InstanceList; import cc.mallet.types.Sequence; import org.apache.axis.Version; import org.lappsgrid.api.ProcessingService; import org.lappsgrid.discriminator.Discriminators; import org.lapp...
package org.lightmare.ejb.meta; import static org.lightmare.jpa.JPAManager.closeEntityManagerFactories; import java.io.IOException; import java.util.Iterator; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import javax.persistence.EntityManagerFactory; import org.lightmare.ejb...
package org.lightmare.remote.rpc; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelInitializer; import io.netty.channel.ChannelOption; import io.netty.channel.EventLoopGroup; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.Soc...
package org.minimalj.frontend.page; import java.text.MessageFormat; import java.util.Arrays; import java.util.Collections; import java.util.List; import org.minimalj.backend.Backend; import org.minimalj.frontend.Frontend; import org.minimalj.frontend.Frontend.FormContent; import org.minimalj.frontend.Frontend.IContent;...
package org.mtransit.android.ui; import android.app.Activity; import android.app.SearchManager; import android.content.Context; import android.content.Intent; import android.content.res.Configuration; import android.location.Location; import android.os.Bundle; import android.os.Handler; import android.view.Menu; import...
package org.opentripplanner.analyst; import com.csvreader.CsvReader; import com.fasterxml.jackson.core.*; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.MappingJsonFactory; import com.fasterxml.jackson.databind.ObjectMapper; import com.vividsolutions.jts.geom.Coordinate; import co...
package org.oucs.gaboto.model; import java.io.OutputStream; import java.util.Collection; import java.util.HashSet; import java.util.Set; import org.oucs.gaboto.entities.GabotoEntity; import org.oucs.gaboto.entities.pool.GabotoEntityPool; import org.oucs.gaboto.entities.pool.GabotoEntityPoolConfiguration; import org.ouc...
package org.owasp.dependencytrack.model; import alpine.validation.RegexSequence; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import javax.jdo.annotations.Column; import javax.jdo.annotations.Element; import javax.jdo.annotations.Extension; import javax.jdo.an...
package org.perfidix.element; import java.lang.annotation.Annotation; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.List; import org.perfidix.annotation.AfterBenchClass; import org.perfidix.annotation.AfterEachRun; import org.perfidix.annotation.AfterLa...
package org.pfaa.geologica.block; import java.util.List; import java.util.Random; import org.pfaa.chemica.ChemicaBlocks; import org.pfaa.core.block.CompositeBlockAccessors; import org.pfaa.geologica.GeologicaBlocks; import com.google.common.base.CaseFormat; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relau...
package org.scijava.object; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; /** * Data structure for managing sorted lists of registered objects. * <p> * This data structure is th...
package com.sun.star.lib.sandbox; import java.io.InputStream; import java.io.IOException; import java.util.Hashtable; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; class JarInputStream { // JarVerifierStream jvs = null; ZipInputStream jvs = null; ZipEntry ent = null; // mapping of n...
package permafrost.tundra.io; import permafrost.tundra.time.DateTimeHelper; import java.io.File; import java.io.FileNotFoundException; import java.io.FilenameFilter; import java.io.IOException; import java.math.BigInteger; import java.util.Calendar; import java.util.Collections; import java.util.Date; import java.util....
package org.exist.xquery; import java.lang.reflect.Constructor; import java.util.List; import com.evolvedbinary.j8fu.tuple.Tuple2; import org.exist.dom.QName; import org.exist.xquery.parser.XQueryAST; import org.exist.xquery.util.Error; import org.exist.xquery.util.ExpressionDumper; import org.exist.xquery.util.Message...
package seedu.jimi.model; import java.time.DayOfWeek; import java.util.Arrays; import java.util.HashMap; import java.util.Optional; import java.util.Set; import java.util.logging.Logger; import javafx.collections.transformation.FilteredList; import seedu.jimi.commons.core.LogsCenter; import seedu.jimi.commons.core.Unmo...
package seedu.task.model.util; import seedu.task.commons.exceptions.IllegalValueException; import seedu.task.model.ReadOnlyTaskManager; import seedu.task.model.TaskManager; import seedu.task.model.tag.UniqueTagList; import seedu.task.model.task.Task; import seedu.task.model.task.TaskDate; import seedu.task.model.task.T...
package seedu.todo.controllers; import java.time.LocalDateTime; import java.time.ZoneId; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import com.joestelmach.natty.*; import seedu.todo.commons.exceptions.InvalidNaturalDateException; import seedu.todo.commons.exceptions.Pa...
package think.rpgitems.power; import org.bukkit.ChatColor; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.entity.LivingEntity; import org.bukkit.entity.Player; import org.bukkit.inventory.ItemStack; import think.rpgitems.data.Locale; import think.rpgitems.power.types.PowerHit; import java.util....
package xyz.avarel.aje.parser.lexer; import xyz.avarel.aje.AJEException; import java.io.*; import java.util.ArrayList; import java.util.Iterator; import java.util.List; public class AJELexer implements Iterator<Token>, Iterable<Token> { private char queuedChar; private long character; private boolean eof; ...
//A.P. Chem. Chemical Formula Parsing Tools V0.1.5 //Code by Ethan MacDonald and Charles Kulick //Currently the main functionality works, and the additional displays are yet to be implemented. package chemTools; import java.util.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.sw...
package io.scif.formats; import io.scif.AbstractChecker; import io.scif.AbstractFormat; import io.scif.AbstractMetadata; import io.scif.AbstractParser; import io.scif.AbstractTranslator; import io.scif.AbstractWriter; import io.scif.BufferedImagePlane; import io.scif.Field; import io.scif.FieldPrinter; import io.scif.F...
package bakatxt.core; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class Task implements TaskInterface, Comparable<Task> { private static final String SPACE = " "; private static final String LINE_SEPARATOR = System .getProperty("line.separator"); private st...
package graphics; import engine.*; import engine.nutritionists.AbstractNutritionist; import javax.swing.*; import java.awt.*; import java.awt.geom.AffineTransform; import java.awt.geom.Line2D; import java.awt.geom.Point2D; import java.awt.geom.Rectangle2D; import java.awt.image.BufferedImage; import java.io.File; impor...
package com.ibu.crud; import java.sql.Connection; import java.sql.SQLException; import com.ibu.database.HelperService; public class CRUD { HelperService StudentIS = new HelperService(); public Connection dbconnection = null; public boolean isConnectionOpened = false; public CRUD() { if(Stude...
package com.twitter; import java.util.*; import java.util.regex.*; public class Regex { private static final String[] RESERVED_ACTION_WORDS = {"twitter","lists", "retweet","retweets","following","followings","follower","followers", "with_friend","with_friends","statuses","status","activity","favourites", "favou...
package functions; public class FunctionParser { private Evaluator evalutor; public static Function parse(String function){ evalutor = new Evaluator(); try { String resultInString = evalutor.evaluate(function); evalutor.clearFunctions(); return resultI...
package kademlia; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.SocketException; import java.util.HashMap; import java...
package analysis.main; import java.io.*; import java.util.*; import java.util.List; import java.util.prefs.Preferences; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.xml.stream.XMLStreamException; import org.jdom.Element; i...
package analysis.markov; import java.io.BufferedWriter; import java.io.FileWriter; import java.text.NumberFormat; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedList; import java.util.Queue; import java.util.Stack; import javax.swing.JOptionPane; import javax.swing.JProgressBar; import lpn...
package gcm.gui; import java.awt.BorderLayout; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import java.util.Properties; import gcm.parser.GCMFile; import gcm.util.GlobalConstants; import javax.swing.JComboBox; import javax.swing.JLabel...
package gcm2sbml.gui; import gcm2sbml.parser.GCMFile; import gcm2sbml.util.GlobalConstants; import gcm2sbml.util.Utility; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.util.HashMap; import java.util.Properties; import javax.swing.DefaultListModel; import javax.swing.JFrame; import javax.swi...
// JSArray.java package ed.js; import java.util.*; import ed.js.func.*; import ed.js.engine.*; import static ed.js.JSInternalFunctions.*; public class JSArray extends JSObjectBase { public final static JSFunction _cons = new JSArrayCons(); static class JSArrayCons extends JSFunctionCalls0{ public Object...
import java.io.IOException; import java.io.PrintWriter; import java.net.Socket; import java.util.HashMap; import java.util.Map; public class Response { private String headers; private Map<String, String> mimes = new HashMap<String, String>(); private Boolean isFile; private byte[] file; private Stri...
import java.util.HashMap; import java.util.List; import java.util.Map; public class TreeNode { // ,label""or"",null private String label = null; // signature,""or"" private String signature = null; // childrenkeysignature,""or"",value private Map<String, TreeNode> children = new HashMap<>(); ...
package jaz; import java.awt.BorderLayout; import java.awt.Component; import java.awt.Rectangle; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.regex.PatternSyntaxException; import javax.swing.JPanel; import javax.swing.border.CompoundBorder; import javax.swing.border.EmptyBorder; impo...
package ikube.action; import ikube.action.remote.SynchronizeCallable; import ikube.action.remote.SynchronizeLatestIndexCallable; import ikube.model.IndexContext; import ikube.model.Server; import ikube.model.Snapshot; import ikube.toolkit.FileUtilities; import org.apache.commons.io.IOUtils; import java.io.File; import ...
package org.spine3.base; import com.google.protobuf.Empty; import org.junit.Before; import org.junit.Test; import org.spine3.test.TestActorRequestFactory; import org.spine3.time.Time; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; /** * @author Alexander Yevsyukov */ public cl...
package leetcode; /** * Given a number, find the next higher number using only * the digits in the given number. For example if the given * number is 1234, next higher number with same digits is 1243. * @author Debosmit * */ public class Find_Next_Higher_Number_With_Same_Digits { public int getNextHighest(int...
package edu.umd.cs.findbugs; import java.net.URL; import java.net.URLClassLoader; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Locale; import java.util.Set; import org.dom4j.Document; import org.dom4j.DocumentException; import org.dom4j.Element; import org.dom4j.Node; im...
package water; import java.util.Arrays; import water.H2ONode.H2Okey; import water.init.JarHash; import water.nbhm.NonBlockingHashMap; import water.util.Log; public abstract class Paxos { // Whether or not we have common knowledge public static volatile boolean _commonKnowledge = false; // Whether or not we're all...
package edu.wpi.first.wpilibj.templates; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; /** * * @author Nathan */ public class RobotTeleop { static double fine_speed = 0.0; private static int pickupPosition = 0; private static boolean pickupPositionDebounce = false; private static boolea...
package play.libs; import com.ning.http.client.AsyncHttpClient; import com.ning.http.client.AsyncCompletionHandler; import com.ning.http.client.FluentCaseInsensitiveStringsMap; import com.ning.http.client.PerRequestConfig; import com.ning.http.client.RequestBuilderBase; import com.ning.http.client.Realm.AuthScheme; imp...
package com.illposed.osc; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Date; import java.util.LinkedList; import java.util.List; /** * A bundle represents a collection of OSC packets * (either messages or other bundles) * and has a time-tag which can be used...
package org.jpos.ee; import org.hibernate.query.criteria.internal.OrderImpl; import javax.persistence.NoResultException; import javax.persistence.criteria.*; import org.hibernate.query.Query; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Map; public class DBManager<T> { ...
package org.jpos.ee; import org.jpos.ee.support.JPosHibernateConfiguration; import java.io.File; import java.io.IOException; import java.util.HashMap; import java.util.Map; public class DBManager { final static Map<String,HibernateAccessService> serviceMap=new HashMap<String, HibernateAccessService>(); /** ...
package br.com.redesocial.modelo.dao; import br.com.redesocial.modelo.dto.Album; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.ArrayList; import java.util.List; /** * * @author Daniel */ public class AlbumDAO extends DAOBase{...
package com.eixox.adapters; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Timestamp; import java.sql.Types; import java.util.Date; import com.eixox.globalization.Culture; public class TimestampAdapter extends ValueAdapter<Timestamp> { protected Timestamp...
package wcanalysis.heuristic.policy; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Collection; /** * @author Kasper Luckow * */ public cla...
package com.google.dart.compiler; import com.google.dart.compiler.SystemLibrariesReader.DartLibrary; import java.io.File; import java.net.URI; import java.net.URISyntaxException; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.List; import ja...
import compile.CompilerConfiguration; import compile.JavacCompiler; import download.ArtifactDownloader; import jar.JarMojo; import model.Dependency; import model.ModelReader; import model.Repository; import org.xml.sax.Attributes; import org.xml.sax.SAXException; import test.SurefirePlugin; import util.AbstractReader; ...
package org.klomp.snark; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Queue; import java.util.Random; impor...
/* * $Id$ * $URL$ */ package org.subethamail.common; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.List; import java.util.StringTokenizer; import javax.mail.MessagingException; import javax.mail.Multipart; import javax.mail.P...
package cl.fatman.capital.fund; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.ManyToOne; import javax.persistence.JoinColumn; import javax.persistence.ForeignKey; import javax.persistence.Table; import org.hibernate.annotations.GenericGen...
package nu.validator.client; import java.io.File; import java.io.InputStream; import java.io.IOException; import java.io.OutputStream; import java.net.URL; import java.util.ArrayList; import java.util.List; import nu.validator.htmlparser.sax.XmlSerializer; import nu.validator.messages.GnuMessageEmitter; import nu.valid...
package org.kuali.rice.core.api.truthy; import java.util.Arrays; import java.util.Collection; import java.util.Collections; public enum Truth { TRUE("true", "yes", "Y", "on", "1", "t", "enabled"), FALSE("false", "no", "N", "off", "0", "f", "disabled"); private final Collection<String> truthStrings; priv...
package imagej.legacy; import static imagej.legacy.LegacyTestUtils.makeJar; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import imagej.patcher.LegacyEnvironment; import imagej.patcher.Lega...
package ethanjones.cubes.graphics.world.other; import ethanjones.cubes.graphics.CubesRenderable; import ethanjones.cubes.graphics.CubesVertexAttributes; import ethanjones.cubes.graphics.assets.Assets; import ethanjones.cubes.side.common.Cubes; import ethanjones.cubes.world.World; import ethanjones.cubes.world.client.Wo...
package brooklyn.event.feed; import static com.google.common.base.Preconditions.checkNotNull; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import brooklyn.entity.basic.EntityLocal; import brooklyn.event.AttributeSensor; import brooklyn.util.flags.TypeCoercions; import brooklyn.util.time.Duration; /** * Han...
package org.hisp.dhis.android.core.user; import android.database.Cursor; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder; import com.google.auto.value.AutoValue; import org.hisp.dhis.android.core.common.BaseIdentifiableObject; import org...
package org.mskcc.cbio.portal.util; import java.io.*; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.mskcc.cbio.portal.servlet.QueryBuilder; public class DBVersionUtil { private static final String VERSION_LINE = "INSERT INTO info VALUES"; private static final St...
package org.mwdb.chunk.offheap; import org.mwdb.Constants; import org.mwdb.KType; import org.mwdb.chunk.*; import org.mwdb.plugin.KResolver; import org.mwdb.utility.Base64; import org.mwdb.utility.PrimitiveHelper; import org.mwdb.utility.Unsafe; /** * @ignore ts * Memory layout: all structures are memory blocks of ei...
// Generated by: hibernate/SpringHibernateDaoImpl.vsl in andromda-spring-cartridge. /** * This is only generated once! It will never be overwritten. * You can (and have to!) safely modify it by hand. */ package org.phoenixctms.ctsms.domain; import java.text.MessageFormat; import java.util.Collection; import org.hibe...
package org.phoenixctms.ctsms.pdf; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.security.MessageDigest; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; import java.util.TreeSet; import org.apache.pdfbox.pdmodel.PDDocument; im...
package scalac.transformer.matching; import scala.tools.util.Position; import scalac.*; import scalac.ast.*; import scalac.atree.AConstant.*; import scalac.util.*; import scalac.symtab.*; import PatternNode.*; import Tree.*; class CodeFactory extends PatternTool { public int pos = Position.FIRSTPOS ; public Cod...
package org.biojava.bio.search; import java.util.Map; import java.util.HashMap; import java.util.List; import java.util.ArrayList; import java.util.Iterator; import org.biojava.utils.walker.Walker; import org.biojava.utils.walker.WalkerFactory; import org.biojava.utils.walker.Visitor; import org.biojava.utils.TriState;...
package org.bouncycastle.crypto.tls; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.math.BigInteger; import java.security.SecureRandom; import java.util.Enumeration; import java.util.Hashtable; i...
package com.chalcodes.weaponm.gui; import java.awt.Dimension; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.io.File; import java.lang.reflect.Constructor; import javax.swing.ImageIcon; import javax.swing.JFileChooser; import javax.swing.JFrame; import javax.swing.JOptionPane; impor...
package fi.hu.cs.titokone; import java.awt.*; import javax.swing.JFrame; import java.awt.image.BufferedImage; import javax.imageio.*; import javax.imageio.stream.ImageInputStream; import java.io.*; import java.util.*; import fi.hu.cs.ttk91.TTK91Cpu; /** This class takes care of the animation window. It digs the nee...
package org.bouncycastle.jce.interfaces; /** * All BC elliptic curve keys implement this interface. You need to * cast the key to get access to it. * <p> * By default BC keys produce encodings without point compression, * to turn this on call setPointFormat() with "COMPRESSED". */ public interface ECPointEncoder ...
package fi.hu.cs.titokone; import fi.hu.cs.ttk91.TTK91CompileException; import java.util.HashMap; import java.util.Vector; /** This class knows everything about the relation between symbolic code and binary code. It can transform a full source to binary or one symbolic command to binary or vice versa. Empty out...
package org.bouncycastle.openpgp; import org.bouncycastle.bcpg.MPInteger; import org.bouncycastle.bcpg.OnePassSignaturePacket; import org.bouncycastle.bcpg.PublicKeyAlgorithmTags; import org.bouncycastle.bcpg.SignaturePacket; import org.bouncycastle.bcpg.SignatureSubpacket; import org.bouncycastle.bcpg.SignatureSubpack...
package org.jboss.as.web; import org.apache.catalina.Valve; import org.apache.tomcat.util.IntrospectionUtils; import org.jboss.as.controller.services.path.PathManager; import org.jboss.dmr.ModelNode; import org.jboss.dmr.Property; import org.jboss.modules.Module; import org.jboss.modules.ModuleIdentifier; import org.jb...
package org.broad.igv.data.expression; import org.broad.igv.feature.genome.Genome; import org.broad.igv.feature.genome.GenomeManager; import org.broad.igv.ui.IGV; import org.broad.igv.ui.util.MagetabSignalDialog; import org.broad.igv.util.collections.IntArrayList; import org.apache.log4j.Logger; import org.broad.igv.ex...
package org.broad.igv.data.expression; import org.broad.igv.feature.genome.Genome; import org.broad.igv.feature.genome.GenomeManager; import org.broad.igv.ui.IGV; import org.broad.igv.ui.util.MagetabSignalDialog; import org.broad.igv.util.collections.IntArrayList; import org.apache.log4j.Logger; import org.broad.igv.ex...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.broad.igv.ui.action; import org.apache.log4j.Logger; import org.broad.igv.PreferenceManager; import org.broad.igv.ui.IGV; import org.broad.igv.ui.UIConstants; import org.broad.igv.ui.util.MessageUtils; import...
package org.caleydo.view.bicluster.elem; import gleem.linalg.Vec2f; import java.awt.geom.Point2D; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import javax.media.opengl.GLContext; import org.caleydo.core.data.selection.EventBasedSelectionManager; import org.caleydo.core.util.collectio...
package org.eclipse.imp.pdb.facts.impl.reference; import java.util.Iterator; import org.eclipse.imp.pdb.facts.ITuple; import org.eclipse.imp.pdb.facts.IValue; import org.eclipse.imp.pdb.facts.exceptions.FactTypeUseException; import org.eclipse.imp.pdb.facts.impl.Value; import org.eclipse.imp.pdb.facts.type.Type; import...
package org.objectweb.proactive.core.component; import org.objectweb.fractal.api.Component; import org.objectweb.fractal.api.NoSuchInterfaceException; import org.objectweb.fractal.api.control.AttributeController; import org.objectweb.fractal.api.control.BindingController; import org.objectweb.fractal.api.control.Conten...
package org.jfree.chart; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Font; import java.awt.Paint; import java.awt.Shape; import java.awt.Stroke; import java.awt.geom.Line2D; import java.awt.geom.Rectangle2D; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutpu...
package org.opencms.workplace.editors.ade; import org.opencms.db.CmsUserSettings; import org.opencms.file.CmsFile; import org.opencms.file.CmsObject; import org.opencms.file.CmsResource; import org.opencms.file.CmsUser; import org.opencms.flex.CmsFlexController; import org.opencms.i18n.CmsLocaleManager; import org.open...
package co.nubetech.crux.dao; import static org.junit.Assert.*; import java.sql.Statement; import org.junit.Test; import org.junit.Assert.*; import co.nubetech.crux.model.GroupBy; import co.nubetech.crux.model.GroupBys; import co.nubetech.crux.util.CruxException; public class TestGroupBysDAO extends DBConnection{ @...
package moe.tristan.easyfxml.util; import moe.tristan.easyfxml.api.FxmlStylesheet; import org.junit.Test; import org.testfx.framework.junit.ApplicationTest; import javafx.application.Platform; import javafx.collections.ObservableList; import javafx.scene.Scene; import javafx.scene.layout.Pane; import javafx.stage.Stage...
package net.kockert.access.export; import com.healthmarketscience.jackcess.*; import org.junit.Test; import java.io.File; import java.io.IOException; import java.math.BigDecimal; import java.sql.*; import java.util.Date; import static org.hamcrest.CoreMatchers.equalTo; import static org.junit.Assert.assertThat; public ...
package nu.snart.storycards; import org.apache.fop.apps.FOPException; import org.junit.Before; import org.junit.Test; import javax.xml.transform.TransformerException; import java.io.File; import java.io.IOException; import static nu.snart.storycards.Story.create; import static org.assertj.core.api.Assertions.assertThat...
package org.cactoos.func; import java.io.IOException; import java.util.concurrent.atomic.AtomicInteger; import org.hamcrest.core.IsEqual; import org.junit.Test; import org.llorllale.cactoos.matchers.Assertion; import org.llorllale.cactoos.matchers.Throws; /** * Test case for {@link IoCheckedBiFunc}. * @since 1.0 * @...
package org.geoserver.shell; import org.glassfish.grizzly.http.Method; import org.glassfish.grizzly.http.util.HttpStatus; import org.junit.Test; import org.springframework.shell.support.util.OsUtils; import static com.xebialabs.restito.builder.stub.StubHttp.whenHttp; import static com.xebialabs.restito.builder.verify.V...