answer
stringlengths
17
10.2M
package com.bellini.recipecatalog.test.repository.dishtype; import static org.hamcrest.CoreMatchers.notNullValue; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.*; import static org.junit.Assert.*; import java.util.ArrayList; import java.util.Collection; import java.util.List; ...
package com.indeed.proctor.webapp.controllers; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Lists; import com.indeed.proctor.common.EnvironmentVersion; import com.indeed.proctor.common.model.Allocation; import com.indeed.proctor.common.model.Payload; import com.indeed.proctor.common.m...
package com.atexpose.dispatcher.parser.urlparser.httprequest; import org.junit.Test; import java.net.URI; import java.util.Map; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatExceptionOfType; import static org.junit.Assert.assertEquals; public class Htt...
package org.carlspring.strongbox.controller; import org.carlspring.maven.commons.util.ArtifactUtils; import org.carlspring.strongbox.client.ArtifactTransportException; import org.carlspring.strongbox.io.ArtifactInputStream; import org.carlspring.strongbox.providers.ProviderImplementationException; import org.carlspring...
package com.marklogic.javaclient; import static org.junit.Assert.*; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import com.marklogic.client.DatabaseClient; import com.marklogic.client.DatabaseClientFactory; import com.marklogic.clien...
package VASSAL.counters; import VASSAL.tools.ProblemDialog; import java.awt.AlphaComposite; import java.awt.Component; import java.awt.Cursor; import java.awt.Font; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Image; import java.awt.Point; import java.awt.Rectangle; import java.awt.RenderingHin...
package VASSAL.build; import VASSAL.tools.DataArchive; import org.junit.Before; import org.junit.Ignore; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; @Ignore public class MockModuleTest { private static boolean initialized = false; @SuppressWarnings("unchecked") @Before public...
package com.jiaxy.tgd; import org.junit.Test; import java.util.Date; /** * Title: <br> * <p> * Description: <br> * </p> * <br> * * @author <a href=mailto:taobaorun@gmail.com>taobaorun</a> * <br> * @since 2016/04/26 22:19 */ public class RateLimiterTest { @Test public void testTBGetToken() thro...
package de.mobilej.testproject; import android.os.Parcel; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.invocation.InvocationOnMock; import org.mockito.stubbing.Answer; import org.powermock.core.classloader.annotations.PrepareForTest; import org.powermock.modules.ju...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package me.merciless.dmonkey; import com.jme3.app.Application; import com.jme3.asset.AssetManager; import com.jme3.light.PointLight; import com.jme3.material.Material; import com.jme3.material.RenderState; import com.jme...
package mobi.hsz.idea.gitignore.psi; import com.intellij.psi.PsiElement; import mobi.hsz.idea.gitignore.IgnoreBundle; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.util.regex.Pattern; /** * @author Jakub Chrzanowski <jakub@hsz.mobi> * @since 1.0 */ public interface ...
package net.wurstclient.compatibility; import net.minecraft.enchantment.Enchantment; import net.minecraft.init.Enchantments; public final class WEnchantments { public static final Enchantment SILK_TOUCH = Enchantments.silkTouch; }
package net.wurstclient.features.commands; import net.minecraft.entity.Entity; import net.wurstclient.utils.EntityUtils; import net.wurstclient.utils.EntityUtils.TargetSettings; @Cmd.Info(description = "Toggles Follow or makes it target a specific entity.", name = "follow", syntax = {"[<entity>]"}, help = "...
package net.wurstclient.features.mods; import net.minecraft.network.play.client.CPacketPlayer; import net.minecraft.potion.Potion; import net.wurstclient.compatibility.WPotionEffects; import net.wurstclient.compatibility.WConnection; import net.wurstclient.compatibility.WMinecraft; import net.wurstclient.events.listene...
package to.etc.domui.dom.html; import java.util.*; import to.etc.domui.component.input.*; import to.etc.domui.util.*; public class Checkbox extends NodeBase implements IInputNode<Boolean>, IHasModifiedIndication { private boolean m_checked; private boolean m_disabled; /** * T when this input value is a...
package etomica.potential; import etomica.EtomicaInfo; import etomica.space.Space; import etomica.units.Dimension; import etomica.units.Energy; import etomica.units.Length; /** * Lennard-Jones interatomic potential. * Spherically symmetric potential of the form u(r) = 4*epsilon*[(sigma/r)^12 - (sigma/r)^6] * where e...
package org.apache.tapestry.util; import java.io.Serializable; import org.apache.tapestry.IComponent; import org.apache.tapestry.INamespace; import org.apache.tapestry.IPage; import org.apache.tapestry.IRequestCycle; /** * The ComponentAddress class contains the path to a component, allowing it to * locate an instanc...
package rhogenwizard.launcher; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; import org.eclipse.core.resources...
package org.fxmisc.richtext; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Objects; import java.util.Optional; import java.util.function.BiConsumer; import java.util.function.BiFunction; impo...
package org.zalando.riptide; import com.google.common.collect.ImmutableList; import org.springframework.http.client.AsyncClientHttpRequestFactory; import org.springframework.http.client.SimpleClientHttpRequestFactory; import org.springframework.http.converter.HttpMessageConverter; import org.springframework.scheduling....
package org.ggp.base.util.game; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileReader; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetSocketAddress; import java.util.Li...
package algorithms.imageProcessing; import algorithms.CountingSort; import algorithms.MultiArrayMergeSort; import algorithms.compGeometry.EllipseHelper; import algorithms.compGeometry.PerimeterFinder; import algorithms.compGeometry.PointInPolygon; import algorithms.imageProcessing.optimization.ANDedClauses; import algo...
package org.score.samples; import com.google.common.collect.Sets; import com.hp.oo.internal.sdk.execution.ExecutionConstants; import com.hp.score.api.ControlActionMetadata; import com.hp.score.api.ExecutionPlan; import com.hp.score.api.ExecutionStep; import com.hp.score.api.Score; import com.hp.score.api.TriggeringProp...
package org.score.samples; import com.google.common.collect.Sets; import com.hp.oo.internal.sdk.execution.ExecutionConstants; import com.hp.score.api.ControlActionMetadata; import com.hp.score.api.ExecutionPlan; import com.hp.score.api.ExecutionStep; import com.hp.score.api.Score; import com.hp.score.api.TriggeringProp...
// modification, are permitted provided that the following conditions are met: // and/or other materials provided with the distribution. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE // ANY DIRECT, INDIRECT, ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package ch.unizh.ini.pencilbalancer; /** * * @author conradt */ public class servoConnection { private static servoConnection instance = null; private HWP_RS232 rs232Port = null; private boolean isConnecte...
package net.fortuna.ical4j.model; import java.io.Serializable; import java.text.ParseException; import java.util.ArrayList; import java.util.Iterator; import java.util.StringTokenizer; import net.fortuna.ical4j.model.parameter.Value; import net.fortuna.ical4j.util.TimeZones; /** * Defines a list of iCalendar dates. If...
package org.jasig.portal.jndi; import java.util.Hashtable; import java.util.Enumeration; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; import javax.naming.NameAlreadyBoundException; import javax.naming.CompositeName; import javax.naming.NamingEnumeration;...
package org.jfree.chart.axis; import java.awt.Font; import java.awt.Graphics2D; import java.awt.Paint; import java.awt.Shape; import java.awt.geom.Line2D; import java.awt.geom.Point2D; import java.awt.geom.Rectangle2D; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; impo...
package org.jfree.chart.axis; import java.awt.Font; import java.awt.Graphics2D; import java.awt.Paint; import java.awt.Shape; import java.awt.geom.Line2D; import java.awt.geom.Point2D; import java.awt.geom.Rectangle2D; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; impo...
package org.jfree.chart.axis; import java.io.Serializable; import java.text.DateFormat; import java.util.Calendar; import java.util.Date; import java.util.TimeZone; import org.jfree.chart.util.ParamChecks; import org.jfree.util.ObjectUtilities; /** * A tick unit for use by subclasses of {@link DateAxis}. Instances of...
package org.jfree.data.jdbc; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.sql.Statement; import java.sql.Types; import java.util.ArrayList; import java.util.Date; import org.jfree.data.Range; import org...
package org.jfree.data.time; import org.jfree.data.xy.XYDataset; import org.jfree.data.xy.XYSeries; import org.jfree.data.xy.XYSeriesCollection; /** * A utility class for calculating moving averages of time series data. */ public class MovingAverage { /** * Creates a new {@link TimeSeriesCollection} containi...
package org.xbill.DNS; import java.io.*; import java.util.*; /** * A helper class that tries to locate name servers and the search path to * be appended to unqualified names. Currently, this works if either the * appropriate properties are set, or the OS has a unix-like /etc/resolv.conf. * There is no reason for t...
// BumpShapeAdaptor.java // xal package xal.app.knobs; import xal.model.probe.traj.ProbeState; import xal.model.probe.traj.Trajectory; import xal.tools.beam.calc.SimpleSimResultsAdaptor; /** adaptor for generating bumps of specific shapes */ abstract public class BumpShapeAdaptor { /** bump offset adaptor */ ...
package ua.sernikov; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Bean; import org.springframework.web.servlet.config.annotation.CorsRegistry; import org.springframework.web.servlet.config.annotation...
package org.cloudname.example; import org.cloudname.con.HttpConsole; import org.cloudname.mon.Counter; /** * This class contains various examples of how Base utilities are * used. * * @author borud */ public class Main { private final static Counter fooBarCounter = Counter.getCounter("example.foobar.count"); ...
package aQute.bnd.signing; import static java.nio.charset.StandardCharsets.UTF_8; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintWriter; import java.io.Writer; import java.security.KeyStore; import java....
package opendap.semantics.IRISail; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.IOException; import java.lang.reflect.*; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.sql.Timestamp; import java...
package org.apache.fop.fonts.truetype; import java.io.IOException; import java.util.Iterator; import java.util.Map; import java.util.List; public class TTFSubSetFile extends TTFFile { private byte[] output = null; private int realSize = 0; private int currentPos = 0; /* * Offsets in name table to b...
package org.jpmml.model; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.URL; import javax.xml.XMLConstants; import javax.xml.transform.Result; import javax.xml.transform.Source; import javax.xml.validation.Schema; import javax.x...
/* -*- c-basic-offset: 2; indent-tabs-mode: nil -*- */ package org.biojava.bio.program.gff; import java.util.Iterator; import java.util.List; import java.util.Map; import org.biojava.bio.seq.StrandedFeature; import org.biojava.utils.SmallMap; /** * A no-frills implementation of a <span class="type">GFFRecord</span>. ...
package org.bouncycastle.cms; import java.security.GeneralSecurityException; import java.security.Provider; import java.security.SecureRandom; import javax.crypto.SecretKey; import org.bouncycastle.asn1.cms.RecipientInfo; interface RecipientInfoGenerator { /** * Generate a RecipientInfo object for the given ke...
package api.web.gw2.mapping.v2.characters; import api.web.gw2.mapping.core.DateValue; import api.web.gw2.mapping.core.DurationValue; import api.web.gw2.mapping.core.EnumValue; import api.web.gw2.mapping.core.IdValue; import api.web.gw2.mapping.core.LevelValue; import api.web.gw2.mapping.core.ListValue; import api.web.g...
package org.jsecurity.cache.ehcache; import net.sf.ehcache.CacheManager; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.jsecurity.cache.Cache; import org.jsecurity.cache.CacheException; import org.jsecurity.cache.CacheProvider; import org.jsecurity.session.support.eis.su...
package org.mozilla.mozstumbler.client; import android.app.AlertDialog; import android.content.BroadcastReceiver; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.IntentFilter; import android.graphics.Color; import android.location.Location; i...
package org.myrobotlab.service; import java.util.ArrayList; import javax.swing.JButton; import javax.swing.JCheckBox; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JList; import javax.swing.JScrollPane; import javax.swing.JSlider; import javax.swing.JTextArea; import javax.swing.JTextField; i...
/** * ConnectionTableWindow * <p> * This widget shows a table for the connection between two nodes. * * @author Marius Spix */ package de.bwv_aachen.dijkstra.gui; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Container; import java.util.Arrays; import java.util.Vector; import javax.swing.Bo...
package org.openhab.habdroid.ui; import android.Manifest; import android.app.AlertDialog; import android.app.PendingIntent; import android.app.ProgressDialog; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageManager; import...
package com.psddev.dari.util; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FilterOutputStream; import java.io.IOException; import java.io.InputStream; import...
package org.prx.android.playerhater; import java.io.FileDescriptor; import java.io.IOException; import android.app.Activity; import android.app.PendingIntent; import android.app.Service; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.IntentFil...
package org.sosy_lab.java_smt.example; import com.google.common.base.Preconditions; import com.google.common.collect.Lists; import com.google.common.collect.Sets; import java.util.List; import java.util.logging.Level; import org.sosy_lab.common.ShutdownNotifier; import org.sosy_lab.common.configuration.Configuration; i...
package com.devicehive.service; import com.devicehive.auth.AllowedKeyAction; import com.devicehive.auth.CheckPermissionsHelper; import com.devicehive.auth.HivePrincipal; import com.devicehive.auth.HiveSecurityContext; import com.devicehive.configuration.Messages; import com.devicehive.dao.AccessKeyDAO; import com.devic...
package de.lmu.ifi.dbs.elki.result.textwriter; import java.io.FileNotFoundException; import java.io.IOException; import java.io.PrintStream; import java.util.ArrayList; import java.util.BitSet; import java.util.Collection; import java.util.Iterator; import java.util.List; import de.lmu.ifi.dbs.elki.data.Clustering; imp...
package com.akjava.gwt.poseeditor.client; import java.io.IOException; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Set; import com.akjava.bvh.client.BVH; import com.akj...
package de.mrapp.android.validation.validators.text; /** * Contains all case sensitivities, which may be used by validators. */ public enum Case { /** * If only uppercase letters should be allowed. */ UPPERCASE, /** * If only lowercase letters should be allowed. */ LOWERCASE, /...
package fnnc.algo; import fnnc.model.DistanceCalculator; import fnnc.model.DistanceObjectPair; import java.lang.Comparable; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedList; import java.util.Random; public class OrchardsAlgorithm...
package ucar.nc2.iosp.gini; import ucar.nc2.constants.DataFormatType; import ucar.ma2.*; import ucar.nc2.Variable; import ucar.nc2.iosp.AbstractIOServiceProvider; import java.io.*; import java.awt.image.*; import java.util.zip.Inflater; import java.util.zip.DataFormatException; /** * IOServiceProvider for GINI files. ...
package com.akjava.gwt.poseeditor.client; import java.io.IOException; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Set; import com.akjava.bvh.client.BVH; import com.akj...
package dk.netarkivet.archive.indexserver; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.nio.channels.FileLock; import java.util.HashMap; import java.util.Map; import java.util.Set; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; impor...
package com.highway2urhell; import com.highway2urhell.agent.InstrumentationHolder; import com.highway2urhell.domain.EntryPathData; import com.highway2urhell.domain.FilterEntryPath; import com.highway2urhell.domain.H2hConfig; import com.highway2urhell.domain.OutputSystem; import com.highway2urhell.service.*; import com....
package com.github.assisstion.Communicator.gui; import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import jav...
package com.binghamton.jhelp.error; import java.io.PrintWriter; /** * A class to wrap uncaught exceptions thrown by the application so that the * end-user sees a program error, not an exception stack trace. */ public class ApplicationError extends JHelpError { private Exception e; private String filename; ...
package org.hamcrest.core; import static java.util.Arrays.asList; import static org.hamcrest.AbstractMatcherTest.assertDescription; import static org.hamcrest.AbstractMatcherTest.assertDoesNotMatch; import static org.hamcrest.AbstractMatcherTest.assertMatches; import static org.hamcrest.AbstractMatcherTest.assertMismat...
package com.ceco.gm2.gravitybox; import android.content.res.XModuleResources; import android.content.res.XResources; import android.os.Build; import de.robv.android.xposed.XSharedPreferences; import de.robv.android.xposed.XposedBridge; public class SystemWideResources { public static void initResources(final XShare...
package edu.cmu.cs.diamond.opendiamond; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.SocketChannel; import java.util.concurrent.atomic.AtomicInteger; public class MiniRPCConnection { private static final int MINIRPC_HEADER_LENGTH = 16; final private AtomicInteger nextSequence...
package com.swabunga.spell.engine; import java.io.*; import java.util.*; public class SpellDictionaryHashMap extends SpellDictionaryASpell { /** A field indicating the initial hash map capacity (16KB) for the main * dictionary hash map. Interested to see what the performance of a * smaller initial capac...
package slimpleslickgame; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Input; import org.newdawn.slick.geom.Shape; import org.newdawn.slick.geom.Vector2f; import util.EventProtocol; import client.ByteMonitor; import client.MessageWrapper; public class LocalPlayer extends Player{ private GameCont...
package com.tactfactory.harmony.command.base; import japa.parser.ast.CompilationUnit; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import com.google.common.base.Strings; import com.tactfactory.harmony.meta.ApplicationMetadata; import com.tactfactory.harmony.meta.EntityMetadata; import co...
package org.kobjects.htmlview2; import android.content.Context; import android.graphics.Paint; import elemental.html.Window; import org.kobjects.css.CssProperty; import org.kobjects.css.CssStyle; import org.kobjects.css.CssStyleSheet; import org.kobjects.css.CssUnit; import java.net.URI; import java.net.URISyntaxExcept...
package edu.kit.informatik.literatur_system; import java.util.Collection; import java.util.Collections; import java.util.Set; import java.util.TreeSet; /** * TODO add doc * @author JoseNote * @version %I%, %G% */ public abstract class TagedElement implements ITaged { private final Set<Keyword> keywords; /**...
package com.corner23.android.findbooks; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.concurrent.RejectedExecutionException; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.HttpStatus; i...
package com.tactfactory.harmony.plateforme; import java.lang.reflect.Field; import java.util.ArrayList; import com.google.common.base.Strings; import com.tactfactory.harmony.annotation.Column; import com.tactfactory.harmony.annotation.Column.Type; import com.tactfactory.harmony.annotation.InheritanceType.InheritanceMod...
/** * SimulationEnder.java * * A class that handles the conclusion of a simulation * * @author Grant Hensel */ package edu.wheaton.simulator.simulation; public class SimulationEnder { /** * A BoolExpression object containing the conditions under which the simulation ends */ private EndCondition ...
package com.valkryst.AsciiPanel.component; import com.valkryst.AsciiPanel.AsciiPanel; import com.valkryst.AsciiPanel.AsciiString; import javafx.scene.shape.Rectangle; import lombok.Getter; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; public class AsciiComponent { /** The x-axi...
package com.ecyrd.jspwiki.providers; import java.io.IOException; import java.io.File; import java.io.StringReader; import java.util.*; import org.apache.log4j.Logger; import org.apache.lucene.index.IndexWriter; import org.apache.lucene.index.Term; import org.apache.lucene.index.IndexReader; import org.apache.lucene.ana...
package com.ffxivcensus.gatherer; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.NodeList; import org.xml.sax.SAXException; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import java.io.File; ...
package com.googlecode.networklog; import android.util.Log; import java.util.HashMap; import java.util.Iterator; import java.util.Map; public class ThroughputTracker { public static String throughputString = ""; static class ThroughputData { ApplicationsTracker.AppEntry app; String address; long upload;...
package com.innovail.trouble.core.gameelement; import java.util.Iterator; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.math.Vector3; public class Token { private static final int NUMBER_OF_STEPS = 20; private final Player _owner; private Spot _position; private Spot _potentialPosition...
package com.lekebilen.quasseldroid.gui; import java.util.ArrayList; import java.util.List; import java.util.Observable; import java.util.Observer; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.content.ComponentName; import android.content.Context; import android....
package com.sunrisesunset.util; import static com.sunrisesunset.util.MathUtility.convertDegreesToRadians; import static com.sunrisesunset.util.MathUtility.convertRadiansToDegrees; import static com.sunrisesunset.util.MathUtility.divideBy; import static com.sunrisesunset.util.MathUtility.getDayOfYear; import static com....
package com.xruby.compiler.codegen; import com.xruby.compiler.codedom.CodeVisitor; import com.xruby.compiler.codedom.Program; import com.xruby.runtime.lang.RubyBinding; import com.xruby.runtime.lang.RubyRuntime; import com.xruby.runtime.lang.RubyValue; import com.xruby.runtime.value.ObjectFactory; import org.objectweb....
package ie.ucd.clops.dsl; import ie.ucd.clops.codegeneration.CodeGenerator; import ie.ucd.clops.documentation.DocumentGenerator; import ie.ucd.clops.dsl.generatedinterface.CLODSLOptionStore; import ie.ucd.clops.dsl.generatedinterface.CLODSLOptionsInterface; import ie.ucd.clops.dsl.generatedinterface.CLODSLParser; impor...
package org.jasig.portal; import org.w3c.dom.Document; import org.w3c.dom.Node; import org.w3c.dom.NamedNodeMap; import org.w3c.dom.NodeList; import org.w3c.dom.Element; import org.apache.xerces.dom.DocumentImpl; import org.apache.xerces.parsers.DOMParser; import java.io.StringWriter; import java.sql.Connectio...
package lombok.javac.handlers; import static lombok.javac.Javac.*; import static lombok.javac.handlers.JavacHandlerUtil.*; import com.sun.tools.javac.tree.JCTree.JCBlock; import com.sun.tools.javac.tree.JCTree.JCTypeParameter; import java.io.IOException; import java.util.Arrays; import java.util.Collections; import jav...
package edu.wustl.xipHost.application; import java.io.File; import java.io.IOException; import java.net.URL; import java.util.List; import java.util.UUID; import org.jdom.JDOMException; import edu.wustl.xipHost.worklist.WorklistEntry; /** * @author Jaroslaw Krych * */ public interface ApplicationManager { public...
package org.intermine.api.bag; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import org.apache.log4j.Logger; import org.intermine.api.profile.InterMineBag; import org.intermine.api.profile.Pr...
package org.xbill.DNS; import java.io.*; import java.text.*; import java.util.*; import org.xbill.DNS.utils.*; /** * A representation of a domain name. * * @author Brian Wellington */ public class Name { private static final int LABEL_NORMAL = 0; private static final int LABEL_COMPRESSION = 0xC0; private static fin...
package org.broadinstitute.sting.secondarybase; /** * RawRead represents lane and tile coordinates, raw intensities, read bases, and quality scores * * @author Kiran Garimella */ public class RawRead implements Comparable<RawRead> { private byte lane; private short tile; private short x; private sho...
package fitnesse.testsystems.fit; import java.io.IOException; import java.lang.reflect.Method; import java.net.UnknownHostException; import java.util.Map; import fitnesse.testsystems.CommandRunner; import fitnesse.testsystems.CommandRunnerExecutionLog; import fitnesse.testsystems.ExecutionLog; import fitnesse.testsyste...
package BeanPlant.the_DJDJ.JavaText.world; import BeanPlant.the_DJDJ.JavaText.io.WidthLimitedOutputStream; import BeanPlant.the_DJDJ.JavaText.user.Inventory; import java.io.OutputStream; import java.io.Serializable; import java.util.ArrayList; import java.util.List; /** * The player world. This houses all locations an...
package org.voltdb; import java.io.File; import java.io.IOException; import java.io.RandomAccessFile; import java.nio.channels.FileChannel; import java.util.concurrent.Callable; import java.util.concurrent.Executors; import java.util.concurrent.Future; import java.util.concurrent.ThreadFactory; import java.util.concurr...
package org.voltdb.plannodes; import java.util.ArrayList; import java.util.List; import java.util.SortedSet; import org.json_voltpatches.JSONArray; import org.json_voltpatches.JSONException; import org.json_voltpatches.JSONObject; import org.json_voltpatches.JSONString; import org.json_voltpatches.JSONStringer; import ...
package com.gooddata.web; import com.google.gdata.util.common.util.Base64DecoderException; import net.sf.json.JSONObject; import com.google.gdata.util.common.util.Base64; import java.io.*; import java.util.Enumeration; import java.util.Map; import javax.servlet.http.*; import javax.servlet.*; /** * The GoodData Data I...
package natlab.toolkits.rewrite; import java.util.*; import java.lang.reflect.*; import ast.*; import natlab.toolkits.rewrite.simplification.*; import natlab.toolkits.analysis.varorfun.*; /** * Performs simplifications. Takes care of dependencies and any needed * book keeping. * * Dependencies are assumed to form a...
package dr.app.beagle.tools.parsers; import dr.evomodel.branchmodel.BranchModel; import dr.evomodel.branchmodel.HomogeneousBranchModel; import dr.evomodel.siteratemodel.GammaSiteRateModel; import dr.evomodel.substmodel.FrequencyModel; import dr.evomodel.substmodel.SubstitutionModel; import dr.app.beagle.tools.Partition...
package dr.app.beauti.tipdatepanel; import dr.app.beauti.options.DateGuesser; import dr.app.beauti.options.STARBEASTOptions; import dr.app.beauti.util.TextUtil; import dr.app.gui.components.RealNumberField; import jam.mac.Utils; import jam.panels.OptionsPanel; import javax.swing.*; import javax.swing.border.EmptyBorder...
package dr.evolution.coalescent; import dr.evolution.util.Units; import dr.math.Binomial; import dr.math.MathUtils; import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.MaxIterationsExceededException; import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache...
package edacc.configurator.aac.racing; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Map.Entry; import java.util.Random; import java.util.Set; import edacc.api.API; import edacc.api.cost...
package edu.mit.streamjit.impl.compiler2; import static com.google.common.base.Preconditions.*; import com.google.common.base.Predicate; import com.google.common.collect.ContiguousSet; import com.google.common.collect.DiscreteDomain; import com.google.common.collect.FluentIterable; import com.google.common.collect.Immu...