answer
stringlengths
17
10.2M
package org.eclipse.ice.viz.service.csv; import java.io.File; import java.lang.Thread.UncaughtExceptionHandler; import java.net.URI; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import org.eclipse.ice.client.common.ActionTree; import org....
package com.tterrag.k9.mappings; import java.io.File; import java.io.IOException; import java.io.Writer; import java.net.URI; import java.nio.charset.StandardCharsets; import java.nio.file.FileSystem; import java.nio.file.FileSystems; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; im...
package org.jetbrains.postfixCompletion.templates; import com.intellij.codeInsight.unwrap.ScopeHighlighter; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.editor.Editor; import com.intellij.openapi.util.Pass; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiExpress...
package org.vitrivr.cineast.api.websocket.handlers; import org.eclipse.jetty.websocket.api.Session; import org.vitrivr.cineast.api.websocket.handlers.abstracts.StatelessWebsocketMessageHandler; import org.vitrivr.cineast.core.data.entities.MultimediaMetadataDescriptor; import org.vitrivr.cineast.core.data.messages.look...
package de.springbootbuch.webmvc; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonSerializer; import com.fasterxml.jackson.databind.SerializerProvider; import java.io.IOException; import org.springframework.boot.jackso...
package eu.fbk.dkm.premon.premonitor; import java.io.File; import java.io.FileInputStream; import java.lang.reflect.Constructor; import java.net.URL; import java.nio.file.Files; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Properties; import java.u...
package org.clarksnut.query; import java.util.ArrayList; import java.util.List; public class BoolQuery implements ComposedQuery { private final List<Query> must = new ArrayList<>(); private final List<Query> mustNot = new ArrayList<>(); private final List<Query> should = new ArrayList<>(); private final...
package org.cojen.tupl.rows; import java.math.BigDecimal; import java.math.BigInteger; import org.cojen.maker.Label; import org.cojen.maker.MethodMaker; import org.cojen.maker.Variable; import static org.cojen.tupl.rows.ColumnInfo.*; /** * @author Brian S O'Neill */ public class Converter { /** * Generates c...
package foodtruck.server; import com.google.common.collect.ImmutableMap; import com.google.inject.Provides; import com.google.inject.assistedinject.FactoryModuleBuilder; import com.google.inject.name.Named; import com.google.inject.servlet.ServletModule; import com.sun.jersey.api.core.PackagesResourceConfig; import com...
package org.epics.util.text; import java.io.BufferedReader; import java.io.IOException; import java.io.Reader; import java.util.AbstractList; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.epics.util.array.ArrayDouble; import org.epics.util....
package fr.kisuke.rest.resources; import java.io.*; import javax.ws.rs.Consumes; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MultivaluedMap; import javax.ws.rs.core.Response; import com.sun.jersey.multipart.FormDataParam; import fr.kisuke.dao.picture.PictureDao...
package org.experiment.TREC; import java.io.File; import java.io.IOException; import java.nio.file.Paths; import java.util.Arrays; import java.util.Date; import java.util.HashSet; import java.util.Properties; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.standard.StandardAnalyzer; import...
package hudson.plugins.sap; import hudson.EnvVars; import hudson.Launcher; import hudson.Extension; import hudson.model.BuildListener; import hudson.model.AbstractBuild; import hudson.plugins.sap.utils.NeoCommandLine; import hudson.tasks.Builder; import hudson.tasks.BuildStepDescriptor; import hudson.util.FormValidatio...
package com.github.davidcarboni.thetrain.helpers; import com.github.davidcarboni.cryptolite.Random; import org.junit.Assert; import org.junit.Test; import org.mockito.Mockito; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; /** * Tests ...
package in.ac.amu.zhcet.service; import com.google.cloud.storage.Acl; import com.google.cloud.storage.BlobInfo; import com.google.cloud.storage.Bucket; import com.google.firebase.FirebaseApp; import com.google.firebase.FirebaseOptions; import com.google.firebase.auth.FirebaseCredentials; import com.google.firebase.clou...
package com.google.cloud.genomics.dataflow.pipelines; import com.google.cloud.dataflow.sdk.options.PipelineOptionsFactory; import com.google.cloud.dataflow.sdk.util.GcsUtil; import com.google.cloud.dataflow.sdk.util.gcsfs.GcsPath; import com.google.cloud.genomics.dataflow.utils.GenomicsOptions; import org.junit.Assert;...
package org.graylog2.log; import org.apache.log4j.AppenderSkeleton; import org.apache.log4j.Level; import org.apache.log4j.MDC; import org.apache.log4j.spi.ErrorCode; import org.apache.log4j.spi.LocationInfo; import org.apache.log4j.spi.LoggingEvent; import org.apache.log4j.spi.ThrowableInformation; import org.graylog2...
package info.faceland.loot.api.groups; import org.bukkit.Material; import java.util.Set; public interface ItemGroup { Set<Material> getLegalMaterials(); void addLegalMaterial(Material material); void removeLegalMaterial(Material material); boolean isLegalMaterial(Material material); }
package org.hid4java; import org.hid4java.event.HidServicesListenerList; import org.hid4java.jna.HidApi; import org.hid4java.jna.HidDeviceInfoStructure; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; /** * <p>Manager to provide the follo...
package io.actor4j.core.failsafe; import java.util.UUID; public final class FailsafeMethod { public static void run(final FailsafeManager failsafeManager, final String message, final Method method, UUID uuid) { boolean error = false; Exception exception = null; try { method.run(u...
package org.icij.extract.cli; import org.icij.extract.core.*; import java.util.logging.Logger; import java.nio.file.Path; import java.nio.file.Paths; import org.redisson.Redisson; import org.redisson.core.RQueue; import org.apache.commons.cli.ParseException; import org.apache.commons.cli.CommandLine; /** * Extract * ...
package io.ebean.datasource.pool; import io.ebean.datasource.DataSourceAlert; import io.ebean.datasource.DataSourceConfig; import io.ebean.datasource.DataSourceConfigurationException; import io.ebean.datasource.DataSourceInitialiseException; import io.ebean.datasource.DataSourcePool; import io.ebean.datasource.DataSour...
package me.nallar.javatransformer.api; import lombok.Getter; import lombok.ToString; @Getter @ToString public class Parameter extends Type { public final String name; public Parameter(Type t, String name) { super(t.descriptor, t.signature); this.name = name; } public Parameter(String rea...
package uk.co.eluinhost.ultrahardcore.features.playerfreeze; import org.bukkit.event.EventHandler; import org.bukkit.event.player.PlayerJoinEvent; import uk.co.eluinhost.ultrahardcore.features.UHCFeature; import java.util.HashSet; import java.util.Set; public class PlayerFreezeFeature extends UHCFeature { private S...
package org.ngseq.metagenomics; import org.apache.commons.cli.*; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileStatus; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.hadoop.hdfs.DFSClient; import org.apache.hadoop.hdfs.DFSInputStream; import or...
package de.lancom.systems.stomp.spring; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import static org.junit.Assert.assertTrue; import java.util.concurrent.TimeUnit; import org.junit.Assert; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import org.jun...
package net.darkhax.bookshelf.lib; public class MutableString implements java.io.Serializable, Comparable<String>, CharSequence { private static final long serialVersionUID = 8345543667917868717L; /** * The String value held by the MutableString. */ private String value; /** * Constructs ...
package org.semanticweb.yars.nx; import java.io.IOException; import java.io.ObjectInputStream; import java.io.Serializable; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.net.URLEncoder; import org.semanticweb.yars.nx.parser.ParseException; /** * A bnode, anonymous resource. * *...
package net.sourceforge.stripes.controller; import net.sourceforge.stripes.action.ActionBean; import net.sourceforge.stripes.action.ActionBeanContext; import net.sourceforge.stripes.action.FileBean; import net.sourceforge.stripes.action.Wizard; import net.sourceforge.stripes.config.Configuration; import net.sourceforge...
package com.splicemachine.derby.impl.load; import com.google.common.base.Function; import com.google.common.collect.Lists; import com.splicemachine.derby.utils.SpliceUtils; import org.apache.hadoop.fs.FileStatus; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.hadoop.fs.PathF...
/** Khalid */ package org.sikuli.slides.utils; import java.awt.Desktop; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.net.URI; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; import java.util.zip.ZipOutputStream; import ...
package org.tap4j.plugin; import java.io.File; import java.io.IOException; import java.io.PrintStream; import java.util.ArrayList; import java.util.Collections; import java.util.List; import javax.annotation.Nonnull; import org.apache.commons.lang.BooleanUtils; import org.kohsuke.stapler.DataBoundConstructor; import or...
package net.sf.mzmine.chartbasics; import java.awt.Dimension; import java.awt.geom.Point2D; import java.awt.geom.Rectangle2D; import java.util.logging.Logger; import org.jfree.chart.ChartRenderingInfo; import org.jfree.chart.JFreeChart; import org.jfree.chart.axis.Axis; import org.jfree.chart.axis.ValueAxis; import org...
package org.towerofawesome; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.util.ChatComponentTranslation; import org.towerofawesome.init.ModItems; import org.towerofawesome.util.References; import org.towerofawesome.uti...
package net.virtualinfinity.infiniterm; import net.virtualinfinity.emulation.*; import net.virtualinfinity.emulation.telnet.TelnetDecoder; import net.virtualinfinity.emulation.ui.OutputDeviceImpl; import net.virtualinfinity.emulation.ui.PresentationComponent; import net.virtualinfinity.nio.EventLoop; import net.virtual...
package org.zendesk.client.v2; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fast...
package nl.vpro.poel.controller; import nl.vpro.poel.domain.User; import nl.vpro.poel.domain.UserGroup; import nl.vpro.poel.dto.UsersForm; import nl.vpro.poel.service.UserGroupService; import nl.vpro.poel.service.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.ster...
package ptrman.levels.retina; import org.apache.commons.math3.linear.ArrayRealVector; import ptrman.Datastructures.IMap2d; import ptrman.Datastructures.SpatialAcceleratedMap2d; import ptrman.Datastructures.Tuple2; import ptrman.Datastructures.Vector2d; import java.util.ArrayList; import java.util.Arrays; import java.ut...
package com.yahoo.vespa.http.client.config; import net.jcip.annotations.Immutable; import java.io.Serializable; /** * Represents an endpoint, in most cases a JDisc container * in a Vespa cluster configured with <code>document-api</code>. * * @author <a href="mailto:einarmr@yahoo-inc.com">Einar M R Rosenvinge</a> *...
package nom.bdezonia.zorbage.algorithm; import nom.bdezonia.zorbage.type.algebra.Addition; import nom.bdezonia.zorbage.type.algebra.Algebra; import nom.bdezonia.zorbage.type.algebra.Invertible; import nom.bdezonia.zorbage.type.algebra.Multiplication; import nom.bdezonia.zorbage.type.algebra.Ordered; import nom.bdezonia...
package ru.r2cloud.satellite; import java.util.ArrayList; import java.util.Collections; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import ru.r2cloud.model.ObservationRequest; import ru....
package omtteam.omlib.handler; import net.minecraft.command.ICommandSender; import net.minecraft.util.text.TextComponentString; import net.minecraftforge.common.DimensionManager; import omtteam.omlib.network.messages.MessageSetSharePlayerList; import omtteam.omlib.util.Player; import javax.annotation.Nullable; import j...
package seedu.ezdo.model; import java.text.ParseException; import java.util.ArrayList; import java.util.EmptyStackException; import java.util.HashSet; import java.util.Optional; import java.util.Set; import java.util.logging.Logger; import javafx.collections.transformation.FilteredList; import seedu.ezdo.commons.core.C...
package shipit.later; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.util.List; import com.couchbase.client.java.document.StringDocument; import com.couchbase.client.java.view.DesignDocument; import com.couchbase.client.java.view.View; ...
package uk.ac.ebi.atlas.model.baseline; import com.google.common.collect.LinkedHashMultimap; import com.google.common.collect.SortedSetMultimap; import com.google.common.collect.TreeMultimap; import org.apache.commons.lang3.StringUtils; import org.springframework.context.annotation.Scope; import javax.inject.Named; imp...
package org.cbioportal.genome_nexus.web; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.json.JsonParser; import org.springframework.boot.json.JsonParserFactory; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUni...
package tigase.db.jdbc; import java.io.IOException; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.sql.Types; import java.util.ArrayList; import java.util.Collections; import ja...
package org.apache.ibatis.executor; import org.apache.ibatis.cache.CacheKey; import org.apache.ibatis.cache.impl.PerpetualCache; import static org.apache.ibatis.executor.ExecutionPlaceholder.EXECUTION_PLACEHOLDER; import org.apache.ibatis.mapping.BoundSql; import org.apache.ibatis.mapping.MappedStatement; import org.ap...
package tigase.util; import java.util.LinkedHashMap; import java.util.Map.Entry; import java.util.Map; import java.util.logging.Logger; import java.util.regex.Pattern; /** * Describe class RoutingsContainer here. * * * Created: Sat Feb 11 16:30:42 2006 * * @author <a href="mailto:artur.hefczyc@tigase.org">Artur H...
package wicket.quickstart; import java.awt.List; import java.util.Iterator; import java.util.Vector; import wicket.ajax.AbstractDefaultAjaxBehavior; import wicket.ajax.AjaxEventBehavior; import wicket.ajax.AjaxRequestTarget; import wicket.ajax.AjaxSelfUpdatingTimerBehavior; import wicket.ajax.markup.html.form.AjaxSubmi...
package org.biouno.unochoice.model; import java.util.Collections; import java.util.Map; import java.util.Map.Entry; import java.util.logging.Level; import java.util.logging.Logger; import javax.annotation.Nullable; import org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript; import org.jenkinsci.plugi...
package org.ccci.gto.android.thekey; import android.annotation.SuppressLint; import android.annotation.TargetApi; import android.content.Context; import android.os.Build; import android.view.View; import android.view.ViewGroup; import android.view.ViewGroup.LayoutParams; import android.webkit.WebSettings; import androi...
package org.cytoscape.rest.internal; import java.util.Map; import java.util.Properties; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import org.cytoscape.application.CyApplicationManager; import org.cytoscape.application.swing.CySwingApplication; import org.cytoscape.command.Avail...
package org.dynmap.hdmap.renderer; import java.util.ArrayList; import java.util.BitSet; import java.util.HashMap; import java.util.Map; import org.dynmap.Log; import org.dynmap.renderer.CustomRenderer; import org.dynmap.renderer.MapDataContext; import org.dynmap.renderer.RenderPatch; import org.dynmap.renderer.RenderPa...
package com.jeasonfire.engineer.game.levels; import java.awt.Point; import java.util.ArrayList; import com.jeasonfire.engineer.game.entities.Entity; import com.jeasonfire.engineer.game.entities.Player; import com.jeasonfire.engineer.game.entities.Stairs; import com.jeasonfire.engineer.game.entities.Turret; import com.j...
package org.interfaceit; import java.io.File; import java.io.IOException; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.lang.reflect.Type; import java.lang.reflect.TypeVariable; import java.util.Arrays; import java.util.Comparator; import java.util.HashS...
package com.karateca.ddescriber.model; import com.intellij.openapi.vfs.VirtualFile; import com.intellij.ui.treeStructure.Tree; import java.util.Enumeration; /** * @author andresdom@google.com (Andres Dominguez) */ public class JasmineTree extends Tree { private final TreeNode rootNode; public JasmineTree() { ...
package com.nilhcem.hostseditor.core; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.List; import javax.inject.Singleton; import android.util.Log; import com.google.common.base.Charsets; import com.google.common.io.Files; import com.nilhcem.ho...
package lombok.eclipse.handlers; import static lombok.eclipse.Eclipse.*; import static lombok.eclipse.handlers.PKG.*; import java.lang.reflect.Modifier; 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...
package com.buhtum.algo; import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.Arrays; import java.util.List; import static java.lang.Math.max; public class Knapsack { private final stat...
package org.kohsuke.file_leak_detector; import java.io.File; import java.io.FileOutputStream; import java.io.FileInputStream; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.io.RandomAccessFile; import java.io.Writer; import java.lang.reflect.Field; import java.ne...
package com.google.sps.data; import com.google.api.client.extensions.appengine.http.UrlFetchTransport; import com.google.api.client.googleapis.auth.oauth2.GoogleIdToken; import com.google.api.client.googleapis.auth.oauth2.GoogleIdToken.Payload; import com.google.api.client.googleapis.auth.oauth2.GoogleIdTokenVerifier; ...
package org.markdownwriterfx.editor; import java.util.ArrayList; import java.util.Collections; import javafx.scene.input.KeyEvent; import com.vladsch.flexmark.ast.Block; import com.vladsch.flexmark.ast.DelimitedNode; import com.vladsch.flexmark.ast.HardLineBreak; import com.vladsch.flexmark.ast.ListItem; import com.vla...
package com.hkamran.mocking; import org.apache.commons.cli.BasicParser; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.CommandLineParser; import org.apache.commons.cli.HelpFormatter; import org.apache.commons.cli.Option; import org.apache.commons.cli.Options; import org.apache.logging.log4j.Lo...
package org.mcupdater.autopackager; import cofh.api.energy.TileEnergyHandler; import cofh.util.InventoryHelper; import com.dynious.refinedrelocation.api.APIUtils; import com.dynious.refinedrelocation.api.tileentity.ISortingMember; import com.dynious.refinedrelocation.api.tileentity.handlers.ISortingMemberHandler; impor...
package org.monkeyscript.lite; import java.util.Arrays; import org.mozilla.javascript.*; // org.mozilla.javascript.NativeString was used as a reference for implementation of this final class NativeBuffer extends IdScriptableObject { static final long serialVersionUID = L; private static final Object BUFFER_TAG ...
package com.wheany; import com.vaadin.server.StreamResource; import javax.imageio.ImageIO; import java.awt.*; import java.awt.image.*; import java.io.*; import static java.lang.Math.*; public class ImageResource implements StreamResource.StreamSource { int reloads = 0; BufferedImage original; Buffer...
package org.royaldev.royalcommands; import org.bukkit.Bukkit; import org.bukkit.Difficulty; import org.bukkit.GameMode; import org.bukkit.World; import org.bukkit.WorldCreator; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerChangedWorldEvent; import org.bukk...
package org.flymine.util; import java.lang.ref.SoftReference; import java.lang.ref.WeakReference; import java.util.Collections; import java.util.Map; import java.util.Random; import java.util.WeakHashMap; /** * This is a Map implementation designed specifically for people intending to create a cache. * The behaviour ...
package com.zenplanner.sql; import com.google.common.base.Joiner; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.Statement; import java.util.*; public class Table extends TreeMap<String, Column> { private final String name; private List<Column> pk; ...
package org.smoothbuild.db.object.obj; import static com.google.common.base.Preconditions.checkElementIndex; import static org.smoothbuild.db.object.obj.Helpers.wrapHashedDbExceptionAsObjectDbException; import static org.smoothbuild.db.object.obj.exc.DecodeObjRootException.cannotReadRootException; import static org.smo...
package org.smoothbuild.task.exec; import static org.smoothbuild.db.values.ValuesDb.memoryValuesDb; import java.util.ArrayList; import java.util.List; import org.smoothbuild.db.values.ValuesDb; import org.smoothbuild.io.fs.base.FileSystem; import org.smoothbuild.io.fs.mem.MemoryFileSystem; import org.smoothbuild.io.uti...
package cronapi.email; import java.util.LinkedList; import org.apache.commons.mail.DefaultAuthenticator; import org.apache.commons.mail.EmailAttachment; import org.apache.commons.mail.EmailException; import org.apache.commons.mail.HtmlEmail; import cronapi.CronapiMetaData; import cronapi.Var; import cronapi.CronapiMeta...
package org.sourcepit.common.utils.xml; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.Iterator; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; i...
package cz.muni.fi.mias; import java.io.FileInputStream; import java.util.Properties; import org.apache.commons.cli.Option; import org.apache.commons.cli.Options; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; /** * Settings class responsible for loading settings from mias.properti...
package org.threadly.load; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.concurrent.atomic.AtomicBoolean; import org.threadly.concurrent.future.ListenableFuture; import org.threadly.concurrent.future.SettableListenab...
package de.craften.util; import java.io.File; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import de.craften.craftenlauncher.logic.Logger; public final class OSHelper { private static String operatingSystem; private static OSHelper instance; private static String pS...
package org.wyona.webapp.services; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import org.wyona.webapp.mail.EmailSender; import org.wyona.webapp.models.Email; import ja...
package edu.one.core.infra; import org.vertx.java.core.MultiMap; import org.vertx.java.core.eventbus.Message; import org.vertx.java.core.json.JsonArray; import org.vertx.java.core.json.JsonObject; import java.io.InputStream; import java.util.List; import java.util.Map; import java.util.Scanner; public class Utils { ...
package org.zalando.nakadi.domain; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.google.common.collect.ImmutableList; import org.zalando.nakadi.partitioning.PartitionStrategy; import javax.annotation.Nullable; import javax.validation.Valid; import ja...
package main.java.edugit; import com.sun.xml.internal.ws.api.pipe.FiberContextSwitchInterceptor; import javafx.fxml.FXML; import main.java.edugit.exceptions.CancelledLoginException; import main.java.edugit.exceptions.NoOwnerInfoException; import main.java.edugit.exceptions.NoRepoSelectedException; import javafx.event.A...
package ee.ttu.geocollection; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.Banner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfig...
package picard.illumina.parser; import htsjdk.samtools.util.CloserUtil; import htsjdk.samtools.util.IOUtil; import picard.PicardException; import picard.illumina.parser.fakers.*; import picard.illumina.parser.readers.TileMetricsOutReader; import java.io.File; import java.util.*; import java.util.regex.Pattern; import j...
package endpoints; import controller.AgencyController; import io.swagger.annotations.Api; import model.Agency; import model.Vehicle; import security.SecuredAdmin; import security.SecuredAgency; import javax.ejb.EJB; import javax.ejb.Stateless; import javax.ws.rs.*; import javax.ws.rs.core.Application; import javax.ws.r...
package javaslang.collection; import javaslang.Function1; import javaslang.Tuple2; import javaslang.Tuple3; import javaslang.control.Option; import java.util.*; import java.util.function.*; /** * An immutable {@code Map} interface. * * @param <K> Key type * @param <V> Value type * @author Daniel Dietrich, Ruslan S...
package seedu.taskell.logic.commands; import java.util.HashSet; import java.util.Set; import seedu.taskell.commons.exceptions.IllegalValueException; import seedu.taskell.model.HistoryManager; import seedu.taskell.model.tag.Tag; import seedu.taskell.model.tag.UniqueTagList; import seedu.taskell.model.task.*; //@@author ...
package mytown.commands; import com.google.common.collect.ImmutableList; import mytown.api.interfaces.IFlagsContainer; import mytown.core.Localization; import mytown.core.command.CommandManager; import mytown.datasource.MyTownDatasource; import mytown.datasource.MyTownUniverse; import mytown.entities.*; import mytown.e...
package seedu.todo.controllers; import java.time.LocalDateTime; import java.time.ZoneId; import java.util.Date; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import com.joestelmach.natty.DateGroup; import com.joestelmach.natty.Parser; import seedu.todo.commons.EphemeralDB; impor...
package net.pwall.json; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.Objects; /** * A JSON array. * * @author Peter Wall */ public class JSONArray extends ArrayList<JSONValue> implements JSONComposite { private static final long serialVersionUID = -696367...
package org.asu.apmg; import hudson.EnvVars; import hudson.Extension; import hudson.Launcher; import hudson.model.AbstractBuild; import hudson.model.AbstractProject; import hudson.model.BuildListener; import hudson.tasks.BuildStepDescriptor; import hudson.tasks.Builder; import org.apache.commons.io.FileUtils; import or...
package uk.co.eluinhost.ultrahardcore; import com.google.inject.AbstractModule; import org.bukkit.plugin.Plugin; import uk.co.eluinhost.commands.CommandHandler; import uk.co.eluinhost.commands.CommandMap; import uk.co.eluinhost.commands.RealCommandHandler; import uk.co.eluinhost.commands.RealCommandMap; import uk.co.el...
package org.cri.redmetrics.db; import com.j256.ormlite.jdbc.JdbcConnectionSource; import org.cri.redmetrics.model.*; import java.sql.SQLException; public class Db { public static final String URL = "jdbc:postgresql://localhost:5432/redmetrics"; public static final Class[] ENTITY_TYPES = { Address.cl...
package org.graylog2; import org.json.simple.JSONValue; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.math.BigDecimal; import java.nio.ByteBuffer; import java.util.Arrays; import java.util.Date; import java.util.HashMap; import java.util.Map; ...
package org.hcjf.service; import org.hcjf.errors.HCJFRuntimeException; import org.hcjf.errors.HCJFServiceTimeoutException; import org.hcjf.log.Log; import org.hcjf.log.debug.Agent; import org.hcjf.log.debug.Agents; import org.hcjf.properties.SystemProperties; import java.util.*; import java.util.concurrent.*; /** * Th...
package org.jasonnet.logln; import java.io.PrintStream; import java.util.Date; import java.lang.reflect.Field; import java.text.SimpleDateFormat; /** * A set of helper functions for logging progress of a * program. These functions make a point of logging the line * number of the calling code. * * @author jasonnet...
package org.jtrfp.trcl.flow; import java.awt.Color; import java.beans.PropertyChangeListener; import java.beans.PropertyChangeSupport; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import javax.swing.JOptionPane; import org.jtrfp.jtrfp.FileLoadException; import org.jtrfp.trcl.Br...
package org.lantern; import java.awt.Desktop; import java.awt.Dimension; import java.awt.Point; import java.awt.Toolkit; import java.io.Console; import java.io.File; import java.io.FileInputStream; import java.io.IOError; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingExceptio...
package org.shirolang.base; import javafx.util.Pair; import org.shirolang.exceptions.OptionNotFoundException; import org.shirolang.exceptions.PathNotFoundException; import org.shirolang.values.Path; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; /** * Specifies a node i...
package rocks.matchmaker; import rocks.matchmaker.util.Util; import java.util.Objects; import java.util.function.BiFunction; import java.util.function.Predicate; public class Matcher<T> { public static Matcher<Object> $() { return $(Object.class); } public static <T> Matcher<T> equalTo(T expectedVal...
package seedu.jimi.ui; import javafx.fxml.FXML; import javafx.scene.Node; import javafx.scene.Scene; import javafx.scene.control.MenuItem; import javafx.scene.input.KeyCombination; import javafx.scene.layout.AnchorPane; import javafx.scene.layout.VBox; import javafx.stage.Stage; import seedu.jimi.commons.core.Config; i...