answer
stringlengths
17
10.2M
package org.apache.xerces.validators.schema; import org.apache.xerces.framework.XMLErrorReporter; import org.apache.xerces.validators.common.Grammar; import org.apache.xerces.validators.common.GrammarResolver; import org.apache.xerces.validators.common.GrammarResolverImpl; import org.apache.xerces.validators.commo...
package org.blitzortung.android.map.overlay; import java.util.ArrayList; import java.util.Date; import java.util.GregorianCalendar; import java.util.List; import org.blitzortung.android.data.beans.Stroke; import org.blitzortung.android.map.OwnMapActivity; import org.blitzortung.android.map.overlay.color.StrokeColorHand...
package SW9.controllers; import SW9.NewMain; import SW9.abstractions.Component; import SW9.abstractions.Edge; import SW9.abstractions.Location; import SW9.backend.UPPAALDriver; import SW9.presentations.CanvasPresentation; import SW9.presentations.LocationPresentation; import SW9.utility.UndoRedoStack; import SW9.utilit...
package org.bostonandroid.umbrellatoday; import android.app.Activity; import android.os.Bundle; import android.text.Html; import android.text.method.LinkMovementMethod; import android.widget.TextView; public class AboutUmbrellaToday extends Activity { public void onCreate(Bundle savedInstanceState) { super.onCrea...
package SW9.presentations; import SW9.abstractions.Component; import SW9.abstractions.Edge; import SW9.controllers.EdgeController; import SW9.utility.colors.Color; import javafx.beans.property.ObjectProperty; import javafx.beans.property.SimpleObjectProperty; import javafx.fxml.FXMLLoader; import javafx.fxml.JavaFXBuil...
package org.caleydo.view.bicluster.elem; import gleem.linalg.Vec2f; import gleem.linalg.Vec4f; import java.util.List; import java.util.Timer; import java.util.TimerTask; import org.caleydo.core.data.perspective.table.TablePerspective; import org.caleydo.core.view.opengl.layout2.GLElement; import org.caleydo.core.view.o...
package cc.nsg.bukkit.syncnbt; import org.bukkit.Bukkit; import org.bukkit.entity.Player; /** * Handlers players for ProtocolLib (mode 2) */ public class PlayerTicker { private String name = null; private int ticker_thread_id = -1; private SyncNBT plugin = null; public PlayerTicker(SyncNBT plugin, String name...
package ch.eitchnet.utils.helper; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationExce...
package org.ensembl.healthcheck.testcase.generic; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import org.ensembl.healthcheck.Species; import org.ensembl.healthcheck.DatabaseRegistryEntry; import org.ensembl.healthcheck.DatabaseType; import org.ensembl....
package ch.sportchef.business; import java.awt.Graphics2D; import java.awt.image.BufferedImage; public enum ImageResizer { ; public static BufferedImage resizeAndCrop(final BufferedImage inputImage, final int outputWidth, final int outputHeight) { final doub...
package org.exist.validation.internal; import java.io.IOException; import java.io.OutputStream; /** * <code>BlockingOutputStream</code> is a combination of an output stream and * an input stream, connected through a (circular) buffer in memory. * It is intended for coupling producer threads to consumer threads via a...
package co.com.codesoftware.beans; import java.io.Serializable; import java.util.ArrayList; import javax.annotation.PostConstruct; import javax.faces.bean.ManagedBean; import javax.faces.bean.ViewScoped; import javax.faces.context.FacesContext; import org.primefaces.model.menu.DefaultMenuItem; import org.primefaces.mod...
package org.foo_projects.sofar.Sedimentology; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Random; import java.util.Map; import org.bukkit.block.Biome; import org.bukkit.block.Block; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org...
package com.anders.michigantendiesapi; import com.heroku.sdk.jdbc.DatabaseUrl; import java.io.StringReader; import java.sql.*; import javax.json.*; import static spark.Spark.*; /** * * @author Anders */ public class Main { public static String mDiningData; public static String items; public static String...
package com.brajagopal.rmend.dao; import com.brajagopal.rmend.data.ContentDictionary; import com.brajagopal.rmend.data.beans.DocumentBean; import com.brajagopal.rmend.data.meta.DocumentMeta; import com.brajagopal.rmend.utils.JsonUtils; import com.google.api.services.datastore.DatastoreV1.*; import com.google.api.servic...
package shape; import javafx.scene.canvas.Canvas; import javafx.scene.web.WebView; public class Hexaflake extends FractalShape { double centerX, centerY; double X1, X2, Y1, Y2; double REDUCE, square; public Hexaflake(int maxDepth, Canvas canvas, WebView webView) { super(maxDepth, canvas, webView...
/* * @author <a href="mailto:novotny@aei.mpg.de">Jason Novotny</a> * @version $Id: PortletServlet.java 5032 2006-08-17 18:15:06Z novotny $ */ package org.gridsphere.provider.portlet.jsr; import org.gridsphere.portlet.*; import org.gridsphere.portlet.jsrimpl.*; import org.gridsphere.portlet.PortletLog; import org.gridsp...
package com.couchbase.lite; import com.couchbase.lite.internal.InterfaceAudience; import com.couchbase.lite.util.Log; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * An unsaved Couchbas...
package org.gridsphere.provider.portletui.tags; import org.gridsphere.portlet.impl.SportletProperties; import org.gridsphere.provider.portletui.beans.CalendarBean; import javax.servlet.jsp.JspException; import javax.servlet.jsp.JspWriter; import javax.servlet.jsp.PageContext; import javax.portlet.RenderResponse; /** *...
package com.datastax.demo.xml.dao; import com.datastax.demo.utils.PropertyHelper; import com.datastax.demo.xml.model.Actor; import com.datastax.demo.xml.model.Movie; import com.datastax.driver.core.*; import com.datastax.driver.core.policies.DCAwareRoundRobinPolicy; import com.datastax.driver.core.policies.TokenAwarePo...
package com.davidsoergel.stats; import com.davidsoergel.dsutils.MathUtils; import java.util.ArrayList; import java.util.List; import java.util.Map; public class Multinomial<T>//extends HashMap<Double, T> { MultinomialDistribution dist = new MultinomialDistribution(); List<T> elements = new ArrayList<T>(); ...
package com.defano.jmonet.tools; import com.defano.jmonet.canvas.Scratch; import com.defano.jmonet.model.PaintToolType; import com.defano.jmonet.tools.base.AbstractPathTool; import com.defano.jmonet.tools.util.CursorFactory; import java.awt.*; import java.awt.geom.Line2D; /** * Tool for drawing a single-pixel, black, ...
package org.pentaho.di.job.entries.ssh2get; import static org.pentaho.di.job.entry.validator.AndValidator.putValidators; import static org.pentaho.di.job.entry.validator.JobEntryValidatorUtils.andValidator; import static org.pentaho.di.job.entry.validator.JobEntryValidatorUtils.fileExistsValidator; import static org.pe...
package com.elmakers.mine.bukkit.wand; import java.util.*; import java.util.regex.Matcher; import com.elmakers.mine.bukkit.api.spell.CastingCost; import com.elmakers.mine.bukkit.api.spell.CostReducer; import com.elmakers.mine.bukkit.api.spell.Spell; import com.elmakers.mine.bukkit.api.spell.SpellTemplate; import com.el...
// This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the blocks indicating autogenerated code o...
package com.facebook.litho; import java.util.ArrayList; import java.util.Collection; import java.util.Deque; import java.util.HashMap; import java.util.LinkedList; import java.util.Map; import android.graphics.Rect; import android.graphics.drawable.Drawable; import android.os.Build; import android.support.annotation.Vi...
package com.game30.javagl.buffers; import java.nio.Buffer; import org.lwjgl.opengl.GL15; import com.game30.javagl.GLDeletable; import com.game30.javagl.GLIndexed; import com.game30.javagl.GLObject; /** * An GLBuffer represents an OpenGL buffer. This is how data is passed back and forth to OpenGL from memory. All * ...
package com.github.tkurz.sesame.vocab; import java.io.BufferedReader; import java.io.Console; import java.io.InputStreamReader; import org.openrdf.rio.RDFFormat; import org.openrdf.rio.Rio; public class Main { public static void main(String [] args) throws Exception { try { String file = "ldp.tt...
package com.googlecode.objectify.impl; import com.googlecode.objectify.util.LangUtils; /** * Path represents the individual steps from the root object to the current property. * * @author Jeff Schnitzer <jeff@infohazard.org> */ public class Path { /** * Unfortunately, we made a mistake in the original defi...
package com.igumnov.common.orm; import com.igumnov.common.Log; import com.igumnov.common.Reflection; import com.igumnov.common.reflection.ReflectionException; import java.lang.annotation.Annotation; import java.lang.reflect.Field; import java.sql.*; import java.util.*; public class Transaction { private Connection ...
package de.is24.util.monitoring; import de.is24.util.monitoring.jmx.InApplicationMonitorJMXConnector; import de.is24.util.monitoring.jmx.JmxAppMon4JNamingStrategy; import de.is24.util.monitoring.keyhandler.KeyHandler; import de.is24.util.monitoring.keyhandler.TransparentKeyHandler; import de.is24.util.monitoring.tools....
package de.onyxbits.raccoon.gui; import java.awt.BorderLayout; import java.awt.CardLayout; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.BorderFactory; import javax.swing.BoxLayout; import javax.swing.JLabel...
package edu.hm.hafner.analysis; import java.io.Serializable; import java.util.stream.Stream; /** * Parses a file and returns the issues reported in this file. * * @author Ullrich Hafner */ public abstract class IssueParser implements Serializable { private static final long serialVersionUID = 200992696185460268...
package edu.jhu.gm.maxent; import static org.junit.Assert.assertEquals; import org.junit.Test; import edu.jhu.gm.feat.FeatureVector; import edu.jhu.gm.inf.BeliefPropagation.FgInferencerFactory; import edu.jhu.gm.inf.BruteForceInferencer.BruteForceInferencerPrm; import edu.jhu.gm.model.FgModel; import edu.jhu.gm.train.C...
package edu.mines.jtk.dsp; import edu.mines.jtk.opt.BrentMinFinder; import static edu.mines.jtk.util.ArrayMath.*; import edu.mines.jtk.util.Check; /** * A sinc interpolator for bandlimited uniformly-sampled functions y(x). * Interpolators can be designed for any two of three parameters: maximum * error (emax), maxim...
package frc.team4215.stronghold; import edu.wpi.first.wpilibj.Timer; /** * The class for Autonomous. * * @author James */ public class Autonomous { private static Thread threadPing; /** * Measured in inches. */ private static double distanceTraveled; public static Timer time = new Timer();...
package fredboat.command.music; import fredboat.audio.GuildPlayer; import fredboat.audio.PlayerRegistry; import fredboat.audio.VideoSelection; import fredboat.commandmeta.abs.Command; import fredboat.commandmeta.abs.IMusicCommand; import fredboat.util.YoutubeAPI; import fredboat.util.YoutubeVideo; import java.util.Arra...
package in.twizmwaz.cardinal.util; import org.bukkit.Bukkit; import org.jdom2.Document; import org.jdom2.Element; import org.jdom2.JDOMException; import org.jdom2.input.SAXBuilder; import java.io.File; import java.io.IOException; import java.util.logging.Level; public class DomUtils { public static Document parse(F...
package io.mycat.config.model; import java.io.File; import java.io.IOException; import io.mycat.config.Isolations; /** * * * @author mycat */ public final class SystemConfig { public static final String SYS_HOME = "MYCAT_HOME"; private static final int DEFAULT_PORT = 8066; private static final int DEFAU...
package jbyoshi.blockdodge.core; import java.awt.*; import java.awt.event.*; import java.awt.image.*; import java.util.*; import java.util.concurrent.atomic.*; import javax.swing.*; import jbyoshi.blockdodge.*; public final class BlockDodge extends JPanel { private final int width, height; final Random rand = n...
package markpeng.kaggle.ssr; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import ja...
package marubinotto.piggydb.api; import marubinotto.piggydb.model.auth.User; import marubinotto.piggydb.service.DomainModelBeans; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.context.ApplicationContext; import static spark.Spark.*; import spark.*; impor...
package me.unrealization.jeeves.bot; import me.unrealization.jeeves.interfaces.BotModule; import java.io.IOException; import java.time.Instant; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax....
package net.imglib2.meta.units; import org.scijava.service.Service; /** * Service for defining units and making unit conversions. * * @author Barry DeZonia */ public interface UnitService extends Service { /** * Returns a value after conversion between two compatible types of units. * Each unit can be...
package net.m4e.app.resources; import org.jetbrains.annotations.NotNull; import javax.json.bind.annotation.*; /** * @author boto * Date of creation February 20, 2018 */ public class DocumentInfo { private String id; private String name; private String type; private String resourceURL; private Str...
package net.md_5.specialsource; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.*; import java.util.jar.JarEntry; import java.util.jar.JarOutputStream; import org.objectweb.asm.ClassReader; import org.ob...
package nl.rutgerkok.blocklocker.impl; import java.util.Collection; import javax.annotation.Nullable; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.block.BlockFace; import com.google.common.collect.ImmutableList; /** * Represents a single or double door. Used to find all blocks of a door...
package nl.topicus.jdbc; import java.sql.Connection; import java.sql.Driver; import java.sql.DriverPropertyInfo; import java.sql.SQLException; import java.sql.SQLFeatureNotSupportedException; import java.util.Properties; import java.util.logging.Logger; public class CloudSpannerDriver implements Driver { static ...
package org.hocate.http.server; import java.util.HashMap; import java.util.Map; import org.hocate.http.message.Request; import org.hocate.http.message.packet.Cookie; public class HttpRequest extends Request { private HttpSession session; private String remoteAddres; private int remotePort; private Strin...
package org.holmes.evaluator; import java.util.Date; import org.holmes.Evaluator; import org.holmes.Joint; import org.holmes.evaluator.support.Diff; import org.holmes.evaluator.support.FutureNumber; import org.holmes.evaluator.support.Interval; /** * An {@link Evaluator} for the {@link Date} type. * * @author diegos...
package org.jlib.core.string; // TODO: create method String transform(String, StringTransformer...) /** * Utility class providing static methods for String operations and manipulations. * * @author Igor Akkerman */ public final class StringUtility { /** property name of the system's line separator */ public...
package org.kohsuke.github; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; public enum ReactionContent { PLUS_ONE("+1"), MINUS_ONE("-1"), LAUGH("laugh"), CONFUSED("confused"), HEART("heart"), HOORAY("hooray"), ROCKET("rocket"), EYE...
package org.lightmare.config; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Properties; import java.util.Set; import org.apache.log4j.Logger;...
package org.lightmare.config; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Properties; import java.util.Set; import org.apache.log4j.Logger; import org.lightmare.cac...
package org.myrobotlab.service; import java.io.File; import java.io.IOException; import java.util.HashSet; import java.util.List; import java.util.Locale; import java.util.Set; import org.myrobotlab.framework.Registration; import org.myrobotlab.framework.Service; import org.myrobotlab.framework.interfaces.Attachable; i...
package org.myrobotlab.service; import java.io.File; import java.io.IOException; import java.util.HashSet; import java.util.List; import java.util.Locale; import java.util.Set; import org.myrobotlab.framework.Registration; import org.myrobotlab.framework.Service; import org.myrobotlab.framework.ServiceType; import org....
package org.nanopub; import static org.nanopub.Nanopub.HAS_ASSERTION_URI; import static org.nanopub.Nanopub.HAS_PROVENANCE_URI; import static org.nanopub.Nanopub.HAS_PUBINFO_URI; import static org.nanopub.Nanopub.SUB_GRAPH_OF; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; impo...
package org.rembx.jeeshop.catalog; import java.util.Date; import java.util.List; public class Category { private Integer id; private String name; private String description; private List<Category> childCategories; private List<Product> childProducts; private Date startDate; private Date endD...
package rest.aplicacion; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.spring...
package seedu.ezdo.logic.parser; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Optional; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.u...
package tigase.component; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.util.ArrayDeque; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Queue; import java.util.logging.Level; import java.util.logging.Logger; import javax....
package tk.justramon.ircbot.justabotx; import java.io.File; import org.pircbotx.Configuration; import org.pircbotx.Configuration.Builder; import org.pircbotx.PircBotX; import org.pircbotx.hooks.ListenerAdapter; import org.pircbotx.hooks.events.MessageEvent; import tk.justramon.ircbot.justabotx.NotImportant.Passwords; i...
package net.maizegenetics.baseplugins; import net.maizegenetics.gui.DialogUtils; import net.maizegenetics.dna.snp.ImportUtils; import net.maizegenetics.trait.ReadPhenotypeUtils; import net.maizegenetics.dna.snp.ReadPolymorphismUtils; import net.maizegenetics.dna.snp.ReadSequenceAlignmentUtils; import net.maizegenetics....
package net.rubyeye.xmemcached; import java.io.UnsupportedEncodingException; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.List; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import com.google.code.yanf4j.nio.CodecFactory; import com.google.code.yanf4j.u...
package net.sf.jaer.util.avioutput; import com.jogamp.common.nio.Buffers; import com.jogamp.opengl.GL; import com.jogamp.opengl.GL2; import com.jogamp.opengl.GLAutoDrawable; import com.jogamp.opengl.awt.GLCanvas; import java.awt.Desktop; import java.awt.image.BufferedImage; import java.awt.image.DataBufferInt; import j...
package net.sf.jaer.util.avioutput; import static net.sf.jaer.graphics.AEViewer.DEFAULT_CHIP_CLASS; import static net.sf.jaer.graphics.AEViewer.prefs; import java.awt.Dimension; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.awt.image.BufferedImage; import java.awt.image.DataBufferI...
package net.sf.mzmine.project.impl; import java.util.Hashtable; import java.util.Vector; import net.sf.mzmine.data.Parameter; import net.sf.mzmine.data.PeakList; import net.sf.mzmine.io.RawDataFile; import net.sf.mzmine.main.MZmineCore; import net.sf.mzmine.project.MZmineProject; import net.sf.mzmine.userinterface.main...
package org.biojava.bio.program.abi; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.biojava.bio.BioError; import org.biojava.bio.chromatogram.AbstractChromatogram; import org.bi...
package org.concord.data.stream; import java.io.PrintStream; import org.concord.framework.data.stream.DataConsumer; import org.concord.framework.data.stream.DataListener; import org.concord.framework.data.stream.DataProducer; import org.concord.framework.data.stream.DataStreamEvent; /** * @author scytacki * * TODO T...
package org.concord.datagraph.state; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.Point; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.InputEvent; import java.util.EventObject; import java.uti...
package org.concord.framework.otrunk; import java.util.ArrayList; import org.concord.framework.otrunk.otcore.OTClass; import org.concord.framework.otrunk.otcore.OTClassProperty; /** * This class can be used to create more complex OTObjects. * The OTObject interface can be used for simple interfaces * that adhere to ...
package org.concord.sensor.view; import javax.swing.JComponent; import org.concord.framework.otrunk.OTObject; import org.concord.framework.otrunk.OTObjectService; import org.concord.framework.otrunk.view.AbstractOTView; import org.concord.framework.otrunk.view.OTActionView; import org.concord.framework.otrunk.view.OTJC...
package org.eclipse.imp.pdb.facts.impl.fast; import java.util.Iterator; import org.eclipse.imp.pdb.facts.IRelation; import org.eclipse.imp.pdb.facts.ISet; import org.eclipse.imp.pdb.facts.ITuple; import org.eclipse.imp.pdb.facts.IValue; import org.eclipse.imp.pdb.facts.exceptions.IllegalOperationException; import org.e...
package com.impossibl.postgres.jdbc; import java.sql.Connection; import java.sql.Date; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.sql.Time; import java.sql.Timestamp; import java.util.Calendar; import java.util.TimeZone; import org....
package com.opengamma.sesame.config; import static org.testng.AssertJUnit.assertEquals; import static org.testng.AssertJUnit.assertTrue; import java.util.Collections; import org.testng.annotations.Test; import org.threeten.bp.ZoneOffset; import org.threeten.bp.ZonedDateTime; import com.google.common.collect.ImmutableMa...
package com.pm.server.player; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.util.List; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.junit.Before; import org.junit.Test; import org...
package org.objectweb.proactive.p2p.api.core; import java.io.Serializable; import java.util.Iterator; import java.util.ListIterator; import java.util.Vector; import org.apache.log4j.Logger; import org.objectweb.proactive.ActiveObjectCreationException; import org.objectweb.proactive.Body; import org.objectweb.proactive....
package org.opencms.file.collectors; import org.opencms.file.CmsObject; import org.opencms.file.CmsResource; import org.opencms.main.CmsException; import org.opencms.main.OpenCms; import org.opencms.search.solr.CmsSolrIndex; import org.opencms.search.solr.CmsSolrQuery; import org.opencms.util.CmsRequestUtil; import jav...
package com.shinemo.mpush.client; import com.shinemo.mpush.api.Client; import com.shinemo.mpush.api.ClientListener; import com.shinemo.mpush.util.DefaultLogger; import org.junit.Test; import java.util.concurrent.locks.LockSupport; import static org.junit.Assert.*; public class MPushClientTest { private static final...
package org.opencms.workplace.explorer; import org.opencms.file.CmsProperty; import org.opencms.file.CmsPropertyDefinition; import org.opencms.file.CmsResource; import org.opencms.file.CmsResourceFilter; import org.opencms.file.types.CmsResourceTypePlain; import org.opencms.i18n.CmsEncoder; import org.opencms.jsp.CmsJs...
package com.treasure_data.client; import static org.junit.Assert.assertEquals; import java.util.HashMap; import java.util.Map; import java.util.Properties; import org.json.simple.JSONValue; import org.junit.After; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import com.treasure_data.auth.Tre...
package com.zaxxer.hikari.performance; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.Arrays; import java.util.concurrent.CountDownLatch; import java.util.concurrent.CyclicBarrier; import javax.sql.DataSource; import com.jolbox.bonecp.BoneCPConfig; import com....
// This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the blocks indicating autogenerated code o...
// This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the blocks indicating autogenerated code o...
package eu.project.ttc.test.func; import static org.assertj.core.api.Assertions.assertThat; import java.util.Collection; import java.util.List; import java.util.Set; import org.assertj.core.api.AbstractAssert; import org.assertj.core.api.AbstractIterableAssert; import org.assertj.core.util.Lists; import com.google.comm...
package org.jcodec.codecs.mpeg12; import static org.jcodec.common.ArrayUtil.toByteArrayShifted; import static org.jcodec.common.ArrayUtil.toByteArrayShifted2; import static org.jcodec.common.ArrayUtil.toIntArray; import java.util.Arrays; import org.junit.Assert; import org.junit.Test; public class MPEGPredOctTest { ...
package org.mvel2.tests.core; import org.mvel2.*; import static org.mvel2.MVEL.*; import org.mvel2.ast.ASTNode; import org.mvel2.ast.Function; import org.mvel2.ast.WithNode; import org.mvel2.compiler.CompiledExpression; import org.mvel2.compiler.ExpressionCompiler; import org.mvel2.debug.DebugTools; import org.mvel2.de...
import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import net.robotmedia.billing.BillingController; import net.robotmedia.billing.BillingController.IConfiguration; import net.robotmedia.billing.helper.AbstractBillingObserver; import net.robotmedia.billing.model.Transaction; impor...
package org.neo4j.gis.spatial.pipes; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.awt.Color; import java.io.File; import java.io.IOException; import java.nio.charset.Charset; import ja...
package org.spka.cursus.test; import java.util.Map; import org.junit.Assert; import org.junit.Test; import eu.lp0.cursus.db.DatabaseSession; import eu.lp0.cursus.db.data.Event; import eu.lp0.cursus.db.data.Pilot; import eu.lp0.cursus.db.data.Race; import eu.lp0.cursus.db.data.RaceAttendee; import eu.lp0.cursus.db.data....
//@@author A0093896H package seedu.todo.commons.util; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import seedu.todo.commons.exceptions.IllegalValueException; import seedu.todo.model.task.TaskDate; import static org.junit.Assert.assertEquals; import static org.junit.Assert.ass...
package us.jubat.regression; import static org.hamcrest.Matchers.closeTo; import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.not; import static org.hamcrest.Matchers.notNullValue; import static org.junit.Assert.assertThat; import java.io.IOException; import java.util.ArrayList; import java.util...
package projectguru.controllers; import java.io.IOException; import java.net.URL; import java.text.SimpleDateFormat; import java.time.LocalDate; import java.time.ZoneId; import java.time.format.DateTimeFormatter; import java.util.Date; import java.util.List; import java.util.Objects; import java.util.ResourceBundle; im...
package uk.ac.ed.inf.Metabolic.parser; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; import java.util.Map.Entry; import org.pathwayeditor.businessobjectsAPI.ILink; import org.pathwayeditor.businessobjectsAPI.IMapObje...
package se.chalmers.watchme.database; import java.util.Calendar; import java.util.List; import android.content.ContentResolver; import android.content.ContentValues; import android.database.Cursor; import android.net.Uri; import se.chalmers.watchme.model.Movie; import se.chalmers.watchme.model.Tag; public class Databas...
//Contributor: HC,JZ package team.sprocket.commands.shooter; import edu.wpi.first.wpilibj.command.CommandGroup; public class ShootSequence extends CommandGroup { public ShootSequence() { addSequential(new Shoot()); addSequential(new Cock()); // Add Commands here: // e.g. addSequentia...
package de.gmcs.builder; import static org.hamcrest.Matchers.is; import static org.junit.Assert.assertThat; import org.junit.Test; import de.gmcs.builder.model.DomainObject; import de.gmcs.builder.model.PrivateObject; public class GenericBuilderTest { @Test public void testAll() throws Exception { Domai...
package io.scif.services; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; import io.scif.FormatException; import java.math.BigInteger; import java.util.Random; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.scijava.Context; import org.sc...
package me.moodcat.eemcsdata; import static org.junit.Assert.assertEquals; import java.io.IOException; import me.moodcat.database.embeddables.AcousticBrainzData; import me.moodcat.eemcsdata.parser.ParseData; import org.junit.Before; import org.junit.Test; public class ParseDataTest { ParseData data; @Before ...
package mho.wheels.math; import mho.wheels.io.Readers; import mho.wheels.numberUtils.FloatingPointUtils; import org.jetbrains.annotations.NotNull; import org.junit.Test; import java.math.BigInteger; import java.util.List; import java.util.Optional; import static mho.wheels.iterables.IterableUtils.iterate; import static...