answer
stringlengths
17
10.2M
package org.cactoos.text; import org.cactoos.Func; import org.cactoos.Text; import org.cactoos.scalar.Ternary; /** * Text in capitalized case, * changed the first character to title case as per {@link Character#toTitleCase(int)}, * no other characters are changed. * * @since 0.46 */ public final class Capitalized...
package org.cojen.tupl.rows; import java.io.IOException; import java.lang.invoke.VarHandle; import java.lang.ref.WeakReference; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedHash...
package org.commcare.xml; import org.commcare.resources.model.Resource; import org.commcare.resources.model.ResourceTable; import org.commcare.suite.model.Detail; import org.commcare.suite.model.Entry; import org.commcare.suite.model.Menu; import org.commcare.suite.model.Suite; import org.javarosa.core.model.instance.F...
package org.influxdb.inflow; import java.net.URI; import java.net.URISyntaxException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.concurrent.TimeUnit; import org.influxdb.InfluxDB; import org.influxdb.InfluxDB.RetentionPolicy; import org.influxdb.TimeUtil; import org.inf...
package org.jenetics.util; import static org.jenetics.util.Validator.nonNull; import java.io.Serializable; import java.util.Arrays; import java.util.Comparator; import java.util.Iterator; import java.util.List; import java.util.Random; public final class ArrayUtils { /** * The empty, immutable array. This arra...
package org.jtrfp.trcl.obj; import org.jtrfp.trcl.Model; import org.jtrfp.trcl.beh.AccelleratedByPropulsion; import org.jtrfp.trcl.beh.AutoLeveling; import org.jtrfp.trcl.beh.BouncesOffSurfaces; import org.jtrfp.trcl.beh.ChaseBehavior; import org.jtrfp.trcl.beh.CollidesWithDEFObjects; import org.jtrfp.trcl.beh.Collides...
package org.kohsuke.github; import com.fasterxml.jackson.databind.JsonMappingException; import org.apache.commons.io.IOUtils; import org.apache.commons.lang3.StringUtils; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Interr...
package org.lightmare.cache; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.Collection; import java.util.LinkedList; import java.util.List; import java.util.Queue; import java.util.Stack; import java.util.concurrent.atomic.AtomicBoolean; import javax.ejb.TransactionAttributeType; import ja...
package org.petapico.npop; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintStream; import java.util.ArrayList; import java.util.HashMap; impor...
package org.pignat.app.qr2gerber; import java.awt.Graphics; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.image.BufferedImage; import javax.swing.JButton; import javax.swing.JFileChooser; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import j...
package org.telegram.mtproto; import org.telegram.actors.*; import org.telegram.mtproto.backoff.ExponentalBackoff; import org.telegram.mtproto.log.Logger; import org.telegram.mtproto.schedule.PrepareSchedule; import org.telegram.mtproto.schedule.PreparedPackage; import org.telegram.mtproto.schedule.Scheduller; import o...
package phWGinfo; public class DemoParallelThreads { public static void main(String[] args) { new DemoParallelThreads().run(); } public void run() { new Thread(new Ticker(+1)).start(); new Thread(new Ticker(-1)).start(); } int count = 0; class Ticker implements Runnable {...
package pl.hycom.mr; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; public class maczugaherkulesa { @RequestMapping("/") @ResponseBody String home() { return "maczuga herkulesa !"; } }
package scrum.client.wiki; import scrum.client.ScrumGwtApplication; public class WikiParser { public static void main(String[] args) { WikiParser wikiParser = new WikiParser("tsk17, (req122)\n"); WikiModel model = wikiParser.parse(); System.out.println(model); } private String input;...
package scrum.server.project; import ilarkesto.base.Money; import ilarkesto.base.Str; import ilarkesto.base.Utl; import ilarkesto.base.time.Date; import ilarkesto.pdf.APdfBuilder; import ilarkesto.persistence.AEntity; import ilarkesto.persistence.Persist; import ilarkesto.rss.Rss20Builder; import ilarkesto.search.Searc...
package seedu.todo.models; import java.io.IOException; import java.time.LocalDateTime; import java.util.ArrayList; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import seedu.todo.commons.exceptions.CannotRedoException; import seedu.todo.commons.exceptions.CannotUndoException; import seedu...
package ste.travian.gui; import java.awt.Point; import java.awt.datatransfer.Transferable; import java.awt.datatransfer.UnsupportedFlavorException; import java.awt.dnd.DnDConstants; import java.awt.dnd.DragGestureEvent; import java.awt.dnd.DragGestureListener; import java.awt.dnd.DragSource; import java.awt.dnd.DragSou...
package xdean.jex.util.task; import static xdean.jex.util.function.FunctionAdapter.supplierToRunnable; import java.util.Optional; import java.util.function.Consumer; import java.util.function.Supplier; import lombok.AllArgsConstructor; import lombok.experimental.UtilityClass; import lombok.extern.slf4j.Slf4j; import rx...
// jTDS JDBC Driver for Microsoft SQL Server // 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. See the GNU // You shoul...
package io.spine.server.commandbus; import com.google.common.annotations.VisibleForTesting; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableSet; import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.errorprone.annotations.CheckReturnValue; import com....
package net.oneandone.stool.server.api; import net.oneandone.sushi.fs.World; import org.apache.tomcat.util.codec.binary.Base64; import java.io.ByteArrayOutputStream; import java.io.DataOutputStream; import java.io.IOException; import java.security.KeyPair; import java.security.KeyPairGenerator; import java.security.NoS...
import org.opencv.core.Core; import org.opencv.imgcodecs.Imgcodecs; import javax.imageio.ImageIO; import javax.swing.*; import java.awt.*; import java.io.File; public class GUI { public static CameraFeed cf; public static EyeDetection e; public static Calibrator calibrator; public static boolean calibra...
package org.piwik.sdk; import android.os.Process; import org.apache.http.HttpResponse; import org.apache.http.HttpStatus; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpPost; import org.apache.http.client.methods.HttpRequestBase; import...
package com.oracle.poco.bbhelper; import java.io.Console; import javax.annotation.PostConstruct; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import com.oracle.poco.bbhelper.log.Bbhe...
package edu.mit.csail.uid; import java.awt.*; import java.awt.event.*; import java.awt.Robot.*; import java.awt.image.*; import java.io.*; import java.nio.charset.*; import java.nio.*; import java.util.*; import javax.imageio.ImageIO; import javax.swing.*; public class SikuliScript { private OSUtil _osUtil; priva...
package com.atrakeur.quadripod.model; import java.beans.PropertyChangeListener; import java.beans.PropertyChangeSupport; import jssc.SerialPort; import jssc.SerialPortException; import jssc.SerialPortList; public class SerialModel { private String portName; private int bauds; private SerialPort port; pr...
package org.dionysus.domain; import java.util.Collection; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.EntityListeners; import javax.persistence.FetchType; import javax.persistence.JoinColumn; import javax.persistence.Lob; import javax.persistence.ManyToMany; import javax.p...
package cgeo.geocaching; import cgeo.geocaching.activity.AbstractActionBarActivity; import cgeo.geocaching.activity.ActivityMixin; import cgeo.geocaching.connector.ConnectorFactory; import cgeo.geocaching.connector.IConnector; import cgeo.geocaching.enumerations.LoadFlags; import cgeo.geocaching.enumerations.LoadFlags....
package cgeo.geocaching; import butterknife.ButterKnife; import butterknife.InjectView; import cgeo.geocaching.activity.Keyboard; import cgeo.geocaching.connector.ConnectorFactory; import cgeo.geocaching.connector.LogResult; import cgeo.geocaching.connector.trackable.AbstractTrackableLoggingManager; import cgeo.geocach...
package com.example.fragment; import java.util.List; import android.location.Location; import android.os.Bundle; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; import android.widget.To...
package tc.oc.pgm.payload; import com.google.common.collect.Range; import org.bukkit.util.ImVector; import org.bukkit.util.Vector; import org.jdom2.Element; import tc.oc.pgm.features.FeatureDefinitionParser; import tc.oc.pgm.features.FeatureParser; import tc.oc.pgm.filters.Filter; import tc.oc.pgm.filters.parser.Filter...
import java.util.*; public class SkipList<E> extends AbstractSortedSet<E> { private SkipListNode head; private int maxLevel; private int size; public SkipList() { size = 0; maxLevel = 0; // a SkipListNode with value null marks the beginning head = new SkipListNode(null); // null mark...
package br.odb; import android.media.AudioFormat; import android.media.AudioManager; import android.media.AudioTrack; import android.util.Log; import java.util.ArrayList; public class SoundSink { private ArrayList<AudioTrack> soundPool = new ArrayList<>(); private ArrayList<byte[]> soundData = new ArrayList<>()...
package polytheque.view; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JPasswordField; import javax.swing.JTextField; import javax.swing.SwingConstants; import ...
package com.gallatinsystems.survey.dao; import com.gallatinsystems.survey.domain.Translation; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.TreeMap; import javax.jdo.PersistenceManager; import com.gallatinsystems.framework.dao.BaseDAO; import com.gallatinsystems.framework.excep...
package com.intellij.codeInsight.folding.impl; import com.intellij.lang.Language; import com.intellij.lang.folding.FoldingBuilder; import com.intellij.lang.folding.FoldingDescriptor; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.editor.Document; import com.intellij.openapi.progress.Progress...
package autoChirp; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import org.junit.BeforeClass; import org.junit.Test; public class TwitterTest { private s...
package awesomefb.facebook; import awesomefb.facebook.Facebook; import org.json.JSONArray; import org.json.JSONObject; import java.util.ArrayList; import java.util.List; public class Page extends Entity { private String mName; private Facebook mFacebook; public Page(JSONObject page) { super(page); ...
package io.spine.type; import com.google.common.collect.ImmutableSet; import com.google.protobuf.Message; import io.spine.value.ClassTypeValue; import java.util.ArrayDeque; import java.util.Arrays; import java.util.Queue; import static com.google.common.base.Preconditions.checkNotNull; /** * A base class for value obj...
package nz.mega.sdk; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.net.URLConnection; import android.content.ContentResolver; import android.content.Context; import android.database.Cursor; import andro...
package utils; import java.math.BigDecimal; import javax.servlet.http.HttpServletRequest; import javax.swing.JOptionPane; import javax.ws.rs.WebApplicationException; import qora.account.Account; import qora.account.PrivateKeyAccount; import qora.crypto.Crypto; import qora.transaction.Transaction; import api.ApiErrorFac...
package to.etc.domui.logic; import java.util.*; import javax.annotation.*; import to.etc.domui.component.meta.*; import to.etc.domui.util.*; import to.etc.domui.util.db.*; import to.etc.util.*; public class LogiModel { @Nonnull private Set<Object> m_modelRoots = new HashSet<Object>(); /** Maps original inst...
package com.cloud.configuration; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import com.cloud.agent.AgentManager; import com.cloud.consoleproxy.ConsoleProxyManager; import com.cloud.ha.HighAvailabilityManager; import com.cloud.hypervisor.Hypervisor.HypervisorType; import com.cloud.netwo...
package com.catglo.fakerproxy; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.ServerSocket; import java.net.Socket; import java.net.UnknownHostException; import java.util.HashMap; import java.util.regex.Matcher; import java.util.regex.Pa...
package solace.cmd; import java.util.*; import solace.game.*; import solace.net.*; import java.io.*; import solace.util.*; import solace.cmd.play.*; /** * Main game play controller (the actual game). * @author Ryan Sandor Richards */ public class PlayController extends AbstractStateController { solace.game.C...
package com.itto3.itimeu; import android.content.BroadcastReceiver; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.ServiceConnection; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle;...
package com.malhartech.stram.cli; import java.io.File; import java.io.IOException; import java.io.PrintWriter; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.LinkedList; import java.util.List; import javax.ws.rs.core.MediaType; ...
package org.reldb.dbrowser.ui; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Vector; import org.reldb.rel.client.Connection.ExecuteResult; import org.reldb.rel.client.Tuple; import org.reldb.rel.client.Tuples; import org.reldb.rel.client.Value; import org.reldb.rel.utilities.StringUtils; pu...
/** * Class to interface with the SCP1000 pressure and temperature sensor. */ package test.fuyuton; import jp.nyatla.mimic.mbedjs.MbedJsException; import jp.nyatla.mimic.mbedjs.javaapi.Mcu; import jp.nyatla.mimic.mbedjs.javaapi.PinName; import jp.nyatla.mimic.mbedjs.javaapi.SPI; import jp.nyatla.mimic.mbedjs.javaapi....
package erogenousbeef.core.multiblock; import java.util.LinkedList; import java.util.List; import java.util.Set; import java.util.concurrent.CopyOnWriteArraySet; import net.minecraft.block.material.Material; import net.minecraft.client.Minecraft; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.tileentity....
package jade.core; import java.io.IOException; import java.io.InterruptedIOException; import jade.util.leap.Serializable; import jade.util.leap.Iterator; import java.util.Hashtable; import java.util.Enumeration; import jade.core.behaviours.Behaviour; import jade.lang.acl.*; import jade.domain.FIPAException; import jade...
package jade.core; import java.io.Reader; import java.io.StringReader; import java.io.StringWriter; import java.io.Serializable; import java.io.InterruptedIOException; import java.util.Date; import java.util.Iterator; import java.util.Vector; import jade.core.behaviours.Behaviour; import jade.lang.acl.*; import jade.do...
import java.util.*; import java.awt.*; import java.io.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; class nwchem_RMS extends JFrame implements ActionListener, ChangeListener, WindowListener, MouseListener { Font defaultFont; int setnumber=0; JFileChooser chooser; Extensio...
package etomica; import etomica.integrator.Integrator; import etomica.simulation.Simulation; import etomica.space.Space; import etomica.space3d.Space3D; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.TestReporter; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params....
package hudson.model; import hudson.PluginWrapper; import hudson.PluginManager; import hudson.model.UpdateCenter.UpdateCenterJob; import hudson.lifecycle.Lifecycle; import hudson.util.TextFile; import hudson.util.VersionNumber; import static hudson.util.TimeUnit2.DAYS; import net.sf.json.JSONObject; import org.kohsuke....
package orclient.util; import java.util.HashMap; import java.util.Map; import org.json.JSONArray; import org.json.JSONObject; public class GlobalConfig { public static Map<String, String> globalConfig; static { globalConfig = new HashMap<String, String>(); JSONArray ja = new JSONArray(); ...
package com.bugsnag; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import com.bugsnag.callbacks.Callback; import com.bugsnag.delivery.Delivery; i...
package org.epics.pvmanager; import java.util.HashSet; import java.util.Iterator; import java.util.Map; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; public abstract class TypeSupport<T> { /** * Internal class to improve readability. * @author bknerr * @since 20.01.2011 */...
package net.hillsdon.svnwiki.vc; import java.util.regex.Matcher; import java.util.regex.Pattern; public interface PathTranslator { Pattern ATTACHMENT_PATH = Pattern.compile(".*/(.*?)-attachments/.*"); PathTranslator RELATIVE = new PathTranslator() { public String translate(String rootPath, String path) { ...
package net.mcft.copy.tweaks; import java.io.File; import net.mcft.copy.core.config.Config; import net.mcft.copy.core.config.setting.Setting; import net.mcft.copy.tweaks.handlers.AnimalBreedingGrowthHandler; import net.mcft.copy.tweaks.handlers.GravelFlintDropHandler; import net.mcft.copy.tweaks.handlers.MobDropHandler...
package nl.tudelft.selfcompileapp; import java.io.File; import java.io.FileOutputStream; import java.io.InputStream; import java.io.PrintWriter; import java.security.PrivateKey; import java.security.cert.X509Certificate; import java.util.Locale; import android.app.Activity; import android.content.Intent; import android...
package org.basex.gui.view.scatter; import static org.basex.util.Token.*; import org.basex.data.Data; import org.basex.data.StatsKey; import org.basex.data.StatsKey.Kind; import org.basex.gui.GUI; import org.basex.util.IntList; import org.basex.util.Set; import org.basex.util.TokenList; public final class ScatterAxis {...
/* -*- c-basic-offset: 4; indent-tabs-mode: nil -*- */ package org.biojava.bio.seq.db.biosql; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; import javax.sql.DataSource; import org.biojava.bio.BioRuntimeException; //import org.biojava.utils.JDBCConnectionPool; /** * Isolat...
package org.bouncycastle.asn1; import java.io.IOException; /** * ASN.1 TaggedObject - in ASN.1 nottation this is any object proceeded by * a [n] where n is some number - these are assume to follow the construction * rules (as with sequences). */ public abstract class ASN1TaggedObject extends ASN1Object impl...
package org.bouncycastle.crypto.tls; import org.bouncycastle.asn1.sec.SECNamedCurves; import org.bouncycastle.asn1.x9.X9ECParameters; import org.bouncycastle.crypto.params.ECDomainParameters; /** * RFC 4492 5.1.1 * * The named curves defined here are those specified in SEC 2 [13]. Note that many of * these curves a...
package org.broad.igv.feature.tribble; import org.apache.log4j.Logger; import org.broad.igv.Globals; import org.broad.igv.exceptions.ParserException; import org.broad.igv.feature.BasicFeature; import org.broad.igv.feature.FeatureDB; import org.broad.igv.feature.Strand; import org.broad.igv.feature.genome.Genome; import...
package org.eclipse.imp.pdb.facts.util; import static org.eclipse.imp.pdb.facts.util.ArrayUtils.copyAndInsert; import static org.eclipse.imp.pdb.facts.util.ArrayUtils.copyAndMoveToBack; import static org.eclipse.imp.pdb.facts.util.ArrayUtils.copyAndMoveToFront; import static org.eclipse.imp.pdb.facts.util.ArrayUtils.co...
package me.benjozork.onyx.game; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Input; import com.badlogic.gdx.Screen; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.OrthographicCamera; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.Sprite; import com.badlo...
package org.exist.storage; import org.apache.log4j.Logger; import org.exist.EXistException; import org.exist.backup.ConsistencyCheck; import org.exist.backup.ErrorReport; import org.exist.backup.SystemExport; import org.exist.management.AgentFactory; import org.exist.util.Configuration; import java.io.BufferedOutputStr...
package org.helioviewer.jhv.layers; import org.helioviewer.jhv.base.Region; import org.helioviewer.jhv.camera.Camera; import org.helioviewer.jhv.camera.CameraHelper; import org.helioviewer.jhv.display.Display; import org.helioviewer.jhv.display.Viewport; import org.helioviewer.jhv.imagedata.ImageData; import org.heliov...
package org.jsapar.schema; import java.io.IOException; import java.io.Reader; import java.io.Writer; import org.jsapar.Cell; import org.jsapar.JSaParException; import org.jsapar.Cell.CellType; import org.jsapar.input.ParseException; import org.jsapar.input.ParsingEventListener; import org.jsapar.output.OutputException;...
// ZAP: 2012/03/03 Moved popups to stdmenus extension // ZAP: 2012/03/15 Changed to initiate the tree with a default model. Changed to // clear the http panels when the root node is selected. // ZAP: 2012/04/23 Added @Override annotation to all appropriate methods. // ZAP: 2012/06/13 Added custom tree cell renderer to ...
package org.sugr.gearshift; import android.animation.Animator; import android.animation.AnimatorInflater; import android.animation.ValueAnimator; import android.app.ActionBar; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import an...
package butterknife; import android.view.View; import butterknife.internal.ListenerClass; import butterknife.internal.ListenerMethod; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static android.view.View.OnTouchListener; import static java.lang.annotation.ElementType.METHOD; import ...
// This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the blocks indicating autogenerated code o...
package server; import java.sql.*; import java.util.*; import common.*; public class DataBase { private static String get_defaults() { return "jdbc:mysql://localhost/test"; } public static Connection get_connection() { String connection_string = get_defaults(); try { ...
package hello; import java.io.*; import java.sql.*; import java.util.*; import java.util.concurrent.*; import javax.annotation.*; import javax.servlet.*; import javax.servlet.http.*; import javax.sql.*; /** * Database connectivity (with a Servlet-container managed pool) test. */ @SuppressWarnings("serial") public cla...
package sorcer.sml.contexts; import org.junit.Test; import org.junit.runner.RunWith; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.sorcer.test.ProjectContext; import org.sorcer.test.SorcerTestRunner; import sorcer.arithmetic.provider.impl.AdderImpl; import sorcer.arithmetic.provider.impl.Multiplie...
/* * $Log: Dir2Xml.java,v $ * Revision 1.7 2006-01-05 14:52:02 europe\L190409 * improve error handling * * Revision 1.6 2005/10/20 15:20:27 Gerrit van Brakel <gerrit.van.brakel@ibissource.org> * added feature to include directories * * Revision 1.5 2005/07/19 11:04:09 Gerrit van Brakel <gerrit.van.brakel@...
package ua.kiev.icyb.bio.alg.mixture; import java.util.Arrays; import ua.kiev.icyb.bio.alg.AbstractDistribution; import ua.kiev.icyb.bio.alg.Distribution; import ua.kiev.icyb.bio.alg.DistributionUtils; public class Mixture<T> extends AbstractDistribution<T> { private static final long serialVersionUID = 1L; pri...
package be.ibridge.kettle.trans.step.tableinput; import java.util.ArrayList; import java.util.Hashtable; import org.eclipse.swt.widgets.Shell; import org.w3c.dom.Node; import be.ibridge.kettle.core.CheckResult; import be.ibridge.kettle.core.Const; import be.ibridge.kettle.core.Row; import be.ibridge.kettle.core.XMLHand...
package com.anysoftkeyboard.dictionaries; import android.os.AsyncTask; import com.anysoftkeyboard.utils.Log; import com.menny.android.anysoftkeyboard.AnyApplication; import java.lang.ref.WeakReference; public class DictionaryASyncLoader extends AsyncTask<Dictionary, Void, Dictionary> { private static final String T...
package com.example.connect_sdk_sampler.fragments; import java.util.List; import android.content.Context; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; import android.widget.Adapte...
import java.io.BufferedInputStream; import java.net.ServerSocket; import java.net.Socket; import java.io.InputStream; public class ConnectionManager { private static final int timout = 3000; private static final int port = 9100; private static final boolean whileConnected = true; private static final in...
// Connect SDK Sample App by LG Electronics // To the extent possible under law, the person who associated CC0 with // to the sample app. package com.example.connect_sdk_sampler.fragments; import java.util.List; import android.content.Context; import android.os.Bundle; import android.util.Log; import android.view.La...
package com.valkryst.VTerminal.builder.component; import com.valkryst.VJSON.VJSONParser; import com.valkryst.VTerminal.component.Button; import com.valkryst.VTerminal.misc.ColorFunctions; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; import lombok.NonNull; import org.json.simple....
package com.vectrace.MercurialEclipse.history; import static com.vectrace.MercurialEclipse.preferences.MercurialPreferenceConstants.*; import java.lang.reflect.InvocationTargetException; import org.eclipse.core.resources.IFile; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.jface.action.Action; im...
package c5db.interfaces; import c5db.interfaces.server.CommandRpcRequest; import c5db.messages.generated.CommandReply; import c5db.messages.generated.ModuleType; import org.jetlang.channels.Request; @ModuleTypeBinding(value = ModuleType.ControlRpc) public interface ControlModule extends C5Module { void doMessage(Requ...
package de.uni.freiburg.iig.telematik.wolfgang; import java.io.File; //import java.util.ArrayList; import javax.swing.JFileChooser; import javax.swing.JOptionPane; import javax.swing.UIManager; import javax.swing.UnsupportedLookAndFeelException; import javax.swing.filechooser.FileFilter; //import com.apple.eawt.AppEven...
package dr.evomodel.branchratemodel; import dr.evolution.tree.NodeRef; import dr.evolution.tree.Tree; import dr.evolution.tree.TreeTrait; import dr.evomodel.tree.TreeModel; import dr.evomodel.tree.TreeParameterModel; import dr.inference.markovjumps.TwoStateOccupancyMarkovReward; import dr.inference.model.AbstractModelL...
package edu.psu.compbio.seqcode.projects.naomi; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import java.util.TreeMap; import org.apache.commons.math3.analysis.polynomials.PolynomialFunct...
package edu.psu.compbio.seqcode.projects.naomi; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import java.util.TreeMap; import org.apache.commons.math3.analysis.polynomials.PolynomialFunct...
package experimentalcode.erich.diss; import java.util.Arrays; import de.lmu.ifi.dbs.elki.math.MathUtil; import de.lmu.ifi.dbs.elki.math.statistics.distribution.DistributionEstimator; import de.lmu.ifi.dbs.elki.math.statistics.distribution.GammaDistribution; import de.lmu.ifi.dbs.elki.math.statistics.distribution.Genera...
package unicasc; import java.util.HashMap; import java.util.Map; /** * Converts between ASCII and Unicode represeantations of TLA+ symbols. * @author pron */ public final class Unicode { private Unicode() {} // Unicode/ASCII conversion table private static final String[][] table = { // The fi...
package com.armandgray.taap.models; import android.os.Parcel; import android.os.Parcelable; import android.support.annotation.NonNull; import java.util.ArrayList; public class Drill implements Parcelable { public static final String ALL = "ALL"; public static final String BALL_HANDLING = "Ball Handling"; pu...
package bisq.monitor; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import lombok.extern.slf4j.Slf4j; /** * Gate pattern to help with thread synchronization * * @author Florian Reimair */ @Slf4j public class ThreadGate { private CountDownLatch lock = new CountDownLatch(0); ...
package com.example.moreapp; import android.content.Context; import android.text.TextUtils; import com.android.volley.Request; import com.android.volley.RequestQueue; import com.android.volley.toolbox.Volley; public class App{ public RequestQueue requestQueue; private static App Instance; public static Cont...
package gov.nih.nci.calab.ui.submit; /** * This class sets up input form for size characterization. * * @author pansu */ /* CVS $Id: NanoparticleFunctionAction.java,v 1.11 2007-08-01 18:25:18 pansu Exp $ */ import gov.nih.nci.calab.domain.nano.function.Function; import gov.nih.nci.calab.dto.characterization.Charact...
package gov.nih.nci.cananolab.ui.particle; import gov.nih.nci.cananolab.domain.particle.samplecomposition.base.Emulsion; import gov.nih.nci.cananolab.dto.common.LabFileBean; import gov.nih.nci.cananolab.dto.particle.composition.ChemicalAssociationBean; import gov.nih.nci.cananolab.dto.particle.composition.ComposingElem...
package gov.nih.nci.ncicb.cadsr.loader.ui; import gov.nih.nci.ncicb.cadsr.domain.DomainObjectFactory; import gov.nih.nci.ncicb.cadsr.domain.PermissibleValue; import gov.nih.nci.ncicb.cadsr.domain.ValueDomain; import gov.nih.nci.ncicb.cadsr.loader.event.ElementChangeEvent; import gov.nih.nci.ncicb.cadsr.loader.event.Ele...