answer
stringlengths
17
10.2M
package de.fhbielefeld.newsboard.dao.mysql; import de.fhbielefeld.newsboard.model.ExternalDocument; import de.fhbielefeld.newsboard.model.ExternalDocumentDao; import de.fhbielefeld.newsboard.model.module.ModuleId; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.JdbcTe...
package ecse321.fall2014.group3.bomberman.physics.entity.mob; import java.util.Collection; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import com.flowpowered.math.vector.Vector2f; import ecse321.fall2014.group3.bomberman.Direction; import ecse321.fall2014.group3.bomberman.nterface.SpriteInfo; i...
package edu.jhu.hlt.concrete.gigaword.expt; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.IOException; import java.io.OutputStream; import java.io.Reader; import java.lang.Thread.UncaughtExceptionHandler; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Pa...
package eu.socialsensor.focused.crawler.bolts; import static backtype.storm.utils.Utils.tuple; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.concurrent.BlockingQu...
package gate.plugin.learningframework.features; import gate.util.GateRuntimeException; import java.io.File; import java.io.StringReader; import java.net.URL; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.log4j.Logger; import org.jdom.Element; import org.jdom.JDOMException; imp...
package genepi.imputationserver.steps.imputation; import genepi.hadoop.command.Command; import genepi.imputationserver.steps.vcf.VcfChunk; import genepi.imputationserver.steps.vcf.VcfChunkOutput; import genepi.io.FileUtil; import genepi.io.plink.MapFileReader; import genepi.io.plink.Snp; import genepi.io.text.LineReade...
package gov.pnnl.stucco.dbconnect.postgresql; import gov.pnnl.stucco.dbconnect.Condition; import gov.pnnl.stucco.dbconnect.DBConnectionBase; import gov.pnnl.stucco.dbconnect.DBConstraint; import gov.pnnl.stucco.dbconnect.StuccoDBException; import gov.pnnl.stucco.dbconnect.postgresql.PostgresqlDBPreparedStatement; impor...
package com.haulmont.cuba.web.gui.components; import com.haulmont.cuba.gui.components.Action; import com.haulmont.cuba.gui.components.Component; import com.haulmont.cuba.gui.components.Button; import com.haulmont.cuba.core.global.ConfigProvider; import com.haulmont.cuba.web.WebConfig; import com.vaadin.terminal.ThemeRe...
package org.random.api; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.net.URL; import java.util.Random; import java.util.UUID; import javax.net.ssl.HttpsURLConnection; import com.goog...
import java.io.*; import java.net.*; import java.util.*; class Clientes{ private String nickname; private InetAddress dir; private int puerto; public boolean status; public Clientes(){ } public void setNickname(String s){ nickname = s; } public void setInetAddress(InetAddress d){ dir = d; } ...
package com.twu.biblioteca.controller; import com.twu.biblioteca.model.*; import com.twu.biblioteca.view.View; import org.junit.Test; import java.util.ArrayList; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; public class BibliotecaAppTest { ...
package com.cordovacn.www; import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaPlugin; import org.apache.cordova.PluginResult; import org.json.JSONArray; import org.json.JSONException; public class customPlugin extends CordovaPlugin { public static final String METHOD_ECHO = "echo"; /** ...
package fi.iki.elonen; import java.math.BigInteger; import java.security.SecureRandom; import java.util.Date; import java.util.Map; public class CrawlerTest1 extends NanoHTTPD { public CrawlerTest1() { super(8181); } @Override public Response serve(IHTTPSession session) { int generation ...
package org.adbcj.mysql.codec; import java.io.UnsupportedEncodingException; public class CommandRequest extends ClientRequest { private final Command command; public CommandRequest(Command command) { this.command = command; } public Command getCommand() { return command; } @Overr...
package mcjty.rftoolsdim.dimensions.description; import mcjty.rftoolsdim.config.PowerConfiguration; import mcjty.rftoolsdim.config.Settings; import mcjty.rftoolsdim.dimensions.dimlets.DimletCosts; import mcjty.rftoolsdim.dimensions.dimlets.DimletKey; import mcjty.rftoolsdim.dimensions.dimlets.KnownDimletConfiguration; ...
package me.ryanhamshire.griefprevention.listener; import com.flowpowered.math.vector.Vector3d; import com.google.common.collect.ImmutableMap; import me.ryanhamshire.griefprevention.DataStore; import me.ryanhamshire.griefprevention.GPFlags; import me.ryanhamshire.griefprevention.GPPlayerData; import me.ryanhamshire.grie...
package org.openrdf.http.object.tasks; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.io.StringWriter; import java.io.Writer; import java.nio.channels.ReadableByteChannel; import java.nio.charset.Charset; import java.util.List...
package se.sics.mspsim; import java.io.IOException; import se.sics.mspsim.platform.GenericNode; import se.sics.mspsim.util.ArgumentManager; public class Main { public static GenericNode createNode(String className) { try { Class<? extends GenericNode> nodeClass = Class.forName(className).asSubclass(GenericN...
package org.openlca.cloud.api.data; import java.io.File; import java.io.IOException; import java.net.URI; import java.nio.file.FileSystem; import java.nio.file.FileSystems; import java.nio.file.Files; import java.nio.file.StandardCopyOption; import java.util.ArrayList; import java.util.HashMap; import java.util.List; i...
package net.cazzar.mods.jukeboxreloaded.network.packet; import cpw.mods.fml.common.network.simpleimpl.IMessage; import cpw.mods.fml.common.network.simpleimpl.IMessageHandler; import cpw.mods.fml.common.network.simpleimpl.MessageContext; import io.netty.buffer.ByteBuf; import net.cazzar.corelib.lib.LogHelper; import net...
package com.ecyrd.jspwiki.plugin; import java.util.Collection; import java.util.Properties; import org.apache.jspwiki.api.PluginException; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import com.ecyrd.jspwiki.TestEngine; import com.ecyrd.jspwiki.WikiContext; import com...
package org.openmrs.web; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import javax.servlet.ServletContext; import org.apache.commons.io.FileUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.web.co...
package net.glowstone.generator.populators.overworld; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.Random; import net.glowstone.generator.decorators.overworld.DoublePlantDecorator.DoublePlantDecoration; import net.glowstone.generator.decorators.overworld.MushroomD...
package org.codelibs.elasticsearch.sstmpl.filter; import java.io.IOException; import java.util.HashMap; import java.util.Map; import org.codelibs.elasticsearch.sstmpl.ScriptTemplateException; import org.codelibs.elasticsearch.sstmpl.chain.SearchTemplateChain; import org.elasticsearch.action.ActionListener; import org.e...
package org.cyanogenmod.launcher.cardprovider; import android.content.Context; import org.cyanogenmod.launcher.cards.ApiCard; import org.cyanogenmod.launcher.home.api.CMHomeApiManager; import org.cyanogenmod.launcher.home.api.cards.DataCard; import com.cyanogen.cardbuilder.DataCardBuilderFactory; import java.util.Array...
package org.helianto.sendgrid.message.sender; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.nio.charset.StandardCharsets; import java.util.HashMap; import java.util.Map; import javax.inject.Inject; import org.apache.commons.codec.binary.Base64; import org.helianto.core.domain.Iden...
package com.azuqua.java.client.main; import java.util.List; import com.azuqua.java.client.Azuqua; import com.azuqua.java.client.model.Flo; import com.azuqua.java.client.model.Orgs; import com.azuqua.java.client.model.Org; /** * Main method displays how to use the Azuqua object to make * Azuqua API calls. * @author q...
package org.jabref.logic.importer.fetcher; import java.io.IOException; import java.net.MalformedURLException; import java.net.URISyntaxException; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Objects; import java.util.Opti...
package com.bourke.glimmr; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.os.Bundle; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import android.support.v4.view.ViewPager; import android.util.Log; import com.a...
package clarifai2.test; import clarifai2.dto.input.ClarifaiInput; import clarifai2.dto.model.output.ClarifaiOutput; import clarifai2.dto.prediction.Concept; import org.jetbrains.annotations.NotNull; import org.junit.Test; import java.io.IOException; import java.util.List; import java.util.concurrent.CountDownLatch; imp...
package org.javarosa.core.model.instance; import com.google.common.collect.ArrayListMultimap; import com.google.common.collect.Multimap; import org.commcare.core.interfaces.RemoteInstanceFetcher; import org.javarosa.core.util.externalizable.DeserializationException; import org.javarosa.core.util.externalizable.ExtUtil;...
package com.dianping.order.client; import android.app.Activity; import android.app.ProgressDialog; import android.content.DialogInterface; import android.content.Intent; import android.hardware.Camera; import android.os.Bundle; import android.util.Log; import android.view.*; import android.widget.Toast; import com.dian...
package org.owasp.esapi.reference.crypto; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.util.Iterator; import java.uti...
package org.sagebionetworks.web.client.widget.entity; import java.util.HashSet; import java.util.Map; import java.util.Set; import org.sagebionetworks.repo.model.wiki.WikiPage; import org.sagebionetworks.schema.adapter.JSONObjectAdapterException; import org.sagebionetworks.web.client.ClientProperties; import org.sagebi...
package com.gh4a.activities.home; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.view.MenuItemCompat; import android.text.TextUtils; import android.view.Menu; import android.view.MenuItem; import com.gh4a.Constants; import com.gh4a.R; import com.gh4a.fragment.IssueListFragme...
package org.sagebionetworks.web.client.widget.entity; import java.util.Map; import org.sagebionetworks.repo.model.wiki.WikiPage; import org.sagebionetworks.schema.adapter.JSONObjectAdapterException; import org.sagebionetworks.web.client.DisplayConstants; import org.sagebionetworks.web.client.DisplayUtils; import org.sa...
package com.github.andlyticsproject.v2; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import com.github.andlyticsproject.model.AppInfo; import com.github.andlyticsproject.model.AppStats; import com.github.a...
package com.github.noxan.aves.server; import java.io.IOException; import java.net.InetSocketAddress; import java.net.ServerSocket; import java.net.Socket; import java.net.SocketTimeoutException; import java.util.Collections; import java.util.HashSet; import java.util.Set; import java.util.concurrent.BlockingQueue; impo...
package org.usfirst.frc.team1360.robot.autonomous; import edu.wpi.first.wpilibj.command.Command; import edu.wpi.first.wpilibj.command.CommandGroup; import org.usfirst.frc.team1360.robot.util.CommandData; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; public class AutonomousMan...
package com.namelessmc.NamelessAPI; import java.net.URL; import java.util.Date; import java.util.UUID; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import com.namelessmc.NamelessAPI.utils.NamelessRequestUtil; import com.namelessmc.NamelessAPI.utils.NamelessRequestUtil.Request; public final clas...
package org.bouncycastle.tls; public class ExtensionType { /* * RFC 2546 2.3. */ public static final int server_name = 0; public static final int max_fragment_length = 1; public static final int client_certificate_url = 2; public static final int trusted_ca_keys = 3; public static fina...
package tigase.server.ext.handlers; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Queue; import java.util.UUID; import java.util.logging.Logger; import tigase.server.Packet; import tigase.server.ext.CompRepoItem; import tigase.server.ext.ComponentConnection; import tigase.se...
package com.vaadin.terminal.gwt.client.ui; import com.google.gwt.event.dom.client.KeyCodes; import com.google.gwt.user.client.Command; import com.google.gwt.user.client.DOM; import com.google.gwt.user.client.DeferredCommand; import com.google.gwt.user.client.Element; import com.google.gwt.user.client.Event; import com....
package website.automate.jwebrobot.executor; import org.openqa.selenium.WebDriver; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import website.automate.jwebrobot.context.GlobalExecutionContext; impo...
package com.valkryst.VTerminal.component; import com.valkryst.VTerminal.Screen; import com.valkryst.VTerminal.Tile; import com.valkryst.VTerminal.TileGrid; import com.valkryst.VTerminal.builder.TextAreaBuilder; import com.valkryst.VTerminal.font.Font; import com.valkryst.VTerminal.palette.ColorPalette; import lombok.Ge...
package com.wakatime.intellij.plugin; import java.io.*; import java.net.MalformedURLException; import java.net.URL; import java.nio.channels.Channels; import java.nio.channels.ReadableByteChannel; import java.util.ArrayList; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; public class Dependencies {...
package com.wizzardo.httpserver.response; import com.wizzardo.epoll.readable.ReadableBytes; import com.wizzardo.httpserver.ReadableBuilder; import com.wizzardo.httpserver.request.Header; import java.util.Arrays; public class Response { private static final byte[] LINE_SEPARATOR = "\r\n".getBytes(); private stat...
package de.longri.cachebox3.gui.widgets; import com.badlogic.gdx.scenes.scene2d.ui.Image; import com.badlogic.gdx.scenes.scene2d.ui.Skin; import com.badlogic.gdx.scenes.scene2d.utils.Drawable; import com.kotcrab.vis.ui.VisUI; import com.kotcrab.vis.ui.widget.VisTable; public class Stars extends VisTable { private f...
package net.java.sip.communicator.impl.contactlist; import java.util.*; import org.osgi.framework.*; import net.java.sip.communicator.service.contactlist.*; import net.java.sip.communicator.service.contactlist.event.*; import net.java.sip.communicator.service.protocol.*; import net.java.sip.communicator.service.protoco...
package hudson.slaves; import hudson.model.*; import hudson.remoting.Channel; import hudson.remoting.VirtualChannel; import hudson.remoting.Callable; import hudson.util.StreamTaskListener; import hudson.util.NullStream; import hudson.util.RingBufferLogHandler; import hudson.util.Futures; import hudson.FilePath; import ...
package org.schemeway.plugins.schemescript.interpreter; import java.util.regex.*; import org.eclipse.core.resources.*; import org.eclipse.core.runtime.*; import org.eclipse.debug.ui.console.*; import org.eclipse.jface.text.*; import org.eclipse.jface.util.*; import org.schemeway.plugins.schemescript.*; import org.schem...
package org.yawni.util.cache; //import org.yawni.util.cache.ConcurrentLinkedHashMap.EvictionPolicy; //import static org.yawni.util.cache.ConcurrentLinkedHashMap.EvictionPolicy.*; public class Caches { public static <K, V> Cache<K, V> withCapacity(final int capacity) { return new LRUCache<K, V>(capacity); // re...
package org.usfirst.frc308.FRC2017.commands; import org.usfirst.frc308.FRC2017.RobotConstants; import org.usfirst.frc308.FRC2017.utils.MathUtils; import edu.wpi.first.wpilibj.command.CommandGroup; import edu.wpi.first.wpilibj.networktables.NetworkTable; public class AutonomousVisionControlledDriving extends CommandGrou...
package tachyon.master; import java.io.Closeable; import java.io.FileNotFoundException; import java.io.IOException; import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.List; import java.util.Set; import org.apache.thrift.TException; import org.apache.thrift.protoc...
package com.vangent.hieos.services.pdp.transactions; import com.vangent.hieos.policyutil.exception.PolicyException; import com.vangent.hieos.xutil.services.framework.XBaseTransaction; import com.vangent.hieos.xutil.xlog.client.XLogMessage; import com.vangent.hieos.xutil.xml.XPathHelper; import com.vangent.hieos.policyu...
// Triple Play - utilities for use in PlayN-based games package tripleplay.particle; import java.util.ArrayList; import java.util.List; import react.Closeable; import react.Signal; import react.Slot; import react.UnitSlot; import playn.core.Clock; import playn.core.Image; import playn.core.QuadBatch; import playn.core....
package com.faforever.client.chat; import com.faforever.client.chat.avatar.AvatarBean; import com.faforever.client.chat.avatar.AvatarService; import com.faforever.client.clan.Clan; import com.faforever.client.clan.ClanService; import com.faforever.client.clan.ClanTooltipController; import com.faforever.client.fx.MouseE...
package com.github.davidmoten.rx.operators; import java.util.List; import org.junit.Test; import rx.Observable; import rx.functions.Func2; import com.github.davidmoten.rx.Transformers; public class OperatorOrderedMergeTest { @Test public void test() { List<Integer> list = Observable .jus...
package com.github.ferstl.streams; import java.util.Iterator; import java.util.Spliterator; import java.util.concurrent.Callable; import java.util.concurrent.ForkJoinPool; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; import java.util.stream.BaseStream; import org.junit.After; ...
package com.jprotractor.integration; import org.apache.commons.lang.exception.ExceptionUtils; import static org.hamcrest.CoreMatchers.containsString; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.CoreMatchers.notNullValue; import static org.junit.Assert.assertNotEquals; import static org.j...
package de.frosner.datagenerator.generator; import static org.fest.assertions.Assertions.assertThat; import org.junit.Before; import org.junit.Test; import de.frosner.datagenerator.distributions.DummyDistribution; import de.frosner.datagenerator.features.FeatureDefinition; public class DataGeneratorServiceTest { pr...
/** * C4Rules Class * @author Thomas Werner * @since 11/2/2014 * @version *1.0.1* * -update 20/2/2014 * WORK IN PROGRESS!! * Provides the win condition for a game of C4, * to be evaluated after every player move. */ public class C4Rules extends GameRules { private final int PLAYER_ONE = 1; ...
package com.tenforwardconsulting.cordova.bgloc; import java.util.List; import org.apache.http.HttpResponse; import org.apache.http.client.methods.HttpPost; import org.apache.http.entity.StringEntity; import org.apache.http.impl.client.DefaultHttpClient; import org.json.JSONException; import org.json.JSONObject; import ...
package me.exphc.Writable; import java.lang.Byte; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.util.HashMap; import java.util.UUID; import java.util.Iterator; import java.util.logging.Logger; import java.util.concurrent.ConcurrentHashMap; import java.io.*; import org.bukkit.plugi...
package de.lmu.ifi.dbs.algorithm.clustering; import de.lmu.ifi.dbs.algorithm.AbstractAlgorithm; import de.lmu.ifi.dbs.algorithm.result.Result; import de.lmu.ifi.dbs.data.ClassLabel; import de.lmu.ifi.dbs.data.DatabaseObject; import de.lmu.ifi.dbs.data.MultiRepresentedObject; import de.lmu.ifi.dbs.database.AssociationID...
package dr.evomodel.operators; import dr.evolution.tree.NodeRef; import dr.evolution.tree.Tree; import dr.evomodel.tree.TreeModel; import dr.evomodelxml.operators.SubtreeJumpOperatorParser; import dr.evomodelxml.operators.SubtreeSlideOperatorParser; import dr.inference.operators.*; import dr.math.MathUtils; import java...
package edu.dynamic.dynamiz.UI; import java.util.ArrayList; import edu.dynamic.dynamiz.structure.EventItem; import edu.dynamic.dynamiz.structure.Feedback; import edu.dynamic.dynamiz.structure.TaskItem; import edu.dynamic.dynamiz.structure.ToDoItem; /** * @author Hu Wenyan * * */ public interface DisplayerInterface ...
package com.intellij.codeInspection; import com.intellij.openapi.application.WriteActionAware; import com.intellij.openapi.project.Project; import org.jetbrains.annotations.Nls; import org.jetbrains.annotations.NotNull; /** * Common base interface for quick fixes provided by local and global inspections. * * @author...
package org.jkiss.dbeaver.ui; import org.jkiss.dbeaver.model.DBIcon; /** * UI Icons */ public class UIIcon { public static final DBIcon DBEAVER_LOGO = new DBIcon("dbeaver_logo", "dbeaver48.png"); //$NON-NLS-1$ //$NON-NLS-2$ public static final DBIcon DRAG_HANDLE = new DBIcon("dragHandle", "platform:/plugin/or...
package net.jueb.util4j.test; import java.util.HashMap; import java.util.Map; import java.util.Queue; import java.util.UUID; import java.util.concurrent.ConcurrentLinkedQueue; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicLong...
package fi.mikuz.boarder.util.editor; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import fi.mikuz.boarder.gui.SoundboardMenu; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Looper; import android.util.Log; imp...
package com.cloud.utils.log; import java.io.PrintWriter; import java.lang.reflect.Method; import java.util.ArrayList; import org.apache.log4j.spi.ThrowableRenderer; /** * This renderer removes all the Cglib generated methods from the call * stack. It is generally not useful and makes the log confusing to look * at. ...
package com.google.sps.data; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import com.google.sps.data.Book; import com.google.sps.data.BookFieldsEnum; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.jso...
package com.google.sps.utilities; import com.google.cloud.spanner.DatabaseClient; import com.google.cloud.spanner.DatabaseId; import com.google.cloud.spanner.Mutation; import com.google.cloud.spanner.ResultSet; import com.google.cloud.spanner.Spanner; import com.google.cloud.spanner.SpannerOptions; import com.google.cl...
package br.edu.ifrn.obi2007; import java.util.Scanner; public class PaoAMetro { public static void main(String[] args){ Scanner input = new Scanner(System.in); // lendo quantidade de pessoas N System.out.print("Quantidade de pessoas: "); int n = input.nextInt(); System.out.pr...
package com.opengamma.util.fudgemsg; import javax.time.calendar.TimeZone; import javax.time.calendar.ZonedDateTime; import org.fudgemsg.FudgeMsg; import org.fudgemsg.MutableFudgeMsg; import org.fudgemsg.mapping.FudgeBuilder; import org.fudgemsg.mapping.FudgeBuilderFor; import org.fudgemsg.mapping.FudgeDeserializationCo...
package gov.nih.nci.ncicb.cadsr.loader.ui; import gov.nih.nci.ncicb.cadsr.dao.DataElementDAO; import gov.nih.nci.ncicb.cadsr.domain.DataElement; import gov.nih.nci.ncicb.cadsr.domain.DomainObjectFactory; import gov.nih.nci.ncicb.cadsr.loader.ui.tree.UMLNode; import java.awt.BorderLayout; import java.awt.Component; impo...
package io.xchris6041x.devin.gui.controls; import io.xchris6041x.devin.gui.Container; import org.bukkit.entity.Player; import org.bukkit.event.inventory.InventoryClickEvent; import org.bukkit.inventory.Inventory; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.meta.ItemMeta; import io.xchris6041x.dev...
package hep.lcio.implementation.sio; import hep.lcd.io.sio.SIOBlock; import hep.lcd.io.sio.SIOInputStream; import hep.lcd.io.sio.SIOOutputStream; import hep.lcd.io.sio.SIORecord; import hep.lcd.io.sio.SIOWriter; import hep.lcio.event.CalorimeterHit; import hep.lcio.event.LCCollection; import hep.lcio.event.LCEvent; imp...
package org.jaxen.function; import java.util.Iterator; import java.util.List; import org.jaxen.Context; import org.jaxen.Function; import org.jaxen.FunctionCallException; import org.jaxen.Navigator; import org.jaxen.UnsupportedAxisException; /** * <p><b>4.3</b> <code><i>boolean</i> lang(<i>string</i>)</code> * * @au...
package org.apache.commons.digester; import java.io.File; import java.io.FileInputStream; import java.io.FileReader; import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.io.Reader; import java.lang.reflect.InvocationTargetException; import java.net.URL; import java.net.URLConn...
package com.sun.star.wizards.table; import com.sun.star.awt.XCheckBox; import com.sun.star.awt.XFixedText; import com.sun.star.awt.XListBox; import com.sun.star.awt.XRadioButton; import com.sun.star.awt.XTextComponent; import com.sun.star.beans.UnknownPropertyException; import com.sun.star.beans.XPropertySet; import co...
package org.apache.commons.sql.model; import java.util.Hashtable; import java.sql.Types; // I don't know if the peer system deals // with the recommended mappings. //import java.sql.Date; //import java.sql.Time; //import java.sql.Timestamp; public class TypeMap { public static final String CHAR = "CHAR"; public...
package org.apache.xmlrpc; import java.io.InputStream; import java.io.IOException; /** * Tie together the XmlRequestProcessor and XmlResponseProcessor to handle * a request serially in a single thread. * * @author <a href="mailto:andrew@kungfoocoder.org">Andrew Evers</a> * @since 1.2 */ public class XmlRpcClientW...
package org.orbeon.oxf.xforms; import org.dom4j.Document; import org.dom4j.Element; import org.dom4j.QName; import org.dom4j.Text; import org.orbeon.oxf.common.OXFException; import org.orbeon.oxf.common.ValidationException; import org.orbeon.oxf.pipeline.api.PipelineContext; import org.orbeon.oxf.xforms.control.control...
package jlibs.xml.sax.async; import jlibs.core.io.IOUtil; import jlibs.core.net.URLUtil; import jlibs.nbp.Chars; import jlibs.nbp.NBHandler; import jlibs.xml.ClarkName; import jlibs.xml.NamespaceMap; import jlibs.xml.sax.AbstractXMLReader; import jlibs.xml.sax.SAXUtil; import jlibs.xml.xsl.TransformerUtil; import org.x...
package krasa.grepconsole.integration; import com.intellij.openapi.editor.colors.ColorKey; import com.intellij.ui.JBColor; import java.awt.*; import static com.intellij.openapi.editor.colors.ColorKey.createColorKey; public class ThemeColors { public static final ColorKey CHESSBOARD_WHITE_COLOR = createColorKey("Gre...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package magpie.models.regression; import java.util.Arrays; import java.util.LinkedList; import java.util.List; import magpie.data.Dataset; import magpie.models.BaseModel; import magpie.models.interfaces.MultiModel; impor...
package org.scoverage; import scala.collection.Seq; import scala.collection.Set; import scoverage.Coverage; import scoverage.IOUtils; import scoverage.Serializer; import scoverage.report.CoberturaXmlWriter; import scoverage.report.ScoverageHtmlWriter; import scoverage.report.ScoverageXmlWriter; import java.io.File; imp...
package ioke.lang; import java.util.Arrays; import java.util.ArrayList; import java.util.List; import java.util.Set; import java.util.HashSet; import java.util.Map; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.LinkedHashSet; import java.util.Collection; import ioke.lang.exceptions.ControlF...
package au.com.brooms; import au.com.brooms.dagger.ApproximatorModule; import au.com.brooms.error.InvalidParametersException; import dagger.Component; /** * PiApproximationApp - a main class to launch the PiApproximation actor system This application will estimate the value * of Pi to a number of steps based on an ap...
package banane.io.pdb; import banane.io.pdb.security.CustomUsernamePasswordAuthenticationFilter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authenticat...
package beaform.gui.search; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.concurrent.Future; import javax.swing.JPanel; import javax.swing.JTextField; import beaform.GraphDbHandlerForJTA; import beaform.SearchFormulaTask; import beaform.entities.Formula; public class SearchAc...
package ch.tkuhn.nanopub.server; import java.util.Random; import org.nanopub.extra.server.NanopubServerUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.mongodb.BasicDBObject; import com.mongodb.DB; import com.mongodb.DBCollection; import com.mongodb.DBCursor; public class Journal { private...
package com.carrot.carrotshop.shop; import java.math.BigDecimal; import java.util.List; import java.util.Optional; import java.util.Stack; import org.spongepowered.api.Sponge; import org.spongepowered.api.block.tileentity.TileEntity; import org.spongepowered.api.block.tileentity.carrier.TileEntityCarrier; import org.sp...
package com.celements.pagetype; import java.util.Arrays; import java.util.Collections; import java.util.List; import org.xwiki.model.reference.DocumentReference; import com.celements.web.service.IWebUtilsService; import com.xpn.xwiki.XWikiContext; import com.xpn.xwiki.XWikiException; import com.xpn.xwiki.doc.XWikiDocum...
package com.conveyal.gtfs; import com.conveyal.gtfs.model.Pattern; import com.conveyal.gtfs.model.Stop; import com.conveyal.gtfs.model.StopTime; import com.conveyal.gtfs.model.Trip; import com.google.common.collect.HashMultimap; import com.google.common.collect.Multimap; import org.slf4j.Logger; import org.slf4j.Logger...
package com.conveyal.taui.util; import com.conveyal.geojson.GeoJsonModule; import com.conveyal.r5.common.JsonUtilities; import com.conveyal.r5.model.json_serialization.JavaLocalDateSerializer; import com.conveyal.taui.models.JsonViews; import com.fasterxml.jackson.databind.ObjectMapper; import org.mongojack.internal.Mo...
package com.dood.amqp.config; import com.dood.amqp.receivers.SimpleReceiver; import org.springframework.amqp.core.Binding; import org.springframework.amqp.core.BindingBuilder; import org.springframework.amqp.core.Queue; import org.springframework.amqp.core.TopicExchange; import org.springframework.amqp.rabbit.connectio...
package com.fishercoder.solutions; import com.fishercoder.common.classes.TreeNode; import java.util.ArrayList; import java.util.List; public class _1382 { public static class Solution1 { public TreeNode balanceBST(TreeNode root) { List<Integer> inorder = inorder(root, new ArrayList<>()); ...