answer
stringlengths
17
10.2M
package in.co.nebulax.maestro; import in.co.nebulax.maestro.utils.ConnectionDetector; import android.app.ProgressDialog; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Toast; import com.actionbarsherlock.app.SherlockActivity; import com.parse.Parse; p...
package com.mygdx.handlers; import com.mygdx.entities.Enemy; import com.mygdx.entities.EnemyFactory; import com.mygdx.entities.Entity; import com.mygdx.entities.FastEnemy; import com.mygdx.entities.HeavyEnemy; import com.mygdx.entities.NormalEnemy; import com.mygdx.entities.Tower; import com.badlogic.gdx.graphics.Textu...
package de.mxro.maven.tools.deploy; import java.nio.file.Files; import java.nio.file.Path; import de.mxro.maven.tools.MavenRemoteRepository; import de.mxro.maven.tools.WriteHashes; import de.mxro.process.Spawn; public class MavenRsync { public static DeploymentParametersBuilder parameters() { return new Dep...
package de.schrell.slides; import java.awt.image.BufferedImage; import java.io.ByteArrayOutputStream; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintStream; import java.nio.file.DirectoryStream; import java.nio.file.Files; import java.nio.file.Path; import ja...
package org.lightmare.utils.reflect; import java.io.IOException; import java.lang.annotation.Annotation; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.ArrayLis...
package no.cantara.jau; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; import static org.testng.Assert.assertTrue; import static org.testng.Assert.assertFalse; import java.io.File; import j...
package org.eclipse.kapua.app.api.v1.resources; import java.lang.management.ClassLoadingMXBean; import javax.ws.rs.Consumes; import javax.ws.rs.DELETE; import javax.ws.rs.DefaultValue; 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; import ...
package com.jayway.android.robotium.core.impl; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import android.widget.*; import junit.framework.Assert; import android.app.Instrumentation; import android.os.SystemClock; import android.util.Log; import and...
package io.datawire.quark.netty; import io.datawire.quark.runtime.HTTPHandler; import io.datawire.quark.runtime.HTTPRequest; import io.datawire.quark.runtime.HTTPResponse; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.SimpleChannelInboundHandler; import io.netty.handler.codec.http.FullHttpRespo...
package org.jboss.stm; import junit.framework.TestCase; import org.jboss.stm.annotations.Transactional; import org.jboss.stm.annotations.ReadLock; import org.jboss.stm.annotations.WriteLock; import org.jboss.stm.internal.RecoverableContainer; import com.arjuna.ats.arjuna.AtomicAction; import java.util.concurrent.atomic...
package com.axelor.meta.schema.views; import java.math.BigDecimal; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.regex.Pattern; import javax.persistence.Query; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.a...
package io.quarkus.cli; import java.io.File; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter...
package com.axelor.meta.service; import static com.axelor.common.StringUtils.isBlank; import static com.axelor.meta.loader.ModuleManager.isInstalled; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedHashMap;...
package net.sf.acegisecurity.providers.dao.ldap; import javax.naming.NamingEnumeration; import javax.naming.NamingException; import javax.naming.directory.DirContext; import javax.naming.directory.SearchControls; import javax.naming.directory.SearchResult; import org.springframework.beans.factory.InitializingBean; /** ...
package sonata.kernel.placement; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.core.JsonFactory; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import com.fas...
package test.beast.evolution.likelihood; import beast.evolution.alignment.Alignment; import beast.evolution.alignment.CodonAlignment; import beast.evolution.alignment.Sequence; import beast.evolution.likelihood.TreeLikelihood; import beast.evolution.sitemodel.SiteModel; import beast.evolution.tree.Tree; import beast.li...
package org.cbioportal.service.impl; import org.cbioportal.model.ClinicalData; import org.cbioportal.model.Patient; import org.cbioportal.model.ClinicalDataCountItem.ClinicalDataType; import org.cbioportal.model.ClinicalDataCount; import org.cbioportal.model.ClinicalDataCountItem; import org.cbioportal.model.meta.BaseM...
package org.robolectric.shadows; import static android.os.Build.VERSION_CODES.KITKAT_WATCH; import static android.os.Build.VERSION_CODES.LOLLIPOP; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkState; import static org.robolectric.Shadows.shadowO...
package com.treasure_data.bulk_import; import java.util.Properties; import org.junit.Ignore; import org.junit.Test; import com.treasure_data.bulk_import.Configuration; public class TestMain { @Test @Ignore // TODO public void testPrepareParts01() throws Exception { Properties props = System.getPropertie...
package jnr.unixsocket; import java.io.File; import java.nio.file.Files; import java.util.regex.Pattern; import org.junit.Test; import org.junit.Assume; import static junit.framework.Assert.*; import jnr.ffi.Platform; import jnr.ffi.Platform.OS; public class UnixDatagramChannelTest { @Test public void testForUn...
package me.itszooti.geojson; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.equalTo; import static org.hamcrest.Matchers.instanceOf; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.junit.Before; import org.junit.Test; import com.google.gso...
package org.osiam.client.oauth; import static com.github.tomakehurst.wiremock.client.WireMock.aResponse; import static com.github.tomakehurst.wiremock.client.WireMock.post; import static com.github.tomakehurst.wiremock.client.WireMock.stubFor; import static com.github.tomakehurst.wiremock.client.WireMock.urlEqualTo; im...
package org.psjava.example; import junit.framework.Assert; import org.junit.Test; import org.psjava.algo.graph.shortestpath.BellmanFord; import org.psjava.algo.graph.shortestpath.Dijkstra; import org.psjava.algo.graph.shortestpath.SingleSourceShortestPathResult; import org.psjava.algo.graph.shortestpath.SingleSourceSho...
package org.vaadin.highcharts; import com.vaadin.annotations.VaadinServletConfiguration; import com.vaadin.event.FieldEvents; import com.vaadin.server.VaadinRequest; import com.vaadin.server.VaadinServlet; import com.vaadin.ui.HorizontalLayout; import com.vaadin.ui.UI; import org.vaadin.aceeditor.AceEditor; import org....
package tigase.server.xmppclient; import java.io.IOException; import java.util.Set; import java.util.TreeSet; import java.util.Arrays; import java.util.List; import java.util.LinkedList; import java.util.Map; import java.util.Queue; import java.util.TreeMap; import java.util.UUID; import java.util.concurrent.Concurrent...
package timeBench.data.io; import java.io.InputStream; import java.util.LinkedList; import java.util.TreeMap; import org.apache.log4j.Logger; import prefuse.data.Table; import prefuse.data.Tuple; import prefuse.data.io.DataIOException; import prefuse.data.io.TableReader; import prefuse.util.collections.IntIterator; imp...
package org.intermine.bio.dataconversion; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import j...
package br.com.twsoftware.alfred.object; import java.lang.reflect.Array; import java.lang.reflect.Field; import java.util.AbstractMap; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.List; import br.com.twsoftware.alfred.reflexao.Reflexao; import br.com.twsoftware.alfr...
package br.uff.ic.provviewer.Input; import br.uff.ic.provviewer.Attribute; import br.uff.ic.provviewer.Edge.Edge; import br.uff.ic.provviewer.GraphObject; import br.uff.ic.provviewer.Vertex.ActivityVertex; import br.uff.ic.provviewer.Vertex.AgentVertex; import br.uff.ic.provviewer.Vertex.EntityVertex; import br.uff.ic....
package org.aktin.broker.notify; //import javax.inject.Singleton; //import javax.ws.rs.GET; //import javax.ws.rs.Path; //import javax.ws.rs.Produces; //import javax.ws.rs.core.Context; //import javax.ws.rs.core.MediaType; //import javax.ws.rs.sse.SseEventSink; //import javax.ws.rs.sse.Sse; //import javax.ws.rs.sse.SseB...
package org.skyve.impl.metadata.repository; import java.awt.Color; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.List; import org.skyve.domain.Bean; import org.skyve.domain.ChildBean; import org.skyve.impl.bind.BindUtil; import org.skyve.impl.metadata.customer.CustomerImpl; import org.skyv...
package ca.mcgill.cs.creco.logic; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; import ca.mcgill.cs.creco.data.Attribute; import ca.mcgill.cs.creco.data.Product; import ca.mcgill....
public class ArgDocDynamicJavaLibrary { public String[] getKeywordNames() { return new String[] {"Java No Arg", "Java One Arg", "Java One or Two Args", "Java Many Args"}; } public Object runKeyword(String name, Object[] args) { System.out.println("Executed keyword " + name + " with arguments...
package cn.cerc.mis.excel.output; import java.io.ByteArrayOutputStream; import java.io.InputStream; import java.text.DecimalFormat; import java.util.Date; import java.util.List; import com.aliyun.oss.model.GeneratePresignedUrlRequest; import cn.cerc.db.core.DataSet; import cn.cerc.db.core.Datetime; import cn.cerc.db.co...
package gov.nih.nci.evs.browser.bean; import gov.nih.nci.evs.browser.properties.NCItBrowserProperties; import gov.nih.nci.evs.browser.utils.DataUtils; import gov.nih.nci.evs.browser.utils.SearchCart; import gov.nih.nci.evs.browser.utils.ExportCartXML; import java.util.Collection; import java.util.HashMap; import java.u...
package ru.job4j.chess; import ru.job4j.chess.figure.*; import ru.job4j.chess.exception.*; /** * Final task. Chess. */ public class Board { Figure figure; Figure bishop1 = new Bishop(new Cell(2, 1)); Figure bishop2 = new Bishop(new Cell(4, 3)); Figure bishop3 = new Bishop(new Cell(3, 8)); Figure[]...
package javafx; import freeseawind.ninepatch.javafx.FxNinePatch; import javafx.application.Application; import javafx.scene.Group; import javafx.scene.Scene; import javafx.scene.canvas.Canvas; import javafx.scene.canvas.GraphicsContext; import javafx.scene.image.Image; import javafx.stage.Stage; /** * * @author walla...
package gov.nih.nci.evs.browser.bean; import gov.nih.nci.evs.browser.utils.RemoteServerUtil; import gov.nih.nci.evs.browser.utils.DataUtils; import gov.nih.nci.evs.browser.utils.SearchCart; import gov.nih.nci.evs.browser.utils.SortUtils; import java.io.InputStream; import java.util.ArrayList; import java.util.Collectio...
package com.peterphi.std.types; /** * Represents a timecode, dd:hh:mm:ss:ff - where ff may be an arbitrary length<br /> * Timecodes containing days are not well supported. */ public class Timecode { private static final String FRAME_SEPARATOR_NO_DROP_FRAMES = ":"; private static final String FRAME_SEPARATOR_...
package ru.nivanov; import com.google.common.base.Joiner; import java.io.*; import java.nio.file.*; import java.nio.file.attribute.BasicFileAttributes; import java.util.ArrayList; public class Find { private static final int THREE = 3; private static final int FOUR = 4; private static final int FIVE = 5; ...
package com.almuradev.guide.client; import com.almuradev.almurasdk.AlmuraSDK; import com.almuradev.almurasdk.lang.LanguageRegistry; import com.almuradev.almurasdk.lang.Languages; import com.almuradev.almurasdk.permissions.Permissions; import com.almuradev.guide.CommonProxy; import com.almuradev.guide.Guide; import com....
package org.canova.cli.subcommands; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.InputStream; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Enum...
package com.structurizr.view; import com.fasterxml.jackson.annotation.JsonIgnore; import com.structurizr.model.CustomElement; import com.structurizr.model.Element; import com.structurizr.model.Model; import com.structurizr.model.Relationship; import javax.annotation.Nonnull; import java.util.ArrayList; import java.util...
package com.intellij.openapi.vcs.readOnlyHandler; import com.intellij.ide.IdeEventQueue; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.components.ProjectComponent; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.DefaultJDOMExternalizer; import com....
package com.bio4j.model.isoforms.nodes; import com.bio4j.model.Node; import com.bio4j.model.NodeType; // properties import com.bio4j.model.properties.Name; import com.bio4j.model.properties.Id; import com.bio4j.model.properties.Sequence; import com.bio4j.model.properties.Note; /** * * @author Pablo Pareja Tobes <ppar...
package info.akritikos.eelections; import info.akritikos.eelections.contracts.IDBEntities; import info.akritikos.eelections.contracts.ISearchQueries; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; import javax.persistence.Query; import java.u...
package org.commcare.cases.instance; import org.commcare.cases.model.Case; import org.commcare.cases.util.StorageBackedTreeRoot; import org.javarosa.core.model.data.IAnswerData; import org.javarosa.core.model.instance.AbstractTreeElement; import org.javarosa.core.model.instance.TreeElement; import org.javarosa.core.mod...
package com.dev.freya.spi.v1; import java.util.List; import com.dev.freya.dao.FreyaDao; import com.dev.freya.model.Reproduction; import com.google.api.server.spi.config.Api; import com.google.api.server.spi.config.ApiMethod; import com.google.api.server.spi.config.ApiMethod.HttpMethod; import com.google.api.server.spi....
package de.tobject.findbugs; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.util.Properties; import java.util.SortedSet; import java.util.TreeSet; import java.util.zip....
package com.connectifier.xeroclient; import java.io.ByteArrayInputStream; import java.io.Reader; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.TimeZone; import javax.xml.bind.JAXBContext; imp...
package org.coderoller.springlayout; import java.util.Stack; import org.coderoller.springlayout.LayoutMath.Value; import org.coderoller.springlayout.LayoutMath.ValueWrapper; import android.content.Context; import android.content.res.TypedArray; import android.util.AttributeSet; import android.util.SparseIntArray; impor...
package com.contained.game.handler; import java.awt.Point; import org.apache.commons.lang3.StringUtils; import com.contained.game.data.DataLogger; import com.contained.game.user.PlayerTeam; import com.contained.game.user.PlayerTeamIndividual; import com.contained.game.util.Load; import com.contained.game.util.MiniGameU...
package acceptance.td; import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.BasicAWSCredentials; import com.amazonaws.services.elasticmapreduce.AmazonElasticMapReduceClient; import com.amazonaws.services.elasticmapreduce.model.Application; import com.amazonaws.services.elasticmapreduce.model.JobFlowInsta...
// TiffTools.java package loci.formats; import java.awt.image.BufferedImage; import java.io.*; import java.lang.reflect.Field; import java.util.*; /** * A utility class for manipulating TIFF files. * * @author Curtis Rueden ctrueden at wisc.edu * @author Eric Kjellman egkjellman at wisc.edu * @author Melissa Linke...
package eu.project.rapid.ac; import eu.project.rapid.ac.profilers.NetworkProfiler; import eu.project.rapid.ac.profilers.Profiler; import eu.project.rapid.ac.rm.AC_RM; import eu.project.rapid.common.Clone; import eu.project.rapid.common.RapidConstants.ExecLocation; import eu.project.rapid.common.RapidConstants.REGIME; i...
package StevenDimDoors.mod_pocketDim; import java.io.File; import java.io.FileInputStream; import java.io.InputStream; import java.util.ArrayList; import java.util.HashMap; import java.util.Random; import net.minecraft.block.Block; import net.minecraft.block.BlockComparator; import net.minecraft.block.BlockContainer; i...
package com.yagadi.enguage.concept; import com.yagadi.enguage.expression.Context; import com.yagadi.enguage.expression.Reply; import com.yagadi.enguage.expression.Utterance; import com.yagadi.enguage.sofa.Attribute; import com.yagadi.enguage.sofa.Overlay; import com.yagadi.enguage.sofa.Sofa; import com.yagadi.enguage.s...
package cn.cerc.mis.ado; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Optional; import java.util.concurrent.ConcurrentHashMap; import java.util.function.Consumer; im...
package com.edicatad.emvi.handlers; import java.util.ArrayList; import org.apache.logging.log4j.Level; import org.apache.logging.log4j.LogManager; import net.minecraft.world.World; import net.minecraftforge.common.DimensionManager; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.eventhand...
package com.electronwill.json; import java.io.Writer; /** * A Writer that writes in a StringBuilder. It isn't thread-safe. */ public class FastStringWriter extends Writer { /** * The underlying StringBuilder. Everything is appended to it. */ private final StringBuilder sb; /** * Creates a n...
package com.evapps.Controller; import com.evapps.Entity.History; import com.evapps.Entity.Product; import com.evapps.Entity.Receipt; import com.evapps.Entity.User; import com.evapps.Service.CRUD.CreateDataService; import com.evapps.Service.CRUD.DeleteDataService; import com.evapps.Service.CRUD.ReadDataService; import c...
package com.force.guard.services; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBScanExpression; import com.amazonaws.services.dynamodbv2.model.AttributeValue; import com.amazonaws.services.dynamodbv2.model.ComparisonOperator; import c...
package com.github.davidmoten.rx.slf4j; import java.text.DecimalFormat; import java.util.concurrent.atomic.AtomicLong; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import rx.Notification; import rx.Observable; import rx.Observable.Operator; import rx.functions.Action1; import rx.functions.Func1; import rx.f...
import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.applet.Applet; public class Asteroid extends Applet implements ActionListener { private int Ax=0; private int Ay=0; private int Xinc=1; private int Yinc=1; public Asteroid(Graphics g, int x, int y){ g.drawRect(Ax,A...
package com.github.sergueik.swet; import org.apache.log4j.Logger; import org.eclipse.swt.SWT; import org.eclipse.swt.events.ModifyEvent; import org.eclipse.swt.events.ModifyListener; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.graphics.Image; impo...
package com.github.weaselworks.ui; import com.github.weaselworks.myo.driver.MyoApplication; import com.github.weaselworks.myo.driver.Pose; import javafx.application.Platform; import javafx.collections.ObservableList; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.fxml.Initializable; import java...
package io.cloudslang.lang.api; import io.cloudslang.lang.compiler.MetadataExtractor; import io.cloudslang.lang.compiler.SlangCompiler; import io.cloudslang.lang.compiler.SlangSource; import io.cloudslang.lang.compiler.modeller.model.Metadata; import io.cloudslang.lang.entities.CompilationArtifact; import io.cloudslang...
package com.github.xetorthio.jedisque; import java.net.URI; import java.net.URISyntaxException; import java.util.ArrayList; import java.util.Arrays; import java.util.LinkedList; import java.util.List; import java.util.Random; import redis.clients.jedis.Protocol; import redis.clients.jedis.exceptions.JedisConnectionExce...
package com.hubspot.jinjava.objects; import com.fasterxml.jackson.annotation.JsonValue; public class SafeString { private final String value; public SafeString(String value) { this.value = value; } @JsonValue public String getValue() { return value; } @Override public String toString() { ret...
package com.ipeirotis.servlet; import java.io.IOException; import java.util.logging.Level; import java.util.logging.Logger; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.google.appengine.api.taskqueue.Queue; import com.goog...
package com.lothrazar.cyclic.block; import java.util.Locale; import com.lothrazar.cyclic.base.BlockBase; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.entity.Entity; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.player.PlayerEntity; import net.mine...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.malhartech.netlet; import com.malhartech.netlet.Listener.ClientListener; import com.malhartech.netlet.Listener.ServerListener; import com.malhartech.util.CircularBuffer; import java.io.IOException; import jav...
package com.manmoe.example.test; import com.google.common.base.Predicate; import com.manmoe.example.model.IssuesPage; import com.manmoe.example.model.PopupPage; import org.openqa.selenium.WebDriver; import org.openqa.selenium.remote.RemoteWebDriver; import org.openqa.selenium.support.ui.WebDriverWait; import org.testng...
package com.nhl.bootique.job.runtime; import java.util.Arrays; import java.util.Collection; import java.util.HashSet; import java.util.Map; import java.util.Set; import com.google.inject.Binder; import com.google.inject.Provides; import com.google.inject.multibindings.MapBinder; import com.nhl.bootique.BQBinder; import...
package fr.free.nrw.commons.upload; import android.content.Context; import android.content.SharedPreferences; import android.location.Criteria; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.media.ExifInterface; import android.os.Bundl...
package com.ragstorooks.blacktomove.chess; import com.ragstorooks.blacktomove.chess.blocks.Colour; import com.ragstorooks.blacktomove.chess.moves.BasicMove; import com.ragstorooks.blacktomove.chess.moves.KingsideCastle; import com.ragstorooks.blacktomove.chess.pieces.Pawn; import com.ragstorooks.blacktomove.chess.piece...
package com.redhat.ceylon.compiler.js; import java.io.BufferedReader; import java.io.File; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.io.OutputStreamWriter; import java.io.Writer; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import ja...
package loci.formats.ome; import java.io.ByteArrayOutputStream; import java.util.Hashtable; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import javax.xml.transform.TransformerException; import ome.xml.DOMUtil; import om...
package com.sdl.selenium.extjs6.form; import com.sdl.selenium.web.SearchType; import com.sdl.selenium.web.WebLocator; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.core.Is.is; public class TextField extends com.sdl.selenium.web.f...
package org.zstack.compute.vm; import com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException; import org.springframework.beans.factory.annotation.Autowire; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Configurable; import org.spri...
package de.factoryfx.factory.log; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.stream.Collectors; import com.fasterxml.jackson.annotation.*; import de.factoryfx.factory.FactoryBase; @JsonIdentityInfo(generator = ObjectIdGenerators.IntSequenceGenerat...
package mapix; /*import javax.imageio.ImageIO; import javax.imageio.ImageReader; import javax.imageio.metadata.*; import javax.imageio.stream.*;*/ import org.w3c.dom.*; import com.drew.imaging.ImageMetadataReader; import com.drew.lang.GeoLocation; import com.drew.metadata.*; import com.drew.metadata.exif.ExifSubIFDDire...
package net; import static org.junit.Assert.assertTrue; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.eclipse.jetty.server.Request; import org.eclipse.jetty.server.Server; import org.eclipse.jett...
package com.softwarelma.epe.p1.app; import java.io.File; import java.text.SimpleDateFormat; import java.util.AbstractMap; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.List; import java.util.Map; import java.util.Set; public abstract class EpeAppUtils { public static v...
package edu.umd.cs.findbugs.detect; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.regex.Pattern; import org.apache.bcel.Repository; import org.apache.bcel.classfile.Attribute; import org.apache.bcel.classfile.Code; import org.apache.bcel.classfi...
package edu.umd.cs.findbugs.workflow; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.HashSet; import java.util.Iterator; import java.util.zip.DeflaterOutputStream; import java.util.zip.ZipEntry; import java.util...
package com.tkhoon.framework; import com.tkhoon.framework.bean.ActionBean; import com.tkhoon.framework.bean.RequestBean; import com.tkhoon.framework.bean.Result; import com.tkhoon.framework.helper.ActionHelper; import com.tkhoon.framework.helper.BeanHelper; import com.tkhoon.framework.helper.InitHelper; import com.tkho...
package edu.flash3388.flashlib.robot; import edu.flash3388.flashlib.util.resources.Resource; import edu.flash3388.flashlib.util.resources.ResourceHolder; /** * RobotBase provides the base for robots. It contains the robot's main method which should be called when * starting the robot software. When the robot is start...
package com.xjeffrose.xio.http; import com.xjeffrose.xio.client.XioClient; import com.xjeffrose.xio.client.XioClientBootstrap; import com.xjeffrose.xio.client.XioRequest; import com.xjeffrose.xio.server.Route; import com.xjeffrose.xio.tracing.HttpTracingState; import io.netty.channel.ChannelHandlerContext; import io.ne...
package io.flutter.vmService.frame; import com.intellij.icons.AllIcons; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.util.Ref; import com.intellij.openapi.util.text.StringUtil; import com.intellij.ui.LayeredIcon; import com.intellij.xdebugger.XSourcePosition; import com.intell...
package cz.muni.fi.jboss.migration; import cz.muni.fi.jboss.migration.conf.Configuration; import cz.muni.fi.jboss.migration.conf.GlobalConfiguration; import cz.muni.fi.jboss.migration.conf.Configuration.ModuleSpecificProperty; import cz.muni.fi.jboss.migration.ex.*; import cz.muni.fi.jboss.migration.utils.RollbackUtils...
package com.dtflys.forest.annotation; import com.dtflys.forest.lifecycles.parameter.XMLBodyLifeCycle; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Request XM...
package org.openscience.cdk.nfp; import java.nio.ByteBuffer; import java.util.Arrays; import java.util.BitSet; /** * @author John May */ public final class BinaryFingerprint extends Fingerprint { public static int WORD_SIZE = 64; public static int ADDRESS_SIZE = Long.numberOfTrailingZeros(WORD_SIZE); f...
package de.ad.kata.gameoflife; public class GameOfLifeEngine { private int generation; public GameOfLifeEngine() { generation = 0; } public Grid computeNextGeneration(Grid currentGeneration) { logGridDetails(currentGeneration); Grid nextGeneration = new Grid(currentGeneration.size()); for (int x...
package de.ad.kata.gameoflife; public class GameOfLifeEngine { public Grid computeNextGeneration(Grid currentGeneration) { log("Current population (%d,%d).", currentGeneration.countLivingCells(), currentGeneration.size()); Grid nextGeneration = new Grid(currentGeneration.size()); for (int x = 0; x...
package de.iani.cubequest.quests; import de.iani.cubequest.CubeQuest; import de.iani.cubequest.PlayerData; import de.iani.cubequest.commands.SetDeliveryInventoryCommand; import de.iani.cubequest.interaction.Interactor; import de.iani.cubequest.questStates.QuestState; import de.iani.cubequest.questStates.QuestState.Stat...
package org.zkoss.ganttz.timetracker; import static org.zkoss.ganttz.i18n.I18nHelper._; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import java.util.Collection; import java.util.Date; import org.apache.commons.lang.Validate; import org.joda.time.LocalDate; import org.zkoss.ganttz.Da...
package eu.nets.oss.jetty; import static com.google.common.base.Throwables.propagate; import static java.awt.Desktop.getDesktop; import static java.lang.String.format; import static java.net.InetAddress.getLocalHost; import java.io.IOException; import java.net.InetAddress; import java.net.ServerSocket; import java.net....
package galaxyspace.core.events; import java.util.ArrayList; import java.util.List; import asmodeuscore.api.dimension.IAdvancedSpace; import asmodeuscore.api.dimension.IProviderFreeze; import asmodeuscore.api.item.IItemPressurized; import asmodeuscore.api.item.IItemSpaceFood; import asmodeuscore.core.event.PressureEven...
package info.u_team.u_team_core.util; import java.util.HashMap; import java.util.Map; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import net.minecraft.client.resources.model.Material; import net.minecraft.client.resources.model.ModelBakery; import net.minecraft.resourc...