answer
stringlengths
17
10.2M
package org.csstudio.opibuilder.runmode; import java.util.List; import org.csstudio.opibuilder.OPIBuilderPlugin; import org.csstudio.opibuilder.actions.AboutWebOPIAction; import org.csstudio.opibuilder.actions.ConfigureRuntimePropertiesAction; import org.csstudio.opibuilder.actions.OpenRelatedDisplayAction; import org....
package io.quarkus.deployment.console; import java.io.IOException; import java.nio.file.Paths; import java.util.TreeMap; import java.util.concurrent.LinkedBlockingDeque; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReadWriteLock; import java.util.concurrent.locks.ReentrantLock; import java....
// This source code is available under agreement available at // You should have received a copy of the agreement // along with this program; if not, write to Talend SA // 9 rue Pages 92150 Suresnes, France package org.talend.components.jdbc.runtime; import java.sql.ResultSet; import org.apache.avro.Schema; import org....
package de.danoeh.antennapod.core.service.playback; import android.content.Context; import android.media.AudioAttributes; import android.media.AudioFocusRequest; import android.media.AudioManager; import android.os.Build; import android.os.PowerManager; import android.support.annotation.NonNull; import android.telephon...
package org.eclipse.birt.report.engine.emitter.excel.layout; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class AxisProcessor { /** * Each element of naxis is the start point of each column, * indexed by colId. */ private List<Integer> columnCoordinates ...
package io.bitsquare.trade.statistics; import io.bitsquare.common.util.MathUtils; import io.bitsquare.locale.CurrencyUtil; import io.bitsquare.trade.offer.Offer; import org.bitcoinj.core.Coin; import org.bitcoinj.utils.ExchangeRate; import org.bitcoinj.utils.Fiat; import org.bitcoinj.utils.MonetaryFormat; import org.sl...
package org.innovateuk.ifs.registration; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.innovateuk.ifs.commons.rest.RestResult; import org.innovateuk.ifs.invite.constant.InviteStatus; import org.innovateuk.ifs.invite.resource.ApplicationInviteResource; import org.innovat...
package org.objectweb.proactive.extensions.dataspaces.vfs; import java.nio.charset.Charset; import org.apache.commons.logging.impl.Log4JLogger; import org.apache.commons.vfs2.CacheStrategy; import org.apache.commons.vfs2.FileSystemException; import org.apache.commons.vfs2.FileSystemOptions; import org.apache.commons.vf...
package org.mapfish.print.map.image; import com.codahale.metrics.MetricRegistry; import com.codahale.metrics.Timer; import org.apache.commons.io.IOUtils; import org.geotools.coverage.CoverageFactoryFinder; import org.geotools.coverage.grid.GridCoverage2D; import org.geotools.coverage.grid.GridCoverageFactory; import or...
package uk.gov.gchq.gaffer.accumulostore.operation.hdfs.impl; import com.google.common.collect.Sets; import org.junit.Test; import uk.gov.gchq.gaffer.exception.SerialisationException; import uk.gov.gchq.gaffer.hdfs.operation.SampleDataForSplitPoints; import uk.gov.gchq.gaffer.jsonserialisation.JSONSerialiser; import uk...
/** * This is only generated once! It will never be overwritten. * You can (and have to!) safely modify it by hand. * TEMPLATE: SpringServiceImpl.vsl in andromda-spring cartridge * MODEL CLASS: AndroMDAModel::ctsms::org.phoenixctms.ctsms::service::trial::TrialService * STEREOTYPE: Service */ package org.phoen...
package org.xwiki.tool.extension.internal; import javax.inject.Named; import org.xwiki.component.annotation.Component; import org.xwiki.extension.Extension; import org.xwiki.extension.InstallException; import org.xwiki.extension.job.internal.InstallPlanJob; /** * @version $Id$ * @since 9.4RC1 */ @Component @Named(In...
package org.xwiki.sheet.internal; import java.util.Collections; import java.util.HashMap; import java.util.Map; import org.apache.commons.lang3.RandomStringUtils; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.xwiki.bridge.DocumentAccessBridge; import org.xwiki.bridge.DocumentModelBri...
package org.ovirt.engine.ui.webadmin.section.main.view.tab.network; import javax.inject.Inject; import org.ovirt.engine.core.common.businessentities.network.NetworkView; import org.ovirt.engine.ui.common.uicommon.model.DetailModelProvider; import org.ovirt.engine.ui.common.view.AbstractSubTabFormView; import org.ovirt....
package org.innovateuk.ifs.registration.controller; import org.innovateuk.ifs.BaseControllerMockMVCTest; import org.innovateuk.ifs.competition.publiccontent.resource.FundingType; import org.innovateuk.ifs.competition.resource.CompetitionResource; import org.innovateuk.ifs.competition.service.CompetitionRestService; imp...
package org.opendaylight.netvirt.openstack.netvirt.sfc.workaround; import com.google.common.base.Preconditions; import java.util.List; import org.opendaylight.controller.md.sal.binding.api.DataBroker; import org.opendaylight.netvirt.openstack.netvirt.api.Constants; import org.opendaylight.netvirt.openstack.netvirt.api....
package de.cooperateproject.eabridge.eaobjectmodel.test; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintStream; import java.nio.charset.Charset; import org.apache.commons.io.IOUtils; import org.hibernate.Session; import org.hibernate.Transaction; import...
package tools.descartes.petsupplystore.registryclient.rest; import javax.ws.rs.client.Invocation.Builder; import javax.ws.rs.core.MediaType; import kieker.common.logging.Log; import kieker.common.logging.LogFactory; import kieker.monitoring.core.registry.ControlFlowRegistry; import kieker.monitoring.core.registry.Sessi...
package edu.mayo.cts2.framework.webapp.soap.endpoint.entitydescription; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.List; import org.apache.commons.lang.ArrayUtils; import org.apache....
#set( $symbol_pound = '#' ) #set( $symbol_dollar = '$' ) #set( $symbol_escape = '\' ) package ${artifactId}.internal; import java.util.Dictionary; import ${artifactId}.${binding-name}BindingProvider; import org.apache.commons.lang.StringUtils; import org.openhab.core.binding.AbstractActiveBinding; import org.openhab.co...
package io.quarkus.smallrye.context.runtime.context.provider; import java.util.Collection; import java.util.Map; import javax.enterprise.inject.spi.CDI; import org.eclipse.microprofile.context.ThreadContext; import org.eclipse.microprofile.context.spi.ThreadContextController; import org.eclipse.microprofile.context.spi...
package org.innovateuk.ifs.project.core.transactional; import org.innovateuk.ifs.BaseAuthenticationAwareIntegrationTest; import org.innovateuk.ifs.application.domain.Application; import org.innovateuk.ifs.application.repository.ApplicationRepository; import org.innovateuk.ifs.commons.service.ServiceResult; import org.i...
package org.innovateuk.ifs.organisation.controller; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.innovateuk.ifs.commons.security.SecuredBySpring; import org.innovateuk.ifs.organisation.resource.OrganisationResource; import org.innovateuk.ifs.organisation.resource.Organ...
package org.opendaylight.controller.cluster.datastore.jmx.mbeans.shard; import akka.actor.ActorRef; import akka.pattern.Patterns; import akka.util.Timeout; import com.google.common.base.Joiner; import com.google.common.base.Joiner.MapJoiner; import com.google.common.base.Stopwatch; import com.google.common.cache.Cache;...
package org.csstudio.display.builder.representation.javafx.widgets; import org.csstudio.display.builder.model.DirtyFlag; import org.csstudio.display.builder.model.UntypedWidgetPropertyListener; import org.csstudio.display.builder.model.WidgetProperty; import org.csstudio.display.builder.model.properties.WidgetFont; imp...
package fr.openwide.core.wicket.more.markup.html.form; import java.util.Date; import org.apache.wicket.markup.ComponentTag; import org.apache.wicket.model.IModel; import org.apache.wicket.util.convert.IConverter; import fr.openwide.core.wicket.more.util.DatePattern; import fr.openwide.core.wicket.more.util.convert.conv...
package com.opengamma.analytics.financial.volatilityswap; import com.google.common.primitives.Doubles; import com.opengamma.analytics.financial.model.volatility.BlackScholesFormulaRepository; import com.opengamma.analytics.math.function.Function1D; import com.opengamma.analytics.math.integration.AdaptiveCompositeIntegr...
package org.eclipse.birt.report.designer.internal.ui.views.data.providers; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.Iterator; import org.eclipse.birt.report.designer.data.ui.dataset.DataSetUIUtil; import org.eclipse.birt.report.designer.internal.ui.views.De...
package org.eclipse.birt.report.designer.internal.ui.editors.schematic.figures; import org.eclipse.birt.report.designer.internal.ui.editors.ReportColorConstants; import org.eclipse.birt.report.designer.internal.ui.layout.ReportFlowLayout; import org.eclipse.birt.report.designer.internal.ui.layout.TableLayout; import or...
package org.csstudio.opibuilder.adl2boy.utilities; import org.csstudio.opibuilder.adl2boy.translator.TranslatorUtils; import org.csstudio.opibuilder.util.OPIFont; import org.csstudio.opibuilder.widgets.model.LabelModel; import org.csstudio.opibuilder.widgets.model.TextUpdateModel; import org.csstudio.utility.adlparser....
package com.google.eclipse.protobuf.ui.editor; import static com.google.eclipse.protobuf.junit.core.UnitTestModule.unitTestModule; import static com.google.eclipse.protobuf.junit.core.XtextRule.overrideRuntimeModuleWith; import static org.eclipse.emf.common.util.URI.createURI; import static org.mockito.Mockito.*; impor...
package org.deviceconnect.android.deviceplugin.heartrate; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Handler; import o...
package io.subutai.core.hubmanager.impl.proccessors; import java.io.IOException; import java.security.KeyStoreException; import java.security.NoSuchAlgorithmException; import java.security.UnrecoverableKeyException; import java.util.List; import java.util.Set; import java.util.UUID; import java.util.concurrent.Executio...
package org.sagebionetworks.repo.manager.message.dataaccess; import java.io.IOException; import java.util.Set; import java.util.StringJoiner; import org.apache.http.client.ClientProtocolException; import org.json.JSONException; import org.sagebionetworks.markdown.MarkdownClientException; import org.sagebionetworks.mark...
package org.jivesoftware.openfire.plugin.gojara.messagefilter.remoteroster.processors; import java.util.Collection; import org.jivesoftware.openfire.interceptor.PacketRejectedException; import org.jivesoftware.openfire.plugin.gojara.messagefilter.remoteroster.RemoteRosterInterceptor; import org.jivesoftware.openfire.ro...
package org.eclipse.birt.report.item.crosstab.core.re.executor; import java.util.logging.Level; import java.util.logging.Logger; import javax.olap.OLAPException; import javax.olap.cursor.DimensionCursor; import javax.olap.cursor.EdgeCursor; import org.eclipse.birt.report.engine.content.IContent; import org.eclipse.birt...
package org.springframework.ide.vscode.commons.yaml.reconcile; import static org.springframework.ide.vscode.commons.util.ExceptionUtil.getSimpleError; import static org.springframework.ide.vscode.commons.yaml.ast.NodeUtil.asScalar; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java...
package com.telefonica.iot.cygnus.utils; import static com.telefonica.iot.cygnus.utils.CommonUtilsForTests.getTestTraceHead; import static org.junit.Assert.assertEquals; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import org.apache.commons.lang3.tuple.ImmutablePair; import org.apa...
package org.safehaus.subutai.core.lxc.quota.impl; import java.util.Set; import java.util.StringTokenizer; import java.util.UUID; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.json.JSONObject; import org.safehaus.subutai.common.command.CommandException; import org.safehaus.subutai.common.com...
package fi.evident.dalesbred.support; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.junit.rules.TestRule; import org.junit.runner.Description; import org.junit.runners.model.Statement; import static fi.evident.dalesbred.utils.Require.requireNonNull; /** * Executes test...
package org.talend.dataprep.qa.step; import static org.junit.Assert.assertEquals; import static org.talend.dataprep.qa.config.FeatureContext.suffixName; import java.io.IOException; import java.nio.charset.StandardCharsets; import java.util.List; import java.util.Map; import cucumber.api.java.en.Then; import org.apache....
package org.apereo.cas.support.oauth.authenticator; import org.apereo.cas.authentication.AuthenticationHandler; import org.apereo.cas.authentication.Credential; import org.apereo.cas.authentication.principal.NullPrincipal; import org.apereo.cas.authentication.principal.Principal; import org.apereo.cas.authentication.pr...
package tools.descartes.petsupplystore.registryclient.rest; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet...
package no.nordicsemi.android.dfu.internal; import android.os.Build; import android.util.Log; import com.google.gson.Gson; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.nio.charset.StandardCharsets; im...
package org.eclipse.birt.report.item.crosstab.internal.ui.dialogs; import java.net.URL; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.StringTokenizer; import org.eclipse.birt.core.data.ExpressionUtil; import org.eclipse.bir...
package de.lmu.ifi.dbs.elki.utilities.io; import de.lmu.ifi.dbs.elki.utilities.datastructures.BitsUtil; /** * Helper functionality for parsing. * * @author Erich Schubert */ public final class ParseUtil { /** * Private constructor. Static methods only. */ private ParseUtil() { // Do not use. } /**...
package de.lmu.ifi.dbs.elki.database.datastore; import java.util.Comparator; import de.lmu.ifi.dbs.elki.database.ids.DBIDRef; import de.lmu.ifi.dbs.elki.database.ids.DBIDUtil; import de.lmu.ifi.dbs.elki.database.ids.DBIDs; /** * Storage utility class. Mostly a shorthand for * {@link DataStoreFactory#FACTORY}. * * @...
package org.drools.workbench.jcr2vfsmigration; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.URL; import java.util.Enumeration; import java.util.zip.ZipEntry; import java.util.zip.ZipFile; import org.apache.comm...
package io.grpc.echo; import io.grpc.*; import io.grpc.echo.Echo.EchoResponse; import io.grpc.echo.Echo.BatchEchoRequest; import io.grpc.echo.Echo.BatchEchoResponse; import io.grpc.echo.Echo.EchoWithResponseSizeRequest; import io.grpc.echo.Echo.StreamEchoRequest; import io.grpc.echo.GrpcCloudapiGrpc.GrpcCloudapiBlockin...
package com.vlkan.hrrs.example.jaxrs; import javax.ws.rs.*; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; @Path("/") public class HelloResource { @POST @Produces({MediaType.TEXT_PLAIN}) @Consumes({MediaType.TEXT_PLAIN}) public Response sayHello(@QueryParam("name") String name, byt...
package org.opendaylight.yangtools.yang.parser.rfc7950.reactor; import com.google.common.annotations.Beta; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Table; import com.google.common.collect.Table.Cell; import java.util.Collection; import java.util.HashMap; import java.util.Map; impo...
package fr.inria.diverse.trace.api; import java.util.Map; import org.eclipse.emf.ecore.EObject; public interface ITraceManager { public abstract void save(); public abstract void addState(); public abstract void addEvent(String eventName, Map<String, Object> params); public abstract void initTrace(); ...
package org.smartboot.http; import com.jsoniter.output.JsonStream; import com.jsoniter.output.JsonStreamPool; import com.jsoniter.spi.JsonException; import org.smartboot.http.server.Http11Request; import org.smartboot.http.server.HttpMessageProcessor; import org.smartboot.http.server.HttpRequestProtocol; import org.sma...
package com.continuuity.gateway.v2.runtime; import com.continuuity.common.conf.CConfiguration; import com.continuuity.common.conf.Constants; import com.continuuity.common.http.core.HttpHandler; import com.continuuity.common.runtime.RuntimeModule; import com.continuuity.common.utils.Networks; import com.continuuity.gate...
package com.linkedin.databus.bootstrap.producer; import com.linkedin.databus.bootstrap.api.BootstrapProducerStatus; import com.linkedin.databus.bootstrap.common.BootstrapConn; import com.linkedin.databus.bootstrap.common.BootstrapDBCleaner; import com.linkedin.databus.bootstrap.common.BootstrapDBMetaDataDAO; import com...
package org.eclipse.che.workspace.infrastructure.openshift.provision.installer; import static com.google.common.base.Strings.isNullOrEmpty; import static java.lang.String.format; import static org.slf4j.LoggerFactory.getLogger; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.Env...
package hex.genmodel.algos.tree; import hex.genmodel.attributes.parameters.KeyValue; import hex.genmodel.utils.ArrayUtils; import java.io.Serializable; import java.util.Arrays; import java.util.Comparator; public class ContributionComposer implements Serializable { /** * Sort shapley values and compose desired...
package com.health.operations.functions; import java.time.LocalDate; import java.util.Objects; import com.health.script.runtime.DateValue; import com.health.script.runtime.NumberValue; import com.health.script.runtime.StringValue; import com.health.script.runtime.Value; /** * A utility class, which consists of functio...
package com.servinglynk.servey.views; import java.sql.Connection; import java.sql.Date; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.ut...
package io.github.ihongs.serv.matrix; import io.github.ihongs.Cnst; import io.github.ihongs.Core; import io.github.ihongs.CoreConfig; import io.github.ihongs.HongsException; import io.github.ihongs.action.ActionHelper; import io.github.ihongs.action.CommitRunner; import io.github.ihongs.cmdlet.CmdletHelper; import io.g...
package org.hswebframework.web.dao.mybatis.builder.jpa; import org.apache.commons.beanutils.BeanUtilsBean; import org.hswebframework.ezorm.core.ValueConverter; import org.hswebframework.ezorm.rdb.meta.RDBColumnMetaData; import org.hswebframework.ezorm.rdb.meta.RDBTableMetaData; import org.hswebframework.ezorm.rdb.meta....
package io.github.ihongs.dh.lucene; import io.github.ihongs.Cnst; import io.github.ihongs.Core; import io.github.ihongs.CoreConfig; import io.github.ihongs.CoreLogger; import io.github.ihongs.HongsException; import io.github.ihongs.HongsExemption; import io.github.ihongs.action.FormSet; import io.github.ihongs.dh.IEnti...
package org.innovateuk.ifs.competitionsetup.transactional; import org.innovateuk.ifs.BaseServiceUnitTest; import org.innovateuk.ifs.commons.service.ServiceResult; import org.innovateuk.ifs.competition.builder.CompetitionBuilder; import org.innovateuk.ifs.competition.builder.StakeholderBuilder; import org.innovateuk.ifs...
package io.github.ihongs.dh.search; import io.github.ihongs.Cnst; import io.github.ihongs.Core; import io.github.ihongs.CoreLogger; import io.github.ihongs.HongsException; import io.github.ihongs.HongsExemption; import io.github.ihongs.action.FormSet; import io.github.ihongs.dh.lucene.LuceneRecord; import io.github.iho...
package org.eclipse.kura.example.tamper.detection; import java.util.Collections; import java.util.Date; import java.util.HashMap; import java.util.Map; import java.util.Optional; import org.eclipse.kura.KuraException; import org.eclipse.kura.configuration.ConfigurableComponent; import org.eclipse.kura.configuration.Con...
package org.xcolab.service.activities.activityEntry.discussion; import org.apache.commons.lang3.StringEscapeUtils; import org.xcolab.client.comment.exceptions.CategoryNotFoundException; import org.xcolab.client.comment.exceptions.CommentNotFoundException; import org.xcolab.client.comment.exceptions.ThreadNotFoundExcept...
package org.nuxeo.ecm.platform.publisher.impl.finder; import java.util.ArrayList; import java.util.Collections; import org.nuxeo.ecm.core.api.ClientException; import org.nuxeo.ecm.core.api.CoreSession; import org.nuxeo.ecm.core.api.DocumentModel; import org.nuxeo.ecm.core.api.DocumentModelList; import org.nuxeo.ecm.pla...
package com.opengamma.financial.analytics.timeseries; import java.util.Collections; import java.util.HashSet; import java.util.Set; import com.opengamma.OpenGammaRuntimeException; import com.opengamma.analytics.financial.instrument.InstrumentDefinition; import com.opengamma.core.historicaltimeseries.HistoricalTimeSerie...
package org.jboss.as.test.integration.jpa.hibernate.classfiletransformertest; import static org.junit.Assert.assertTrue; import javax.naming.InitialContext; import javax.naming.NamingException; import org.jboss.arquillian.container.test.api.Deployment; import org.jboss.arquillian.junit.Arquillian; import org.jboss.arqu...
package com.xpn.xwiki.plugin.applicationmanager.core.doc.objects.classes; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Set;...
package org.xwiki.mail.test.ui; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.util.ArrayList; import java.util.List; import javax.mail.internet.MimeMessage; import org.apache.commons.httpclient.UsernamePasswordCredentials; import org.junit.After; import org.junit.Assert; import ...
package de.fu_berlin.imp.seqan.usability_analyzer.groundedtheory.views; import java.net.URI; import java.util.ArrayList; import java.util.List; import org.apache.commons.lang.StringUtils; import org.apache.log4j.Logger; import org.eclipse.jface.viewers.ISelection; import org.eclipse.swt.SWT; import org.eclipse.swt.layo...
package fr.openwide.core.jpa.more.business.task.service.impl; import java.io.IOException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.context.ApplicationC...
package com.intellij.openapi.compiler; import com.intellij.execution.configurations.RunConfiguration; import com.intellij.notification.NotificationGroup; import com.intellij.openapi.Disposable; import com.intellij.openapi.fileTypes.FileType; import com.intellij.openapi.module.Module; import com.intellij.openapi.module....
package org.jbehave.core.reporters; import org.apache.commons.collections.CollectionUtils; import org.apache.commons.collections.Transformer; import org.apache.commons.lang.ArrayUtils; import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.builder.ToStringBuilder; import org.apache.commons.lang.buil...
package com.fsck.k9.mail.internet; import android.util.Log; import com.fsck.k9.mail.Body; import com.fsck.k9.mail.BodyPart; import com.fsck.k9.mail.Message; import com.fsck.k9.mail.MessagingException; import com.fsck.k9.mail.Multipart; import com.fsck.k9.mail.Part; import java.io.IOException; import java.io.InputStream...
package com.migibert.kheo.jobs; import java.util.Set; import javax.ws.rs.client.Client; import javax.ws.rs.client.ClientBuilder; import javax.ws.rs.client.Entity; import javax.ws.rs.core.GenericType; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import javax.ws.rs.core.Response.Status; import org...
package com.github.rvesse.airline; import com.github.rvesse.airline.Arguments; import com.github.rvesse.airline.Cli; import com.github.rvesse.airline.Command; import com.github.rvesse.airline.Option; import com.github.rvesse.airline.builder.CliBuilder; import com.github.rvesse.airline.help.Help; import com.github.rvess...
package com.mikepenz.fastadapter.utils; import android.content.Context; import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.StateListDrawable; import android.os.Build; import android.support.v4.content.ContextCompat; import android.util.TypedValue; import com.mikepenz.fastadapter.R; public ...
package com.novoda.downloadmanager; import android.support.annotation.WorkerThread; import com.novoda.notils.logger.simple.Log; import static com.novoda.downloadmanager.DownloadBatchStatus.Status.DELETION; import static com.novoda.downloadmanager.DownloadBatchStatus.Status.DOWNLOADED; import static com.novoda.downloadm...
package com.bloatit.web.html.components.custom; import com.bloatit.common.PageIterable; import com.bloatit.web.annotations.ParamContainer; import com.bloatit.web.annotations.RequestParam; import com.bloatit.web.html.HtmlElement; import com.bloatit.web.html.HtmlNode; import com.bloatit.web.html.HtmlText; import com.bloa...
package ai.vespa.metricsproxy.service; import ai.vespa.metricsproxy.core.MonitoringConfig; import ai.vespa.metricsproxy.metric.model.DimensionId; import ai.vespa.metricsproxy.service.VespaServicesConfig.Service; import com.google.common.annotations.VisibleForTesting; import com.google.inject.Inject; import java.util.Ar...
/* @java.file.header */ package org.gridgain.grid.cache.store; import org.gridgain.grid.*; import org.gridgain.grid.cache.*; import org.gridgain.grid.cache.store.jdbc.*; import org.gridgain.grid.lang.*; import org.gridgain.grid.portables.*; import org.jetbrains.annotations.*; import java.util.*; /** * API for cache pe...
package jpaoletti.jpm2.controller; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import jpaoletti.jpm2.core.NotAuthorizedException; import jpaoletti.jpm2.core.service.JPMService; import jpaoletti.jpm2.core.PMException; import jpaoletti.jpm2.core.model.Entity; import jp...
package org.geotools.geopkg; import static java.lang.String.format; import java.io.IOException; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import java.util.Objects; /** Base class for GeoPacka...
package org.mskcc.cbio.mutassessor; import org.mskcc.cbio.maf.MafRecord; import org.mskcc.cbio.maf.MafUtil; import java.io.*; import java.sql.SQLException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; /** * Adds or replaces Mutation Assessor columns to MAFs. */ public class MafProcesso...
package io.bitsquare.p2p.peers.getdata; import com.google.common.util.concurrent.FutureCallback; import com.google.common.util.concurrent.Futures; import com.google.common.util.concurrent.SettableFuture; import io.bitsquare.app.Log; import io.bitsquare.common.Timer; import io.bitsquare.common.UserThread; import io.bits...
package com.lyndir.lhunath.opal.system.util; import static com.lyndir.lhunath.opal.system.util.StringUtils.*; import com.google.common.base.Function; import java.util.Optional; import com.google.common.collect.*; import com.lyndir.lhunath.opal.system.error.BreakException; import com.lyndir.lhunath.opal.system.error.Int...
package org.opennms.netmgt.statsd.jmx; import org.opennms.netmgt.dao.db.AbstractTransactionalTemporaryDatabaseSpringContextTests; import org.opennms.test.DaoTestConfigBean; /** * @author <a href="mailto:dj@opennms.org">DJ Gregor</a> */ public class StatsdTest extends AbstractTransactionalTemporaryDatabaseSpringContex...
// This file is part of the OpenNMS(R) Application. // OpenNMS(R) is a derivative work, containing both original code, included code and modified // and included code are below. // OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. // This program is free software; you can redistribute it and/or modify // ...
package actors; import akka.actor.*; import akka.event.Logging; import akka.event.LoggingAdapter; import akka.japi.pf.ReceiveBuilder; import com.fasterxml.jackson.databind.ObjectMapper; import com.firebase.client.*; import com.firebase.security.token.TokenGenerator; import com.firebase.security.token.TokenOptions; impo...
package program6; import java.io.*; import java.util.*; public class Program6 { public static void main(String[] args) throws FileNotFoundException { Scanner cli = new Scanner(System.in); //arraylist for storing weather data ArrayList<Double> list1 = new ArrayList<Double>(100); Array...
//FILE: MMStudioMainFrame.java //PROJECT: Micro-Manager //SUBSYSTEM: mmstudio // Modifications by Arthur Edelstein, Nico Stuurman, Henry Pinkard // This file is distributed in the hope that it will be useful, // of MERCHANTABILITY or FITNESS FOR A PARTICULAR ...
package helper; import java.net.MalformedURLException; import java.net.URL; import java.net.URLEncoder; import java.text.Normalizer; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import org.eclipse.rdf4...
package kalah; import java.io.FileWriter; import java.io.IOException; import java.util.Arrays; import java.util.Random; import java.util.Scanner; import javax.swing.JOptionPane; /* * Version (3.7) */ /* NEED TO DO: * * - Integrate GUI * - Player 2 algo * - MORE TESTING FOR ALGORITHM * * */ public c...
package jadx.api; import java.io.File; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ExecutorService; import java.util.concurrent.Exe...
//FILE: MMStudioMainFrame.java //PROJECT: Micro-Manager //SUBSYSTEM: mmstudio // Modifications by Arthur Edelstein, Nico Stuurman, Henry Pinkard // This file is distributed in the hope that it will be useful, // of MERCHANTABILITY or FITNESS FOR A PARTICULAR ...
package jadx.gui.treemodel; import java.io.File; import java.nio.file.Path; import java.util.ArrayList; import java.util.Enumeration; import java.util.List; import java.util.regex.Pattern; import javax.swing.Icon; import javax.swing.ImageIcon; import org.jetbrains.annotations.Nullable; import jadx.api.ResourceFile; imp...
package jadx.gui.ui; import java.awt.*; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.StandardCopyOption; import java.util.ArrayList; import java.util.List; import ja...
package nars.gui.output.chart; import automenta.vivisect.TreeMLData; import automenta.vivisect.Video; import automenta.vivisect.swing.PCanvas; import automenta.vivisect.timeline.Chart; import automenta.vivisect.timeline.Chart.MultiChart; import automenta.vivisect.timeline.LineChart; import automenta.vivisect.timeline.T...