answer
stringlengths
17
10.2M
package elki.result; import java.lang.ref.Reference; import java.lang.ref.ReferenceQueue; import java.lang.ref.WeakReference; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Arrays; import java.util.Map; import java.util.WeakHashMap; import java.util.function.Consumer; import elki.logging....
package com.rgi.g2t; import java.awt.Color; import java.awt.Graphics2D; import java.awt.RenderingHints; import java.awt.Transparency; import java.awt.color.ColorSpace; import java.awt.image.BandedSampleModel; import java.awt.image.BufferedImage; import java.awt.image.ColorModel; import java.awt.image.ComponentColorMode...
package org.jsdoc; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.HashMap; import java.util.Iterator; import java.util.Set; import org.mozilla.javascript.CompilerEnvirons; import org.mozilla.javascript.Context; import org.mozilla.javascript.NativeArray; import org.mozilla.java...
package GameNationBackEnd; import GameNationBackEnd.Controllers.UsersController; import GameNationBackEnd.Documents.User; import GameNationBackEnd.Repositories.UserRepository; import junit.framework.TestCase; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.bea...
package be.yildiz.common.translation; import be.yildiz.common.collections.Lists; import org.junit.Assert; import org.junit.Test; import org.junit.experimental.runners.Enclosed; import org.junit.runner.RunWith; import java.util.Arrays; import java.util.List; @RunWith(Enclosed.class) public class KeyTest { public sta...
package com.acme.commerce; import com.acme.commerce.vendingmachine.exception.HumanException; import com.acme.commerce.vendingmachine.exception.InsufficientChangeException; import com.acme.commerce.vendingmachine.impl.VendingMachineImpl; import com.acme.commerce.vendingmachine.Change; import com.acme.commerce.vendingmac...
package com.github.rconner.util; import com.google.common.collect.Iterables; import com.google.common.collect.Iterators; import com.google.common.collect.Lists; import org.junit.Test; import java.util.Arrays; import java.util.Iterator; import java.util.NoSuchElementException; import static org.hamcrest.CoreMatchers.is;...
package com.inaka.lewis; import com.android.annotations.NonNull; import com.android.tools.lint.checks.infrastructure.LintDetectorTest; import com.android.tools.lint.client.api.LintClient; import com.android.tools.lint.detector.api.Detector; import com.android.tools.lint.detector.api.Issue; import com.android.tools.lint...
package net.imagej.ops; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertSame; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.util.List; import net.imglib2.type.numeric.real.DoubleType; import org.j...
package org.dionysus; import org.dionysus.config.ApplicationContext; import org.dionysus.config.TestJPAEnvironment; import org.dionysus.model.Conversation; import org.dionysus.model.User; import org.dionysus.service.ConversationService; import org.dionysus.service.UserService; import org.junit.Assert; import org.junit....
package org.jdbdt.postgresql; import java.io.IOException; import java.nio.file.FileSystems; import java.nio.file.Path; import org.jdbdt.DBConfig; import org.jdbdt.DBEngineTestSuite; import org.junit.AfterClass; import org.junit.BeforeClass; import ru.yandex.qatools.embed.postgresql.EmbeddedPostgres; import ru.yandex.qa...
package org.scijava.util; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Random; import java.uti...
package seedu.geekeep.logic; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static seedu.geekeep.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.geekeep.commons.core.Messages.MESSAGE_INVALID_TASK_DISPLA...
package seedu.jimi.testutil; import seedu.jimi.model.tag.UniqueTagList; import seedu.jimi.model.task.*; /** * A mutable floating task object. For testing only. */ public class TestFloatingTask implements ReadOnlyTask { private Name name; private UniqueTagList tags; private boolean isCompleted; public ...
package seedu.manager.logic; import com.google.common.eventbus.Subscribe; import seedu.manager.commons.core.EventsCenter; import seedu.manager.commons.events.model.TaskManagerChangedEvent; import seedu.manager.commons.events.ui.JumpToListRequestEvent; import seedu.manager.commons.events.ui.ShowHelpRequestEvent; import ...
//@@author A0141021H package seedu.whatnow.logic; import com.google.common.eventbus.Subscribe; import seedu.whatnow.commons.core.EventsCenter; import seedu.whatnow.commons.core.Messages; import seedu.whatnow.commons.core.UnmodifiableObservableList; import seedu.whatnow.commons.events.ui.ShowHelpRequestEvent; import see...
package com.puppycrawl.tools.checkstyle; import com.puppycrawl.tools.checkstyle.checks.AvoidStarImportTest; import com.puppycrawl.tools.checkstyle.checks.ConstantNameCheckTest; import com.puppycrawl.tools.checkstyle.checks.EmptyBlockCheckTest; import com.puppycrawl.tools.checkstyle.checks.EqualsHashCodeCheckTest; impor...
package us.kbase.common.executionengine; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream; import java.net.MalformedURLException; import java.net.SocketException; import java.net.URL; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import jav...
import static org.junit.Assert.*; import java.util.List; import org.junit.Before; import org.junit.Test; public class ParsrTest { String text; Lexer lexer = new Lexer(); Parser parser = new Parser(); List<Token> block; @Before public void setUp() throws Exception { text = ""; } @...
package chessGame; import java.util.*; public class Main { public void main(String[] args) { Scanner in=new Scanner(System.in); ChessMonitoringSystem chessMonitoringSystem=new ChessMonitoringSystem(); int numOfPlayer=2; ChessPlayer[] players=new ChessPlayer[numOfPlayer]; for ...
package wint.maven.plugins.gen.common; public class ProjectConfig { private String projectPath; private String groupId; private String artifactId; private String path; private String wintPackage; private String dbName; private String dbUser; private String dbPwd; private String dbUrl...
package cn.aofeng.threadpool4j; /** * * * @author <a href="mailto:aofengblog@163.com"></a> */ public class ThreadPoolExample { /** * @param args * @throws Exception */ public static void main(String[] args) throws Exception { ThreadPoolImpl threadPool = ThreadPoolImpl.getInstance(); ...
package treehou.se.habit.ui.widgets.factories; import android.util.Log; import android.view.View; import android.webkit.WebSettings; import android.webkit.WebView; import android.webkit.WebViewClient; import se.treehou.ng.ohcommunicator.connector.models.OHLinkedPage; import se.treehou.ng.ohcommunicator.connector.models...
package webmvc; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.ServletRegistration.Dynamic; import org.springframework.web.context.request.RequestContextListener; import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer; import...
package org.geotools.factory; import java.util.*; import java.util.function.Predicate; import java.util.logging.Level; import java.util.logging.LogRecord; import java.util.logging.Logger; import java.lang.ref.Reference; import java.awt.RenderingHints; import java.util.stream.Stream; // import javax.imageio.spi.ServiceR...
package com.xqbase.util.sns; import java.io.IOException; import java.nio.charset.StandardCharsets; import com.xqbase.util.ByteArrayQueue; import com.xqbase.util.http.HttpPool; import com.xqbase.util.http.HttpProxy; public class Ip138Ip { public static class Exception extends java.lang.Exception { private st...
package org.zstack.utils.path; import org.apache.commons.codec.digest.DigestUtils; import org.apache.commons.io.IOUtils; import org.zstack.utils.Utils; import org.zstack.utils.logging.CLogger; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.net.URISyntaxException; import jav...
package com.shinemo.mpush.common.manage.user; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.shinemo.mpush.api.RedisKey; import com.shinemo.mpush.tools.redis.manage.RedisManage; public class UserManager { private static final Logger log = LoggerFactory.getLogger(UserManag...
package net.sourceforge.texlipse; import org.eclipse.ui.IFolderLayout; import org.eclipse.ui.IPageLayout; import org.eclipse.ui.IPerspectiveFactory; import org.eclipse.ui.console.IConsoleConstants; /** * A simple LaTeX perspective * * @author Boris von Loesch * */ public class TexPerspectiveFactory implements IPer...
package de.geeksfactory.opacclient.apis; import org.apache.http.NameValuePair; import org.apache.http.client.utils.URLEncodedUtils; import org.apache.http.message.BasicNameValuePair; import org.joda.time.format.DateTimeFormat; import org.joda.time.format.DateTimeFormatter; import org.json.JSONException; import org.json...
package unitTest; import static org.junit.Assert.*; import java.util.ArrayList; import org.junit.Before; import org.junit.Test; import exception.OutOfRangeException; import model.*; public class FunctionTest { Function func; Function pfunc; Function sfunc; Variable x,y,z; @Before public void set...
import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.net.URI; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.IOUtils; import org.apache.hadoop.io.LongWritable; import org.apac...
package org.unitime.timetable.gwt.server; import java.io.Serializable; import java.util.ArrayList; import java.util.Collection; import java.util.List; /** * @author Tomas Muller */ public class Query implements Serializable { private static final long serialVersionUID = 1L; private Term iQuery = null; pub...
package com.parc.ccn.data.content; import java.util.ArrayList; import java.util.Iterator; import java.util.LinkedList; import javax.xml.stream.XMLStreamException; import com.parc.ccn.data.util.GenericXMLEncodable; import com.parc.ccn.data.util.XMLDecoder; import com.parc.ccn.data.util.XMLEncodable; import com.parc.ccn....
package scalac.transformer; import scalac.Global; import scalac.util.Name; import scalac.util.Names; import scalac.ast.Tree; import Tree.*; import scalac.ast.Transformer; import scalac.symtab.Type; import scalac.symtab.Symbol; import scalac.symtab.TermSymbol; import scalac.symtab.Scope; import scalac.symtab.Kinds; impo...
package org.opennms.web.rest; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.Context; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.MultivaluedMap; import javax.ws.rs.c...
package com.psddev.dari.db; import java.io.IOException; import java.io.Writer; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.psddev.dari.util.FormFilter; import com.psddev.dari.util.FormProcessor; public a...
package com.std.sort; import com.std.util.ArrayUtil; public class QuickSort { private int[] arr = null; public QuickSort (int[] arr) { this.arr = arr; } public void quickSort(){ reQuickSort(0,arr.length-1); } private void reQuickSort(int left,int right){ if(right-left<=0)...
package com.alexaut.kroniax.menu; import com.alexaut.kroniax.menu.Gui.Layer; import com.badlogic.gdx.math.Interpolation; import com.badlogic.gdx.scenes.scene2d.Actor; import com.badlogic.gdx.scenes.scene2d.actions.Actions; import com.badlogic.gdx.scenes.scene2d.ui.Label; import com.badlogic.gdx.scenes.scene2d.ui.Table;...
package hudson.scm.browsers; import hudson.model.Descriptor; import hudson.scm.CVSChangeLogSet.File; import hudson.scm.CVSChangeLogSet.Revision; import hudson.scm.ChangeLogSet.Entry; import hudson.scm.RepositoryBrowser; import hudson.scm.CVSRepositoryBrowser; import org.kohsuke.stapler.StaplerRequest; import java.io.IO...
package org.nick.wwwjdic.widgets; import org.nick.wwwjdic.ActionBarActivity; import org.nick.wwwjdic.R; import org.nick.wwwjdic.WwwjdicPreferences; import android.appwidget.AppWidgetManager; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.text.format.DateUtils; im...
package by.istin.android.xcore.fragment; import android.app.Activity; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.os.Handler; import android.os.Looper; import android.support.v4.app.FragmentActivity; import android.support.v4.app.ListFragment; import android.support....
package quickstart; import java.util.Iterator; import java.util.Map.Entry; import java.util.concurrent.CountDownLatch; import com.lightstreamer.client.ClientListener; import com.lightstreamer.client.ItemUpdate; import com.lightstreamer.client.LightstreamerClient; import com.lightstreamer.client.Subscription; import com...
package sx.lambda.voxel.tasks; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Input; import com.badlogic.gdx.math.MathUtils; import com.badlogic.gdx.math.Vector3; import com.badlogic.gdx.math.collision.BoundingBox; import groovy.transform.CompileStatic; import sx.lambda.voxel.VoxelGameClient; import sx.lambda.vox...
package VASSAL.counters; import java.awt.Component; import java.awt.Graphics; import java.awt.Rectangle; import java.awt.Shape; import java.io.IOException; import java.util.Arrays; import java.util.List; import javax.swing.BoxLayout; import javax.swing.JPanel; import javax.swing.KeyStroke; import VASSAL.build.GameModul...
package com.github.redsolo.vcm; import static org.hamcrest.Matchers.greaterThan; import static org.hamcrest.Matchers.hasItem; import static org.hamcrest.Matchers.hasItems; import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.not; import static org.hamcrest.Matchers.notNullValue; import static org...
package net.malisis.core.client.gui; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import net.malisis.core.client.gui.component.UIComponent; import net.malisis.core.client.gui.component.container.UIContainer; import net.malisis.core.client.gui.component.decoration.UITooltip; import net.mal...
package org.jfree.data.general; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.jfree.chart.util.ParamChecks; import org.jfree.data.DomainInfo; import org.jfree.data.DomainOrder; import org.jfree.data.KeyToGroupMap; import org.jfree.data.KeyedValues; import org.jfree.data.Range;...
package ifc.drawing; import lib.MultiPropertyTest; /** * Testing <code>com.sun.star.drawing.TextProperties</code> * service properties : * <ul> * <li><code> IsNumbering</code></li> * <li><code> NumberingRules</code></li> * <li><code> TextAutoGrowHeight</code></li> * <li><code> TextAutoGrowWidth</code></li> * <li><...
package org.reactfx; import static org.junit.Assert.*; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.junit.Test; public class RecursionTest { @Test public void allowRecursionWithOneSubscriber() { List<Integer> emitted = new ArrayList<>(); List<Throwable> ...
package jnisat; /** * This is the base class of all SAT solvers. All variables are numbered * starting from 1, and their negated literals are negative values. */ public abstract class Solver { /** * Creates one of the solvers. * * @param what * which solver to prefer * @return...
package net.fortuna.ical4j.model.property; import java.text.ParseException; import net.fortuna.ical4j.model.DateList; import net.fortuna.ical4j.model.Parameter; import net.fortuna.ical4j.model.ParameterList; import net.fortuna.ical4j.model.ValidationException; import net.fortuna.ical4j.model.parameter.Value; import net...
package org.jfree.chart.editor; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Font; import java.awt.Paint; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ResourceBundle; import javax.swing.BorderFactory; import javax.swing.JButton; import javax.swing.JCh...
package scalac.symtab.classfile; import scalac.Global; import scalac.atree.AConstant; import scalac.symtab.Symbol; import scalac.symtab.SymbolLoader; import scalac.symtab.Scope; import scalac.symtab.Modifiers; import scalac.symtab.Type.*; import scalac.util.Name; import scalac.util.Names; import scalac.util.Debug; impo...
package entity.model; import entity.model.mind.Mind; import entity.model.mind.goal.Goal; import entity.model.mind.goal.MoveRandomly; import entity.model.mind.need.Need; import entity.model.mind.sense.Sense; import entity.model.util.AnimalAnim; import io.Window; import org.joml.Vector2f; import render.Animation; import ...
package cafe.util; import java.util.Arrays; import java.util.Comparator; import java.util.HashSet; import java.util.List; import java.util.Set; import java.lang.reflect.Array; import java.nio.ByteOrder; import java.util.AbstractList; import java.nio.ByteBuffer; import java.nio.IntBuffer; import java.nio.ShortBuffer; /*...
package Deliquescence.Network; import Deliquescence.Config; import Deliquescence.Panel.GameManager; import Deliquescence.Panel.GamePanel; import com.esotericsoftware.minlog.Log; import java.net.InetAddress; import javax.swing.BoxLayout; /** * Displays waiting room panel or game panel * * @author Josh */ public clas...
package claw.wani.serialization; import claw.tatsu.xcodeml.abstraction.FunctionCall; import claw.tatsu.xcodeml.xnode.common.*; import claw.tatsu.xcodeml.xnode.fortran.FfunctionDefinition; import claw.tatsu.xcodeml.xnode.fortran.FfunctionType; import claw.tatsu.xcodeml.xnode.fortran.FortranType; import claw.wani.x2t.con...
package com.googlecode.goclipse; import java.util.HashMap; import java.util.Map; import melnorme.lang.ide.core.EclipseUtils; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; import org.eclipse.jface.resource.ImageDescriptor; import org.eclipse.jface.util.Util; import org.eclipse.swt.grap...
package ol.interaction; import jsinterop.annotations.JsType; import ol.Feature; import ol.Map; /** * * Handles snapping of vector features while modifying or drawing them. The * features can come from a {@link ol.source.Vector} or {@link ol.Collection}. Any interaction * object that allows the user to interact with...
package hex.generic; import hex.*; import hex.genmodel.*; import hex.genmodel.algos.kmeans.KMeansMojoModel; import hex.genmodel.descriptor.ModelDescriptor; import hex.genmodel.descriptor.ModelDescriptorBuilder; import hex.genmodel.easy.EasyPredictModelWrapper; import hex.genmodel.easy.RowData; import hex.genmodel.easy....
package com.psddev.dari.db; import java.lang.annotation.Annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import java....
package launcher; import entity.Player; import entity.Player.Direction; import entity.World; import entity.block.*; import java.awt.Font; import org.lwjgl.LWJGLException; import org.lwjgl.input.Keyboard; import org.lwjgl.input.Mouse; import org.lwjgl.opengl.Display; import org.lwjgl.opengl.DisplayMode; import org.lwjgl...
package org.eclipse.egit.ui.internal.clone; import java.io.File; import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import org.eclipse.core.runtime.IProgressMonitor; import org.ecli...
package org.mwc.debrief.core.ContextOperations; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import org.eclipse.core.commands.ExecutionException; import org.eclipse.core.commands.operations.IUndoableOperation; import org.eclipse.core.runtime.IAdaptable; i...
package org.orienteer.core.component; import com.google.common.collect.Ordering; import com.google.inject.Inject; import com.orientechnologies.orient.core.metadata.schema.OClass; import com.orientechnologies.orient.core.record.impl.ODocument; import org.apache.wicket.AttributeModifier; import org.apache.wicket.ajax.Aja...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package zombiefu.fight; import jade.core.World; import jade.util.Dice; import jade.util.Guard; import jade.util.datatype.Coordinate; import jade.util.datatype.Direction; import java.util.Collection; import java.util.Hash...
package com.podio.sdk.client; import android.app.Instrumentation; import android.content.Context; import android.net.Uri; import com.podio.sdk.client.delegate.HttpClientDelegate; import com.podio.sdk.client.delegate.SQLiteClientDelegate; import com.podio.sdk.client.delegate.mock.MockRestClientDelegate; import com.podio...
package org.jetel.component; import java.io.FileWriter; import java.io.IOException; import java.util.Enumeration; import java.util.HashMap; import java.util.Map; import java.util.Properties; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.jetel.connection.jdbc.DBConnectio...
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 game; import java.awt.BorderLayout; import java.awt.Dimension; import java.io.File; //For capturing screen shot import javax.media.opengl.GL2; import javax.media.opengl.GLAutoDrawable; import javax.media.opengl.GLEventListener; import javax.media.opengl.GLProfile; import javax.media.opengl.awt.GLCanvas; import ...
package javax.servlet.http; import java.io.*; import javax.servlet.*; /** * Base class for http servlets * * @author <a href="mailto:rick_knowles@hotmail.com">Rick Knowles</a> */ public abstract class HttpServlet extends javax.servlet.GenericServlet implements Serializable { static final String METHOD_DELETE = ...
package ru.apetrov; import java.util.Scanner; public class MyThread { private SpaceThreads spaceThreads; private WordThreads wordThreads; private String text; public MyThread(String text) { this.text = text; this.spaceThreads = new SpaceThreads(text); this.wordThreads = new WordT...
package com.nativelibs4java.opencl; import com.nativelibs4java.opencl.CLMem.Usage; import java.lang.reflect.Array; import static org.junit.Assert.*; import org.bridj.*; import static org.bridj.Pointer.*; import org.junit.*; public class KernelTest { CLContext context; CLQueue queue; @Before public void ...
package com.solonarv.golemworld.recipes; import net.minecraft.block.Block; import net.minecraft.world.World; import com.solonarv.golemworld.entity.golem.EntityGolem; public class GolemRecipe<TypeGolem extends EntityGolem> { // TODO change to use Block objects instead of GameRegistry.addRecipe type syntax internally...
package bisq.common.setup; import bisq.common.UserThread; import bisq.common.app.AsciiLogo; import bisq.common.app.DevEnv; import bisq.common.config.Config; import bisq.common.util.Profiler; import bisq.common.util.Utilities; import org.bitcoinj.store.BlockStoreException; import org.apache.commons.lang3.exception.Excep...
package loci.formats.in; import java.awt.image.BufferedImage; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import ome.scifio.Checker; import ome.scifio.Format; import ome.scifio.Parser; import ome.scifio.Reader; import ome.scifio.SCIFIO; ...
package loci.formats.tiff; import java.io.IOException; import java.util.HashMap; import java.util.HashSet; import java.util.Vector; import loci.common.DataTools; import loci.common.RandomAccessInputStream; import loci.common.Region; import loci.common.enumeration.EnumException; import loci.formats.FormatException; impo...
package service; import java.util.List; import javax.annotation.Resource; import model.ad_present; import model.advertisement; import org.springframework.stereotype.Service; import dao.AdDao; @Service("adServiceImp") public class AdServiceImp implements AdService { @Resource(name = "adDaoImp") private AdDao adD...
package com.dferens.core.levels; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.maps.MapLayer; import com.badlogic.gdx.maps.tiled.TiledMap; import com.badlogic.gdx.maps.tiled.TiledMapTileLayer; import com.badlogic.gdx.maps.tiled.TmxMapLoader; import com.badlogic.gdx.utils.reflect.ClassReflection; pub...
package de.longri.cachebox3; import com.badlogic.gdx.Game; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.backends.headless.HeadlessApplication; import com.badlogic.gdx.files.FileHandle; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.g2d.BitmapFont; import com.badlogic.gdx.scenes.scene2d....
package smartfood.mobile; import com.github.sarxos.webcam.WebcamPanel; import java.awt.Dimension; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.io.IOException; import java.util.logging.Level; import java.util.logging.Logg...
package com.tns; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.nio.ByteBuffer; import java.lang.Thread.UncaughtExceptionHandler; import java.lang.ref.WeakReference; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetE...
package loader; import java.applet.Applet; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.Font; import java.awt.Frame; import java.awt.LayoutManager; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOExc...
package com.exedio.copernica.admin; import java.io.IOException; import java.io.PrintStream; import java.util.Iterator; import javax.servlet.http.HttpServletRequest; import com.exedio.cope.Model; import com.exedio.cope.Report; import com.exedio.cope.ReportColumn; import com.exedio.cope.ReportTable; final class ReportCop...
package imagej.script; import imagej.command.Command; import imagej.plugin.Parameter; import imagej.plugin.Plugin; import imagej.util.FileUtils; import imagej.util.Log; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import javax.script.ScriptEngineFactory; import javax.script.Scri...
package com.colim.anglexplore.screens; import com.badlogic.gdx.Game; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.ScreenAdapter; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.TextureRegion; import com.badlogic.gdx.graphics.g2d.freetype.Free...
package de.longri.cachebox3.gui.widgets; import com.kotcrab.vis.ui.VisUI; import de.longri.cachebox3.CB; import de.longri.cachebox3.apis.GroundspeakAPI; import de.longri.cachebox3.gui.skin.styles.ApiButtonStyle; import de.longri.cachebox3.settings.Config; import de.longri.cachebox3.translation.Translation; import org.s...
package com.novoda.rxpresso.mock; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.mockito.Mockito; import org.mockito.invocation.Invocatio...
package cz.xtf.core.openshift; import cz.xtf.core.config.WaitingConfig; import cz.xtf.core.openshift.crd.CustomResourceDefinitionContextProvider; import cz.xtf.core.waiting.SimpleWaiter; import cz.xtf.core.waiting.Waiter; import io.fabric8.kubernetes.api.model.ConfigMap; import io.fabric8.kubernetes.api.model.Endpoints...
package org.javarosa.core.model; import org.javarosa.core.log.WrappedException; import org.javarosa.core.model.condition.Condition; import org.javarosa.core.model.condition.Constraint; import org.javarosa.core.model.condition.EvaluationContext; import org.javarosa.core.model.condition.IConditionExpr; import org.javaros...
package org.phenotips.tool.packager; import org.phenotips.tool.utils.LogUtils; import org.phenotips.tool.utils.MavenUtils; import org.phenotips.tool.utils.XContextFactory; import org.phenotips.tool.xarimporter.Importer; import org.xwiki.velocity.internal.log.SLF4JLogChute; import java.io.File; import java.io.FileInputS...
package fi.hu.cs.titokone; /** This class contains information common to various interpreters. */ public class Interpreter { /** This field specifies the opcode field length in number of bits. */ public static final int opcodeLength = 8; public static final int addressModeLength = 2; public static final...
package yuku.alkitab.base; import android.annotation.TargetApi; import android.app.ActionBar; import android.app.AlertDialog; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android....
import java.util.Observable; import java.util.Observer; import javax.swing.JApplet; import netscape.javascript.JSObject; /** * This class holds the web applet. It creates the threads for the clients and * the GUI. It also provide methods for nice stop, start and destroy * <p> * @author RaphaelBonaque */ public clas...
package gui.textual; // Libraries import gui.*; import arena.*; import scenario.*; import players.Base; import stackable.item.*; // Import links import static parameters.Game.*; /** * <b>GUI - Textual Mode</b><br> * Makes an implementation of the interface * GUI for exhibiting the game, with colors, * in a Unix she...
public class Verifier { public static final String EXAMPLE_WORLD = "example.txt"; public Verifier (boolean debug) { _debug = debug; } public boolean verify () { Dimension dim = new Dimension(EXAMPLE_WORLD, _debug); System.out.println("Loaded:\n\n"+dim); dim.cycle(...
package org.bouncycastle.cms; import java.io.IOException; import java.io.OutputStream; import java.util.Collections; import java.util.Iterator; import java.util.Map; import org.bouncycastle.asn1.ASN1EncodableVector; import org.bouncycastle.asn1.ASN1Encoding; import org.bouncycastle.asn1.ASN1Integer; import org.bouncyca...
package com.intellij.formatting.commandLine; import com.intellij.application.options.CodeStyle; import com.intellij.ide.impl.OpenProjectTask; import com.intellij.lang.LanguageFormatting; import com.intellij.openapi.command.WriteCommandAction; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.ed...
package com.intellij.xdebugger.impl.ui; import com.intellij.debugger.ui.DebuggerContentInfo; import com.intellij.execution.Executor; import com.intellij.execution.actions.CreateAction; import com.intellij.execution.executors.DefaultDebugExecutor; import com.intellij.execution.runners.ExecutionEnvironment; import com.in...