answer
stringlengths
17
10.2M
package org.basex.query.func; import static java.sql.DriverManager.*; import static org.basex.query.QueryText.*; import static org.basex.query.util.Err.*; import static org.basex.util.Token.*; import java.sql.*; import java.sql.Date; import java.util.*; import java.util.Map.Entry; import org.basex.query.*; import org.b...
package com.mattbertolini.antpgp; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.Task; import org.apache.tools.ant.types.LogLevel; import org.apache.tools.ant.types.Resource; import org.apache.tools.ant.types...
package net.aeronica.libs.mml.core; import javax.sound.midi.*; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import static net.aeronica.libs.mml.core.MMLUtil.*; public class MMLToMIDI extends MMLTransformBase { private static final dou...
package com.maxdemarzi.server; import com.fasterxml.jackson.core.type.TypeReference; import io.swagger.util.Json; import org.jooby.Err; import org.jooby.Jooby; import org.jooby.Results; import org.jooby.Status; import java.util.HashMap; import java.util.Map; public class NodeProperties extends Jooby { public NodePr...
package net.folab.fo.ast; import java.util.ArrayList; import java.util.List; import net.folab.fo.bytecode.Access; import net.folab.fo.bytecode.JavaType; import net.folab.fo.jast.Block; import net.folab.fo.jast.Statement; public class FunctionDeclaration { public final Access access; public final JavaType return...
// samskivert library - useful routines for java programs package com.samskivert.swing; import java.util.List; import javax.swing.JLabel; import javax.swing.JList; import javax.swing.JPanel; import javax.swing.ListModel; /** * Displays a list of components in sections (with section headers) that * can be collapsed. E...
package aQute.bnd.build; import java.io.*; import java.util.*; import java.util.Map.Entry; import aQute.bnd.differ.*; import aQute.bnd.differ.Baseline.Info; import aQute.bnd.header.Attrs; import aQute.bnd.header.Parameters; import aQute.bnd.osgi.*; import aQute.bnd.service.RepositoryPlugin; import aQute.bnd.service.Rep...
package com.sdl.selenium.extjs3.tab; import com.sdl.selenium.WebLocatorUtils; import com.sdl.selenium.extjs3.ExtJsComponent; import com.sdl.selenium.web.SearchType; import com.sdl.selenium.web.WebLocator; import com.sdl.selenium.web.XPathBuilder; import com.sdl.selenium.web.utils.Utils; import org.openqa.selenium.Eleme...
package net.glowstone.block.itemtype; import java.util.Optional; import java.util.concurrent.ThreadLocalRandom; import java.util.logging.Level; import net.glowstone.EventFactory; import net.glowstone.GlowServer; import net.glowstone.entity.GlowPlayer; import net.glowstone.entity.projectile.GlowTippedArrow; import net.g...
package edu.colorado.csdms.wmt.client.ui; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import com.google.gwt.core.client.GWT; import com.google.gwt.user.client.ui.Tree; import com.google.gwt.user.client.ui.TreeItem; import edu.colorado.csdms.wmt.client.control.DataManager; import edu.co...
package com.seleniumtests.controller; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util....
package net.imagej.legacy; import ij.ImagePlus; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.util.Date; import java.util.List; import net.imagej.display.ImageDisplay; import net.imagej.legacy....
package net.imagej.ops; import org.scijava.Priority; import org.scijava.module.Module; import org.scijava.module.ModuleItem; import org.scijava.module.process.AbstractPreprocessorPlugin; import org.scijava.module.process.PreprocessorPlugin; import org.scijava.plugin.Parameter; import org.scijava.plugin.Plugin; /** * {...
package the8472.mldht; import java.net.InetAddress; import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.time.Duration; import java.time.Instant; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.HashSet; import jav...
package com.tinkerpop.rexster; import com.tinkerpop.blueprints.pgm.Edge; import com.tinkerpop.blueprints.pgm.Graph; import com.tinkerpop.blueprints.pgm.Vertex; import com.tinkerpop.rexster.extension.*; import org.apache.log4j.Logger; import org.codehaus.jettison.json.JSONArray; import org.codehaus.jettison.json.JSONExc...
package net.nuagenetworks.bambou; import java.util.List; import org.apache.commons.codec.binary.Base64; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; import ...
package com.ttaylorr.dev.logger; import java.io.PrintStream; import java.text.SimpleDateFormat; import java.util.Date; import java.util.regex.Matcher; import java.util.regex.Pattern; public class SimpleLogger implements Logger { private final PrintStream out; private final SimpleDateFormat dateFormat; publi...
package br.com.bloder.blormlib; import android.view.View; import java.util.ArrayList; import java.util.List; import br.com.bloder.blormlib.validation.Action; import br.com.bloder.blormlib.validation.ValidateKotlin; import br.com.bloder.blormlib.validation.ValidationKotlin; public class Blorm { public static class Bui...
package com.unb.tracker.web; import com.unb.tracker.exception.BadRequestException; import com.unb.tracker.exception.NotFoundException; import com.unb.tracker.model.Course; import com.unb.tracker.model.Seat; import com.unb.tracker.model.User; import com.unb.tracker.repository.CourseRepository; import com.unb.tracker.rep...
package etomica.normalmode; import etomica.action.BoxInflate; import etomica.action.IAction; import etomica.action.activity.ActivityIntegrate; import etomica.atom.AtomType; import etomica.atom.IAtom; import etomica.atom.IAtomList; import etomica.box.Box; import etomica.data.*; import etomica.data.DataSplitter.IDataSink...
package test.com.mac.tarchan.nanika; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.LinkedHashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Random; import java.u...
package com.xero.api.jaxb; import com.xero.api.XeroClientException; import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBElement; import javax.xml.bind.JAXBException; import javax.xml.bind.Marshaller; import javax.xml.bind.Unmarshaller; import javax.xml.transform.Source; import javax.xml.transform.stream.Stream...
package track; import brightbodies.BrightBodyEvenSpaceTripleLinkedSet; import brightbodies.BrightBodyList; import brightbodies.Coordinate; import java.util.ArrayList; /** * This class extends the general tracker classes. This searches though all combinations of bright bodies in adjacent * sets of three timestamps. Th...
package example; //-*- mode:java; encoding:utf-8 -*- // vim:set fileencoding=utf-8: //@homepage@ import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.border.*; public final class MainPanel extends JPanel { private MainPanel() { super(new GridLayout(3, 1, 5, 5)); final...
package com.opentok.test; import com.github.tomakehurst.wiremock.WireMockServer; import com.github.tomakehurst.wiremock.client.WireMock; import com.github.tomakehurst.wiremock.core.WireMockConfiguration; import com.github.tomakehurst.wiremock.junit.WireMockRule; import com.opentok.*; import com.opentok.Archive.OutputMo...
package cx2x.translator.transformer; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import cx2x.translator.common.GroupConfiguration; import cx2x.translator.transformation.openacc.OpenAccContinuation; import cx2x.xcodeml.transformation.*; import cx2x.xcodeml.xnode...
package us.kbase.genbank; import com.fasterxml.jackson.databind.ObjectMapper; import us.kbase.auth.AuthException; import us.kbase.auth.AuthService; import us.kbase.auth.AuthToken; import us.kbase.auth.AuthUser; import us.kbase.common.service.JsonClientException; import us.kbase.common.service.Tuple11; import us.kbase.c...
package com.zp.HttpHelper.cache; import java.net.URI; import java.util.Date; import java.util.LinkedHashMap; import java.util.Map; /** * * @author */ public class CacheManager extends Cache { //cache static LinkedHashMap<String, CacheObject> cache = new LinkedHashMap<String,CacheObject>(2000, 0.75f, true) { ...
import java.util.Scanner; import java.io.*; public class concommon { // pre: fn is a path to a conways save, row and col and the total number of rows // and columns, and rulefile is the path to the rulefile to use // post: Return a Conways with the given save loaded or a random Conways // if loading the sav...
package org.jgrapes.io.util; import java.lang.ref.WeakReference; import java.nio.ByteBuffer; import java.util.Collections; import java.util.Map; import java.util.WeakHashMap; import org.jgrapes.core.Channel; import org.jgrapes.core.Components; import org.jgrapes.core.EventPipeline; import org.jgrapes.core.Manager; impo...
package guitests; import static org.junit.Assert.assertTrue; import org.junit.Test; import seedu.tasklist.commons.exceptions.IllegalValueException; import seedu.tasklist.logic.commands.RedoCommand; import seedu.tasklist.logic.commands.UndoCommand; import seedu.tasklist.model.task.Name; import seedu.tasklist.testutil.Te...
package us.kbase.kidl.tests; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.PrintWriter; import java.io.StringReader; import java.io.StringWriter; import java.util.ArrayLis...
package org.jasig.portal; import javax.servlet.http.*; /** * <p>This object is passed to special channels</p> * @author Peter Kharchenko, peterk@interactivebusiness.com * @version $Revision$ */ public class PortalControlStructures { protected IUserLayoutManager ulm; protected HttpServletRequest req; pro...
package kawa.standard; import kawa.lang.*; public class Scheme extends Interpreter { final void define_proc (Named proc) { define (proc.name (), proc); } final void define_proc (String name, Named proc) { if (proc.getName() == null) proc.setName(name); define(name, proc); } /* Define a p...
package de.croesch.diff.subject; import de.croesch.diff.subject.api.Subject; /** * The basic implementation of a Subject, contains code that all Subjects share. * * @param <CT> the type of the content this subject represents */ public abstract class BasicSubject<CT extends Object> implements Subject { /** the rep...
package org.mwc.cmap.core; import java.util.HashMap; import java.util.Map; import org.eclipse.core.commands.ExecutionException; import org.eclipse.core.commands.operations.IOperationHistory; import org.eclipse.core.runtime.Status; import org.eclipse.jface.dialogs.Dialog; import org.eclipse.jface.preference.IPreferenceS...
package integration; import org.junit.Before; import org.junit.Test; import org.openqa.selenium.Cookie; import java.net.MalformedURLException; import java.net.URL; import java.util.Set; import static com.codeborne.selenide.Selenide.clearBrowserCookies; import static com.codeborne.selenide.Selenide.open; import static c...
package de.dakror.spamwars.net; import java.io.IOException; import java.net.BindException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.URL; import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.Dat...
package org.jgroups.tests; import org.jgroups.Channel; import org.jgroups.blocks.ReplicatedHashMap; import java.util.HashMap; import java.util.Map; /** * Test methods for ReplicatedHashMap * @author Bela Ban * @version $Id: ReplicatedHashMapTest.java,v 1.3 2007/08/22 11:23:28 belaban Exp $ **/ public class Replicat...
package org.mwc.cmap.core; import java.util.HashMap; import java.util.Map; import org.eclipse.core.commands.ExecutionException; import org.eclipse.core.commands.operations.IOperationHistory; import org.eclipse.core.runtime.Status; import org.eclipse.jface.dialogs.Dialog; import org.eclipse.jface.preference.IPreferenceS...
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 net.imglib2.type.numeric.real.DoubleType; import org.junit.Test; import org.scijava.InstantiableException; import ...
package org.oscm.app.aws; import static org.mockito.Matchers.any; import static org.mockito.Mockito.doAnswer; import static org.mockito.Mockito.doReturn; import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.mock; import java.util.ArrayList; import java.util.Collection; import java.util.LinkedLis...
package org.jdbdt.mysql; import java.io.File; import java.util.HashMap; import java.util.Map; import org.jdbdt.BuildEnvironment; import com.mysql.management.MysqldResource; import com.mysql.management.MysqldResourceI; @SuppressWarnings("javadoc") public interface MySQLDBSetup { String start(); void stop(); MySQLD...
package de.themoep.inventorygui; import org.bukkit.Material; import org.bukkit.Sound; import org.bukkit.SoundCategory; import org.bukkit.block.BlockState; import org.bukkit.entity.Entity; import org.bukkit.entity.HumanEntity; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event...
package org.bricolages.streaming; import org.bricolages.streaming.preproc.*; import org.bricolages.streaming.event.*; import org.bricolages.streaming.stream.*; import org.bricolages.streaming.stream.op.OpBuilder; import org.bricolages.streaming.stream.op.SequencialNumberRepository; import org.bricolages.streaming.objec...
package guru.haun.hackery.blocks; import sun.awt.windows.WWindowPeer; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.world.World; public class GlitchBlock extends Block { public Glitch...
package org.codehaus.plexus.util.xml; import org.codehaus.plexus.util.xml.pull.XmlSerializer; import java.io.IOException; import java.io.StringWriter; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class Xpp3Dom { protected String name; protected String...
package org.oakgp; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertSame; import static org.oakgp.TestUtils.readNode; import org.junit.Test; import org.oakgp.node.ConstantNode; import org.oakgp.node.FunctionNode; import org.oakgp.node.Node; import org.oakgp.node.VariableNode; public cla...
package guru.haun.hackery.blocks.gui; import guru.haun.hackery.HackeryMod; import net.minecraft.client.gui.GuiScreen; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.shader.TesselatorVertexState; public class GuiBSOD extends GuiScreen { @Override public void initGui() { Hac...
package org.codice.nitf.filereader; import java.io.InputStream; import java.math.BigInteger; import java.text.ParseException; import java.util.List; import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBException; import javax.xml.bind.Unmarshaller; import org.codice.nitf.filereader.schema.FieldType; import org....
package info.u_team.u_team_core.util; import org.lwjgl.opengl.GL11; import com.mojang.blaze3d.matrix.MatrixStack; import com.mojang.blaze3d.systems.RenderSystem; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.AbstractGui; import net.minecraft.client.renderer.*; import net.minecraft.client.render...
package org.convx.schema; import org.convx.schema.elements.*; import org.convx.writer.DelimitedWriterNode; import org.convx.writer.WriterNode; import javax.xml.stream.events.XMLEvent; import java.io.IOException; import java.io.Writer; import java.util.HashSet; import java.util.Set; import java.util.Stack; /** * @autho...
package io.cfp.controller; import com.fasterxml.jackson.databind.ObjectMapper; import io.cfp.dto.TalkUser; import io.cfp.dto.user.Schedule; import io.cfp.dto.user.UserProfil; import io.cfp.entity.Event; import io.cfp.entity.Role; import io.cfp.entity.Talk; import io.cfp.repository.TalkRepo; import io.cfp.service.TalkUs...
package org.deepsymmetry.beatlink; import java.io.IOException; import java.net.*; import java.nio.ByteBuffer; import java.util.*; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicLo...
package it.unipi.di.acube.smaph; import java.io.FileNotFoundException; import java.io.IOException; import it.unipi.di.acube.batframework.systemPlugins.CachedWATAnnotator; import it.unipi.di.acube.batframework.utils.WikipediaApiInterface; import it.unipi.di.acube.searchapi.CachedWebsearchApi; import it.unipi.di.acube.se...
package com.exedio.cope.instrument; import java.io.StringWriter; 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.TreeSet; /** * Represents a parsed java file. * Manages the mapping of type ...
package org.accada.ale.server; import java.util.ArrayList; import java.util.GregorianCalendar; import java.util.HashSet; import java.util.List; import java.util.Observable; import java.util.Observer; import java.util.Random; import java.util.Set; import org.accada.ale.server.readers.LogicalReader; import org.accada.ale...
package org.ethereum.vm; import org.ethereum.core.Block; import org.ethereum.core.Transaction; import org.ethereum.db.Repository; import org.ethereum.manager.WorldManager; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.spongycastle.util.encoders.Hex; import java.math.BigInteger; public class Progra...
package jstreamserver.http; import anhttpserver.HttpRequestContext; import jstreamserver.utils.Config; import jstreamserver.utils.velocity.VelocityModel; import jstreamserver.utils.velocity.VelocityRenderer; import jstreamserver.utils.ffmpeg.FFMpegSegmenter; import jstreamserver.utils.ffmpeg.FrameMessage; import jstrea...
package com.kenshinji.Lesson5; import org.junit.Test; public class StoneWallTest { @Test public void test() { } }
package org.jabref.gui.entryeditor; import java.io.IOException; import java.io.StringReader; import java.io.StringWriter; import java.util.Map; import java.util.Objects; import javax.swing.undo.UndoManager; import javafx.beans.property.ObjectProperty; import javafx.beans.property.SimpleObjectProperty; import javafx.col...
package mariculture.core.tile; import mariculture.Mariculture; import mariculture.core.config.Machines.Client; import mariculture.core.helpers.PlayerHelper; import mariculture.core.network.PacketHandler; import mariculture.core.network.PacketParticle; import mariculture.core.network.PacketParticle.Particle; import mari...
package demo; import java.io.File; import java.nio.file.attribute.UserPrincipalLookupService; import java.time.Duration; import java.util.List; import java.util.Set; import java.util.Map.Entry; import java.util.concurrent.CompletionStage; import java.util.concurrent.TimeUnit; import org.mockito.runners.ConsoleSpammingM...
package org.jabref.gui.entryeditor; import java.io.IOException; import java.io.StringReader; import java.io.StringWriter; import java.util.Map; import java.util.Objects; import javax.swing.undo.UndoManager; import javafx.beans.property.ObjectProperty; import javafx.beans.property.SimpleObjectProperty; import javafx.col...
package mariculture.plugins; import static mariculture.core.lib.ItemLib.stone; import static mariculture.core.util.Fluids.getFluidName; import static mariculture.core.util.Fluids.getFluidStack; import static tconstruct.library.crafting.FluidType.getFluidType; import java.util.ArrayList; import java.util.Map; import mar...
package org.jenkinsci.plugins.p4; import java.io.File; import java.io.IOException; import java.io.PrintStream; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.logging.Logger; import org.jenkinsci.plugins.p4.browsers.P4Browser; import org.jenkinsci.p...
package org.flymine.util; import junit.framework.*; import java.util.Random; public class CacheMapTest extends TestCase { public CacheMapTest(String arg1) { super(arg1); } public void test() throws Exception { CacheMap cm = new CacheMap(); Integer array[] = new Integer[10000000]; ...
package mil.nga.geopackage.io; import java.awt.Color; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.lang.reflect.Field; import java.sql.SQLException; import java.util.logging.Level; import java.util.logging.Logger; import javax.imageio.ImageIO; import mil.nga.geopacka...
package org.lightmare.utils.earfile; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.util.Enumeration; import java.util.Set; import java.util.UUID; import java.util.zip.ZipEntry; import java.util.zip.ZipFile; import java.util...
package com.stanfy.views; import android.content.Context; import android.content.res.TypedArray; import android.os.Parcel; import android.os.Parcelable; import android.util.AttributeSet; public class ScrollView extends android.widget.ScrollView { /** Froze scroll position flag. */ private boolean frozeScrollPositio...
package com.gvoltr.fragmentdnd; import android.animation.Animator; import android.animation.AnimatorSet; import android.animation.ObjectAnimator; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Point; import android.g...
// Depot library - a Java relational persistence library // This library is free software; you can redistribute it and/or modify it // (at your option) any later version. // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // You should...
package org.nwapw.abacus.fx; import javafx.application.Platform; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.fxml.FXML; import javafx.scene.control.*; import javafx.scene.control.cell.CheckBoxListCell; import javafx.scene.text.Text; import javafx.util.Callback; impor...
package ee.shy.storage; import org.apache.commons.io.IOUtils; import org.junit.Before; import org.junit.Test; import java.nio.file.Path; import java.util.Arrays; public class FileStorageTest extends DataStorageTest { private Path storageDirectory; @Before public void setUp() throws Exception { stora...
package net.daw.helper; public class ConnectionClassHelper { public static String getDatabaseName() { return "openausias"; } public static String getDatabaseLogin() { return "root"; } public static String getDatabasePassword() { return "bitnami"; } public static Strin...
package com.jme3.renderer; import com.jme3.material.Material; import com.jme3.material.MaterialDef; import com.jme3.material.RenderState; import com.jme3.material.Technique; import com.jme3.math.*; import com.jme3.post.SceneProcessor; import com.jme3.renderer.queue.GeometryList; import com.jme3.renderer.queue.RenderQue...
package is.abadidea.tictactoe; import static org.junit.Assert.assertEquals; import org.junit.Test; public class GridTest { @Test public void constructorReturns2Darray(){ Grid grid = new Grid(); assertEquals(grid.matrix.length, 3); assertEquals(grid.matrix[0].length, 3); assertEqu...
package sfBugs; import edu.umd.cs.findbugs.annotations.NoWarning; public class Bug2003243 { String field = Bug2003243.class.getCanonicalName(); static Bug2003243 record = new Bug2003243(); @NoWarning("MWN") public void foo() { synchronized (record.field) { record.field.notifyAll(); /...
package org.spout.droplet; import java.util.logging.Level; import org.spout.api.ChatColor; import org.spout.api.Engine; import org.spout.api.Spout; import org.spout.api.command.CommandRegistrationsFactory; import org.spout.api.command.annotated.AnnotatedCommandRegistrationFactory; import org.spout.api.command.annotated...
package org.jdesktop.swingx; import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.regex.Pattern; import javax.swing.AbstractAction; import javax.swing.Action; import javax.swing.JButton; import javax.swing.JComponen...
package net.networkdowntime.search.trie; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import gnu.trove.map.hash.TCharObjectHashMap; public abstract class Trie { private static fi...
package learnositysdk.request; import java.util.HashMap; import java.util.Map; import java.util.Iterator; import org.json.JSONObject; import org.json.JSONArray; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertio...
package net.openhft.chronicle.map; import net.openhft.chronicle.hash.Data; import java.util.function.BiFunction; import java.util.function.Function; import static net.openhft.chronicle.hash.Data.bytesEquivalent; import static net.openhft.chronicle.map.MapMethodsSupport.returnCurrentValueIfPresent; import static net.ope...
package main.java.org.usfirst.frc.team4215.robot; import edu.wpi.first.wpilibj.DigitalInput; import edu.wpi.cscore.AxisCamera; import edu.wpi.cscore.CvSink; import edu.wpi.cscore.CvSource; import edu.wpi.first.wpilibj.CameraServer; import java.util.ArrayList; import edu.wpi.first.wpilibj.IterativeRobot; import edu.wpi....
package net.marcioguimaraes; import net.marcioguimaraes.wycash.model.Dollar; import org.junit.*; public class DollarTest { @Test public void testMultiplication() { Dollar five = new Dollar(5); five.times(2); Assert.assertEquals(10, five.amount); five.times(3); Assert.asse...
package permafrost.tundra.lang; import permafrost.tundra.io.InputStreamHelper; import java.io.IOException; import java.io.InputStream; import java.nio.charset.Charset; /** * A collection of convenience methods for working with Charset objects. */ public final class CharsetHelper { /** * The default character...
package org.nlpcn.es4sql; import org.elasticsearch.action.admin.cluster.node.info.NodesInfoResponse; import org.elasticsearch.action.admin.indices.delete.DeleteIndexRequestBuilder; import org.elasticsearch.action.admin.indices.delete.DeleteIndexResponse; import org.elasticsearch.action.admin.indices.mapping.put.PutMapp...
package se.kits.gakusei.util; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import se.kits.gakusei.content.model.Fact; import se.kits.gakusei.content.model.Inflection; import se.kits.gakusei.content.model.Lesson; import se.kits.gakusei.content.model.Nugg...
package nl.mpi.kinnate.ui; import javax.swing.BoxLayout; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextField; import nl.mpi.kinnate.SavePanel; import nl.mpi.kinnate.entityindexer.IndexerParameters.IndexerParam; public class FieldS...
package org.roi.itlab.cassandra; import org.apache.commons.math3.random.MersenneTwister; import org.apache.commons.math3.random.RandomGenerator; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import org.roi.itlab.cassandra.person.Person; import org.roi.itlab.cassandra.random_attributes.PersonG...
//@@author A0138474X package seedu.address.storage; import javax.xml.bind.annotation.XmlElement; import seedu.address.commons.exceptions.IllegalValueException; import seedu.address.model.tag.Tag; import seedu.address.model.task.Description; import seedu.address.model.task.Event; import seedu.address.model.task.Name; im...
package nl.topicus.jdbc; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.RowIdLifetime; import java.sql.SQLException; import java.sql.SQLFeatureNotSupportedException; public class CloudSpannerMetaData extends AbstractCloudSpannerMetaData { private CloudSpann...
package tgbungeeauth.bungee; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.util.Arrays; import java.util.Collections; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.UUID; import java.util.concurrent.Concurrent...
package seedu.task.logic.commands; import java.text.ParseException; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import seedu.task.commons.core.EventsCenter; import seedu.task.commons.events.ui.JumpToListRequestEvent; import seedu.task.commons.exceptions.IllegalValu...
package seedu.task.model.util; import seedu.task.commons.exceptions.IllegalValueException; import seedu.task.model.ReadOnlyTaskManager; import seedu.task.model.TaskManager; import seedu.task.model.tag.UniqueTagList; import seedu.task.model.task.Task; import seedu.task.model.task.TaskDate; import seedu.task.model.task.T...
package org.scijava.util; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.net.MalformedURLException; im...
package seedu.taskitty.commons.util; import seedu.taskitty.model.task.Task; //@@author A0139052L /** * Helper functions for handling tasks related items. * */ public class TaskUtil { /** * Returns the specified index in the {@code command} IF a valid category character was given. * else return the de...
package org.shirolang; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertSame; import static org.junit.Assert.assertTrue; import org.junit.Before; import org.junit.Test; import org.shirolang.base.SF...
package seedu.taskmanager.model; import java.util.Set; import java.util.Stack; import java.util.logging.Logger; import javafx.collections.transformation.FilteredList; import seedu.taskmanager.commons.core.ComponentManager; import seedu.taskmanager.commons.core.LogsCenter; import seedu.taskmanager.commons.core.Unmodifia...
package org.basex.http.restxq; import static org.basex.http.HTTPMethod.*; import static org.basex.http.restxq.RestXqText.*; import static org.basex.util.Token.*; import java.io.*; import java.net.*; import java.util.*; import java.util.regex.*; import javax.servlet.http.*; import org.basex.core.*; import org.basex.http...