answer
stringlengths
17
10.2M
package com.jetbrains.python.inspections; import com.intellij.codeInspection.LocalInspectionToolSession; import com.intellij.codeInspection.ProblemsHolder; import com.intellij.codeInspection.SuppressIntentionAction; import com.intellij.lang.ASTNode; import com.intellij.openapi.util.TextRange; import com.intellij.openap...
package org.rakam.analysis.webhook; import com.amazonaws.services.cloudwatch.AmazonCloudWatchAsyncClient; import com.amazonaws.services.cloudwatch.model.MetricDatum; import com.amazonaws.services.cloudwatch.model.PutMetricDataRequest; import com.fasterxml.jackson.core.JsonGenerator; import com.google.common.util.concur...
package com.sandflow.smpte.regxml; import com.sandflow.smpte.klv.Group; import com.sandflow.smpte.klv.KLVInputStream.ByteOrder; import com.sandflow.smpte.klv.Triplet; import com.sandflow.smpte.klv.exceptions.KLVException; import com.sandflow.smpte.mxf.MXFInputStream; import com.sandflow.smpte.mxf.Set; import com.sandfl...
package ai.subut.kurjun.repo; import java.io.IOException; import java.io.InputStream; import java.lang.reflect.Type; import java.net.MalformedURLException; import java.net.URI; import java.net.URL; import java.util.Arrays; import java.util.Collections; import java.util.LinkedList; import java.util.List; import java.uti...
package sampler.supervised.regression; import cc.mallet.util.Randoms; import core.AbstractExperiment; import core.AbstractSampler; import data.ResponseTextDataset; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.util.ArrayList; import java.util.Arrays; import java.util.Col...
package org.wiztools.restclient.ui; import java.io.File; import javax.swing.Icon; import javax.swing.filechooser.FileView; import org.wiztools.restclient.FileType; /** * * @author Subhash */ public class RCFileView extends FileView { @Override public String getTypeDescription(final File f){ final Str...
package org.revapi.maven; import org.apache.maven.plugins.annotations.Execute; import org.apache.maven.plugins.annotations.LifecyclePhase; import org.apache.maven.plugins.annotations.Mojo; import org.apache.maven.plugins.annotations.ResolutionScope; /** * @author Lukas Krejci * @since 0.7.0 */ @Mojo(name = "report-f...
package rslingo.rslil.ui.handlers; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.InputStream; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.xssf.usermodel.XSSFCellStyle; import org.apache.poi.xssf.usermodel.XSSFCreationHelper; import org.apache.poi...
package com.taobao.zeus.schedule.mvc; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashSet; import java.util.Map; import java.util.Map.Entry; import org.apache.log4j.LogManager; import org.apache.log4j.Logger; import org.quartz.CronTrigger; import org.quart...
package org.securegraph.test; import org.apache.commons.io.IOUtils; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import org.securegraph.*; import org.securegraph.mutation.ElementMutation; import org.securegraph.property.Propert...
package com.google.musicanalysis.site; import com.google.musicanalysis.util.Secrets; import com.google.musicanalysis.util.URLEncodedBuilder; import com.google.gson.JsonParser; import com.google.musicanalysis.util.URLEncodedBuilder; import java.io.IOException; import java.net.URI; import java.net.http.HttpClient; import...
package io.spine.server.rejection; import com.google.protobuf.StringValue; import io.spine.base.Error; import io.spine.core.Ack; import io.spine.core.Rejection; import io.spine.core.RejectionClass; import io.spine.core.RejectionEnvelope; import io.spine.grpc.MemoizingObserver; import io.spine.server.delivery.Consumers;...
package org.oskari.cache; import fi.nls.oskari.cache.JedisManager; import fi.nls.oskari.log.LogFactory; import fi.nls.oskari.log.Logger; import fi.nls.oskari.util.OskariRuntimeException; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisPubSub; import java.util.*; import java.util.concurrent.ExecutorSer...
package org.slc.sli.manager; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.SortedSet; import java.util.TreeSet; import org.slf4j.Logger; import...
/** * @author dgeorge * * $Id: UserManagerImpl.java,v 1.33 2009-05-28 18:47:31 pandyas Exp $ * * $Log: not supported by cvs2svn $ * Revision 1.32 2008/06/18 17:53:31 pandyas * Removed commented out lines needed for authentication * * Revision 1.31 2008/05/21 19:03:56 pandyas * Modified advanced search to ...
package com.intellij.codeInsight.daemon; import com.intellij.codeInsight.daemon.impl.analysis.HighlightingSettingsPerFile; import com.intellij.codeInspection.ex.InspectionProfileImpl; import com.intellij.codeInspection.ex.InspectionProfileManager; import com.intellij.openapi.application.ApplicationManager; import com.i...
package net.sourceforge.texlipse.editor; import net.sourceforge.texlipse.actions.TexInsertMathSymbolAction; import net.sourceforge.texlipse.model.TexCommandContainer; import net.sourceforge.texlipse.model.TexCommandEntry; import org.eclipse.jface.action.IMenuManager; import org.eclipse.jface.action.MenuManager; import ...
package com.example.bot.spring; import java.io.IOException; import java.io.OutputStream; import java.io.UncheckedIOException; import java.nio.file.Files; import java.nio.file.Path; import java.time.LocalDateTime; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.UUID; import...
package iotcore.service.device.binding; import java.util.Optional; import org.apache.qpid.proton.message.Message; import org.apache.qpid.proton.message.impl.MessageImpl; import io.vertx.core.Vertx; import io.vertx.proton.ProtonClient; import io.vertx.proton.ProtonConnection; import io.vertx.proton.ProtonSender; import ...
package org.sagebionetworks.repo.web.controller; import javax.servlet.http.HttpServletRequest; import org.sagebionetworks.repo.model.AuthorizationConstants; import org.sagebionetworks.repo.model.DatastoreException; import org.sagebionetworks.repo.model.QueryResults; import org.sagebionetworks.repo.model.ServiceConstant...
package reignierOfDKE; import reignierOfDKE.C.MapComplexity; import battlecode.common.Direction; import battlecode.common.GameActionException; import battlecode.common.MapLocation; import battlecode.common.RobotController; import battlecode.common.TerrainTile; public class Core extends Soldier { public static final...
// copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // persons to whom the Software is furnished to do so, subject to the // notice shall be included in all copies o...
package components.model; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ArrayNode; import com.fasterxml.jackson.databind.node.ObjectNode; import models.Application; import models.ApplicationComponent; import models.Communication; import org.jgrapht.alg.CycleDetector; import ...
package ed.util; import java.io.File; import org.testng.annotations.Test; import ed.js.JSFunction; import ed.js.func.JSFunctionCalls0; import ed.util.ScriptTestInstance; import ed.js.engine.Scope; import ed.js.Shell; import ed.MyAsserts; import ed.appserver.JSFileLibrary; /** * Dynamic test instance for testing any 10...
package _0_ordering; import org.hamcrest.Description; import org.hamcrest.Matcher; import org.hamcrest.TypeSafeMatcher; import org.junit.Test; import java.util.ArrayList; import java.util.Comparator; import java.util.List; import java.util.stream.IntStream; import static java.util.stream.Collectors.toList; import stati...
package com.whd.test; import com.whd.Util; import com.whd.WhdAuth; import com.whd.WhdException; import org.junit.Test; public class AuthUnitTest { /* @Test public void testAuthenticatePassword() throws WhdException { WhdAuth auth = new WhdAuth(TestDetails.whdUri, Util.WhdAuthType.PASSWORD, TestDetai...
package gov.adlnet.xapi; import java.io.IOException; import java.net.URI; import java.net.URL; import java.util.HashMap; import java.util.UUID; import com.google.gson.*; import gov.adlnet.xapi.client.AgentClient; import gov.adlnet.xapi.model.Account; import gov.adlnet.xapi.model.Agent; import gov.adlnet.xapi.model.Agen...
package org.agmip.dome; import java.io.File; import java.net.URL; import java.util.ArrayList; import java.util.HashMap; import java.util.Scanner; import org.agmip.ace.AcePathfinder; import org.agmip.ace.util.AcePathfinderUtil; import org.agmip.util.JSONAdapter; import org.agmip.util.MapUtil; import org.junit.After; imp...
package se.hiflyer.fettle; import com.google.common.collect.Lists; import org.junit.Test; import se.hiflyer.fettle.builder.StateMachineBuilder; import se.hiflyer.fettle.util.GuavaReplacement; import java.util.List; import static org.junit.Assert.assertEquals; public class Example { @Test public void usingBuilde...
package ca.corefacility.bioinformatics.irida.ria.web.clients.dto; import ca.corefacility.bioinformatics.irida.ria.web.models.tables.TableRequest; /** * UI request for client details for the clients table. * Required to overwrite the default setSortColumn since * @link ca.corefacility.bioinformatics.irida.model.Irida...
package com.aldebaran.qi; import java.util.concurrent.CancellationException; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; /** * Future extends the standard Java {@link java.util.concurrent.Future} and represents the result of * an ...
package com.alekseyzhelo.evilislands.mobplugin.script.codeInsight; import com.alekseyzhelo.evilislands.mobplugin.script.codeInsight.fixes.ChangeLvalueTypeFix; import com.alekseyzhelo.evilislands.mobplugin.script.codeInsight.fixes.DeclareScriptFix; import com.alekseyzhelo.evilislands.mobplugin.script.codeInsight.fixes.I...
package com.fincatto.documentofiscal.nfe400.webservices.gerado; import org.apache.axis2.client.Stub; import javax.xml.namespace.QName; import javax.xml.stream.XMLStreamReader; public class NFeInutilizacao4Stub extends org.apache.axis2.client.Stub { private static int counter = 0; protected org.apache.axis2.desc...
package com.netflix.simianarmy.aws.janitor.crawler.edda; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.collect.Sets; import com.netflix.simianarmy.Resource; import com.netflix.simianarmy.aws.AWSResource; import com.netflix.simianarmy.aws.AWSResourceType; import ...
package com.phylogeny.extrabitmanipulation.config; import java.io.File; import java.util.Arrays; import org.apache.commons.lang3.StringUtils; import net.minecraft.block.Block; import net.minecraft.item.Item; import net.minecraftforge.common.config.Configuration; import net.minecraftforge.common.config.Property; import ...
package com.sri.ai.grinder.sgdpllt.interpreter; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Random; import com.sri.ai.expresso.api.Expression; import com.sri.ai.grinder.helper.AssignmentsSamplingIterator; import com.sri.ai.grinder.sgdpllt.api.Context; import com.sri.ai.grind...
package rhogenwizard; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.InputStream; import java.util.StringTokenizer; import org.eclipse.core.resources.IProject; import org.eclipse.ui.console.MessageConsoleStream; import rhogenwizard.buildfile.AppYmlFile; class A...
package io.github.mzmine.modules.io.import_rawdata_waters_raw; import com.google.common.base.Strings; import io.github.mzmine.datamodel.MZmineProject; import io.github.mzmine.datamodel.RawDataFile; import io.github.mzmine.main.MZmineCore; import io.github.mzmine.modules.MZmineModuleCategory; import io.github.mzmine.mod...
package mod._sw; import com.sun.star.beans.NamedValue; import util.DBTools; import util.utils; import com.sun.star.beans.PropertyVetoException; import com.sun.star.beans.UnknownPropertyException; import com.sun.star.beans.XPropertySet; import com.sun.star.container.NoSuchElementException; import com.sun.star.container....
package org.openlmis.referencedata.web.csv.recordhandler; import org.openlmis.referencedata.domain.BaseEntity; import org.openlmis.referencedata.dto.BaseDto; /** * AbstractPersistenceHandler is a base class used for persisting each record of the uploaded file. */ public abstract class AbstractPersistenceHandler<M ext...
package org.projectspinoza.twitterswissarmyknife.command; import java.io.FileWriter; import java.io.IOException; import org.projectspinoza.twitterswissarmyknife.util.TsakResponse; import twitter4j.AccountSettings; import twitter4j.Twitter; import twitter4j.TwitterException; import com.beust.jcommander.Parameters; impor...
package org.sagebionetworks.web.client.widget.entity; import java.util.ArrayList; import java.util.List; import org.sagebionetworks.repo.model.AccessRequirement; import org.sagebionetworks.repo.model.TermsOfUseAccessRequirement; import org.sagebionetworks.schema.adapter.JSONObjectAdapter; import org.sagebionetworks.web...
package uk.co.eluinhost.ultrahardcore.features.hardcorehearts; import com.comphenix.protocol.PacketType; import com.comphenix.protocol.ProtocolLibrary; import com.comphenix.protocol.ProtocolManager; import com.comphenix.protocol.events.ListenerPriority; import com.comphenix.protocol.events.PacketAdapter; import com.com...
package railo.runtime.op; import java.awt.image.BufferedImage; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.Reader; import java.io.Serial...
package org.broadinstitute.hellbender.engine; import org.broadinstitute.hellbender.CommandLineProgramTest; import org.broadinstitute.hellbender.tools.walkers.variantutils.SelectVariants; import org.broadinstitute.hellbender.utils.SimpleInterval; import org.broadinstitute.hellbender.utils.test.IntegrationTestSpec; impor...
package com.splicemachine.derby.test.framework; import java.sql.Connection; import java.sql.ResultSet; import java.sql.Statement; import org.apache.commons.dbutils.DbUtils; import org.apache.log4j.Logger; import org.junit.rules.TestWatcher; import org.junit.runner.Description; public class SpliceSchemaWatcher extends T...
package org.openlmis.functional; import org.openlmis.UiUtils.HttpClient; import org.openlmis.UiUtils.ResponseEntity; import org.openlmis.restapi.domain.Report; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import java.io.IOException; import ja...
package nl.mvdr.tinustris.controller; import javafx.application.Application; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.scene.Node; import javafx.scene.control.RadioButton; import javafx.scene.control.Toggle; import javafx.stage.Stage; import lombok.extern.slf4j.Slf4j; import nl.mvdr.tinust...
package de.danielnaber.languagetool.rules; import java.util.ArrayList; import java.util.List; import java.util.ResourceBundle; import java.util.regex.Pattern; import de.danielnaber.languagetool.AnalyzedSentence; import de.danielnaber.languagetool.AnalyzedTokenReadings; import de.danielnaber.languagetool.Language; impor...
package info.bitrich.xchangestream.serum; import static info.bitrich.xchangestream.serum.SerumEventType.subscribe; import static info.bitrich.xchangestream.serum.SerumEventType.unknown; import static info.bitrich.xchangestream.serum.SerumEventType.unsubscribe; import com.fasterxml.jackson.databind.JsonNode; import com....
package de.fu_berlin.cdv.chasingpictures.location; import android.content.Context; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import java.util.HashMap; import ...
package co.com.sura.webTest; import java.util.List; import org.jbehave.core.configuration.Configuration; import org.jbehave.core.io.CodeLocations; import org.jbehave.core.io.LoadFromClasspath; import org.jbehave.core.io.StoryFinder; import org.jbehave.core.junit.JUnitStories; import org.jbehave.core.reporters.Format; i...
package WTSpec4M.presentation; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Date; import java.util.EventObject; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedHashMap; import j...
package WTSpec4M.presentation; import java.io.IOException; import java.io.InputStream; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Date; import java.util.EventObject; import java.util.HashMap; import java.util.Iterator; impor...
package org.jgrapes.net; import java.io.IOException; import java.lang.management.ManagementFactory; import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.nio.channels.SelectionKey; import java.nio.channels.ServerSocketChannel; import java.nio.channels.SocketChannel; import java.util.ArrayDeque; imp...
package net.i2p.router.admin; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream; import java.io.PrintWriter; import java.text.DecimalFormat; import java.util.Arrays; import java.util.Iterator; import java.util.Map; import java.util.Set; import net.i2p.data.DataHelper; import ...
package com.delormeloic.generator.view.slidesforms; import com.delormeloic.generator.model.slides.SlideWithTitle; import com.delormeloic.generator.view.converters.FontStringConverter; import com.delormeloic.generator.view.helpers.FontsHelper; import com.delormeloic.generator.view.helpers.GridPaneHelper; import com.delo...
package com.jaquadro.minecraft.storagedrawers.config; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; import java.util.ArrayList; import java.util.List; public class CompTierRegistry { public class Record { public ItemStack upper; public ItemSt...
package com.subgraph.orchid.directory.consensus; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.logging.Logger; import com.subgraph.orchid.ConsensusDocument; import com.subg...
package com.vswamy.hackerranksolutions.problems.warmup; import java.util.Scanner; import com.vswamy.hackerranksolutions.interfaces.Problem; public class HalloweenParty implements Problem { @Override public void run() { Scanner scanner = new Scanner(System.in); int numberOfTestCases = scanner...
package org.jivesoftware.spark.ui.conferences; import org.jivesoftware.resource.Res; import org.jivesoftware.resource.SparkRes; import org.jivesoftware.smack.XMPPConnection; import org.jivesoftware.smack.XMPPException; import org.jivesoftware.smack.packet.Message; import org.jivesoftware.smack.packet.Presence; import o...
package com.emc.ecs.managementClient; import java.util.List; import java.util.NoSuchElementException; import java.util.Optional; import javax.ws.rs.core.Response; import javax.ws.rs.core.UriBuilder; import com.emc.ecs.managementClient.model.DataServiceReplicationGroup; import com.emc.ecs.managementClient.model.DataServ...
package com.gaocy.sample.service.impl; import com.alibaba.fastjson.JSON; import com.gaocy.sample.model.GuaziModel; import com.gaocy.sample.spider.SpiderBase; import com.gaocy.sample.spider.SpiderEnum; import com.gaocy.sample.util.HttpClientUtil; import com.gaocy.sample.vo.CarVo; import com.gaocy.sample.vo.ModelVo; impo...
package com.imaginarycode.minecraft.redisbungee; import com.google.common.base.Joiner; import com.google.common.collect.*; import net.md_5.bungee.api.ChatColor; import net.md_5.bungee.api.CommandSender; import net.md_5.bungee.api.ServerPing; import net.md_5.bungee.api.config.ServerInfo; import net.md_5.bungee.api.conne...
package com.springsource.greenhouse.signup; import javax.inject.Inject; import javax.servlet.http.HttpServletRequest; import javax.validation.Valid; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.security.authentication.Authen...
package edu.mayo.hadoop.commons.minicluster; import com.github.sakserv.minicluster.config.ConfigVars; import com.github.sakserv.minicluster.impl.HbaseLocalCluster; import com.github.sakserv.minicluster.impl.HdfsLocalCluster; import com.github.sakserv.minicluster.impl.YarnLocalCluster; import com.github.sakserv.miniclus...
package gl8080.lifegame.web.resource; import java.net.URI; import javax.enterprise.context.ApplicationScoped; import javax.inject.Inject; import javax.ws.rs.Consumes; import javax.ws.rs.DELETE; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.PUT; import javax.ws.rs.Path; import javax.ws.rs.PathParam...
package i5.las2peer.webConnector; import i5.las2peer.execution.ServiceInvocationException; import i5.las2peer.p2p.AgentAlreadyRegisteredException; import i5.las2peer.p2p.AgentNotKnownException; import i5.las2peer.p2p.AliasNotFoundException; import i5.las2peer.p2p.Node; import i5.las2peer.p2p.ServiceAliasManager.AliasRe...
package io.github.aquerr.eaglefactions.commands; import com.google.common.collect.Lists; import io.github.aquerr.eaglefactions.EagleFactions; import org.spongepowered.api.Sponge; import org.spongepowered.api.command.CommandException; import org.spongepowered.api.command.CommandResult; import org.spongepowered.api.comma...
package io.katharsis.jackson.serializer; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.JsonSerializer; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.SerializerProvider; import com.f...
package nl.topicus.jdbc.transaction; import java.sql.SQLException; import java.sql.Savepoint; import java.util.List; import com.google.cloud.Timestamp; import com.google.cloud.spanner.BatchClient; import com.google.cloud.spanner.BatchReadOnlyTransaction; import com.google.cloud.spanner.BatchTransactionId; import com.go...
package org.asciidoc.intellij.editor.javafx; import com.intellij.ide.BrowserUtil; import com.intellij.ide.IdeEventQueue; import com.intellij.ide.actions.OpenFileAction; import com.intellij.ide.projectView.ProjectView; import com.intellij.ide.projectView.impl.ProjectViewPane; import com.intellij.notification.Notificatio...
package org.atdl4j.ui.javafx.app.impl; import java.util.ArrayList; import java.util.List; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.geometry.Insets; import javafx.scene.Node; import javafx.scene.control.ComboBox; import javafx.scene.control.Label; import javafx.s...
package org.cruk.mga.workflow; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.List; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.CommandLineParser; import org.apache.commons.cli...
/** * Implementation of a Traffic Shaping Handler and Dynamic Statistics.<br> * <br><br> * * * <P>The main goal of this package is to allow to shape the traffic (bandwidth limitation), * but also to get statistics on how many bytes are read or written. Both functions can * be active or inactive (traffic or stati...
package org.jnosql.diana.api.column.query; import org.jnosql.diana.api.column.ColumnCondition; import org.jnosql.diana.api.column.ColumnDeleteQuery; /** * The Column Where whose define the condition in the delete query. */ public interface ColumnDeleteWhere { /** * Appends a new condition in the select using...
package org.sample.patron.demo.tasks; import java.io.File; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.Scanner; import javax.ws.rs.client.Client; import javax.ws.rs.client.ClientBui...
package org.spongepowered.mod.mixin.core.entity; import net.minecraft.entity.Entity; import net.minecraftforge.common.util.ITeleporter; import org.spongepowered.api.event.entity.MoveEntityEvent; import org.spongepowered.api.util.annotation.NonnullByDefault; import org.spongepowered.asm.mixin.Mixin; import org.spongepow...
package org.supercsv.ext.builder; import java.lang.annotation.Annotation; import java.math.BigDecimal; import java.math.BigInteger; import java.text.DecimalFormat; import java.text.DecimalFormatSymbols; import java.text.NumberFormat; import java.text.ParseException; import java.util.Currency; import java.util.Locale; i...
package org.voltdb.exportclient; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.charset.StandardCharsets; import java.util.LinkedList; import java.util.List; import java.util.Properties; import java.util.Queue; import java.util.TimeZone; import java.util.concurrent.TimeUnit; import org.voltcore...
package ratpack.zipkin.internal; import brave.Span; import brave.Tracer; import brave.Tracing; import brave.http.HttpServerHandler; import brave.http.HttpTracing; import brave.propagation.TraceContext; import javax.inject.Inject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import ratpack.handling.Context; ...
package ru.VirtaMarketAnalyzer.ml.js; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import weka.classifiers.functions.LinearRegression; import weka.core.Instances; import weka.core.Utils; import static ru.VirtaMarketAnalyzer.ml.js.ClassifierToJs.getPrivateFieldValue; public final class LinearRegressionToJson...
package uk.ac.ebi.ddi.similarityCalculator; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import uk.ac.ebi.ddi.annotation.utils.Constants; import uk.ac.ebi.ddi.ebe.ws.dao.client.dataset.DatasetWsClie...
package org.csstudio.swt.xygraph.figures; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import org.csstudio.swt.xygraph.linearscale.Range; import org.csstudio.swt.xygraph.linearscale.AbstractScale.LabelSide; import org.csstudio.swt.xygraph.linearscale.LinearSca...
// obtaining a copy of this software and associated documentation / // files (the "Software"), to deal in the Software without / // restriction, including without limitation the rights to use, / // sell copies of the Software, and to permit persons to whom the ...
package com.exedio.cope.util; import java.io.File; import java.util.Collection; import javax.servlet.Filter; import javax.servlet.FilterConfig; import javax.servlet.Servlet; import javax.servlet.ServletConfig; import javax.servlet.ServletContext; import javax.servlet.ServletException; import com.exedio.cope.Cope; impor...
package pacman.modele; import pacman.carte.Labyrinthe; public class Modele { protected Labyrinthe laby; public Modele(Labyrinthe laby){ this.laby=laby; } public boolean murADroite(){ return (laby.getPacman().getLargeur()==laby.getLargeur()-1); } public boolean murAGauche(){ ...
package org.crunchytorch.coddy.application.exception.handler.impl; import org.crunchytorch.coddy.application.data.Response; import org.crunchytorch.coddy.application.exception.handler.IExceptionHandler; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.core.Ordered; import org.springfr...
package org.ovirt.engine.core.vdsbroker; import java.io.File; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; import java.util....
package org.intermine.bio.dataconversion; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import org.apache.c...
package org.commcare.adapters; import android.content.Context; import android.database.DataSetObserver; import android.graphics.Bitmap; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.LinearLayou...
package uk.co.uwcs.choob.modules; import java.util.*; /** Some functions to help with time and date manipulation. */ public final class DateModule { /** * Units of time used in these functions. */ private static enum TimeUnit { WEEK("w", 7 * 24 * 60 * 60 * 1000), DAY("d", 24 * 60 * 60 ...
package net.bytebuddy.dynamic.scaffold; import net.bytebuddy.description.method.MethodDescription; import net.bytebuddy.description.type.TypeDescription; import net.bytebuddy.test.utility.ObjectPropertyAssertion; import org.junit.Test; import static net.bytebuddy.matcher.ElementMatchers.*; import static org.hamcrest.Co...
package com.github.sormuras.bach.workflow; import com.github.sormuras.bach.Bach; import com.github.sormuras.bach.api.CodeSpace; import com.github.sormuras.bach.internal.Paths; import com.github.sormuras.bach.tool.JLinkCall; import java.nio.file.Path; import java.util.List; public class GenerateImageWorkflow extends Bac...
package org.zstack.zql.ast; import org.apache.commons.lang.StringUtils; import org.zstack.core.db.EntityMetadata; import org.zstack.header.core.StaticInit; import org.zstack.header.exception.CloudRuntimeException; import org.zstack.header.query.*; import org.zstack.header.rest.APINoSee; import org.zstack.header.search....
package com.redhat.ceylon.compiler.java; import java.util.Arrays; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Set; import ceylon.language.ArraySequence; import ceylon.language.AssertionException; import ceylon.language.Callable; import ceylon.language.Integer; import c...
package cucumber.eclipse.editor.steps.jdt; import java.util.Arrays; import java.util.LinkedHashSet; import java.util.Set; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IProject; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IProgressMonitor; import org.eclip...
package com.exedio.cope; import java.util.Arrays; import java.util.Collections; import java.util.Iterator; import java.util.List; import com.exedio.dsmf.Table; public final class UniqueConstraint extends Feature { private final FunctionField<?>[] attributes; private final List<FunctionField<?>> attributeList; ...
package quantumworks.droidPluginGen.pluginGen.android; import android.os.Bundle; import android.app.Activity; import android.view.Menu; public class ProjectMainView extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentVie...
package cyclops.streams.syncflux; import com.oath.cyclops.ReactiveConvertableSequence; import cyclops.companion.Streams; import cyclops.companion.reactor.Fluxs; import cyclops.control.Maybe; import cyclops.control.Option; import cyclops.data.Vector; import cyclops.data.tuple.Tuple2; import cyclops.data.tuple.Tuple3; im...