answer
stringlengths
17
10.2M
package seedu.taskboss.logic.parser; import static seedu.taskboss.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import java.util.HashSet; import java.util.Set; import seedu.taskboss.logic.commands.Command; import seedu.taskboss.logic.commands.DeleteCommand; import seedu.taskboss.logic.commands.IncorrectCommand;...
package software.sitb.dswrs.server.rpc; import io.netty.buffer.Unpooled; import io.netty.channel.ChannelFutureListener; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelInboundHandlerAdapter; import io.netty.util.ReferenceCountUtil; import org.slf4j.Logger; import org.slf4j.LoggerFactory; i...
package tld.testmod.common.animation; import javax.annotation.Nonnull; import javax.annotation.Nullable; import com.google.common.collect.ImmutableMap; import net.minecraft.block.state.IBlockState; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.network.NetworkManager; import net.minecraft.network.play.se...
package uk.co.jemos.podam.common; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import uk.co.jemos.podam.api.PodamUtils; import uk.co.jemos.podam.exceptions.PodamMockeryException; import javax.validation.constraints.*; import java.lang.annotation.Annotation; import java.math.BigDecimal; import java.math.BigI...
package com.yahoo.search.query.profile; import com.yahoo.processing.request.CompoundName; import com.yahoo.search.query.profile.compiled.Binding; import com.yahoo.search.query.profile.compiled.CompiledQueryProfile; import com.yahoo.search.query.profile.compiled.CompiledQueryProfileRegistry; import com.yahoo.search.quer...
package zmaster587.advancedRocketry.util; import net.minecraft.block.Block; import net.minecraft.entity.item.EntityItem; import net.minecraft.init.Blocks; import net.minecraft.item.ItemStack; import net.minecraft.world.World; import net.minecraftforge.common.util.ForgeDirection; import zmaster587.advancedRocketry.Advan...
package com.bottlerocketstudios.continuitysample.legislator.ui; import android.app.ActivityOptions; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.databinding.DataBindingUtil; import android.databinding.ObservableList; import android.os.Build; impor...
package org.chromium.content.browser; import android.content.Context; import android.graphics.Color; import android.graphics.PixelFormat; import android.graphics.SurfaceTexture; import android.view.Surface; import android.view.SurfaceHolder; import android.view.SurfaceView; import android.view.TextureView; import andro...
package scalac.transformer; import java.io.*; import java.util.HashMap; import scalac.*; import scalac.util.*; import scalac.ast.*; import scalac.symtab.*; import Tree.*; /** A lambda lifting transformer * * @author Martin Odersky * @version 1.0 * * What it does: * Lift every class and function that's ...
package org.ovirt.engine.core.vdsbroker.gluster; import java.util.Map; import org.ovirt.engine.core.common.asynctasks.gluster.GlusterAsyncTaskStatus; import org.ovirt.engine.core.common.businessentities.gluster.GlusterVolumeTaskStatusDetail; import org.ovirt.engine.core.common.businessentities.gluster.GlusterVolumeTask...
package gov.nih.nci.cabig.caaers.service.migrator; import gov.nih.nci.cabig.caaers.CaaersSystemException; import gov.nih.nci.cabig.caaers.dao.StudyDao; import gov.nih.nci.cabig.caaers.domain.AdditionalInformation; import gov.nih.nci.cabig.caaers.domain.AdditionalInformationDocument; import gov.nih.nci.cabig.caaers.doma...
package gov.nih.nci.cagrid.introduce.portal.modification; import gov.nih.nci.cagrid.common.Utils; import gov.nih.nci.cagrid.common.portal.BusyDialogRunnable; import gov.nih.nci.cagrid.common.portal.PortalLookAndFeel; import gov.nih.nci.cagrid.common.portal.PortalUtils; import gov.nih.nci.cagrid.introduce.IntroduceConst...
package gov.nih.nci.cagrid.introduce.portal.modification; import gov.nih.nci.cagrid.common.Utils; import gov.nih.nci.cagrid.common.portal.BusyDialogRunnable; import gov.nih.nci.cagrid.common.portal.PortalLookAndFeel; import gov.nih.nci.cagrid.common.portal.PortalUtils; import gov.nih.nci.cagrid.introduce.IntroduceConst...
package org.csstudio.diirt.util.preferences; import java.io.File; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import org.eclipse.core.runtime.FileLocator; import org.eclipse.core.runtime.preferences.InstanceScope; import org.eclipse.jface.preference.PreferencePage; import org...
package com.cloud.storage.template; import com.cloud.storage.StorageLayer; import com.cloud.utils.Pair; import com.cloud.utils.UriUtils; import com.cloud.utils.net.Proxy; import org.apache.cloudstack.managed.context.ManagedContextRunnable; import org.apache.cloudstack.storage.command.DownloadCommand.ResourceType; impor...
/* Open Source Software - may be modified and shared by FRC teams. The code */ /* the project. */ package edu.wpi.first.wpilibj.templates; import com.kauailabs.nav6.frc.BufferingSerialPort; import com.kauailabs.nav6.frc.IMU; import com.kauailabs.nav6.frc.I...
package net.devh.boot.grpc.server.serverfactory; import static java.util.Objects.requireNonNull; import java.io.IOException; import java.io.InputStream; import java.net.InetSocketAddress; import java.util.List; import java.util.concurrent.TimeUnit; import javax.net.ssl.SSLException; import org.springframework.core.io.R...
package net.mgsx.game.examples.platformer.rendering; import com.badlogic.ashley.core.Engine; import com.badlogic.ashley.core.Entity; import com.badlogic.ashley.core.EntitySystem; import com.badlogic.ashley.core.Family; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.files.FileHandle; import com.badlogic.gdx.graphi...
package org.springframework.ide.vscode.commons.javadoc; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.ide.vscode.commons.java.IAnnotation; import org....
package com.konkerlabs.platform.registry.business.services; import com.fasterxml.jackson.core.JsonProcessingException; import com.konkerlabs.platform.registry.business.model.Application; import com.konkerlabs.platform.registry.business.model.Tenant; import com.konkerlabs.platform.registry.business.model.User; import co...
package com.redhat.ceylon.eclipse.code.refactor; import static com.redhat.ceylon.eclipse.core.builder.CeylonBuilder.getProjectTypeChecker; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IP...
package com.orientechnologies.orient.etl.transformer; import com.orientechnologies.orient.core.record.impl.ODocument; import com.orientechnologies.orient.etl.ETLBaseTest; import org.junit.Test; import java.io.ByteArrayOutputStream; import java.io.PrintStream; import java.util.List; import static org.junit.Assert.assert...
package org.opensingular.requirement.module.wicket.view.printer; import org.apache.commons.io.IOUtils; import org.opensingular.lib.commons.util.Loggable; import org.opensingular.requirement.commons.box.action.config.EnabledPrintsPerSessionMap; import org.opensingular.requirement.commons.service.ExtratoGeneratorService;...
package nl.tno.fpai.demo.scenario.impl; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util...
package org.eclipse.mylyn.internal.sandbox.ui.hyperlinks; import org.eclipse.jface.text.IRegion; import org.eclipse.jface.text.hyperlink.IHyperlink; /** * @author Jingwen Ou */ public class JavaResourceHyperlinkExtension extends AbstractResourceHyperlinkExtension { private static final String JAVA_PREFIX = "java\...
package server; import java.lang.ClassNotFoundException; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.net.ServerSocket; import java.net.Socket; import java.io.EOFException; import java.lang.Thread; import utils.Buffer; import utils.PriorityBuffer; import u...
package gov.nih.nci.calab.service.util; public class CalabConstants { public static final String DATE_FORMAT = "MM/dd/yyyy"; public static final String STORAGE_BOX = "Box"; public static final String STORAGE_SHELF = "Shelf"; public static final String STORAGE_RACK = "Rack"; public static final Strin...
package bg.elsys.ip.rest; public class Car { private int id; private String name; private Color color; public Car(int id, String name, Color color) { this.id = id; this.name = name; this.color = color; } public Car(String name, Color color) { this(CarsData.getInst...
package gov.nih.nci.cananolab.util; import java.util.HashMap; import java.util.Map; public class CaNanoLabConstants { public static final String DOMAIN_MODEL_NAME = "caNanoLab"; public static final String SDK_BEAN_JAR = "caNanoLabSDK-beans.jar"; public static final String CSM_APP_NAME = "caNanoLab"; pub...
package org.csstudio.sds.components.ui.internal.figures; import java.util.Calendar; import org.csstudio.platform.ui.util.CustomMediaFactory; import org.csstudio.sds.components.ui.internal.figureparts.Range; import org.csstudio.sds.components.ui.internal.figureparts.RoundScale; import org.csstudio.sds.components.ui.inte...
package com.splicemachine.derby.stream.spark; import com.splicemachine.db.iapi.error.StandardException; import com.splicemachine.db.iapi.sql.Activation; import com.splicemachine.db.iapi.store.access.TransactionController; import com.splicemachine.db.iapi.store.access.conglomerate.TransactionManager; import com.splicema...
package org.openhealthtools.mdht.uml.cda.ccd.operations; import static org.junit.Assert.fail; import java.util.List; import java.util.Map; import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.BasicEList; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; im...
package io.trigger.parse; import android.app.Notification; import android.app.NotificationChannel; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.os.Build; import android.os.Bundle; im...
package org.xins.types; import java.io.IOException; import java.io.StringWriter; import java.util.Iterator; import java.util.List; import java.util.HashMap; import java.util.Map; import org.apache.log4j.Logger; import org.jdom.Document; import org.jdom.Element; import org.xins.util.MandatoryArgumentChecker; /** * Enum...
package com.akjava.gwt.poseeditor.client; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import com.akjava.bvh.client.BVH; import com.akjava.bvh.client.BVHMotion; import com.akjava.bvh.client.BVHNode; import com.akjava.bvh.client.BVHParser; import com.akjava.bvh.clien...
package org.intermine.webservice.server.output; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; import java.util.Date; import java.util.Has...
/** * This class represents a Forecast.io Data Point. * It contains all the available fields in a forecast. * * @author David Ervideira */ package com.github.dvdme.ForecastIOLib; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.HashMap; import java.util.TimeZone; import com.eclipses...
package com.vionto.vithesaurus.tools; import java.io.*; /** * Some useful tools for dealing with Strings. */ public class StringTools { private static final int BUFFER_SIZE = 4096; private StringTools() { // static methods only, no public constructor } public static String slashEscape(String str) { re...
package com.github.pkunk.pq.ui.view; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Rect; import android.util.AttributeSet; import android.widget.ProgressBar; public class TextProgressBar extends ProgressBar { pri...
package org.deeplearning4j.models.embeddings.reader.impl; import com.google.common.collect.Lists; import lombok.NonNull; import org.deeplearning4j.berkeley.Counter; import org.deeplearning4j.models.embeddings.WeightLookupTable; import org.deeplearning4j.models.embeddings.inmemory.InMemoryLookupTable; import org.deeplea...
package io.compgen.ngsutils.cli.bam; import htsjdk.samtools.SAMFileHeader; import htsjdk.samtools.SAMFileWriter; import htsjdk.samtools.SAMFileWriterFactory; import htsjdk.samtools.SAMProgramRecord; import htsjdk.samtools.SAMRecord; import htsjdk.samtools.SamInputResource; import htsjdk.samtools.SamReader; import htsjd...
package nl.b3p.viewer.stripes; import java.io.StringReader; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.Map; import javax.persistence.NoResultException; import net.sourceforge.stripes.action.ActionBean; import net.sourceforge.stripes....
package io.quarkus.reactive.datasource.runtime; import java.util.Map; import java.util.concurrent.CompletableFuture; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import javax.enterprise....
package com.intellij.refactoring.extractMethod.preview; import com.intellij.diff.DiffContentFactory; import com.intellij.diff.DiffManager; import com.intellij.diff.DiffRequestPanel; import com.intellij.diff.comparison.ComparisonManagerImpl; import com.intellij.diff.contents.DocumentContent; import com.intellij.diff.fra...
package org.broadinstitute.sting.gatk.walkers.indels; import net.sf.picard.sam.SamPairUtil; import net.sf.samtools.*; import org.apache.log4j.Logger; import org.broadinstitute.sting.utils.GenomeLoc; import org.broadinstitute.sting.utils.GenomeLocParser; import org.broadinstitute.sting.utils.exceptions.UserException; im...
package com.altamiracorp.lumify.securegraph.model.workspace; import com.altamiracorp.lumify.core.exception.LumifyAccessDeniedException; import com.altamiracorp.lumify.core.exception.LumifyResourceNotFoundException; import com.altamiracorp.lumify.core.model.ontology.Concept; import com.altamiracorp.lumify.core.model.ont...
package de.factoryfx.javafx.editor.attribute; import de.factoryfx.data.attribute.Attribute; import de.factoryfx.data.attribute.AttributeChangeListener; import de.factoryfx.javafx.widget.Widget; import javafx.beans.property.SimpleObjectProperty; import javafx.scene.Node; public class AttributeEditor<T> implements Widget...
package com.madphysicist.tools.swing; import java.awt.BorderLayout; import java.awt.Component; import java.awt.Font; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.GridLayout; import java.awt.Window; import java.awt.event.ActionEvent; import java.awt.event.WindowAdapter; import java....
package org.jtrim.taskgraph.impl; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.IdentityHashMap; import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.CompletableFuture; import java.util.concurre...
package com.pcache.DO.timeseries; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.TreeMap; import org.joda.time.format.DateTimeFormatter; import org.joda.time.format.ISODateTimeFormat; import com.pcache.exceptions.PCacheException; import com.pcache.utils.Commons; /** * The cen...
package org.junit.jupiter.engine; import java.util.List; import org.junit.jupiter.engine.descriptor.ClassTestDescriptor; import org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor; import org.junit.platform.engine.EngineDiscoveryRequest; import org.junit.platform.engine.FilterResult; import org.junit.platform...
package com.pmc1.system; import com.pmc1.entity.Floor; public class FirstRequestProcessedSystem extends BaseElevatorSystem { public void floorRequest(boolean goingUp) { // first find an elevator that should pick up this request // set that elevator's floorsOfInterest to be true for that specific flo...
package org.sakaiproject.component.app.messageforums.ui; import java.sql.SQLException; import java.util.ArrayList; import java.util.Date; import java.util.Iterator; import java.util.List; import java.util.Set; import net.sf.hibernate.Hibernate; import net.sf.hibernate.HibernateException; import net.sf.hibernate.LockMod...
package com.techjar.ledcm.hardware; import com.techjar.ledcm.LEDCubeManager; import com.techjar.ledcm.hardware.animation.Animation; import com.techjar.ledcm.hardware.animation.AnimationSpectrumAnalyzer; import com.techjar.ledcm.hardware.tcp.packet.Packet; import com.techjar.ledcm.hardware.tcp.packet.PacketAudioData; im...
package org.opencb.opencga.storage.core.search; import org.apache.commons.lang3.StringUtils; import org.opencb.biodata.models.variant.StudyEntry; import org.opencb.biodata.models.variant.Variant; import org.opencb.biodata.models.variant.annotation.ConsequenceTypeMappings; import org.opencb.biodata.models.variant.avro.*...
package com.bbn.kbp.events2014.scorer.bin; import com.bbn.bue.common.files.FileUtils; import com.bbn.bue.common.parameters.Parameters; import com.bbn.bue.common.symbols.Symbol; import com.bbn.kbp.events2014.io.AnnotationStore; import com.bbn.kbp.events2014.io.AssessmentSpecFormats; import com.bbn.kbp.events2014.io.Syst...
package com.tranek.chivalryserverbrowser; import java.util.HashMap; import java.util.Random; import java.util.Vector; /** * * Represents a Chivalry: Medieval Warfare server. * */ public class ChivServer { /** The server's name. */ protected String mName; /** The server's IP address. */ protected Str...
package org.eclipse.mylyn.internal.tasks.core.externalization; import java.io.File; import org.eclipse.core.runtime.Assert; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; import org.eclipse...
package com.valkryst.VTerminal.component; import com.valkryst.VTerminal.AsciiString; import com.valkryst.VTerminal.builder.component.LoadingBarBuilder; import com.valkryst.VTerminal.misc.IntRange; import lombok.Getter; import java.awt.Color; import java.util.Objects; public class LoadingBar extends Component { /** ...
package cgeo.geocaching.utils; import cgeo.geocaching.R; import cgeo.geocaching.databinding.DialogTitleButtonButtonBinding; import cgeo.geocaching.databinding.EmojiselectorBinding; import cgeo.geocaching.maps.CacheMarker; import cgeo.geocaching.storage.extension.EmojiLRU; import cgeo.geocaching.storage.extension.OneTim...
package org.languagetool.dev.bigdata; import org.languagetool.AnalyzedSentence; import org.languagetool.JLanguageTool; import org.languagetool.Language; import org.languagetool.chunking.Chunker; import org.languagetool.dev.dumpcheck.*; import org.languagetool.dev.eval.FMeasure; import org.languagetool.language.English;...
package cgeo.geocaching.utils; import cgeo.geocaching.Intents; import cgeo.geocaching.R; import cgeo.geocaching.SelectTrackFileActivity; import cgeo.geocaching.files.GPXTrackImporter; import cgeo.geocaching.location.Geopoint; import cgeo.geocaching.settings.Settings; import android.app.Activity; import android.content....
package org.languagetool.openoffice; import java.util.ArrayList; import java.util.List; import com.sun.star.frame.XController; import com.sun.star.frame.XDesktop; import com.sun.star.frame.XModel; import com.sun.star.lang.XComponent; import com.sun.star.lang.XMultiComponentFactory; import com.sun.star.text.TextMarkupTy...
package stroom.statistics.server.stroomstats.internal; import com.google.common.base.Preconditions; import com.google.common.base.Strings; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; import stroom.connectors.kafka.StroomKafkaProducer; import stroom.connector...
package net.finkn.inputspec.tools; import net.finkn.inputspec.tools.types.Point; import se.miun.itm.input.model.InPUTException; import se.miun.itm.input.model.design.IDesign; /** * Helper for writing more concise tests. * Exports common configurations and small functions that are common to * multiple tests. */ publ...
package com.amatkivskiy.gitter.rx.sdk.converter; import com.amatkivskiy.gitter.rx.sdk.model.response.UserResponse; import com.google.gson.*; import java.lang.reflect.Type; public class UserJsonDeserializer implements JsonDeserializer<UserResponse> { @Override public UserResponse deserialize(JsonElement jsonElement,...
package com.mindera.skeletoid.analytics.appenders; import android.app.Activity; import android.content.Context; import android.os.Bundle; import java.util.Map; /** * Interface for Analytics appenders */ public interface IAnalyticsAppender { /** * Enable analytics * * @param context Application cont...
package org.xwiki.tool.extension.util; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.util.Collection; import java.util.List; import javax.xml.parsers.ParserConfigurationException; import javax.xml.transform.TransformerException; import org.apache.maven.artifact.Artifact; ...
package org.openhab.binding.smartmeter.internal.sml; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.text.MessageFormat; import java.util.Stack; import java.util.function.Supplier; import org.eclipse.jdt.annotation.NonNullByDefault; import org.eclipse.jdt.annotat...
package org.apache.mesos.logstash.executor; import org.apache.mesos.logstash.common.ConcurrentUtils; import org.apache.mesos.logstash.common.LogstashProtos.ExecutorMessage.ExecutorStatus; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file...
package com.sedmelluq.discord.lavaplayer.container.mp3; import com.sedmelluq.discord.lavaplayer.filter.FilterChainBuilder; import com.sedmelluq.discord.lavaplayer.filter.ShortPcmAudioFilter; import com.sedmelluq.discord.lavaplayer.natives.mp3.Mp3Decoder; import com.sedmelluq.discord.lavaplayer.tools.io.SeekableInputStr...
package tools; import java.io.ByteArrayOutputStream; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.DefaultHttpClient; import org.geomajas.command.CommandDispatcher; impor...
package io.cattle.platform.servicediscovery.process; import io.cattle.platform.configitem.request.ConfigUpdateRequest; import io.cattle.platform.configitem.version.ConfigItemStatusManager; import io.cattle.platform.core.constants.HealthcheckConstants; import io.cattle.platform.core.constants.InstanceConstants; import i...
package org.maxur.mserv.doc; import org.junit.Ignore; import org.junit.Test; import org.maxur.mserv.core.domain.BaseService; import org.maxur.mserv.core.java.Locator; import org.maxur.mserv.core.runner.Java; import org.maxur.mserv.core.service.properties.Properties; import static org.assertj.core.api.Assertions.assertT...
package org.mockserver.maven; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Joiner; import org.apache.commons.lang3.StringUtils; import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.resolver.ArtifactResolutionRequest; import org.apache.maven.artifact.resolv...
package io.quarkus.hibernate.reactive.deployment; import static io.quarkus.deployment.annotations.ExecutionTime.RUNTIME_INIT; import static io.quarkus.deployment.annotations.ExecutionTime.STATIC_INIT; import static io.quarkus.hibernate.orm.deployment.HibernateConfigUtil.firstPresent; import static org.hibernate.cfg.Ava...
package edu.isi.karma.web.services.publish.es; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.io.StringWriter; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import java.security.KeyManagementException; import java.security.Key...
package com.verce.forwardmodelling; import java.io.PrintWriter; import java.io.IOException; import java.io.FileInputStream; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.DataOutputStream; import java.io.DataInputStream; import java.io.FileInputStream; import java.io.FileOutputStream; i...
package org.safehaus.subutai.core.peer.ui.forms; import java.security.KeyStore; import java.util.List; import java.util.UUID; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import org.safehaus.subutai.common.peer.PeerException; import org.safehaus.subutai.common.peer.PeerInfo; import org.safehaus....
package org.opendaylight.controller.sal.binding.api; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; import org.osgi.framework.ServiceReference; import org.osgi.util.tracker.ServiceTracker; import org...
package org.openlmis.restapi.service; import lombok.NoArgsConstructor; import org.openlmis.core.domain.Facility; import org.openlmis.core.domain.Program; import org.openlmis.core.exception.DataException; import org.openlmis.core.service.FacilityService; import org.openlmis.core.service.MessageService; import org.openlm...
package org.opendaylight.controller.cluster.datastore; import akka.util.Timeout; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Preconditions; import com.google.common.collect.Sets; import java.util.Set; import java.util.concurrent.TimeUnit; import org.apache.commons.lang3.text.Wo...
package org.springsource.ide.eclipse.commons.quicksearch.ui; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import org.eclipse.core.commands.AbstractHandler; import org.eclipse.core.commands.ExecutionEvent; import org.eclipse.core.commands.IHandler; import org....
package org.csstudio.utility.ldapUpdater; import javax.annotation.Nonnull; import javax.annotation.Nullable; import org.csstudio.platform.service.osgi.OsgiServiceUnavailableException; import org.csstudio.utility.ldap.service.ILdapService; import org.csstudio.utility.ldap.service.LdapServiceTracker; import org.csstudio....
package com.opengamma.analytics.financial.model.volatility.smile.fitting.demo; import java.util.Arrays; import java.util.BitSet; import java.util.List; import org.apache.commons.lang.ArrayUtils; import org.testng.annotations.Test; import cern.jet.random.engine.MersenneTwister; import cern.jet.random.engine.RandomEngine...
package org.hbird.transport.payloadcodec.codecparameters.string; import java.util.BitSet; import org.hbird.core.commons.tmtc.Parameter; import org.hbird.core.commons.util.BitSetUtility; import org.hbird.core.spacesystemmodel.encoding.Encoding; import org.hbird.transport.payloadcodec.codecparameters.CodecParameter; impo...
package stroom.authentication.oauth2; import stroom.authentication.api.OAuth2Client; import stroom.authentication.api.OpenIdClientDetailsFactory; import stroom.authentication.config.AuthenticationConfig; import stroom.util.authentication.DefaultOpenIdCredentials; import stroom.util.logging.LogUtil; import javax.inject....
package ttworkbench.play.parameters.ipv6.widgets.tableviewer; import java.util.HashSet; import org.eclipse.jface.viewers.CellEditor; import org.eclipse.jface.viewers.CellLabelProvider; import org.eclipse.jface.viewers.EditingSupport; import org.eclipse.jface.viewers.TableViewerColumn; import org.eclipse.jface.viewers.T...
package org.opendaylight.netvirt.natservice.internal; import java.math.BigInteger; import java.util.ArrayList; import java.util.List; import org.opendaylight.controller.md.sal.binding.api.DataBroker; import org.opendaylight.genius.mdsalutil.ActionInfo; import org.opendaylight.genius.mdsalutil.InstructionInfo; import or...
package gov.hhs.fha.nhinc.docquery.entity; import static org.junit.Assert.*; import java.math.BigInteger; import java.util.ArrayList; import java.util.List; import javax.xml.bind.JAXBElement; import javax.xml.namespace.QName; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import or...
package ru.liahim.saltmod.common; import java.io.File; import net.minecraft.block.Block; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.ItemArmor.ArmorMaterial; import net.minecraft.item.ItemStac...
package org.ccnx.ccn.utils; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.util.logging.Level; import org.ccnx.ccn.CCNHandle; import org.ccnx.ccn.config.ConfigurationException; import org.ccnx.ccn.impl.support.Log; import org.ccnx.ccn.io.CCNFileInputStream; import org.ccnx...
package de.sb.messenger.persistence; import javax.persistence.Column; import javax.persistence.DiscriminatorValue; import javax.persistence.Entity; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.PrimaryKeyJoinColumn; import javax.persistence.Table; import javax.validat...
package dr.app.checkpoint; import dr.evolution.tree.NodeRef; import dr.evomodel.tree.TreeModel; import dr.evomodel.tree.TreeParameterModel; import dr.inference.markovchain.MarkovChain; import dr.inference.markovchain.MarkovChainListener; import dr.inference.model.Likelihood; import dr.inference.model.Model; import dr.i...
package edu.brandeis.cs.steele.wn; import java.util.logging.*; import java.util.EnumSet; import java.util.Set; /** * An <code>IndexWord</code> represents a line of the <var>pos</var><code>.index</code> file. * An <code>IndexWord</code> is created retrieved or retrieved via {@link DictionaryDatabase#lookupIndexWord}, ...
package edu.cmu.cs.diamond.opendiamond; import java.awt.image.BufferedImage; import java.io.ByteArrayInputStream; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.imageio.ImageIO; public ...
package edu.iu.grid.oim.servlet; import java.io.IOException; import java.io.PrintWriter; import java.sql.SQLException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.log4j.Logger; import com.divrep.DivRep; import com....
package edu.wheaton.simulator.entity; import java.util.HashMap; import java.util.Map; import java.util.NoSuchElementException; import edu.wheaton.simulator.datastructure.ElementAlreadyContainedException; import edu.wheaton.simulator.datastructure.Field; public class Entity { /** * The list of all fields (varia...
package ex17.RyanNewsomKyleFrisbie; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; /** * This is the instance of the Knapsack problem * To Solve Knapsack Problem with Branch and Bound you... * 1) */ public class Knapsack { protected ArrayList<Node> mPossibleNodesForExplor...
//This library is free software; you can redistribute it and/or //modify it under the terms of the GNU Lesser General Public //This library is distributed in the hope that it will be useful, //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //You should have received a copy of the GNU Lesser General Publi...