answer
stringlengths
17
10.2M
package eu.ydp.empiria.player.client.module.selection.view; import java.util.ArrayList; import java.util.List; import com.google.gwt.core.client.GWT; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.uibinder.client.UiBinder; import com.google....
package org.rstudio.studio.client.application.ui.impl; import com.google.gwt.core.client.GWT; import com.google.gwt.core.client.Scheduler; import com.google.gwt.core.client.Scheduler.ScheduledCommand; import com.google.gwt.dom.client.ImageElement; import com.google.gwt.dom.client.Style; import com.google.gwt.dom.client...
package org.rstudio.studio.client.common.mathjax; import java.util.ArrayList; import java.util.List; import org.rstudio.studio.client.common.mathjax.display.MathJaxPopupPanel; import org.rstudio.studio.client.workbench.views.source.editors.text.DocDisplay; import org.rstudio.studio.client.workbench.views.source.editors...
package lo.wolo.pokerclient; import java.util.UUID; import java.util.List; import android.app.AlertDialog; import android.content.DialogInterface; import android.graphics.Color; import android.os.Bundle; import android.text.InputType; import android.util.Log; import android.view.inputmethod.EditorInfo; import android.v...
package ac.at.tuwien.infosys.visp.runtime.configuration; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.autoconfigure.jdbc.DataSourceBuilder; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import javax.sql.DataSo...
package com.conveyal.datatools.manager.models; import com.conveyal.datatools.manager.persistence.DataStore; import com.fasterxml.jackson.annotation.JsonView; import java.util.Collection; public class ExternalFeedSourceProperty extends Model { private static final long serialVersionUID = 1L; private static DataS...
package com.fasterxml.jackson.databind.introspect; import java.util.Collection; import java.util.Map; import com.fasterxml.jackson.databind.AnnotationIntrospector; import com.fasterxml.jackson.databind.DeserializationConfig; import com.fasterxml.jackson.databind.JavaType; import com.fasterxml.jackson.databind.JsonNode;...
package Characters; import AttackAndDefendBehavior.*; import java.util.*; import Item.*; import Inventory.*; public abstract class A_Character { private String name; private int health; private int maxHealth; private int strength; private int dexterity; private...
package com.github.lunatrius.imc.deserializer; import com.google.gson.JsonArray; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParseException; import com.google.gson.JsonPrimit...
package cn.edu.ruc.dao; import java.util.List; /** * * * @author Sunxg * */ public interface BaseDao { /** * 1, * @return true, * false */ boolean insertOnlyPoint(); /** * 2, * @return true, * false */ boolean insertMultiPoints(); List...
package com.auth0; import com.auth0.client.auth.AuthAPI; import com.auth0.client.auth.AuthorizeUrlBuilder; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.util.Arrays; import java.util.Collections; import java.util.List; /** * Class to create and customize an Au...
package com.example; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.RequestMapping; import retrofit.Call; import retrofit....
package com.jcabi.http; import com.jcabi.aspects.Immutable; import java.io.IOException; import java.io.InputStream; import javax.validation.constraints.NotNull; @Immutable public interface Request { /** * GET method name. */ String GET = "GET"; /** * POST method name. */ String POST ...
package com.libqa.domain; import com.libqa.application.enums.SpaceLayoutType; import lombok.Data; import lombok.EqualsAndHashCode; import javax.persistence.*; import java.util.Date; @Data @Entity @Table(name = "space") @EqualsAndHashCode public class Space { @Id @Column(name = "spaceId", nullable = false) @...
package com.matthewcasperson.validation.filter; import java.io.IOException; import java.util.Enumeration; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.Servlet...
package com.wizzardo.http; import com.wizzardo.http.request.ByteTree; import com.wizzardo.http.utils.StringBuilderThreadLocalHolder; import com.wizzardo.tools.misc.ExceptionDrivenStringBuilder; import com.wizzardo.tools.reflection.StringReflection; import java.util.ArrayList; import java.util.List; public class Path { ...
// checkstyle: Checks Java source code for adherence to a set of rules. // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE...
package com.thinkaurelius.faunus.mapreduce.statistics; import com.thinkaurelius.faunus.FaunusVertex; import com.thinkaurelius.faunus.Holder; import com.thinkaurelius.faunus.Tokens; import com.thinkaurelius.faunus.mapreduce.CounterMap; import com.tinkerpop.blueprints.Direction; import com.tinkerpop.blueprints.Edge; impo...
package cronapi.map; import java.util.HashMap; import java.util.LinkedHashMap; import cronapi.CronapiMetaData; import cronapi.CronapiMetaData.CategoryType; import cronapi.CronapiMetaData.ObjectType; import cronapi.ParamMetaData; import cronapi.Var; @CronapiMetaData(category = CategoryType.MAP, categoryTags = { "Map", "...
package mitzi; import javax.swing.JFrame; import java.awt.*; import java.awt.event.*; import javax.swing.*; import com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundOperation.ANONYMOUS; public class MitziGUI extends JFrame implements MouseListener, MouseMotionListener { private static final long serialVersion...
package de.germanspacebuild.plugins.fasttravel.Listener; import de.germanspacebuild.plugins.fasttravel.FastTravel; import de.germanspacebuild.plugins.fasttravel.data.FastTravelDB; import de.germanspacebuild.plugins.fasttravel.data.FastTravelSign; import de.germanspacebuild.plugins.fasttravel.events.FastTravelFoundEvent...
package edu.umkc.sce.rdf; import java.io.IOException; import java.util.HashMap; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.h...
package de.rwth.idsg.velocity.web.rest.exception; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.TypeMismatchException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.MessageSource; import org.springframework.context.i18n.LocaleContextHolder; import...
package de.skuzzle.enforcer.restrictimports.parser; import de.skuzzle.enforcer.restrictimports.parser.lang.LanguageSupport; import java.nio.charset.Charset; import java.nio.file.Path; /** * For parsing a source file into a {@link ParsedFile}. */ public interface ImportStatementParser { /** * Constructs a def...
import Misc.Constants; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; ...
package io.disassemble.knn; import com.google.gson.*; import io.disassemble.knn.feature.BooleanFeature; import io.disassemble.knn.feature.DoubleFeature; import io.disassemble.knn.feature.Feature; import io.disassemble.knn.feature.IntegerFeature; import io.disassemble.knn.util.SourceEditor; import java.io.FileWriter; im...
package edu.upc.caminstech.equipstic.client; import java.net.URI; import java.nio.charset.StandardCharsets; import java.util.Arrays; import java.util.Optional; import java.util.TimeZone; import org.apache.http.auth.AuthScope; import org.apache.http.auth.Credentials; import org.apache.http.auth.UsernamePasswordCredentia...
package io.biblia.workflows.definition.parser.v1; import com.google.common.base.CharMatcher; import io.biblia.workflows.definition.Action; import io.biblia.workflows.ConfigurationKeys; import io.biblia.workflows.Configuration; import io.biblia.workflows.definition.ActionAttributesConstants; import io.biblia.workflows.d...
package io.github.achtern.AchternEngine.core.rendering.drawing; import io.github.achtern.AchternEngine.core.rendering.Vertex; import io.github.achtern.AchternEngine.core.rendering.mesh.MeshData; import static org.lwjgl.opengl.GL11.*; import static org.lwjgl.opengl.GL11.glDrawElements; import static org.lwjgl.opengl.GL1...
package kfk.load; import com.cyngn.kafka.produce.KafkaPublisher; import com.cyngn.kafka.produce.MessageProducer; import io.vertx.core.DeploymentOptions; import io.vertx.core.Vertx; import io.vertx.core.json.JsonObject; import java.io.Closeable; import java.io.IOException; public class LoadGenerator implements Closeable...
package net.earthcomputer.easyeditors.gui.command.slot; import java.util.List; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.GuiButton; import net.minecraft.client.renderer.GlStateManager; import net.minecraftforge.fml.client.config.HoverChecker; /** * A command slot which represents a button ...
package me.mneri.csv; import me.mneri.csv.exception.CsvConversionException; import me.mneri.csv.exception.CsvException; import me.mneri.csv.exception.UncheckedCsvException; import me.mneri.csv.exception.UnexpectedCharacterException; import java.io.*; import java.nio.charset.Charset; import java.nio.file.Files; import j...
package net.nunnerycode.bukkit.mythicdrops.spawning; import com.google.common.base.Joiner; import net.nunnerycode.bukkit.libraries.ivory.factories.FancyMessageFactory; import net.nunnerycode.bukkit.mythicdrops.MythicDropsPlugin; import net.nunnerycode.bukkit.mythicdrops.api.MythicDrops; import net.nunnerycode.bukkit.my...
package me.pagar.model; import java.util.Collection; import java.util.Date; import javax.ws.rs.HttpMethod; import org.joda.time.DateTime; import com.google.gson.JsonArray; import com.google.gson.JsonObject; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import com.google.g...
package mmsort; import java.util.Comparator; public class MatSort implements ISortAlgorithm { /** * * * @param key * @param array * @param from * @param to + 1 * @param comparator * @return key */ public static final <T> int searchFowardingBinSearch(final T key, fin...
package net.sourceforge.pebble.event.blogentry; import net.sourceforge.pebble.api.decorator.ContentDecoratorContext; import net.sourceforge.pebble.api.event.blogentry.BlogEntryEvent; import net.sourceforge.pebble.domain.Blog; import net.sourceforge.pebble.domain.BlogEntry; import net.sourceforge.pebble.util.MailUtils; ...
package net.runelite.deob; import net.runelite.deob.deobfuscators.FieldInliner; import net.runelite.deob.deobfuscators.FieldMover; import net.runelite.deob.deobfuscators.MethodMover; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.FileOutputStream; i...
package no.uio.ifi.trackfind.backend.data.providers; import alexh.weak.Dynamic; import com.github.benmanes.caffeine.cache.Caffeine; import com.github.benmanes.caffeine.cache.LoadingCache; import com.google.common.collect.HashMultimap; import com.google.common.collect.Multimap; import com.google.gson.Gson; import com.va...
package org.javacs; import com.google.common.base.Joiner; import com.google.common.collect.ImmutableList; import com.sun.source.util.TaskEvent; import com.sun.source.util.TaskListener; import com.sun.tools.javac.api.JavacTrees; import com.sun.tools.javac.api.MultiTaskListener; import com.sun.tools.javac.comp.*; import ...
package org.jpmml.sklearn; import java.io.File; import java.io.FileOutputStream; import java.io.OutputStream; import java.util.Collection; import java.util.LinkedHashMap; import java.util.Map; import com.beust.jcommander.JCommander; import com.beust.jcommander.Parameter; import com.beust.jcommander.ParameterException; ...
package org.csanchez.jenkins.plugins.kubernetes; import java.io.IOException; import java.time.Instant; import java.time.temporal.ChronoUnit; import java.util.HashSet; import java.util.Iterator; import java.util.Queue; import java.util.Set; import java.util.concurrent.ConcurrentLinkedQueue; import java.util.concurrent.T...
package org.jpmml.xgboost; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.InputStream; import java.io.OutputStream; import java.nio.ByteOrder; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import com.beust.jcommander.JCommander; import...
package ibis.io; import java.io.ObjectInput; import java.io.ObjectStreamClass; import java.io.IOException; import java.io.NotActiveException; import java.io.Serializable; import java.io.Externalizable; import ibis.ipl.IbisIOException; public final class IbisSerializationInputStream extends SerializationInputStream ...
package cn.com.restarter.service; import cn.com.restarter.domain.FileInfo; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import java.io.IOException; /** * @author : lihaoquan */ @Component public...
package battle; import java.time.Duration; public class Status { /** * Name of the Status. Identifies the Status from unrelated Status objects. * This is a required field. No default value is available. */ private final String name; /** * Simple text-based explanation of the Status. This is a required...
package org.openforis.ceo; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.net.URLDecoder; import java.nio.ByteBuffer; import java.nio.channe...
// of this software and associated documentation files (the "Software"), to // deal in the Software without restriction, including without limitation the // sell copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // all copies or substantial...
package ibis.io; import java.io.EOFException; import java.io.IOException; import java.io.InvalidObjectException; import java.io.NotActiveException; import java.io.NotSerializableException; import java.io.ObjectStreamClass; import java.io.Serializable; import java.io.StreamCorruptedException; import java.lang.reflect.Fi...
package org.wiztools.restclient; import java.io.*; import java.net.MalformedURLException; import java.net.URL; import java.util.Arrays; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.logging.Logger; import javax.xml.stream.XMLEventReader; import javax.xml.stream.XMLInputFa...
package fi_81.cwp_morse_mangle.morse; import java.util.ArrayList; /* * Bit format string, originally implemented with BitSet as backing buffer, but as * it appeared to be too slow (profiling results on Motorola Defy+), reverted to String. */ public class BitString implements Comparable<BitString>, CharSequence { ...
package com.rexsl.core; import com.sun.jersey.api.core.PackagesResourceConfig; import com.sun.jersey.spi.container.servlet.ServletContainer; import com.ymock.util.Logger; import java.io.IOException; import java.util.ArrayList; import java.util.Enumeration; import java.util.List; import java.util.Properties; import java...
package org.obolibrary.robot; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.semanticweb.owlapi.model.IRI; import org.sema...
package org.mvnsearch.ali.oss.spring.shell.commands; import com.aliyun.openservices.oss.model.*; import org.apache.commons.io.FileUtils; import org.apache.commons.io.IOUtils; import org.apache.commons.io.filefilter.AbstractFileFilter; import org.apache.commons.lang3.StringUtils; import org.apache.http.impl.cookie.DateU...
package org.voltdb; import java.io.IOException; import java.lang.reflect.Constructor; import java.nio.ByteBuffer; import org.voltcore.utils.DBBPool; import org.voltcore.utils.DBBPool.BBContainer; import org.voltdb.iv2.SpScheduler.DurableUniqueIdListener; import org.voltdb.licensetool.LicenseApi; import com.google_voltp...
package org.yaz4j;
package robowars.server.controller; import java.io.Serializable; /** * Represents a command sent from a mobile client to the RoboWars server. * This includes functionality such as setting spectator status, setting * ready status, setting the current gametype, and sending gameplay commands. * * Valid command format...
package org.openlmis.referencedata.util.messagekeys; public abstract class TradeItemMessageKeys extends MessageKeys { private static final String ERROR = join(SERVICE_ERROR, TRADE_ITEM); public static final String ERROR_NOT_FOUND_WITH_ID = join(ERROR, NOT_FOUND, WITH, ID); public static final String ERROR_NULL = ...
package utils; import java.util.ArrayList; import org.apache.commons.validator.routines.InetAddressValidator; import serial.MessageFromServer; import serial.MessageToServer; public class MessageControler { public MessageControler() { // do nothing } public void process(String s) { MessageToS...
package org.sagebionetworks.web.client.widget.entity; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import org.sagebionetworks.evaluation.model.Evaluation; import org.sagebionetworks.evaluation.model.Submission; import org.sagebionetworks.repo.model.Challenge; import...
package net.java.sip.communicator.impl.protocol.irc; import net.java.sip.communicator.service.protocol.*; import net.java.sip.communicator.service.protocol.event.*; import net.java.sip.communicator.util.*; /** * An IRC implementation of the ProtocolProviderService. * * @author Loic Kempf * @author Stephane Remy * ...
package org.mtransit.parser.ca_gtha_go_transit_train; import java.util.HashSet; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.commons.lang3.StringUtils; import org.mtransit.parser.DefaultAgencyTools; import org.mtransit.parser.Utils; import org.mtransit.parser....
package org.ow2.proactive.resourcemanager.utils; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; im...
package info.justaway.adapter; import android.app.AlertDialog; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Color; import android.graphics.Typeface; import android.os.Bundle; import android.support.v4.app.Dialog...
package codechicken.lib.gui; import codechicken.lib.math.MathHelper; import codechicken.lib.render.CCRenderState; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.FontRenderer; import net.minecraft.client.gui.Gui; import net.minecraft.client.gui.ScaledResolution; import net.minecraft.client.render...
package com.github.cstroe.svndumpgui.internal.utility; import org.junit.Test; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.StringReader; import java.nio.charset.StandardCharsets; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException...
package info.tregmine.listeners; import java.util.List; import java.util.regex.Pattern; import org.bukkit.ChatColor; import org.bukkit.event.*; import info.tregmine.*; import info.tregmine.api.Rank; import info.tregmine.api.TregminePlayer; import info.tregmine.database.*; import info.tregmine.events.TregmineChatEvent; ...
package com.lithium.dbi.rdbi.recipes.scheduler; import com.lithium.dbi.rdbi.RDBI; import org.joda.time.Instant; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import redis.clients.jedis.JedisPool; import java.util.List; import static org.testng.Assert.assertEquals; import static org.tes...
package io.empowerhack.hub.definitions.helpers; import cucumber.api.java.en.Given; import io.empowerhack.hub.HubApplicationTests; import io.empowerhack.hub.domain.User; import io.empowerhack.hub.repository.UserRepository; import org.junit.Assert; import org.openqa.selenium.By; import org.openqa.selenium.NoSuchElementEx...
package com.amplitude.api; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Locale; import java.util.Set; import java.u...
package net.gltd.gtms.client.openlink; import java.util.Collection; import java.util.HashMap; import java.util.Properties; import javax.xml.bind.JAXBException; import javax.xml.stream.XMLStreamException; import net.gltd.gtms.client.TestUtil; import net.gltd.gtms.extension.command.Command; import net.gltd.gtms.extension...
package com.dmdirc.util.io; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.nio.charset.Charset; import java.nio.file.Files; import java.nio.file.Path; import java.util.Collections; import java.util.List; import ja...
package net.katsuster.ememu.riscv; import net.katsuster.ememu.generic.*; import net.katsuster.ememu.riscv.core.*; /** * Core Local Interruptor (CLINT) * * : SiFive FU540-C000 Manual: v1p0 */ public class CLINT implements ParentCore { private RV64[] cores; private CLINTSlave slave; //4bytes registers ...
package nom.bdezonia.zorbage.procedure.impl.parse; import static org.junit.Assert.assertEquals; import org.junit.Test; import nom.bdezonia.zorbage.algebras.G; import nom.bdezonia.zorbage.procedure.Procedure; import nom.bdezonia.zorbage.tuple.Tuple2; import nom.bdezonia.zorbage.type.data.float64.real.Float64Algebra; imp...
package com.ecyrd.jspwiki.ui; import com.ecyrd.jspwiki.WikiContext; /** * Describes an editor. * * @author Chuck Smith * @since 2.4.12 */ public class Editor { private String m_editorName; private WikiContext m_wikiContext; private EditorManager m_editorManager; public Editor( WikiContext wikiCo...
package org.alienlabs.hatchetharry.integrationTest; import java.util.concurrent.TimeUnit; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.ServerConnector; import org.eclipse.jetty.webapp.WebAppContext; import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit.Tes...
package com.tlamatini.modelo; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.sql.Date; import java.util.ArrayList; import java.util.Calendar; import java.util.GregorianCalendar; import com.itextpdf.text.BaseColor; import com.itextpdf.text.Document; import com.itextpdf.text.DocumentEx...
package com.tpcstld.jetris; import java.util.ArrayList; import java.util.Random; import java.util.Timer; import android.content.Context; import android.content.SharedPreferences; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.view.MotionEvent; import android...
package org.biojava.bio.structure.io.mmcif; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import java.util.logging.Logger; import org.biojava.bio.structur...
package info.curtbinder.reefangel.service; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import android.util.Log; public class Host { private static final String TAG = Host.class.getSimpleName(); private String host; private int port; private String command; private int ti...
package uk.org.taverna.platform.run.impl; import java.io.File; import java.io.IOException; import java.nio.file.InvalidPathException; import java.nio.file.Path; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.ut...
package org.cornutum.tcases.openapi.testwriter; import org.cornutum.tcases.io.IndentedWriter; import org.cornutum.tcases.openapi.resolver.RequestCase; import org.cornutum.tcases.openapi.test.ResponsesDef; import org.cornutum.tcases.util.ToString; import static org.apache.commons.io.FilenameUtils.getBaseName; import sta...
package com.uber.tchannel.schemes; public class DefaultRawRequestHandler implements RawRequestHandler { @Override public RawResponse handle(RawRequest request) { return new RawResponse( request.getId(), request.getTransportHeaders(), request.getArg1(), ...
package com.marklogic.javaclient; import java.io.IOException; import javax.xml.parsers.ParserConfigurationException; import org.w3c.dom.Document; import org.xml.sax.SAXException; import com.marklogic.client.DatabaseClient; import com.marklogic.client.DatabaseClientFactory; import com.marklogic.client.DatabaseClientFact...
package com.asksunny.schema; import java.util.Comparator; public class FieldDrillDownComparator implements Comparator<Field> { public FieldDrillDownComparator() { } @Override public int compare(Field o1, Field o2) { return Integer.valueOf(o1.getDrillDown()).compareTo( Integer.val...
package com.alvazan.ssql.cmdline; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import com.alvazan.orm.api.base.NoSqlEntityManager; import com.alvazan.orm.api.z3api.NoSqlTypedSession; import com.alvazan.orm.api.z5api.IndexPoint; import com.alvazan.orm.api.z8spi.KeyVa...
// BUI - a user interface library for the JME 3D engine // 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 com.scylladb.tools; import static java.util.concurrent.TimeUnit.MICROSECONDS; import static java.util.concurrent.TimeUnit.MILLISECONDS; import static java.util.concurrent.TimeUnit.SECONDS; import static org.apache.cassandra.io.sstable.format.SSTableReader.openForBatch; import static org.apache.cassandra.utils.U...
package jade.domain; //#MIDP_EXCLUDE_FILE //#APIDOC_EXCLUDE_FILE import jade.core.Agent; import jade.core.CaseInsensitiveString; import jade.content.onto.OntologyException; import jade.content.lang.Codec.CodecException; import jade.content.onto.basic.Action; import jade.lang.acl.ACLMessage; import jade.lang.acl.Message...
// Narya library - tools for developing networked games // 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.xins.common.xml; import java.awt.Color; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import java.io.StringReader; import javax.swing.JTextPane; import javax.swing.text.BadLocationException; import javax.swing.text.Style; import javax.swi...
package org.spine3.server.storage; import com.google.common.base.Optional; import com.google.protobuf.Any; import com.google.protobuf.FieldMask; import com.google.protobuf.Message; import org.spine3.protobuf.AnyPacker; import org.spine3.server.entity.EntityRecord; import org.spine3.server.entity.FieldMasks; import org....
package edu.uiuc.dprg.morphous; import edu.uiuc.dprg.morphous.MorphousTaskMessageSender.MorphousTask; import edu.uiuc.dprg.morphous.MorphousTaskMessageSender.MorphousTaskCallback; import edu.uiuc.dprg.morphous.MorphousTaskMessageSender.MorphousTaskResponse; import edu.uiuc.dprg.morphous.MorphousTaskMessageSender.Morpho...
package com.sun.facelets.tag; import javax.el.ELException; import javax.el.ExpressionFactory; import javax.el.MethodExpression; import javax.el.ValueExpression; import com.sun.facelets.FaceletContext; import com.sun.facelets.el.ELText; /** * Representation of a Tag's attribute in a Facelet File * * @author Jacob Hoo...
package net.sf.samtools.util; /** * Grab-bag of stateless String-oriented utilities. */ public class StringUtil { private static final byte UPPER_CASE_OFFSET = 'A' - 'a'; /** * * @param separator String to interject between each string in strings arg * @param strings List of strings to be joine...
package aterm.pure; import java.io.BufferedInputStream; import java.io.EOFException; import java.io.IOException; import java.io.InputStream; import aterm.AFun; import aterm.ATerm; import aterm.ATermList; import aterm.ParseError; public class BAFReader { private static final int BAF_MAGIC = 0xBAF; private static...
// $Id: FrameManager.java,v 1.2 2002/04/23 03:10:59 mdb Exp $ package com.threerings.media; import java.applet.Applet; import java.awt.Component; import java.awt.Frame; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.GraphicsConfiguration; import java.awt.GraphicsDevice; import java.awt.Image; imp...
package hello; import com.mangofactory.swagger.configuration.SpringSwaggerConfig; import com.mangofactory.swagger.plugin.EnableSwagger; import com.mangofactory.swagger.plugin.SwaggerSpringMvcPlugin; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import o...
// Narya library - tools for developing networked games // 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.jdesktop.swingx; import java.awt.BorderLayout; import java.awt.Component; import java.awt.ComponentOrientation; import java.awt.Container; import java.awt.Cursor; import java.awt.Dialog; import java.awt.FlowLayout; import java.awt.Font; import java.awt.Frame; import java.awt.GridBagConstraints; import java....
package org.jsimpledb.util; import com.google.common.base.Function; import java.io.File; import java.lang.reflect.Method; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.URL; import java.net.URLClassLoader; import java.net.UnknownHostException; import java.nio.charset.Charset; import jav...