answer
stringlengths
17
10.2M
package cern.streaming.pool.core.names.resolve; import static java.util.Objects.requireNonNull; import java.util.List; import java.util.function.BiFunction; import java.util.function.Function; import java.util.function.Predicate; import com.google.common.collect.ImmutableList; public final class Chains { private Ch...
// Vilya library - tools for developing networked games // This library is free software; you can redistribute it and/or modify it // (at your option) any later version. // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // You should ...
// Narya library - tools for developing networked games // This library is free software; you can redistribute it and/or modify it // (at your option) any later version. // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // You should ...
package krasa.formatter.plugin; import krasa.formatter.eclipse.FileDoesNotExistsException; import krasa.formatter.exception.ParsingFailedException; import krasa.formatter.settings.ProjectSettingsComponent; import krasa.formatter.settings.Settings; import krasa.formatter.settings.provider.ImportOrderProvider; import kra...
package com.example.bewegungsmeldermain; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.view.Menu; import android.view.MenuItem; public class MainActivity extends Activity { private static final int RESULT_SETTINGS = 1; @Override protected void onCreate(...
package com.hotmail.kalebmarc.textfighter.main; import com.hotmail.kalebmarc.textfighter.item.Armour; import com.hotmail.kalebmarc.textfighter.item.FirstAid; import com.hotmail.kalebmarc.textfighter.item.InstaHealth; import com.hotmail.kalebmarc.textfighter.item.Power; import com.hotmail.kalebmarc.textfighter.player.*;...
package org.apache.velocity.runtime.resource; import java.io.InputStream; import java.io.IOException; import java.io.Writer; import org.apache.velocity.runtime.Runtime; import org.apache.velocity.runtime.parser.ParseException; import org.apache.velocity.runtime.parser.node.SimpleNode; import org.apache.velocity.runtime...
package org.orbeon.oxf.xforms.processor; import org.apache.commons.pool.ObjectPool; import org.apache.log4j.Logger; import org.dom4j.Document; import org.orbeon.oxf.common.OXFException; import org.orbeon.oxf.pipeline.api.ExternalContext; import org.orbeon.oxf.pipeline.api.PipelineContext; import org.orbeon.oxf.processo...
package voldemort.store.bdb.stats; import com.sleepycat.je.Environment; import com.sleepycat.je.EnvironmentConfig; import com.sleepycat.je.EnvironmentStats; import com.sleepycat.je.StatsConfig; import voldemort.VoldemortException; import voldemort.annotations.Experimental; import voldemort.annotations.jmx.JmxGetter; im...
package com.swabunga.spell.examples; import java.io.*; import java.util.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; import com.swabunga.spell.event.*; import com.swabunga.spell.engine.*; import com.swabunga.spell.swing.*; /** This class shows an example of how to use the spell checking capabili...
package com.untamedears.PrisonPearl; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import org.bukkit.Bukkit; import org.bukkit.entity.Entity; import org.bukkit.entity.LivingEntity; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukki...
package com.xinzhongxin.bletester; import java.io.ByteArrayOutputStream; import java.text.Format; import java.util.UUID; import android.R.integer; import android.annotation.SuppressLint; import android.app.Activity; import android.app.AlertDialog; import android.app.AlertDialog.Builder; import android.bluetooth.Bluetoo...
package com.quickserverlab.quicklb.server; import java.io.File; import java.util.Map; import java.util.logging.Level; import java.util.logging.Logger; import org.quickserver.net.ServerHook; import org.quickserver.net.server.QuickServer; /** * * @author Akshathkumar Shetty */ public class PrepareHook implements Serve...
package at.ac.tuwien.kr.alpha.solver; import at.ac.tuwien.kr.alpha.common.AnswerSet; import at.ac.tuwien.kr.alpha.common.NoGood; import at.ac.tuwien.kr.alpha.common.Truth; import at.ac.tuwien.kr.alpha.grounder.Grounder; import at.ac.tuwien.kr.alpha.solver.heuristics.BranchingHeuristic; import at.ac.tuwien.kr.alpha.solv...
package be.pixxis.zoufzouf.persistence; import be.pixxis.zoufzouf.Configuration; import be.pixxis.zoufzouf.model.types.MeasurementType; import com.mongodb.BasicDBObject; import com.mongodb.MongoClient; import com.mongodb.MongoClientOptions; import com.mongodb.ReadPreference; import com.mongodb.ServerAddress; import com...
// (MIT) // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the foll...
package br.com.jq.syncthia.bdcreator.table; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.List; import br.com.jq.syncthia.bdcreator.columnset.KeyType; import br.com.jq.syncthia.bdcreator.columnset.TableKey; import br.com.jq.syncthia.bdcreator.exception.DuplicatedP...
package br.uff.ic.provviewer.Stroke; import br.uff.ic.utility.graph.Edge; import br.uff.ic.provviewer.Variables; import br.uff.ic.utility.graph.Vertex; import edu.uci.ics.jung.algorithms.layout.Layout; import edu.uci.ics.jung.visualization.VisualizationViewer; import edu.uci.ics.jung.visualization.picking.PickedState; ...
package codechicken.lib.model.bakery; import codechicken.lib.model.bakedmodels.ModelProperties; import codechicken.lib.model.bakedmodels.ModelProperties.PerspectiveProperties; import codechicken.lib.model.bakedmodels.PerspectiveAwareBakedModel; import codechicken.lib.model.bakedmodels.PerspectiveAwareLayeredModel; impo...
package com.adobe.epubcheck.bitmap; import java.awt.image.BufferedImage; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.Iterator; import javax.imageio.ImageIO; import javax.imageio.ImageReader; import javax.imageio.stream.ImageInputStream; ...
package com.amplify.hiccup.service; public interface JsonConverter { String toJson(Object object); <T> T fromJson(String json, Class<T> aClass); }
package com.bio4j.model.uniprot.vertices; import com.bio4j.model.uniprot.UniProtGraph; import com.bio4j.angulillos.UntypedGraph; public final class Protein <I extends UntypedGraph<RV, RVT, RE, RET>, RV, RVT, RE, RET> extends UniProtGraph.UniProtVertex < Protein<I, RV, RVT, RE, RET>, UniProtGraph<I, RV...
package com.blamejared.mcbot.commands; import java.awt.Color; import java.io.File; import java.io.IOException; import java.util.Arrays; import java.util.List; import java.util.Random; import java.util.Scanner; import java.util.stream.Collectors; import com.blamejared.mcbot.commands.api.Command; import com.blamejared.mc...
package com.conveyal.r5.analyst.cluster; import com.conveyal.r5.analyst.Grid; import com.conveyal.r5.profile.FastRaptorWorker; import com.vividsolutions.jts.geom.Coordinate; import com.vividsolutions.jts.geom.Envelope; import org.geotools.coverage.grid.GridCoverage2D; import org.geotools.coverage.grid.GridCoverageFacto...
package com.conveyal.r5.profile; import com.conveyal.r5.analyst.cluster.AnalysisWorkerTask; import com.conveyal.r5.transit.FilteredPattern; import com.conveyal.r5.transit.PickDropType; import com.conveyal.r5.transit.TransitLayer; import com.conveyal.r5.transit.TripSchedule; import com.conveyal.r5.transit.path.Path; imp...
package com.couchbase.lite.support; import com.couchbase.lite.Database; import com.couchbase.lite.Manager; import com.couchbase.lite.auth.AuthenticatorImpl; import com.couchbase.lite.auth.Authenticator; import com.couchbase.lite.util.Log; import com.couchbase.lite.util.URIUtils; import com.couchbase.lite.util.Utils; im...
package com.enigmabridge.provider; import com.enigmabridge.EBEngine; import com.enigmabridge.provider.rsa.RSA; import org.bouncycastle.asn1.ASN1ObjectIdentifier; import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; import org.bouncycastle.jcajce.provider.config.ProviderConfiguration; import org.bouncyca...
package com.github.sergueik.swet; import static org.hamcrest.CoreMatchers.hasItem; import static org.hamcrest.CoreMatchers.notNullValue; import static org.junit.Assert.assertThat; import static org.junit.Assert.assertTrue; import org.apache.log4j.Category; import java.io.FileInputStream; import java.io.IOException; imp...
package com.github.sirikid.cuckoo; import java.util.Arrays; public class CuckooStuffing { public static byte[] stuff(byte[] in) { return stuff(in, 0, in.length); } public static byte[] stuff(byte[] in, int from, int to) { return new Stuffer().stuff(in, from, to); } public static byte...
package com.hpe.caf.worker; import com.hpe.caf.api.Codec; import com.hpe.caf.api.CodecException; import com.hpe.caf.api.ConfigurationException; import com.hpe.caf.api.ConfigurationSource; import com.hpe.caf.api.DecodeMethod; import com.hpe.caf.api.worker.DataStore; import com.hpe.caf.api.worker.InvalidTaskException; im...
package com.jarhax.naturalharvest; import static com.jarhax.naturalharvest.NaturalHarvest.MODID; import static com.jarhax.naturalharvest.NaturalHarvest.NAME; import com.jarhax.naturalharvest.proxy.CommonProxy; import com.jarhax.naturalharvest.registry.NaturalHarvestRegistries; import net.darkhax.bookshelf.lib.LoggingHe...
package com.kolich.havalo.servlets.api; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.io.Files.move; import static com.google.common.net.HttpHeaders.CONTENT_LENGTH; import static com.google.common.net.HttpHeaders.CONTENT_TYPE; import static com.google.common.net.HttpHe...
package com.minelittlepony.client; import com.minelittlepony.client.gui.GuiPonySettings; import com.minelittlepony.client.hdskins.IndirectHDSkins; import com.minelittlepony.client.pony.PonyManager; import com.minelittlepony.client.render.tileentities.skull.PonySkullRenderer; import com.minelittlepony.client.settings.Cl...
package com.nhl.bootique.linkrest; import java.util.Set; import org.apache.cayenne.configuration.server.ServerRuntime; import com.google.inject.Binder; import com.google.inject.Provides; import com.google.inject.TypeLiteral; import com.google.inject.multibindings.Multibinder; import com.nhl.bootique.ConfigModule; impor...
/** * Demo for launching OpenFin app and send messages via Inter application bus * * javascript side is in release/busdemo.html, which needs to be hosted in localhost:8888 */ package com.openfin.desktop.demo; import com.openfin.desktop.*; import com.openfin.desktop.Window; import com.openfin.desktop.channel.*; impo...
package com.relayrides.pushy.apns; import io.netty.bootstrap.Bootstrap; import io.netty.buffer.ByteBuf; import io.netty.channel.Channel; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelInitializer; import io.netty.channel.ChannelOption; import io.nett...
package com.seleniumtests.webelements; import com.gargoylesoftware.htmlunit.ElementNotFoundException; import com.seleniumtests.core.CustomAssertion; import com.seleniumtests.core.SeleniumTestsContextManager; import com.seleniumtests.core.SeleniumTestsPageListener; import com.seleniumtests.core.TestLogging; import com.s...
package com.vaguehope.morrigan.server; import java.io.IOException; import java.net.SocketException; import java.net.URI; import java.net.URISyntaxException; import java.nio.charset.StandardCharsets; import java.util.Base64; import java.util.Collection; import java.util.Collections; import java.util.concurrent.Scheduled...
package de.beyondjava.jsf.sample.carshop; import java.io.Serializable; import javax.faces.application.FacesMessage; import javax.faces.bean.ManagedBean; import javax.faces.bean.SessionScoped; import javax.faces.context.FacesContext; @ManagedBean @SessionScoped public class CarBean implements Serializable { private ...
package de.swm.nis.logicaldecoding; import java.io.IOException; import java.util.Properties; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; import org.springframework.core.io.Resource; import ...
package edu.harvard.iq.dataverse; import edu.harvard.iq.dataverse.authorization.users.AuthenticatedUser; import edu.harvard.iq.dataverse.search.IndexServiceBean; import edu.harvard.iq.dataverse.userdata.UserUtil; import edu.harvard.iq.dataverse.util.json.NullSafeJsonBuilder; import java.util.ArrayList; import java.util...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.odu.icat.graphicsinterface; import com.sun.xml.internal.ws.addressing.ProblemAction; import edu.odu.icat.analytics.AnalyticsEngine; import edu.odu.icat.controller.Control; import edu.odu.icat.graphicsinterfac...
/** * Given a stream of integers and a window size, calculate the moving average of all integers in the sliding window. * For example, * MovingAverage m = new MovingAverage(3); * m.next(1) = 1 * m.next(10) = (1 + 10) / 2 * m.next(3) = (1 + 10 + 3) / 3 * m.next(5) = (10 + 3 + 5) / 3 * Input : ["MovingAverage","...
package cougartech.aerialassist.prototypes; import edu.wpi.first.wpilibj.CANJaguar; //import edu.wpi.first.wpilibj.Encoder; import edu.wpi.first.wpilibj.IterativeRobot; import edu.wpi.first.wpilibj.Joystick; import edu.wpi.first.wpilibj.can.CANTimeoutException; import java.util.Date; public class RobotMain extends Iter...
package exnihilocreatio.recipes.defaults; import exnihilocreatio.blocks.BlockSieve; import exnihilocreatio.registries.registries.SieveRegistry; import exnihilocreatio.util.ItemInfo; import lombok.Getter; import net.minecraft.item.Item; import net.minecraftforge.fml.common.registry.GameRegistry; @SuppressWarnings("Const...
package cougartech.aerialassist.prototypes; import edu.wpi.first.wpilibj.CANJaguar; import edu.wpi.first.wpilibj.Encoder; import edu.wpi.first.wpilibj.IterativeRobot; import edu.wpi.first.wpilibj.Joystick; import edu.wpi.first.wpilibj.can.CANTimeoutException; import java.util.Date; public class RobotMain extends Iterat...
package org.haxe.duell.unittest; import java.io.DataOutputStream; import java.io.IOException; import java.net.HttpURLConnection; import java.net.URL; import android.util.Log; public class TestHTTPLoggerPoster { private static final String TAG = "duell"; public static void post(String data, short port) { ...
package fr.issamax.essearch.api; import static fr.issamax.dao.elastic.factory.ESSearchProperties.DIR_FIELD_NAME; import static fr.issamax.dao.elastic.factory.ESSearchProperties.DIR_FIELD_PATH_ENCODED; import static fr.issamax.dao.elastic.factory.ESSearchProperties.DIR_FIELD_ROOT_PATH; import static fr.issamax.dao.elast...
package de.ust.skill.common.java.internal; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.nio.ByteBuffer; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import ...
package function.external.knownvar; import function.variant.base.Variant; import global.Data; import java.util.Collection; import java.util.StringJoiner; import utils.FormatManager; /** * * @author nick */ public class ClinVarOutput { private Variant var; private ClinVar clinvar; private int siteCount; ...
package gvs.business.logic; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.google.inject.Inject; import com.google.inject.Singleton; import gvs.access.Persistor; import gvs.business.logic.layouter.ILayouter; import gvs.business.model.Graph; import gvs.business.model.SessionHolder; /** * The Applic...
package in.twizmwaz.cardinal.command; import com.sk89q.minecraft.util.commands.Command; import com.sk89q.minecraft.util.commands.CommandContext; import com.sk89q.minecraft.util.commands.CommandException; import com.sk89q.minecraft.util.commands.CommandUsageException; import com.sk89q.util.StringUtil; import in.twizmwaz...
package io.cfp.controller; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.ObjectWriter; import com.fasterxml.jackson.dataformat.csv.CsvMapper; import com.fasterxml.jackson.dataformat.csv.CsvSchema; import io.cfp.dto.EventSched; import io.cfp.dto.TalkAdmin; import io.cfp.dto.TalkA...
package io.sigpipe.sing.stat; import java.io.IOException; import org.apache.commons.math3.util.FastMath; import io.sigpipe.sing.serialization.ByteSerializable; import io.sigpipe.sing.serialization.SerializationInputStream; import io.sigpipe.sing.serialization.SerializationOutputStream; public class RunningStatisticsND ...
package dr.app.tracer.analysis; import com.lowagie.text.Document; import com.lowagie.text.DocumentException; import com.lowagie.text.pdf.DefaultFontMapper; import com.lowagie.text.pdf.PdfContentByte; import com.lowagie.text.pdf.PdfTemplate; import com.lowagie.text.pdf.PdfWriter; import dr.app.tracer.application.TracerF...
package dr.evomodel.coalescent; import dr.evolution.tree.NodeRef; import dr.evolution.tree.Tree; import dr.evomodel.tree.TreeModel; import dr.evomodelxml.coalescent.GMRFSkyrideLikelihoodParser; import dr.inference.model.MatrixParameter; import dr.inference.model.Parameter; import dr.inference.model.Variable; import dr....
package dr.evomodel.coalescent; import java.util.logging.Logger; import dr.evolution.tree.NodeRef; import dr.evolution.tree.Tree; import dr.evomodel.tree.TreeModel; import dr.inference.model.Likelihood; import dr.inference.model.MatrixParameter; import dr.inference.model.Parameter; import dr.math.MathUtils; import dr.m...
package dr.evomodel.coalescent; import dr.evolution.tree.NodeRef; import dr.evolution.tree.Tree; import dr.evomodel.tree.TreeModel; import dr.inference.model.Likelihood; import dr.inference.model.MatrixParameter; import dr.inference.model.Parameter; import dr.math.MathUtils; import dr.xml.*; import no.uib.cipr.matrix.D...
package com.jme3.light; import com.jme3.asset.AssetManager; import com.jme3.bounding.BoundingBox; import com.jme3.bounding.BoundingSphere; import com.jme3.bounding.BoundingVolume; import com.jme3.environment.EnvironmentCamera; import com.jme3.environment.LightProbeFactory; import com.jme3.environment.util.EnvMapUtils; ...
package net.blay09.mods.chattweaks.chat; import com.google.common.collect.Lists; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonPrimitive; import net.blay09.mods.chattweaks.ChatManager; import net.blay09.mods.chattweaks.chat.emotes.Emo...
package net.finmath.montecarlo; import java.io.Serializable; import java.util.function.DoubleUnaryOperator; import java.util.function.IntFunction; import net.finmath.functions.NormalDistribution; import net.finmath.functions.PoissonDistribution; import net.finmath.stochastic.RandomVariable; import net.finmath.time.Time...
package net.sourceforge.argparse4j.inf; import java.util.List; import java.util.Map; /** * <p> * This class holds attributes added by * {@link ArgumentParser#parseArgs(String[])}. * </p> * <p> * It is just a wrapper of {@link Map} object which stores actual attributes. * {@link Map} object can be retrieved using...
/* * Purpose: * TabulatorSession contains the high-level flow for tabulation execution: * parse config file * parse cast vote records * tabulate contest * output results * * TabulatorSession also stores state metadata which exists outside tabulation results including: * config object, resolved output, and logg...
package org.agilos.jira.ws; import com.atlassian.jira.rpc.exception.RemoteException; import org.agilos.jira.service.UserService; import com.atlassian.jira.rpc.auth.TokenManager; import com.atlassian.jira.rpc.exception.RemoteAuthenticationException; import com.atlassian.jira.rpc.exception.RemotePermissionException; impo...
package org.animotron.graph.builder; import org.animotron.exception.AnimoException; import org.animotron.expression.AbstractExpression; import org.animotron.graph.OrderIndex; import org.animotron.graph.serializer.DigestSerializer; import org.animotron.manipulator.Manipulators; import org.animotron.statement.Statement; ...
package org.arrah.gui.swing; /* * This file is used to Similarity Check * for Lucene Index directory or RAM * */ import java.awt.BorderLayout; import java.awt.Color; import java.awt.Cursor; import java.awt.Dimension; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.Item...
package org.computelab.config; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.regex.Pattern; /** * Parses a regex delimited value list. */ ...
package org.dannil.httpdownloader.model; import java.io.Serializable; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.p...
public class Solution { public int reverse(int x) { int isPositive = 1; double sum = 0; if (x<0){ isPositive=-1; x=isPositive*x; } while(x>0){ int temp=(int)(x/10); sum=sum*10+(x-10*temp); x=temp; if(sum>2147...
package org.elasticsearch.river.hbase; import java.lang.Thread.UncaughtExceptionHandler; import java.nio.charset.Charset; import java.security.InvalidParameterException; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import org.elasticsearch.ElasticSearchException; import org.elasticsearch....
package org.embulk.filter.join_file; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.collect.Maps; import org.embulk.config.ConfigException; import org.embulk.spi.ColumnConfig; import org.embulk.spi.Exec; import org.slf4j.Logger; import ...
package org.lightmare.jpa.datasource; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.net.URLConnection; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Properties; import java.util.c...
package org.mashti.jetson; import io.netty.channel.ChannelInboundHandler; import io.netty.channel.ChannelInitializer; import io.netty.channel.ChannelOutboundHandler; import io.netty.channel.socket.SocketChannel; import io.netty.handler.codec.LengthFieldBasedFrameDecoder; import io.netty.handler.codec.LengthFieldPrepend...
package org.ndexbio.model.object.network; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.TreeMap; import org.ndexbio.model.object.Membership; import org.ndexbio.model.object.NdexExternalObject; im...
package org.softpres.donkeysql; import java.sql.ResultSet; import java.sql.SQLException; import java.util.*; import java.util.stream.Stream; import java.util.stream.StreamSupport; import static org.softpres.donkeysql.ResultSetIterator.Next.*; /** * Iterator over the results of a ResultSetQuery. * This class is not th...
package editor.serialization.legacy; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectInputStream; import java.time.LocalDate; import java.util.HashMap; import java.util.Map; import editor.collection.deck.CategorySpec; import editor.collec...
package edu.washington.escience.myria; import java.util.concurrent.TimeUnit; /** * This class holds the constants for the Myria execution. * */ public final class MyriaConstants { /** * The system name. */ public static final String SYSTEM_NAME = "Myria"; /** * 1 kb. */ public static final int KB...
package org.jsimpledb; import com.google.common.base.Preconditions; import com.google.common.primitives.Ints; import com.google.common.reflect.TypeToken; import java.lang.reflect.AnnotatedElement; import java.lang.reflect.Method; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.Collections; i...
package seedu.address.logic.commands; import java.util.Calendar; import java.util.HashSet; import java.util.Set; import seedu.address.commons.core.Messages; import seedu.address.commons.core.UnmodifiableObservableList; import seedu.address.commons.exceptions.IllegalValueException; import seedu.address.model.activity.Ac...
package seedu.address.logic.commands; import seedu.address.commons.core.Messages; import seedu.address.commons.core.UnmodifiableObservableList; import seedu.address.commons.exceptions.IllegalValueException; import seedu.address.model.item.Item; import seedu.address.model.item.Name; import seedu.address.model.item.ReadO...
package seedu.address.logic.commands; /** * Lists all persons in the address book to the user. */ public class ListCommand extends Command { public static final String COMMAND_WORD = "listall"; public static final String MESSAGE_SUCCESS = "Listed all tasks"; public ListCommand() {} @Override publi...
package seedu.taskman.logic.parser; import seedu.taskman.commons.exceptions.IllegalValueException; import seedu.taskman.commons.util.StringUtil; import seedu.taskman.logic.commands.*; import seedu.taskman.model.Model; import seedu.taskman.model.Model.FilterMode; import java.util.*; import java.util.regex.Matcher; impor...
package org.voltdb.sysprocs; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.PrintWriter; ...
package sizebay.catalog.client.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import lombok.val; import sizebay.catalog.client.http.ApiException; import java.io.Serializable; import java.util.ArrayList; impo...
/* * $Id: EnvironmentalFactor.java,v 1.21 2008-11-21 17:28:37 pandyas Exp $ * * $Log: not supported by cvs2svn $ * Revision 1.20 2008/08/15 18:23:13 pandyas * Created SQL to clean up DB and finished code for: * * #12825 induced mutation entries need to be flagged (requires OM change) and searches for indu...
package gov.nih.nci.cananolab.ui.sample; /** * This class sets up the submit a new sample page and submits a new sample * * @author pansu */ /* CVS $Id: SubmitNanoparticleAction.java,v 1.37 2008-09-18 21:35:25 cais Exp $ */ import gov.nih.nci.cananolab.dto.common.PointOfContactBean; import gov.nih.nci.cananolab.dto...
package ui.components.pickers; import javafx.scene.input.KeyCode; import javafx.scene.input.KeyEvent; import java.util.*; public class LabelPickerUILogic { private Stack<LabelPickerState> history = new Stack<>(); private LabelPickerState currentState; private final Set<String> repoLabels; public LabelPi...
package org.rstudio.core.client; import com.google.gwt.resources.client.ImageResource; import com.google.gwt.safehtml.shared.SafeHtml; import com.google.gwt.safehtml.shared.SafeHtmlBuilder; import com.google.gwt.safehtml.shared.SafeHtmlUtils; public class SafeHtmlUtil { public static void appendDiv(SafeHtmlBuilder s...
package org.hamcrest.junit; import junit.framework.Assert; import org.hamcrest.Description; import org.hamcrest.Matcher; import org.hamcrest.internal.StringDescription; public class MatcherAssert extends Assert { public static void assertThat(Object actual, Matcher matcher) { if (!matcher.match(actual)) { ...
package com.sarality.app.data.field; import hirondelle.date4j.DateTime; import java.util.Date; import java.util.Map; import com.sarality.app.common.collect.Maps; import com.sarality.app.data.DataObject.Builder; /** * A set of FieldValues for a given object. * * @author abhideep@ (Abhideep Singh) * * @param <T> The...
// Nenya library - tools for developing networked games // This library is free software; you can redistribute it and/or modify it // (at your option) any later version. // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // You should ...
// $Id: ImageSprite.java,v 1.14 2002/09/17 20:21:19 mdb Exp $ package com.threerings.media.sprite; import java.awt.AlphaComposite; import java.awt.Color; import java.awt.Composite; import java.awt.Graphics2D; import java.awt.Image; import java.awt.Rectangle; import java.awt.image.BufferedImage; import java.util.ArrayLi...
package com.twitter.nexus.executor; import com.google.common.base.Preconditions; import com.google.common.collect.Lists; import com.google.inject.Inject; import com.twitter.nexus.gen.TwitterTaskInfo; import com.twitter.nexus.util.HdfsUtil; import nexus.ExecutorDriver; import nexus.TaskDescription; import nexus.TaskStat...
package org.apache.commons.dbcp; import java.io.PrintWriter; import java.util.Properties; import java.sql.Connection; import java.sql.Driver; import java.sql.DriverManager; import java.sql.SQLException; import javax.sql.DataSource; import org.apache.commons.pool.impl.GenericKeyedObjectPool; import org.apache.commons.po...
package org.apache.velocity.texen.ant; import java.util.Enumeration; import java.util.Hashtable; import java.util.Properties; import java.util.Map; import java.io.File; import java.io.FileWriter; import java.io.FileOutputStream; import java.io.FileInputStream; import org.apache.tools.ant.BuildException; import org.apac...
package invtweaks.forge.asm; import cpw.mods.fml.common.asm.transformers.deobf.FMLDeobfuscatingRemapper; import cpw.mods.fml.relauncher.FMLRelaunchLog; import cpw.mods.fml.relauncher.IClassTransformer; import org.objectweb.asm.ClassReader; import org.objectweb.asm.ClassWriter; import org.objectweb.asm.Opcodes; import o...
package net.mcft.copy.betterstorage.item; import java.util.List; import net.mcft.copy.betterstorage.Config; import net.mcft.copy.betterstorage.inventory.InventoryWrapper; import net.mcft.copy.betterstorage.misc.Constants; import net.mcft.copy.betterstorage.misc.PropertiesBackpack; import net.mcft.copy.betterstorage.mis...
package netspy.components.gui.components.frame; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; ...
package jwbroek.cuelib.tools.trackcutter; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import javax.sound.sampled.AudioFormat; import javax.sou...
package nl.sense_os.testing.client.widgets; import java.util.HashMap; import nl.sense_os.testing.client.common.grid.DataStore; import com.extjs.gxt.ui.client.data.ModelData; import com.extjs.gxt.ui.client.data.ModelType; import com.extjs.gxt.ui.client.event.BaseEvent; import com.extjs.gxt.ui.client.event.Events; import...