answer
stringlengths
17
10.2M
package com.InfinityRaider.AgriCraft.api.v1; public interface ISeedStats { /** * @return The growth value of the seed. */ short getGrowth(); /** * @return The gain value of the seed. */ short getGain(); /** * @return The strength value of the seed. */ short getStren...
package org.jetel.util.file; import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import jav...
package org.sagebionetworks.web.client.widget.accessrequirements; import static org.sagebionetworks.web.client.ServiceEntryPointUtils.fixServiceEntryPoint; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.gwtbootstrap3.client.ui.constants.ButtonSize; import o...
package com.adonis.ui.renta.calendar; import com.adonis.data.renta.RentaHistory; import com.adonis.data.service.PersonService; import com.adonis.data.service.RentaHistoryService; import com.adonis.data.service.VehicleService; import com.adonis.utils.GeoService; import com.vaadin.navigator.View; import com.vaadin.naviga...
package com.allforfunmc.writeStone; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.Scanner; import com.allforfunmc.allforfuncore.Core; import com.allforfunmc.allforfuncore.Debug;...
package net.somethingdreadful.MAL; import android.app.DialogFragment; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.res.Resources; import android.net.Uri; import android.nfc.NdefMessage; import android.nfc.NdefRecord; import android.nfc.NfcAdap...
package com.pojosontheweb.selenium; import java.util.*; import com.google.common.base.Function; import com.google.common.base.Functions; import com.google.common.base.Predicate; import org.openqa.selenium.*; import org.openqa.selenium.support.ui.WebDriverWait; /** * Utility for accessing Selenium DOM safely, wait-styl...
package com.alorma.github.sdk.bean.dto.response; import android.os.Parcel; import android.os.Parcelable; public class ShaUrl implements Parcelable { private static final int MAX_SHA_LENGHT = 8; public String sha; public String url; public String html_url; public ShaUrl() { } protected ShaUrl(Parcel in) { ...
package net.somethingdreadful.MAL.api; import java.util.List; import net.somethingdreadful.MAL.PrefManager; import net.somethingdreadful.MAL.api.response.Anime; import net.somethingdreadful.MAL.api.response.AnimeList; import net.somethingdreadful.MAL.api.response.Manga; import net.somethingdreadful.MAL.api.response.Man...
package de.otto.jlineup.config; import com.fasterxml.jackson.annotation.JsonAlias; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.gson.Gso...
package com.archiwise.experiment.cspsudoku.domein; import java.util.Arrays; import java.util.List; public class Cell { private List<Integer> possibleValues = Arrays.asList(1,2,3,4,5,6); public List<Integer> getPossibleValues() { return possibleValues; } public int getNumberOfPossibleValues() { ...
package io.bitsquare.locale; import io.bitsquare.user.Preferences; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.*; import java.util.stream.Collectors; public class CurrencyUtil { private static final Logger log = LoggerFactory.getLogger(CurrencyUtil.class); private static final List...
package com.carpentersblocks.util.handler; import net.minecraft.block.Block; import net.minecraft.client.Minecraft; import net.minecraft.client.audio.PositionedSoundRecord; import net.minecraft.entity.Entity; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayerMP; import net....
package io.bitsquare.locale; import io.bitsquare.user.Preferences; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.*; import java.util.stream.Collectors; public class CurrencyUtil { private static final Logger log = LoggerFactory.getLogger(CurrencyUtil.class); private static final List...
package treesimple.binarytree; import static java.lang.Math.max; public class TreeNode<E> { private static int size(TreeNode root) { if (root == null) { return 0; } return 1 + size(root.left) + size(root.right); } private static boolean isLeaf(TreeNode n) { return...
package org.helioviewer.jhv.plugins.swhvhekplugin; import java.awt.Color; import java.awt.Component; import java.awt.Graphics; import java.awt.image.BufferedImage; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import javax.swing.ImageIcon; import org.helioviewer.bas...
package org.bouncycastle.math.ec; import java.math.BigInteger; /** * base class for points on elliptic curves. */ public abstract class ECPoint { protected static ECFieldElement[] EMPTY_ZS = new ECFieldElement[0]; protected static ECFieldElement[] getInitialZCoords(ECCurve curve) { // Cope with nu...
package me.atam.atam4j; import me.atam.atam4jdomain.IndividualTestResult; import me.atam.atam4jdomain.TestsRunResult; import org.junit.runner.Description; import org.junit.runner.Result; import org.junit.runner.notification.Failure; import org.junit.runner.notification.RunListener; import java.util.HashMap; import java...
package org.javarosa.core.io; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; public class StreamsUtil { public static byte[] getStreamAsBytes(InputStream is) { ByteArrayOutputStream baos = new ByteArrayOutputStream(); try { ...
package com.devcru.journowatch.api.daoimpl; import com.devcru.journowatch.api.dao.UserDao; import com.devcru.journowatch.api.objects.User; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.dao.DataAccessException; imp...
package com.elmakers.mine.bukkit.magic; import java.io.File; import java.io.InputStream; import java.lang.ref.WeakReference; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.net.URL; import java.security.CodeSource; import java.util.*; import java.util.Map.Entry; import java.util.logging.Lev...
package io.spine.validate; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableSet; import com.google.common.collect.UnmodifiableIterator; import com.google.protobuf.Descriptors.FieldDescriptor; import com.google.protobuf.Message; import io.spine.base.FieldPath; import io.spine.cod...
package com.grayben.riskExtractor.htmlScorer.nodeVisitor; import com.grayben.riskExtractor.htmlScorer.ScoredText; import com.grayben.riskExtractor.htmlScorer.ScoredTextElement; import com.grayben.riskExtractor.htmlScorer.ScoringAndFlatteningNodeVisitor; import com.grayben.riskExtractor.htmlScorer.partScorers.Scorer; im...
package endtoend.java.infer; import static org.hamcrest.MatcherAssert.assertThat; import static utils.matchers.ResultContainsExactly.containsExactly; import org.junit.BeforeClass; import org.junit.Test; import java.io.IOException; import utils.InferException; import utils.InferResults; public class DivideByZeroTest { ...
package no.priv.garshol.duke; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.Iterator; import java.util.List; import java.util.concurrent.CopyOnWriteArrayList; import java.io.Writer; import java.io.PrintWriter; import java.util.concur...
package voogasalad_GucciGames.gameplayer.windows.mainwindow.map.cell.contents; import java.util.List; public interface PlayerMapObjectInterface { public List<String> getAttributes(); //i.e. HP=100, Owning Player=1, ... public String getImageUrl(); }
package org.exist.webdav; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.URISyntaxException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Optional; import org.apache.common...
package finders; import java.text.DecimalFormat; import java.util.Collections; import java.util.Vector; import misc.Differentiate; import misc.PolyFunction; // y = ax^3 + bx^2 + cx + d // mgliche nullstellen 1-3 public class NewtonFinder implements FinderInterface { // precision/depth of recursive newton algorithm ...
package net.sf.farrago.syslib; import java.sql.PreparedStatement; import java.sql.SQLException; import java.sql.Timestamp; import java.util.Arrays; import java.util.List; import java.util.Properties; import net.sf.farrago.catalog.FarragoModelLoader; import net.sf.farrago.db.FarragoDatabase; import net.sf.farrago.db.Far...
package com.thinkaurelius.titan.diskstorage.persistit; import com.persistit.*; import com.persistit.exception.PersistitException; import com.persistit.exception.RollbackException; import com.thinkaurelius.titan.diskstorage.PermanentStorageException; import com.thinkaurelius.titan.diskstorage.StorageException; import co...
package foam.util; import java.util.regex.Pattern; import foam.core.FObject; /** Convenience methods for performing standard operations with null checks. **/ public class SafetyUtil { // TODO: reuse Patterns and thread-local matchers public static void assertPattern(String val, String patternStr, String argumentNam...
package com.exedio.cope.console; import java.io.File; import java.io.IOException; import java.io.PrintStream; import java.net.InetAddress; import java.net.UnknownHostException; import java.security.Principal; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http....
package com.github.cstroe.spendhawk.dto; import lombok.Data; import org.springframework.validation.annotation.Validated; import javax.validation.constraints.Min; import javax.validation.constraints.NotNull; import javax.validation.constraints.Pattern; import javax.validation.constraints.Size; @Validated @Data public cl...
package bingoserver.network; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; import java.util.logging.Level; import java.util.logging.Logger; /** * * @author 15096134 */ public class ClientReceiver { private final ServerSocket serverSock; private final ClientListener clientL...
package org.cohorte.composer.isolate.ipojo; import java.util.LinkedHashMap; import java.util.LinkedHashSet; import java.util.Map; import java.util.Map.Entry; import java.util.Properties; import java.util.Set; import org.apache.felix.ipojo.ComponentInstance; import org.apache.felix.ipojo.ConfigurationException; import o...
// package package org.mskcc.cbio.firehose; // imports import java.io.IOException; import java.text.ParseException; /** * Interface used to retrieve firehose data. */ public interface Fetcher { /** * Fetchers data from the Broad. * * @throws ParseException - improper date format * @throws IOEx...
package org.opens.tgol.presentation.factory; import java.util.*; import org.apache.commons.lang3.StringUtils; import org.apache.log4j.Logger; import org.opens.tanaguru.entity.audit.*; import org.opens.tanaguru.entity.factory.audit.ProcessResultFactory; import org.opens.tanaguru.entity.reference.Criterion; import org.op...
package com.github.lwhite1.tablesaw.util; import it.unimi.dsi.fastutil.ints.Int2ObjectMap; import it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap; import it.unimi.dsi.fastutil.ints.IntCollection; import it.unimi.dsi.fastutil.objects.Object2IntMap; import it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap; import java...
package ec327.caffiene; import android.content.Intent; import android.graphics.Color; import android.support.v4.content.ContextCompat; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.view.Window; import android.widget.CheckBox; import android.widget.Co...
package com.github.powerlibraries.io.builder; import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.DataInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.ObjectInputStream; import java.io.OutputStream; import java.io.Writer;...
// -*- mode:java; encoding:utf-8 -*- // vim:set fileencoding=utf-8: // @homepage@ package example; import java.awt.*; import java.awt.geom.AffineTransform; import java.awt.image.BufferedImage; import java.awt.image.BufferedImageOp; import java.awt.image.ByteLookupTable; import java.awt.image.LookupOp; import java.io.IO...
package imperialmetrico; import java.util.Scanner; class Medida { Double pe; Double jarda; Double milha; Double polegada; void Converte(double cm) { this.pe = cm * 2 * 2.53995; this.jarda = cm * 3 * 12 * 2.53995; this.milha = cm * 1760 * 3 * 12 * 2.53995; this.polegada = cm * 2...
package me.benjozork.onyx.screen; import java.util.ArrayList; import java.util.List; import me.benjozork.onyx.entity.Entity; import me.benjozork.onyx.entity.EntityPlayer; import me.benjozork.onyx.internal.ScreenManager; public class GameScreenManager { private static EntityPlayer player; private static List<Ent...
package com.justjournal.services; import com.justjournal.model.EntryStatistic; import com.justjournal.model.User; import com.justjournal.repository.EntryRepository; import com.justjournal.repository.EntryStatisticRepository; import io.reactivex.Maybe; import io.reactivex.Observable; import io.reactivex.ObservableSource...
package se.tfiskgul.mux2fs.mux; import static java.util.concurrent.TimeUnit.NANOSECONDS; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.Assert.fail; import static org.mockito.Matchers.any; import static org.mockito.Matchers.anyLong; import static org.mockito.Mockito.doThrow; import st...
package com.ljs.ifootballmanager.ai.selection; import com.google.common.base.Function; import com.google.common.collect.Ordering; import com.ljs.ifootballmanager.ai.Context; import com.ljs.ifootballmanager.ai.formation.Formation; import com.ljs.ifootballmanager.ai.player.Player; import com.ljs.ifootballmanager.ai.playe...
package com.loopperfect.buckaroo.sources; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Streams; import com.loopperfect.buckaroo.*; import com.loopperfect.buckaroo.Process; import com.loopperfe...
package com.lsnare.film.dao.impl; import com.lsnare.film.dao.FilmDAO; import com.lsnare.film.model.Film; import javax.sql.DataSource; import java.sql.*; import java.util.List; public class FilmDAOImplementation implements FilmDAO{ String error = ""; private DataSource dataSource; private Film film; publ...
package com.metaweb.gridworks.expr.util; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.Calendar; import java.util.GregorianCalendar; import java.util.TimeZone; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * Date parser state. */ class Pars...
package com.metroveu.metroveu.fragments; import android.database.Cursor; import android.graphics.Color; import android.graphics.Typeface; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v7.widget.CardView; import android.util.Log; import android.view.GestureDetector; import andr...
package com.mingzuozhibi.modules.admin; import com.mingzuozhibi.commons.base.BaseController; import com.mingzuozhibi.commons.mylog.JmsService; import com.mingzuozhibi.modules.disc.Disc; import com.mingzuozhibi.modules.disc.DiscRepository; import com.mingzuozhibi.modules.group.DiscGroupService; import com.mingzuozhibi.m...
package net.runelite.cache.util; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.PrintWriter; public class IDClass extends PrintWriter { private final Namer namer = new Namer(); private IDClass(File file) throws FileNotFoundException { super(file...
package org.basinmc.faucet.event; import edu.umd.cs.findbugs.annotations.NonNull; import java.util.function.Consumer; import org.basinmc.faucet.event.handler.EventHandler; /** * Provides an event management system which will automatically post events to all registered * services of type {@link EventHandler}. */ publ...
package com.peta2kuba.pa165_haunted_houses.entity; import java.util.List; import java.util.Objects; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.validation.constraints.NotNull...
package com.siemens.ct.exi.grammars; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.math.BigInteger; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Ma...
package com.auto.auto.service; import android.accessibilityservice.AccessibilityService; import android.accessibilityservice.AccessibilityServiceInfo; import android.annotation.TargetApi; import android.os.Build; import android.os.Bundle; import android.view.accessibility.AccessibilityEvent; import android.view.accessi...
package com.softwaremill.react.kafka; import kafka.serializer.*; import kafka.utils.VerifiableProperties; import scala.collection.JavaConverters; import scala.collection.immutable.HashMap; import java.util.Map; import java.util.Optional; /** * Builder class wrapping Consumer & Prooducer properties creation in Java AP...
package se.l4.crayon; import java.lang.annotation.Annotation; import java.lang.reflect.Method; import com.google.inject.AbstractModule; import com.google.inject.Binder; import com.google.inject.Key; import com.google.inject.MembersInjector; import com.google.inject.Module; import com.google.inject.Provider; import com....
package io.flutter; import com.intellij.openapi.application.ApplicationInfo; import com.intellij.openapi.ui.Messages; public class FlutterStudioInitializer implements Runnable { private static void reportVersionIncompatibility(ApplicationInfo info) { Messages.showErrorDialog("The Flutter plugin requires a more re...
package com.tacs.deathlist.service; import com.google.appengine.api.memcache.MemcacheService; import com.google.appengine.api.memcache.MemcacheServiceFactory; import com.restfb.Connection; import com.restfb.DefaultFacebookClient; import com.restfb.FacebookClient; import com.restfb.FacebookClient.AccessToken; import com...
package com.tradier.raven.logging; import static com.google.common.base.Preconditions.checkNotNull; import io.dropwizard.logging.AbstractAppenderFactory; import ch.qos.logback.classic.LoggerContext; import ch.qos.logback.classic.spi.ILoggingEvent; import ch.qos.logback.core.Appender; import ch.qos.logback.core.Layout; ...
package edu.wustl.catissuecore.action; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import edu....
package edu.wustl.catissuecore.domain; import java.io.Serializable; import java.util.ArrayList; import java.util.Collection; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import edu.wustl...
package crazypants.enderio.conduit; import javax.annotation.Nonnull; import com.enderio.core.common.util.ItemUtil; import crazypants.enderio.base.EnderIOTab; import crazypants.enderio.base.conduit.ConduitUtil; import crazypants.enderio.base.conduit.IConduit; import crazypants.enderio.base.conduit.IConduitBundle; import...
package org.labkey.wnprc_ehr; import org.apache.log4j.Logger; import org.json.JSONArray; import org.json.JSONObject; import org.labkey.api.data.CompareType; import org.labkey.api.data.Container; import org.labkey.api.data.ContainerManager; import org.labkey.api.data.TableInfo; import org.labkey.api.ehr.security.EHRSecu...
package de.berlin.hu.uima.ae.tagger.brics; import de.berlin.hu.chemspot.Mention; import de.berlin.hu.uima.ae.normalizer.Normalizer; import dk.brics.automaton.Automaton; import dk.brics.automaton.AutomatonMatcher; import dk.brics.automaton.RunAutomaton; import dk.brics.automaton.State; import dk.brics.automaton.StringUn...
package edu.tamu.di.SAFCreator; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.net.URI; import javax.swing.JTextArea; import org.apac...
package ee.pardiralli.controller; import ee.pardiralli.dto.CounterDTO; import ee.pardiralli.service.CounterService; import lombok.AllArgsConstructor; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.CrossOrigin; import org.springframework.web.bind.annotation....
package gate.plugin.learningframework; import java.util.List; import org.apache.log4j.Logger; import gate.AnnotationSet; import gate.Controller; import gate.Document; import gate.creole.metadata.CreoleParameter; import gate.creole.metadata.CreoleResource; import gate.creole.metadata.Optional; import gate.creole.metadat...
package innovimax.mixthem.operation; import innovimax.mixthem.MixException; import innovimax.mixthem.arguments.ParamValue; import innovimax.mixthem.arguments.RuleParam; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.stream.Collectors; /** * <p>Joins ...
package io.ebean.querybean.generator; import io.ebean.annotation.DbArray; import io.ebean.annotation.DbJson; import io.ebean.annotation.DbJsonB; import javax.annotation.processing.Filer; import javax.annotation.processing.Messager; import javax.annotation.processing.ProcessingEnvironment; import javax.lang.model.elemen...
package io.github.data4all.service; //import io.github.data4all.model.DevicePosition; import io.github.data4all.logger.Log; import io.github.data4all.model.DeviceOrientation; import android.app.Service; import android.content.Intent; import android.hardware.Sensor; import android.hardware.SensorEvent; import android.ha...
package io.polyglotted.eswrapper.services; import io.polyglotted.eswrapper.indexing.Alias; import io.polyglotted.eswrapper.indexing.IndexSetting; import io.polyglotted.eswrapper.indexing.TypeMapping; import lombok.RequiredArgsConstructor; import lombok.SneakyThrows; import org.elasticsearch.action.admin.cluster.health....
package it.near.sdk.Beacons.BeaconForest; import android.content.Context; import android.content.SharedPreferences; import android.util.Log; import com.android.volley.Response; import com.android.volley.VolleyError; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import org.altbeacon.beacon.Ident...
package edu.uci.ics.asterix.algebra.operators.physical; import java.util.ArrayList; import java.util.List; import edu.uci.ics.asterix.common.context.AsterixRuntimeComponentsProvider; import edu.uci.ics.asterix.common.dataflow.IAsterixApplicationContextInfo; import edu.uci.ics.asterix.metadata.MetadataException; import ...
package it.reply.orchestrator.service; import com.google.common.collect.Maps; import com.google.common.io.ByteStreams; import alien4cloud.component.repository.exception.CSARVersionAlreadyExistsException; import alien4cloud.exception.InvalidArgumentException; import alien4cloud.model.components.AbstractPropertyValue; im...
package core; import java.util.ArrayList; import constructs.Room; // Represents the player. public class Player extends WObject { private ArrayList<WObject> inventory; Room currentRoom; private int score; //constructors public Player() { super( "You", "An adventurous ...
package org.ovirt.engine.core.bll; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.ovirt.engine.core.bll.job.ExecutionHandler; import org.ovirt.engine.core.common.AuditLogType; import org.ovirt.engine.core.common.action.RunVmParams; import org.ovirt.engine.core.common.action....
package edu.pdx.cs410J.grader; import javax.mail.Message; import javax.mail.MessagingException; import javax.mail.Session; import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeMessage; import java.util.Properties; public class EmailSender { /** * The name of the SMTP server that is used to se...
package function; public class VoiceToText { private static final String[] SOURCE = { "", "", "", "", "", "", "", "", "", "" }; private static final String[] BASIC = { "", "", "", "" }; public static void main(String args[]) { // voiceToText("3596"); // voiceToText("3096"); ...
package org.ovirt.engine.core.common.businessentities; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.ovirt.engine.core.common.utils.ObjectUtils; import org.ovirt.engine.core.compat.Guid; /** * The snapshot represents a "frozen" point in time of a VM.<br> * <br> * The snapshot c...
package net.geforcemods.securitycraft.util; import java.util.Iterator; import java.util.List; import java.util.function.Supplier; import net.geforcemods.securitycraft.entity.SecurityCameraEntity; import net.minecraft.client.Minecraft; import net.minecraft.client.entity.player.AbstractClientPlayerEntity; import net.mine...
package dhbw.ka.mwi.businesshorizon2.tests.methods.timeseries; import org.junit.Test; import dhbw.ka.mwi.businesshorizon2.methods.timeseries.AnalysisTimeseries; import junit.framework.TestCase; /** * Diese Klasse testet die Implementierung der White Noise Berechnung * @author Philipp Nagel * */ public class TestWhi...
package gov.nih.nci.cabig.caaers.dao.query; import junit.framework.TestCase; /** * @author Biju Joseph */ public class PreExistingConditionQueryTest extends TestCase { public void testFilterByMeddraCode() throws Exception { PreExistingConditionQuery q = new PreExistingConditionQuery(); q.filterByM...
package se.chalmers.watchme.database; import java.util.ArrayList; import java.util.Calendar; import java.util.List; import android.content.ContentResolver; import android.content.ContentValues; import android.database.Cursor; import android.net.Uri; import se.chalmers.watchme.model.Movie; import se.chalmers.watchme.mod...
package net.q2ek.compileinfo.implementation; import java.io.IOException; import java.io.Writer; import javax.tools.FileObject; import net.q2ek.compileinfo.implementation.basics.Appender; import net.q2ek.compileinfo.implementation.basics.SourceCodeGeneratorFactory; class IOAppender implements Appender { private fina...
package ciir.jfoley.chai.string; import ciir.jfoley.chai.collections.list.IntList; import ciir.jfoley.chai.fn.TransformFn; import javax.annotation.Nonnull; import javax.annotation.Nullable; import java.text.Normalizer; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.regex.Pattern...
package som.interpreter.nodes; import som.vmobjects.SObject; import com.oracle.truffle.api.frame.VirtualFrame; import com.oracle.truffle.api.nodes.ExplodeLoop; public class ArgumentEvaluationNode extends SOMNode { @Children private final ExpressionNode[] arguments; public ArgumentEvaluationNode(final ExpressionNode...
package net.twasi.core.plugin; import org.apache.log4j.Level; public abstract class TwasiPluginConfiguration { public PluginLoggingConfiguration LOGGING = new PluginLoggingConfiguration(); public static class PluginLoggingConfiguration { public String PREFIX = null; public Level LEVEL = Level.IN...
package net.virtualinfinity.nio; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.ClosedChannelException; import java.nio.channels.SelectionKey; import java.nio.channels.SocketChannel; /** * @author <a href='mailto:Daniel@coloraura.com'>Daniel Pitts</a> */ public class SocketSelectionA...
package org.openecard.mobile.activation; import java.util.List; import org.openecard.robovm.annotations.FrameworkInterface; /** * * @author Neil Crossley */ @FrameworkInterface public interface ConfirmAttributeSelectionOperation { public void enter(List<SelectableItem> readItems, List<SelectableItem> writeItems)...
package com.dj.example; public class TryCatch { public static void main(String[] args) { int d, a, test[] = {1}; try { d = 1; a = 42 / d; System.out.println("This should be printed"); System.out.println(test[5]); System.out.println("This sh...
package jenkins.util; import net.sf.json.JSONObject; import org.kohsuke.accmod.Restricted; import org.kohsuke.accmod.restrictions.NoExternalUse; import javax.annotation.CheckForNull; import javax.annotation.Nonnull; import hudson.PluginWrapper; import java.util.logging.Logger; import java.util.Locale; import java.util....
package com.ensoftcorp.open.immutability.handlers; import java.io.File; import java.io.FileNotFoundException; import javax.xml.stream.XMLStreamException; import org.eclipse.core.commands.AbstractHandler; import org.eclipse.core.commands.ExecutionEvent; import org.eclipse.core.commands.ExecutionException; import org.ecl...
package com.algolia.search.saas; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.lang.reflect.Field; import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; import java.util.ArrayList; import...
package nz.ac.auckland.integration.testing; import nz.ac.auckland.integration.testing.predicate.MultiPredicate; import nz.ac.auckland.integration.testing.processor.MultiProcessor; import org.apache.camel.Predicate; import org.apache.camel.Processor; import org.apache.camel.util.URISupport; import org.slf4j.Logger; impo...
package com.speedment.common.injector.internal.util; import com.speedment.common.injector.MissingArgumentStrategy; import com.speedment.common.injector.State; import com.speedment.common.injector.annotation.Execute; import com.speedment.common.injector.annotation.ExecuteBefore; import org.junit.jupiter.api.Test; import...
package rhomobile; import java.io.IOException; import javax.microedition.io.HttpConnection; //import org.garret.perst.Storage; //import org.garret.perst.StorageFactory; import net.rim.device.api.browser.field.*; import net.rim.device.api.io.http.HttpHeaders; import net.rim.device.api.system.Application; import net.rim....
package org.mini2Dx.core.geom; import java.util.ArrayList; import java.util.List; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; import org.mini2Dx.core.engine.Parallelogram; import org.mini2Dx.core.engine.PositionChangeListener; import org.mini2Dx.core.engine.Positionable; imp...
package com.foundationdb.sql.pg; import static com.foundationdb.util.AssertUtils.assertCollectionEquals; import static com.foundationdb.util.FileTestUtils.printClickableFile; import static org.hamcrest.CoreMatchers.anyOf; import static org.hamcrest.CoreMatchers.instanceOf; import static org.hamcrest.CoreMatchers.not; i...