answer
stringlengths
17
10.2M
package to.etc.domui.server; import java.io.*; import java.util.*; import java.util.logging.Logger; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import j...
package com.plugin.gcm; import java.util.List; import com.google.android.gcm.GCMBaseIntentService; import org.json.JSONException; import org.json.JSONObject; import android.annotation.SuppressLint; import android.app.ActivityManager; import android.app.ActivityManager.RunningTaskInfo; import android.app.Notification; i...
package plugin.google.maps; import java.io.IOException; import java.io.InputStream; import java.util.HashMap; import org.apache.cordova.CallbackContext; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.content.res.AssetManager; import android.graphics.Bitmap; import a...
package sgdk.rescomp.type; import java.awt.Dimension; import java.awt.Point; import java.awt.Rectangle; import java.awt.geom.Area; import java.util.ArrayList; import java.util.Comparator; import java.util.List; import sgdk.tool.ImageUtil; import sgdk.tool.Random; public class SpriteCell extends Rectangle implements Com...
package com.openxc; import java.util.ArrayList; import java.util.List; import java.util.concurrent.CopyOnWriteArrayList; import java.util.concurrent.locks.Condition; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; import com.openxc.sinks.DataSinkException; import com.openxc.sour...
package com.cloudera.kitten.appmaster; import gr.ntua.cslab.asap.rest.beans.OperatorDictionary; import gr.ntua.cslab.asap.rest.beans.WorkflowDictionary; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.HttpURLConnection; import java.net.MalformedURLException; import j...
package org.jboss.as.clustering.infinispan.invoker; import org.infinispan.Cache; import org.infinispan.configuration.cache.TransactionConfiguration; import org.infinispan.context.Flag; import org.infinispan.transaction.LockingMode; /** * Locates a value from the cache. * @author Paul Ferraro */ public interface Loca...
package org.ccnx.ccn.impl; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.InetSocketAddress; import java.net.PortUnreachableException; import java.nio.BufferUnderflowException; import java.nio.ByteBuffer; import java.nio.channels.ClosedChannelException; import j...
package org.jboss.as.controller.operations.global; import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ACCESS_CONTROL; import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ATTRIBUTES; import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.DEFAULT; i...
package it.unibz.inf.ontop.constraints; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableSet; import it.unibz.inf.ontop.model.atom.DataAtom; import it.unibz.inf.ontop.model.term.*; import java.util.*; public class ImmutableHomomorphismUtilities { public static boolean extend...
package org.csstudio.platform.internal.data; import java.text.DecimalFormat; import java.text.NumberFormat; import org.csstudio.platform.data.IDoubleValue; import org.csstudio.platform.data.INumericMetaData; import org.csstudio.platform.data.ITimestamp; import org.csstudio.platform.data.ISeverity; /** Implementation of...
package com.censoredsoftware.Demigods.Engine.PlayerCharacter; import java.util.Set; import org.bukkit.Material; import org.bukkit.entity.Player; import org.bukkit.inventory.Inventory; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.PlayerInventory; import redis.clients.johm.*; import com.censoredsoft...
package org.hisp.dhis.android.core.program; import org.hisp.dhis.android.core.arch.db.stores.internal.IdentifiableObjectStore; import org.hisp.dhis.android.core.arch.repositories.children.internal.ChildrenAppender; import org.hisp.dhis.android.core.arch.repositories.collection.internal.ReadOnlyIdentifiableCollectionRep...
package org.hisp.dhis.client.sdk.core.program; import org.hisp.dhis.client.sdk.core.common.Fields; import org.hisp.dhis.client.sdk.core.common.controllers.AbsSyncStrategyController; import org.hisp.dhis.client.sdk.core.common.controllers.SyncStrategy; import org.hisp.dhis.client.sdk.core.common.persistence.DbUtils; imp...
package org.mskcc.cbio.portal.oncoPrintSpecLanguage; import java.util.EnumSet; import java.util.HashSet; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.mskcc.cbio.portal.oncoPrintSpecLanguage.DataTypeSpecEnumerations.DataTypeCategory; import org.mskcc.cbio.portal.util.E...
package io.debezium.connector.oracle; import static io.debezium.connector.oracle.util.TestHelper.TYPE_LENGTH_PARAMETER_KEY; import static io.debezium.connector.oracle.util.TestHelper.TYPE_NAME_PARAMETER_KEY; import static io.debezium.connector.oracle.util.TestHelper.TYPE_SCALE_PARAMETER_KEY; import static io.debezium.c...
package org.incode.module.document.dom.impl.docs; import java.io.IOException; import java.net.URL; import java.util.List; import java.util.Optional; import java.util.SortedSet; import java.util.TreeSet; import javax.inject.Inject; import javax.jdo.JDOHelper; import javax.jdo.annotations.Column; import javax.jdo.annotat...
package org.protobee.examples.broadcast.modules; import java.net.SocketAddress; import org.jboss.netty.handler.codec.http.HttpMethod; import org.protobee.annotation.InjectLogger; import org.protobee.compatability.Headers; import org.protobee.events.BasicMessageReceivedEvent; import org.protobee.examples.protos.Broadcas...
package br.net.mirante.singular.form.wicket.panel; import org.apache.wicket.Application; import org.apache.wicket.Component; import org.apache.wicket.IInitializer; import org.apache.wicket.MarkupContainer; import org.apache.wicket.extensions.ajax.markup.html.form.upload.UploadProgressBar; import org.apache.wicket.exten...
package org.eclipse.che.ide.part.editor; import com.google.gwt.core.client.GWT; import com.google.gwt.core.client.Scheduler; import com.google.gwt.dom.client.Style; import com.google.gwt.event.dom.client.MouseDownEvent; import com.google.gwt.event.dom.client.MouseDownHandler; import com.google.gwt.uibinder.client.UiBin...
package bisq.core.btc.nodes; import bisq.common.config.Config; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.List; import java.util.stream.Collectors; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.extern.slf4j.Slf4j; import javax.annotation.Nul...
package hudson; import static org.apache.commons.io.FilenameUtils.getBaseName; import edu.umd.cs.findbugs.annotations.NonNull; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import hudson.Plugin.DummyImpl; import hudson.PluginWrapper.Dependency; import hudson.model.Hudson; import hudson.util.CyclicGraphDete...
package org.languagetool.tagging.nl; import java.util.ArrayList; import java.util.List; import java.util.Locale; import org.languagetool.AnalyzedToken; import org.languagetool.AnalyzedTokenReadings; import org.languagetool.tagging.BaseTagger; import org.languagetool.tools.StringTools; /** * Dutch tagger. * * @author...
package hudson; import com.google.common.collect.Lists; import hudson.Plugin.DummyImpl; import hudson.PluginWrapper.Dependency; import hudson.model.Hudson; import hudson.util.CyclicGraphDetector; import hudson.util.CyclicGraphDetector.CycleDetectedException; import hudson.util.IOUtils; import hudson.util.MaskingClassLo...
package net.mgsx.game.plugins.btree; import com.badlogic.ashley.core.Component; import com.badlogic.ashley.core.ComponentMapper; import com.badlogic.ashley.core.Engine; import com.badlogic.gdx.ai.btree.BehaviorTree; import com.badlogic.gdx.utils.Pool.Poolable; import net.mgsx.game.core.annotations.EditableComponent; im...
package com.ctrip.xpipe; import com.ctrip.xpipe.api.codec.Codec; import com.ctrip.xpipe.api.command.RequestResponseCommand; import com.ctrip.xpipe.api.lifecycle.ComponentRegistry; import com.ctrip.xpipe.command.AbstractCommand; import com.ctrip.xpipe.endpoint.DefaultEndPoint; import com.ctrip.xpipe.endpoint.HostPort; i...
package cucumber.io; import java.io.File; import org.junit.Test; import static org.junit.Assert.assertEquals; public class FileResourceTest { @Test public void get_path_should_return_short_path_when_root_same_as_file() { // setup FileResource toTest = new FileResource(new File("test1/test.featur...
package org.grouplens.lenskit.mf.funksvd; import org.grouplens.lenskit.ItemRecommender; import org.grouplens.lenskit.RatingPredictor; import org.grouplens.lenskit.Recommender; import org.grouplens.lenskit.RecommenderBuildException; import org.grouplens.lenskit.baseline.BaselinePredictor; import org.grouplens.lenskit.ba...
package smallworld; import edu.princeton.cs.In; import edu.princeton.cs.StdIn; import edu.princeton.cs.StdOut; import java.util.Stack; public class PathFinder { // prev[v] = previous vertex on shortest path from s to v // dist[v] = length of shortest path from s to v private ST<String, String> prev = new S...
package com.pylonproducts.wifiwizard; import org.apache.cordova.*; import java.util.List; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.net.wifi.WifiManager; import android.net.wifi.WifiConfiguration; import android.net.wifi.WifiEnterpriseConfig; import android.con...
package caris.modular.handlers; import java.util.ArrayList; import caris.framework.basehandlers.MessageHandler; import caris.framework.basereactions.Reaction; import caris.framework.embedbuilders.Builder; import caris.framework.reactions.ReactionEmbed; import caris.framework.reactions.ReactionMessage; import caris.fram...
package io.jxcore.node; import android.content.Context; import android.util.Log; import com.test.thalitest.ThaliTestRunner; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import j...
package org.apache.maven.doxia; import org.apache.maven.model.DistributionManagement; import org.apache.maven.plugin.Plugin; import org.apache.maven.plugin.PluginExecutionRequest; import org.apache.maven.plugin.PluginExecutionResponse; import org.apache.maven.plugin.AbstractPlugin; import org.apache.maven.plugin.Plugin...
package org.dozer.eclipse.plugin.editorpage.utils; import org.dozer.eclipse.plugin.DozerMultiPageEditor; import org.dozer.eclipse.plugin.DozerPlugin; import org.dozer.eclipse.plugin.editorpage.Messages; import org.eclipse.core.databinding.observable.list.IObservableList; import org.eclipse.core.databinding.observable.v...
package org.eclipse.mylar.bugzilla.core; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import java.net.URLEnc...
package org.eclipse.mylar.internal.tasks.ui.util; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import java.util.List; import java.util.zip.ZipEntry; import java.util....
package org.lamport.tla.toolbox.tool.tlc.util; import java.util.Iterator; import java.util.List; import java.util.Vector; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IResource; import org.eclipse.core.resources.IWorkspaceRunnable; import org.ecl...
package org.osgi.test.support.compatibility; import java.io.InputStream; import java.net.URL; import java.util.Arrays; import java.util.Comparator; import java.util.Dictionary; import java.util.Enumeration; import java.util.HashMap; import java.util.Hashtable; import java.util.Iterator; import java.util.List; import ja...
package com.intellij.openapi.actionSystem.impl; import com.intellij.ide.DataManager; import com.intellij.ide.IdeEventQueue; import com.intellij.ide.ProhibitAWTEvents; import com.intellij.ide.impl.DataManagerImpl; import com.intellij.ide.impl.dataRules.GetDataRule; import com.intellij.openapi.actionSystem.DataContext; i...
package com.buzzingandroid.content; import java.util.ArrayList; import java.util.StringTokenizer; import android.content.AsyncQueryHandler; import android.content.ContentProvider; import android.content.ContentProviderClient; import android.content.ContentProviderOperation; import android.content.ContentValues; import ...
package org.parser.marpa; import java.io.BufferedReader; import java.io.StringReader; import java.io.UnsupportedEncodingException; /** * Import/export Application */ public class AppImportExport implements Runnable { ESLIFLoggerInterface eslifLogger; /** * @param eslifLogger logger interface */ ...
package org.jkiss.dbeaver.model.impl.jdbc.struct; import org.jkiss.dbeaver.Log; import org.jkiss.code.NotNull; import org.jkiss.code.Nullable; import org.jkiss.dbeaver.DBException; import org.jkiss.dbeaver.model.impl.jdbc.JDBCSQLDialect; import org.jkiss.dbeaver.model.messages.ModelMessages; import org.jkiss.dbeaver.mo...
package com.flashmath.activity; import java.util.ArrayList; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.app.ActionBar; import android.app.Activity; import android.app.Fragment; import android.content.Intent; import android.os.Bundle; import android.view.Menu; imp...
package org.helioviewer.jhv.plugins.swek.config; import java.io.BufferedReader; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.MalformedURLException; import java.net.URI; import java.net.URISyntaxException; ...
package ch.ntb.inf.deep.eclipse.ui.view; import org.eclipse.core.runtime.preferences.IEclipsePreferences; import org.eclipse.core.runtime.preferences.InstanceScope; import org.eclipse.jface.action.Action; import org.eclipse.jface.action.IMenuListener; import org.eclipse.jface.action.IMenuManager; import org.eclipse.jfa...
package com.haxademic.core.draw.image; import java.awt.Rectangle; import java.awt.image.BufferedImage; import java.nio.ByteBuffer; import com.haxademic.core.app.P; import com.haxademic.core.draw.color.ColorHax; import com.haxademic.core.draw.context.DrawUtil; import processing.core.PApplet; import processing.core.PCons...
package com.hp.hpl.jena.xmloutput.impl; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.Map; import java.util.Set; import com.hp.hpl.jena.util.iterator.IteratorIterator; import com.hp.hpl.jena.util.iterator.Map1; import com.hp.hpl.jena.util.iterator.Map1Iterator; class Re...
package com.scwang.smartrefresh.layout.impl; import android.animation.TimeInterpolator; import android.animation.ValueAnimator; import android.content.Context; import android.database.DataSetObserver; import android.graphics.PointF; import android.support.annotation.NonNull; import android.support.v4.app.Fragment; impo...
public class item55_optimize_judiciously { public static void main(String[] args) { System.out.println("do not strive to write fast programs—strive to write good ones; speed will follow."); } }
package com.rapid.security; import java.io.File; import java.io.FileOutputStream; import java.util.ArrayList; import java.util.List; import javax.servlet.ServletContext; import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBException; import javax.xml.bind.Marshaller; import javax.xml.bind.Unmarshaller; import j...
// This file is part of Serleena. // Nicola Mometto, Filippo Sestini, Tobia Tesan, Sebastiano Valle. // 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 t...
package com.robrua.orianna.api.dto; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import com.robrua.orianna.type.api.ParamsBuilder; import com.robrua.orianna.type.core.common.QueueType; import com.robrua.orianna.type.core.common.Season; import com....
package com.company.dictionary.impl; import com.company.dictionary.Dictionary; import com.company.dictionary.DictionaryTree; import com.company.dictionary.Word; import java.util.*; public class LevenshteinDistanceTree implements DictionaryTree { private TreeNode root; private LinkedList<Word> lastSearch...
package com.sensei.search.facet; import it.unimi.dsi.fastutil.longs.LongOpenHashSet; import it.unimi.dsi.fastutil.longs.LongSet; import java.io.IOException; import java.util.Arrays; import java.util.Properties; import org.apache.lucene.index.IndexReader; import org.apache.lucene.search.DocIdSetIterator; import org.apac...
package sg.ncl.service.experiment.logic; import freemarker.template.Template; import freemarker.template.TemplateException; import io.jsonwebtoken.Claims; import lombok.extern.slf4j.Slf4j; import org.json.JSONObject; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transa...
package com.twu.biblioteca.helper; import com.twu.biblioteca.entity.Book; import com.twu.biblioteca.entity.Library; import com.twu.biblioteca.entity.User; import java.util.ArrayList; import java.util.List; public class Libraryhelper { public Library initLibrary() { List<Book> books = new ArrayList<Book>(); ...
package org.sagebionetworks.repo.web.service; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import java.util.List; import org.sagebionetworks.repo.manager.UserManager; import org.sagebionetworks.repo.manager.file.FileHandleManager; import org.sagebionetworks.repo.manager.wiki.V2WikiManage...
package com.valkryst.VTerminal.component; import com.valkryst.VRadio.Radio; import com.valkryst.VRadio.Receiver; import com.valkryst.VTerminal.AsciiCharacter; import com.valkryst.VTerminal.AsciiString; import com.valkryst.VTerminal.Panel; import com.valkryst.VTerminal.builder.component.*; import com.valkryst.VTerminal....
package com.hp.hpl.jena.reasoner.rulesys; import com.hp.hpl.jena.graph.*; import com.hp.hpl.jena.reasoner.TriplePattern; public interface BindingEnvironment { /** * Return the most ground version of the node. If the node is not a variable * just return it, if it is a varible bound in this environment retu...
package com.valkryst.VTerminal.component; import com.valkryst.VTerminal.AsciiCharacter; import com.valkryst.VTerminal.AsciiString; import com.valkryst.VTerminal.font.Font; import java.awt.*; import java.awt.image.BufferedImage; import java.util.ArrayList; public class Screen extends Component { /** The components d...
package com.qmetry.qaf.automation.core; import java.io.File; import java.io.IOException; import java.net.URISyntaxException; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; import java.util.S...
package at.ac.tuwien.kr.alpha.grounder.transformation; import at.ac.tuwien.kr.alpha.common.atoms.Atom; import at.ac.tuwien.kr.alpha.common.atoms.Literal; import at.ac.tuwien.kr.alpha.common.program.NormalProgram; import at.ac.tuwien.kr.alpha.common.rule.NormalRule; import at.ac.tuwien.kr.alpha.common.rule.head.NormalHe...
package com.bullhornsdk.data.model.entity.core.customobject; import com.bullhornsdk.data.model.entity.core.type.AbstractEntity; import com.bullhornsdk.data.model.entity.core.type.CreateEntity; import com.bullhornsdk.data.model.entity.core.type.DateLastModifiedEntity; import com.bullhornsdk.data.model.entity.core.ty...
package com.github.aesteve.vertx.nubes.reflections.injectors.typed; import io.vertx.ext.web.RoutingContext; @FunctionalInterface public interface ParamInjector<T> { public T resolve(RoutingContext context); }
package com.pearson.statsagg.database_objects.metric_last_seen; import com.google.common.collect.Lists; import com.pearson.statsagg.database_engine.DatabaseInterface; import java.sql.ResultSet; import java.sql.Timestamp; import java.util.ArrayList; import java.util.List; import com.pearson.statsagg.database_engine.Data...
package fi.otavanopisto.kuntaapi.server.integrations.ptv; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.concurrent.TimeUnit; import java.util.logging.Level; import java.util.logging.Logger; import javax.annotation.Resource; import javax.ejb.AccessTimeout; import javax...
package de.st_ddt.crazyutil.databases; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.util.Collection; import org.bukkit.Bukkit; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.plugin.java.JavaPlugin; public class ConfigurationDatabase<S ext...
package dr.evomodelxml.coalescent; import dr.evolution.util.Units; import dr.evomodel.coalescent.ExponentialGrowthModel; import dr.evomodel.coalescent.PowerLawGrowthModel; import dr.evoxml.util.XMLUnits; import dr.inference.model.Parameter; import dr.xml.*; /** * Parses an element from an DOM document into a Exponenti...
package fh.prog.lab.it.samples.dbServices; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.sql.Statement; import static java.lang.System.out; /** * @author NET * */ public class DBServicesInvoker { ...
package org.mtransit.parser.ca_l_assomption_mrclasso_bus; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.mtransit.parser.DefaultAgencyTools; import org.mtransit.parser.Utils; import org.mtransit.parser.gtfs.data.GCalen...
package org.jembi.rhea.flows; import static com.github.tomakehurst.wiremock.client.WireMock.aResponse; import static com.github.tomakehurst.wiremock.client.WireMock.post; import static com.github.tomakehurst.wiremock.client.WireMock.stubFor; import static com.github.tomakehurst.wiremock.client.WireMock.urlEqualTo; impo...
package stroom.config.common; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyDescription; import stroom.util.shared.AbstractConfig; import javax.validation.constraints.Max; import javax.validation.constraints....
package com.evolveum.midpoint.testing.selenium; import java.io.File; import java.util.Arrays; import java.util.HashMap; import org.openqa.selenium.firefox.FirefoxDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.WebDriver; import org.junit.*; import com.evolveum.midpoint.testing.Seleniu...
package com.evolveum.midpoint.schema.xjc.schema; import com.evolveum.midpoint.prism.PrismContainer; import com.evolveum.midpoint.prism.PrismObject; import com.evolveum.midpoint.schema.xjc.PrefixMapper; import com.evolveum.midpoint.schema.xjc.PrismForJAXBUtil; import com.evolveum.midpoint.schema.xjc.Processor; import co...
package org.mwc.cmap.core.DataTypes.TrackData; import java.util.*; import Debrief.Tools.Tote.WatchableList; import Debrief.Wrappers.TrackWrapper; import MWC.GUI.*; import MWC.TacticalData.Track; /** * embedded class which manages the primary & secondary tracks */ public class TrackManager implements TrackDataProvider...
package arjdbc.postgresql; import java.io.ByteArrayInputStream; import java.io.InputStream; import java.sql.Array; import java.sql.Connection; import java.sql.DatabaseMetaData; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.sql.Timestam...
// Vilya 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 ...
// $Id: PuzzleManagerDelegate.java 209 2007-02-24 00:37:33Z mdb $ // Vilya 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, // MERCHANTABILIT...
package org.jaxen.function; import java.util.List; import org.jaxen.Context; import org.jaxen.Function; import org.jaxen.FunctionCallException; import org.jaxen.Navigator; public class NormalizeSpaceFunction implements Function { public Object call(Context context, List args) throws FunctionC...
package org.xwiki.rendering.wikimodel.util; import java.util.ArrayList; import java.util.List; /** * This is an internal utility class used as a context to keep in memory the * current state of parsed trees (list items). * * @version $Id$ * @since 4.0M1 */ public class ListBuilder { static class CharPos imple...
package com.salesforce.dva.argus.service.metric.transform; import com.salesforce.dva.argus.entity.Metric; import com.salesforce.dva.argus.service.metric.MetricReader; import com.salesforce.dva.argus.system.SystemAssert; import com.salesforce.dva.argus.system.SystemException; import java.util.ArrayList; import java.util...
package org.jdesktop.swingx.plaf.basic.core; import javax.swing.DefaultListSelectionModel; import javax.swing.ListModel; import javax.swing.ListSelectionModel; import javax.swing.RowSorter; import javax.swing.event.ListDataEvent; import javax.swing.event.ListSelectionEvent; import javax.swing.event.RowSorterEvent; impo...
package org.orbeon.oxf.xforms; import org.apache.commons.pool.ObjectPool; import org.apache.log4j.Logger; import org.dom4j.Document; import org.dom4j.Element; import org.orbeon.oxf.common.OXFException; import org.orbeon.oxf.common.ValidationException; import org.orbeon.oxf.pipeline.api.ExternalContext; import org.orbeo...
package org.orbeon.oxf.xforms.processor; import org.orbeon.oxf.xforms.control.controls.XFormsSelect1Control; import org.orbeon.oxf.xforms.XFormsProperties; import org.orbeon.oxf.xforms.XFormsContainingDocument; import org.orbeon.oxf.common.Version; import org.orbeon.saxon.om.FastStringBuffer; import java.util.*; public...
package com.strengthcoach.strengthcoach.activities; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v7.app.ActionBarActivity; import android.util.Log; import android.view.Menu; import android.view.Menu...
package org.orbeon.oxf.xforms.state; import org.orbeon.oxf.common.OXFException; import org.orbeon.oxf.pipeline.api.ExternalContext; import org.orbeon.oxf.pipeline.api.PipelineContext; import org.orbeon.oxf.util.UUIDUtils; import org.orbeon.oxf.xforms.XFormsContainingDocument; import org.orbeon.oxf.xforms.XFormsProperti...
package ru.yandex.market.graphouse.search; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.springframework.beans.factory.InitializingBean; import org.springframework.beans.factory.annotation.Required; import org.springframework.jdbc.core.JdbcTemplate; import org.springfram...
package voldemort.client.rebalance; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Random; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.ThreadFactory; import java.util.concurrent.TimeUnit; import org.apache....
package com.krishagni.catissueplus.core.biospecimen.services.impl; import java.io.File; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.UUID; import java.util.stream.Collectors; import org.apache.commons.lang3.StringUtils; import org.springframework....
package org.openehr.adl.serializer.constraints; import org.openehr.adl.serializer.ArchetypeSerializeUtils; import org.openehr.adl.serializer.ArchetypeSerializer; import org.openehr.jaxb.am.ArchetypeSlot; import org.openehr.jaxb.am.Assertion; public class ArchetypeSlotSerializer extends ConstraintSerializer<ArchetypeSlo...
package com.showlocationservicesdialogbox; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.location.LocationManager; import android.text.Html; import android.text.Spanned; import com.facebo...
package SPARQLParser.SPARQLStatements; import SPARQLParser.SPARQL.InvalidSPARQLException; import SPARQLParser.SPARQL.SplitQuery; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; public class SelectBlock implements IStatement { private String selectClause = ""; p...
package ch.ethz.geco.bass.server.auth; import ch.ethz.geco.bass.server.AuthWebSocket; import ch.ethz.geco.bass.util.ErrorHandler; import ch.ethz.geco.bass.util.SQLite; import org.mindrot.jbcrypt.BCrypt; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.sql.Connection; import java.sql.PreparedStatemen...
package org.ovirt.engine.core.bll; import java.util.Arrays; import java.util.List; import org.ovirt.engine.core.common.AuditLogType; import org.ovirt.engine.core.common.PermissionSubject; import org.ovirt.engine.core.common.action.UpdateVmDiskParameters; import org.ovirt.engine.core.common.businessentities.DiskImage; i...
package org.ovirt.engine.core.utils.ovf; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.List; import org.apache.commons.codec.binary.Base64; import org.apache.commons.lang.StringUtils; import org.ovirt.engine.core.common.businessentities.ArchitectureType; import org.ovirt.e...
package com.rackspacecloud.blueflood.service; import com.google.common.base.Ticker; import com.rackspacecloud.blueflood.rollup.Granularity; import org.junit.Before; import org.junit.Test; import java.util.ArrayList; import java.util.List; import java.util.Map; import static org.junit.Assert.*; public class ShardStateMa...
package com.amee.restlet.resource; import com.amee.base.resource.ValidationResult; import com.amee.restlet.AMEESpringServer; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; i...
package com.codeborne.selenide; import com.codeborne.selenide.ex.ElementNotFound; import com.codeborne.selenide.ex.UIAssertionError; import com.codeborne.selenide.impl.BySelectorCollection; import com.codeborne.selenide.impl.Cleanup; import com.codeborne.selenide.impl.CollectionElement; import com.codeborne.selenide.im...
package com.conveyal.taui.models; import com.conveyal.r5.analyst.scenario.StopSpec; import com.conveyal.r5.util.ExceptionUtils; import com.conveyal.taui.AnalysisServerException; import com.vividsolutions.jts.geom.Coordinate; import org.geotools.geometry.jts.JTS; import org.geotools.referencing.crs.DefaultGeographicCRS;...
package com.dianping.cat.report.chart.impl; import java.io.File; import java.util.Date; import java.util.LinkedHashMap; import java.util.Map; import java.util.Map.Entry; import org.unidal.helper.Files; import org.unidal.lookup.annotation.Inject; import com.dianping.cat.Cat; import com.dianping.cat.consumer.metric.model...