answer
stringlengths
17
10.2M
package org.nohope.typetools; import java.util.ArrayList; import java.util.Comparator; public class SortedList<T> extends ArrayList<T> { private static final long serialVersionUID = 1L; private final Comparator<T> comparator; /** * <p>Constructs a new sorted list. The objects in the list will be sorted...
package org.sharedmq; import org.sharedmq.internals.*; import org.sharedmq.primitives.*; import org.sharedmq.util.IOUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.Closeable; import java.io.File; import java.io.IOException; import java.nio.charset.Charset; import java.nio.charset.Standard...
package com.yahoo.vespa.clustercontroller.core.restapiv2; import com.yahoo.vdslib.distribution.ConfiguredNode; import com.yahoo.vdslib.distribution.Distribution; import com.yahoo.vdslib.state.*; import com.yahoo.vespa.clustercontroller.core.*; import com.yahoo.vespa.clustercontroller.core.hostinfo.HostInfo; import com....
package org.soraworld.limitime; import org.bukkit.Bukkit; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.event.Cancellable; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.event.Listener; impor...
package permafrost.tundra.data; import com.wm.data.*; import com.wm.util.coder.IDataCodable; import com.wm.util.coder.ValuesCodable; import permafrost.tundra.lang.ObjectHelper; import java.util.*; /** * Wraps an IData document in an implementation of the Iterable, Comparable, * and Map interfaces. */ public class ID...
package org.mustbe.consulo.csharp.lang.psi.impl.source; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.mustbe.consulo.csharp.lang.psi.CSharpElementCompareUtil; import org.mustbe.consulo.csharp.lang.psi.CSharpSimpleParameterInfo; import org.mustbe.consulo.csharp.lang.psi....
package pt.ptcris.utils; import java.math.BigInteger; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import org.um.dsi.gavea.orcid.client.exception.OrcidClientException; import org.um.dsi.gav...
package org.dspace.app.xmlui.aspect.submission.submit; import java.io.IOException; import java.sql.SQLException; import java.util.ArrayList; import java.util.Locale; import javax.servlet.ServletException; import org.apache.log4j.Logger; import org.dspace.app.util.DCInput; import org.dspace.app.util.DCInputSet; import o...
package sds.assemble.controlflow; import static sds.assemble.controlflow.CFEdgeType.Normal; import static sds.assemble.controlflow.CFEdgeType.JumpToCatch; import static sds.assemble.controlflow.CFEdgeType.JumpToFinally; /** * This class is for edge of control flow graph. * @author inagaki */ public class CFEdge { ...
package sds.assemble.controlflow; import java.util.LinkedHashSet; import java.util.Set; import sds.assemble.LineInstructions; import sds.classfile.bytecode.BranchOpcode; import sds.classfile.bytecode.OpcodeInfo; import sds.classfile.bytecode.LookupSwitch; import sds.classfile.bytecode.TableSwitch; /** * This class is ...
package se.kth.hopsworks.util; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.logging.Level; import java.util.logging.Logger; import se.kth.bbc.project.fb.Inode; /** * Utility methods. * <p> */ public clas...
package com.jraska.falcon; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Rect; import android.os.Build; import android.os.Looper; import android.util.Log; import android.view.View; import android.view.WindowManager.LayoutParams; import java.io.*; im...
package seedu.scheduler.storage; import seedu.scheduler.commons.events.model.SchedulerChangedEvent; import seedu.scheduler.commons.events.storage.DataSavingExceptionEvent; import seedu.scheduler.commons.exceptions.DataConversionException; import seedu.scheduler.model.ReadOnlyScheduler; import seedu.scheduler.model.User...
package com.sumzerotrading.ib.example.trading; import com.sumzerotrading.broker.order.TradeDirection; import com.sumzerotrading.broker.order.TradeOrder; import com.sumzerotrading.data.CurrencyTicker; import com.sumzerotrading.data.Exchange; import com.sumzerotrading.data.FuturesTicker; import com.sumzerotrading.data.St...
package seedu.unburden.model; import javafx.collections.ObservableList; import seedu.unburden.model.tag.Tag; import seedu.unburden.model.tag.UniqueTagList; import seedu.unburden.model.task.ReadOnlyTask; import seedu.unburden.model.task.Task; import seedu.unburden.model.task.UniqueTaskList; import java.util.*; import ja...
package tigase.db.ldap; import java.util.Hashtable; import java.util.Map; import java.util.logging.Level; import java.util.logging.Logger; import javax.naming.Context; import javax.naming.directory.DirContext; import javax.naming.directory.InitialDirContext; import javax.security.sasl.SaslException; import javax.securi...
package tigase.net; import java.io.IOException; import java.net.InetSocketAddress; import java.nio.channels.SelectableChannel; import java.nio.channels.SelectionKey; import java.nio.channels.Selector; import java.nio.channels.ServerSocketChannel; import java.nio.channels.SocketChannel; import java.util.Iterator; import...
package org.codehaus.groovy.antlr; import org.codehaus.groovy.ast.ClassHelper; import org.codehaus.groovy.ast.ClassNode; import org.codehaus.groovy.ast.FieldNode; import org.codehaus.groovy.ast.GenericsType; import org.codehaus.groovy.ast.InnerClassNode; import org.codehaus.groovy.ast.MixinNode; import org.codehaus.gro...
package com.temenos.interaction.media.odata.xml.atom; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.PushbackInputStream; import java.io.Reader; import java.lang.annotation.Annotation; import java.l...
package com.atlassian.jira.plugins.dvcs.github; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertThat; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import static org.mockito.Matchers.anyString; import static o...
package com.atlassian.jira.plugins.dvcs.sync.impl; import com.atlassian.cache.Cache; import com.atlassian.cache.CacheManager; import com.atlassian.event.api.EventPublisher; import com.atlassian.jira.config.FeatureManager; import com.atlassian.jira.plugins.dvcs.activeobjects.v3.SyncAuditLogMapping; import com.atlassian....
package org.languagetool.tagging.disambiguation.rules; import org.languagetool.AnalyzedToken; import org.languagetool.Language; import org.languagetool.rules.patterns.Element; import org.languagetool.rules.patterns.Match; import org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule.DisambiguatorAction...
package org.sagebionetworks.repo.model.dbo.file; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import java.util.ArrayList;...
package com.cisco.oss.foundation.cluster.masterslave.consul; import com.cisco.oss.foundation.cluster.masterslave.MastershipElector; import com.cisco.oss.foundation.cluster.utils.MasterSlaveConfigurationUtil; import com.cisco.oss.foundation.configuration.CcpConstants; import com.cisco.oss.foundation.http.HttpClient; imp...
package org.multibit.hd.ui.views.wizards.send_bitcoin; import com.google.common.base.Optional; import com.google.common.base.Preconditions; import com.google.common.eventbus.Subscribe; import net.miginfocom.swing.MigLayout; import org.bitcoinj.core.Coin; import org.multibit.hd.core.dto.BitcoinNetworkSummary; import org...
package org.geotools.data.teradata; import org.geotools.jdbc.JDBCPrimaryKeyTestSetup; import org.geotools.jdbc.JDBCTestSetup; /** * * * @source $URL$ */ public class TeradataPrimaryKeyTestSetup extends JDBCPrimaryKeyTestSetup { public TeradataPrimaryKeyTestSetup(JDBCTestSetup delegate) { super(delegate)...
// This file is part of the OpenNMS(R) Application. // OpenNMS(R) is a derivative work, containing both original code, included code and modified // and included code are below. // OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. // Modifications: // 2007 Jul 24: Format code, use Java 5 generics, refacto...
package org.eclipse.dawnsci.analysis.api.peakfinding; public interface IPeakFinderParameter { /** * equals() and hashcode() should be overridden since it is important that * there is only one parameter with each name */ /** * Get the name of the parameter * @return String name of parame...
package org.eclipse.egit.ui.view.repositories; import static org.eclipse.swtbot.swt.finder.waits.Conditions.widgetIsEnabled; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.io.File; import org.eclipse.core.runtime.IPath; imp...
package org.knowhowlab.osgi.testing.utils.cmpn; import org.knowhowlab.osgi.testing.utils.ServiceUtils; import org.osgi.framework.BundleContext; import org.osgi.framework.Filter; import org.osgi.framework.ServiceRegistration; import org.osgi.service.event.Event; import org.osgi.service.event.EventAdmin; import org.osgi....
package cpw.mods.fml.common; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.logging.Level; import com.google.common.base.Joiner; import com.google.common.collect.ArrayListMultimap; import com.google.common.collect.BiMap; import com.google.common.collect.HashBiMap; import com.g...
package org.testng.remote; import com.beust.jcommander.JCommander; import com.beust.jcommander.ParameterException; import org.testng.CommandLineArgs; import org.testng.TestNGException; import org.testng.remote.support.RemoteTestNGFactory; import org.testng.remote.support.ServiceLoaderHelper; import org.testng.shaded.os...
package wandledi.jetty; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.logging.Level; import java.util.logging.Logger; import org.eclipse.jetty.server.Connector; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.bio.SocketConnector; import org...
package rfx.core.util; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.Queue; import java.util.Set; import java.util.Timer; import java.util.TimerTask; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentLinkedQ...
package com.auth0.example; import com.auth0.Auth0Principal; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; public class HelloServlet extends HttpServlet { @Override...
package satori.common.ui; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Container; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.Font; import java.awt.Insets; import java.awt.Point; import java.awt.datatransfer.DataFlavor; import java.awt.datatransfer.Transferable; import...
package edu.cmu.lti.bic.sbs.engine; import edu.cmu.lti.bic.sbs.evaluator.Evaluator; import edu.cmu.lti.bic.sbs.gson.Drug; import edu.cmu.lti.bic.sbs.gson.Report; import edu.cmu.lti.bic.sbs.gson.Tool; import edu.cmu.lti.bic.sbs.evaluator.State; import edu.cmu.lti.bic.sbs.gson.Prescription; import edu.cmu.lti.bic.sbs.gso...
package io.scif.filters; import io.scif.ByteArrayPlane; import io.scif.FormatException; import io.scif.Metadata; import io.scif.Plane; import io.scif.common.DataTools; import io.scif.config.SCIFIOConfig; import io.scif.io.RandomAccessInputStream; import io.scif.util.FormatTools; import io.scif.util.ImageTools; import j...
package io.scif.formats.tiff; import io.scif.enumeration.CodedEnum; import io.scif.enumeration.EnumException; import java.util.EnumSet; import java.util.HashMap; import java.util.Map; /** * Utility class for working with TIFF fill orders. From the TIFF specification, * a fill order is "the logical order of bits withi...
package imcode.server.user; import org.apache.log4j.Logger; import javax.naming.*; import javax.naming.directory.*; import java.util.*; public class LdapUserAndRoleMapper implements UserAndRoleMapper { public final static String AUTHENTICATION_TYPE_SIMPLE = "simple"; /* and the password is ignored */ /** From...
package io.spine.server.entity; import com.google.errorprone.annotations.Immutable; import com.google.protobuf.Descriptors.FieldDescriptor; import com.google.protobuf.Message; import io.spine.code.proto.FieldDeclaration; import io.spine.protobuf.ValidatingBuilder; import io.spine.server.entity.model.EntityClass; import...
package com.exedio.dsmf; public class CircleTest extends SchemaTest { private static final String TABLE1 = "CircleTable1"; private static final String TABLE2 = "CircleTable2"; private static final String PK_COLUMN = "circlePrimaryKey"; private static final String PK_NAME1 = "circlePkId1"; private st...
package edu.cmu.sphinx.frontend; import edu.cmu.sphinx.util.SphinxProperties; /** * Applies a HammingWindow to the given DoubleAudioFrame. The audio samples * are modified in place, and the original DoubleAudioFrame is returned. * The HammingWindow, <i>W</i> of length <i>N</i> (usually the window size) * is given b...
package etomica.modules.sam; import etomica.action.activity.ActivityIntegrate; import etomica.api.IAtomLeaf; import etomica.api.IAtomSet; import etomica.api.IAtomType; import etomica.api.IAtomTypeLeaf; import etomica.api.IBox; import etomica.api.IMolecule; import etomica.api.IPotentialMaster; import etomica.api.ISpecie...
package org.xbill.DNS; import java.io.*; import java.util.*; import org.xbill.DNS.utils.*; /** * Transaction Key - used to compute and/or securely transport a shared * secret to be used with TSIG. * @see TSIG * * @author Brian Wellington */ public class TKEYRecord extends Record { private Name alg; private Date t...
package hudson.maven; import hudson.FilePath; import hudson.Util; import hudson.tasks.Maven; import hudson.tasks.Maven.MavenInstallation; import hudson.model.AbstractProject; import hudson.model.DependencyGraph; import hudson.model.Executor; import hudson.model.Hudson; import hudson.model.Item; import hudson.model.Item...
package com.badlogic.gdx.graphics; import com.badlogic.gdx.Graphics; import com.badlogic.gdx.graphics.Font.Glyph; import com.badlogic.gdx.graphics.VertexAttributes.Usage; import com.badlogic.gdx.math.Matrix; /** * A SpriteBatch is used to draw 2D rectangles that reference a * texture. The class will batch the drawing...
import java.util.*; public class Verifier { public static final String[] EXAMPLE_1_COMMANDS = {"109","1","204","-1","1001","100","1","100","1008","100","16","101","1006","101","0","99"}; public static final String[] EXAMPLE_1_RESULTS = {"109","1","204","-1","1001","100","1","100","1008","100","16","101","1006",...
package cn.cerc.ui.parts; import cn.cerc.ui.core.HtmlWriter; import cn.cerc.ui.other.UrlMenu; import java.util.ArrayList; import java.util.List; public class UISheetHelp extends UISheet { private String content; private UrlMenu operaUrl; private List<String> lines = new ArrayList<>(); @Deprecated pu...
package org.cipres.treebase.domain.tree; import java.util.Collections; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Set; import javax.persistence.AttributeOverride; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; imp...
package org.trianacode.pegasus.dax; import org.trianacode.gui.panels.ParameterPanel; import org.trianacode.pegasus.string.AlphabetPattern; import org.trianacode.pegasus.string.CounterPattern; import org.trianacode.pegasus.string.DatePattern; import org.trianacode.pegasus.string.PatternCollection; import javax.swing.*; ...
package etomica.models.hexane; import etomica.atom.Atom; import etomica.atom.AtomArrayList; import etomica.atom.AtomLeaf; import etomica.atom.AtomTreeNodeGroup; import etomica.atom.iterator.AtomIterator; import etomica.data.meter.MeterPotentialEnergy; import etomica.integrator.IntegratorMC; import etomica.integrator.mc...
package etomica.config; import etomica.api.IAtomLeaf; import etomica.api.IAtomPositioned; import etomica.api.IBox; import etomica.api.IMolecule; import etomica.api.ISpecies; import etomica.api.IVector; import etomica.lattice.BravaisLatticeCrystal; import etomica.lattice.IndexIteratorRectangular; import etomica.space.Bo...
package cx2x; import cx2x.decompiler.XcodeMlToFortranDecompiler; import cx2x.translator.ClawTranslatorDriver; import cx2x.translator.config.Configuration; import cx2x.translator.language.helper.accelerator.AcceleratorDirective; import cx2x.translator.language.helper.target.Target; import cx2x.translator.report.ClawTran...
package bndtools.views; import java.io.File; import java.text.MessageFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import org....
// FormatTools.java package loci.formats; public final class FormatTools { // -- Constants -- /** Identifies the <i>INT8</i> data type used to store pixel values. */ public static final int INT8 = 0; /** Identifies the <i>UINT8</i> data type used to store pixel values. */ public static final int UINT8 = 1; ...
package acr.browser.lightning; import android.app.Activity; import android.app.AlertDialog; import android.app.DownloadManager; import android.content.ActivityNotFoundException; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager;...
package com.creedon.cordova.plugin.captioninput; import android.app.Activity; import android.content.ContentUris; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.BitmapFactory...
package plugin.google.maps; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Set; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.annotation.TargetApi; import android.content.res.Resources; import android.graphics.Bitmap;...
package api.web.gw2.mapping.v2.gliders; import api.web.gw2.mapping.core.IdValue; import api.web.gw2.mapping.core.ListValue; import api.web.gw2.mapping.core.LocalizedResource; import api.web.gw2.mapping.core.QuantityValue; import api.web.gw2.mapping.core.SetValue; import api.web.gw2.mapping.core.URLReference; import api...
package ly.count.android.sdk; import android.annotation.SuppressLint; import android.app.Activity; import android.app.Application; import android.content.Context; import android.content.Intent; import android.content.res.Configuration; import android.net.Uri; import android.os.Bundle; import android.util.Log; import ja...
package com.gentics.mesh.mock; import static com.gentics.mesh.util.UUIDUtil.randomUUID; import static org.mockito.Matchers.any; import static org.mockito.Matchers.anyString; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import java.util.Arrays; import java.util.Collections; import java...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.venky.swf.controller; import com.venky.core.date.DateUtils; import com.venky.core.log.SWFLogger; import com.venky.core.log.TimerStatistics.Timer; import com.venky.core.string.StringUtil; import com.venky.core...
package de.danielnaber.languagetool; import java.io.IOException; import java.io.StringReader; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.SAXParser; import javax.xml.parsers.SAXParserFactory; import org.xml.sax.InputSour...
package com.eagerlogic.cubee.client.components; import com.eagerlogic.cubee.client.events.Event; import com.eagerlogic.cubee.client.events.EventArgs; import com.eagerlogic.cubee.client.events.MouseEventArgs; import com.eagerlogic.cubee.client.properties.BooleanProperty; import com.eagerlogic.cubee.client.styles.Padding...
package soot.jimple.infoflow; import heros.FlowFunction; import heros.FlowFunctions; import heros.InterproceduralCFG; import heros.flowfunc.Identity; import heros.solver.PathEdge; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Set; import soot...
package net.sf.extjwnl.utilities; import net.sf.extjwnl.JWNLException; import net.sf.extjwnl.data.*; import net.sf.extjwnl.dictionary.AbstractCachingDictionary; import net.sf.extjwnl.dictionary.Dictionary; import net.sf.extjwnl.dictionary.database.ConnectionManager; import org.apache.commons.logging.Log; import org.apa...
package com.tinkerrocks.structure; import com.tinkerrocks.storage.StorageConstants; import org.apache.commons.configuration.BaseConfiguration; import org.apache.commons.configuration.Configuration; import org.apache.commons.io.FileUtils; import org.apache.tinkerpop.gremlin.process.traversal.P; import org.apache.tinkerp...
package com.turn.ttorrent.client; import com.turn.ttorrent.TempFiles; import com.turn.ttorrent.WaitFor; import com.turn.ttorrent.client.peer.SharingPeer; import com.turn.ttorrent.common.Torrent; import com.turn.ttorrent.tracker.TrackedPeer; import com.turn.ttorrent.tracker.TrackedTorrent; import com.turn.ttorrent.track...
package edu.yu.einstein.wasp.grid.work; import java.io.BufferedWriter; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileWriter; import java.io.IOException; import java.io.InputStream; import java.io.RandomAccessFile; impor...
package it.richkmeli.rms.web.v1; import org.junit.jupiter.api.Test; import org.springframework.util.Assert; public class commandTest extends ServletTestManager { //@Test cambia Schema db authschema in richkware public void doGet() { String jsonInput = "{" + " \"channel\": \"richkware\...
package ua.com.fielden.platform.web.centre; import static java.lang.String.format; import static java.util.regex.Pattern.quote; import static ua.com.fielden.platform.domaintree.impl.GlobalDomainTreeManager.DEFAULT_CONFIG_TITLE; import static ua.com.fielden.platform.error.Result.failuref; import static ua.com.fielden.pl...
package mho.wheels.math; import mho.wheels.iterables.ExhaustiveProvider; import mho.wheels.iterables.IterableProvider; import mho.wheels.iterables.IterableUtils; import mho.wheels.iterables.RandomProvider; import mho.wheels.ordering.Ordering; import mho.wheels.structures.Pair; import mho.wheels.structures.Triple; impor...
class SuspicousRegexExpressionArgument {{ "a.s.d.f".split(<warning descr="Suspicious regex expression \".\" in call to 'split()'"><caret>"."</warning>); "vb|amna".replaceAll(<warning descr="Suspicious regex expression \"|\" in call to 'replaceAll()'">"|"</warning>, "-"); "1+2+3".split("<error descr="Dangling meta...
package at.bitandart.zoubek.mervin.gerrit; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.net.URI; import java.text.MessageFormat; import java.util.ArrayList; import java.util.Collection; import java.uti...
package me.streib.janis.dbaufzug.objects; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.LinkedList; import me.streib.janis.dbaufzug.DatabaseConnection; import org.json.JSONObject; public abstract class Facility { public static LinkedList<Facility> getAl...
package org.cactoos.list; import org.cactoos.ScalarHasValue; import org.hamcrest.MatcherAssert; import org.hamcrest.Matchers; import org.junit.Test; /** * Test case for {@link NaturalNumbers}. * * @author Tim Hinkes (timmeey@timmeey.de) * @version $Id$ * @since 0.7 * @checkstyle JavadocMethodCheck (500 lines) */...
package com.nitorcreations.willow.deployer; import static com.nitorcreations.willow.deployer.PropertyKeys.PROPERTY_KEY_DEPLOYER_LAUNCH_INDEX; import static com.nitorcreations.willow.deployer.PropertyKeys.PROPERTY_KEY_DEPLOYER_NAME; import static com.nitorcreations.willow.deployer.PropertyKeys.PROPERTY_KEY_DOWNLOAD_DIRE...
package com.redhat.ceylon.eclipse.code.correct; import static com.redhat.ceylon.eclipse.util.EditorUtil.getDocument; import static com.redhat.ceylon.eclipse.util.Indents.getDefaultIndent; import static com.redhat.ceylon.eclipse.util.Indents.getDefaultLineDelimiter; import static com.redhat.ceylon.eclipse.util.Indents.g...
package org.xwiki.rendering; /** * Mock DocumentManager implementation used for testing, since we don't want to pull any dependency * on the Model/Skin/etc for the Rendering module's unit tests. * * @version $Id: MockVelocityManager.java 10176 2008-06-09 16:11:28Z vmassol $ * @since 1.6M1 */ public class MockDocu...
package org.swiften.javautilities.rx; import io.reactivex.BackpressureStrategy; import io.reactivex.Flowable; import io.reactivex.Observable; import io.reactivex.ObservableSource; import io.reactivex.functions.Consumer; import io.reactivex.functions.Function; import io.reactivex.schedulers.Schedulers; import io.reactiv...
package org.jkiss.dbeaver.ui.controls.resultset.panel; import org.eclipse.jface.action.*; import org.eclipse.jface.viewers.ISelection; import org.eclipse.jface.viewers.ISelectionChangedListener; import org.eclipse.jface.viewers.ISelectionProvider; import org.eclipse.jface.viewers.SelectionChangedEvent; import org.eclip...
package com.matthewtamlin.spyglass.processor.code_generation; import com.matthewtamlin.java_utilities.testing.Tested; import com.matthewtamlin.spyglass.common.annotations.default_annotations.DefaultToBoolean; import com.matthewtamlin.spyglass.common.annotations.default_annotations.DefaultToBooleanResource; import com.m...
package com.opengamma.financial.fudgemsg; import java.lang.reflect.Array; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import org.fudgemsg.FudgeField; import org.fudgemsg.FudgeMsg; import org.fudgemsg.MutableFudgeMsg; import org.fudgems...
package com.opengamma.integration.tool.portfolio; import static org.testng.Assert.assertEquals; import static org.testng.Assert.fail; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframe...
package com.opengamma.integration.tool.portfolio; import static org.testng.Assert.assertEquals; import static org.testng.Assert.fail; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import org.testng.annotations.AfterMethod; import org.testng.annotations.Before...
package net.sf.taverna.t2.workbench.views.results.workflow; import java.awt.BorderLayout; import java.awt.FlowLayout; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.ItemEvent; impor...
package org.kuali.rice.test.runners; import org.apache.commons.beanutils.MethodUtils; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.ClassRule; import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import org.junit.internal.A...
package org.eclipse.che.selenium.editor; import static org.eclipse.che.selenium.core.constant.TestTimeoutsConstants.LOAD_PAGE_TIMEOUT_SEC; import static org.eclipse.che.selenium.core.project.ProjectTemplates.MAVEN_JAVA_MULTIMODULE; import static org.eclipse.che.selenium.pageobject.CodenvyEditor.TabAction.SPIT_HORISONTA...
package ca.josephroque.bowlingcompanion; import com.google.android.gms.ads.AdListener; import com.google.android.gms.ads.AdRequest; import com.google.android.gms.ads.AdView; import android.app.ActivityManager; import android.content.ContentValues; import android.content.Intent; import android.content.SharedPreferences;...
package com.endovectors.uta.presentation.button; import com.endovectors.uta.presentation.button.button_one.ButtonOne; import com.endovectors.uta.presentation.button.button_three.ButtonThree; import com.endovectors.uta.presentation.button.button_two.ButtonTwo; import com.pi4j.io.gpio.GpioController; import com.pi4j.io.g...
package net.formula97.andorid.car_kei_bo; import android.app.Activity; import android.content.Intent; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; //import android.view.Menu; //import android.view.MenuInflater; //import android.view.MenuItem; import android.text.SpannableStringBuilder; impor...
package sortingexamples; import java.util.ArrayList; import java.util.List; import java.util.concurrent.TimeUnit; import java.util.logging.Level; import java.util.logging.Logger; /** * * @author Sanket K */ public class SortingExamples { List<Integer> data; /** * @param args the command line arguments ...
// copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // persons to whom the Software is furnished to do so, subject to the // notice shall be included in all copies o...
// copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // persons to whom the Software is furnished to do so, subject to the // notice shall be included in all copies o...
package org.anddev.andengine.opengl.util; import java.nio.Buffer; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.IntBuffer; import javax.microedition.khronos.opengles.GL10; import javax.microedition.khronos.opengles.GL11; import org.anddev.andengine.engine.options.RenderOptions; import org.andde...
package org.bdgp.OpenHiCAMM.Modules; import static org.bdgp.OpenHiCAMM.Util.where; import java.awt.Component; import java.io.File; 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.Objects; import...
package com.punchline.javalib.entities.processes; import com.punchline.javalib.entities.Entity; import com.punchline.javalib.entities.EntityWorld; import com.punchline.javalib.entities.events.processes.EndProcessCallback; /** * Deletes an Entity after a specified amount of time ends. * @author Natman64 * @created Oc...
package org.exist.xquery.functions.util; import org.exist.dom.DocumentSet; import org.exist.dom.NodeSet; import org.exist.dom.QName; import org.exist.storage.Indexable; import org.exist.util.ValueOccurrences; import org.exist.xquery.BasicFunction; import org.exist.xquery.Cardinality; import org.exist.xquery.FunctionCal...
package de.mrapp.android.adapter.expandablelist.selectable; import java.util.Collection; import java.util.LinkedHashSet; import java.util.Set; import java.util.regex.Pattern; import android.content.Context; import android.os.Bundle; import de.mrapp.android.adapter.ExpandableListAdapter; import de.mrapp.android.adapter....