answer
stringlengths
17
10.2M
package org.opencb.hpg_pore; import java.io.File; import java.io.IOException; import java.text.NumberFormat; import java.util.HashMap; import org.jfree.chart.JFreeChart; import org.opencb.hpg_pore.commandline.SignalCommandLine; import com.beust.jcommander.JCommander; public class SignalCmd { public static String ou...
package taskDo; import org.joda.time.DateTime; /* * @author Paing Zin Oo(Jack) */ public class Task implements Comparable<Task>{ private final int INCREMENT = 1; private static int lastTaskId = 0; private int id; private String category; private String title; private String note; private b...
package org.scijava.script; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.io.Reader; import java.util.HashMap; import java.util.Map; import javax.script.ScriptException; import org.scijava.Context; import org.scijava.Contextual; import org.scijava...
package seedu.doit.model; import java.util.Set; import java.util.logging.Logger; import javafx.collections.transformation.FilteredList; import seedu.doit.commons.core.ComponentManager; import seedu.doit.commons.core.LogsCenter; import seedu.doit.commons.core.UnmodifiableObservableList; import seedu.doit.commons.events....
package seedu.typed.model; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Set; import javafx.collections.ObservableList; import seedu.typed.commons.core.UnmodifiableObserv...
package sg.ncl.testbed_interface; /** * * Team model * @author yeoteye * */ public class Team { private long id; private String name; private String description; private String website; private String organizationType; private boolean isApproved; public Team() { id = 0; } ...
package yanagishima.util; import static org.apache.commons.csv.CSVFormat.EXCEL; import java.io.BufferedReader; import java.io.IOException; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList; import java.util.List; import javax...
package org.commcare.tasks; import android.content.Context; import android.content.Intent; import android.support.v4.util.Pair; import net.sqlcipher.database.SQLiteDatabase; import org.commcare.CommCareApplication; import org.commcare.android.database.app.models.UserKeyRecord; import org.commcare.android.database.user....
package cpi; /** * * @author Gonzalo */ public class CPI { /** * @param args the command line arguments */ public static void main(String[] args) { // TODO code application logic here // un commit de prueba // anahi } }
package org.commcare.utils; import android.content.SharedPreferences; import android.text.format.DateUtils; import org.commcare.CommCareApplication; import org.commcare.preferences.PrefValues; import org.commcare.preferences.HiddenPreferences; import org.commcare.preferences.MainConfigurablePreferences; import java.uti...
package org.jpos.security; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.javatuples.Pair; import org.jpos.core.Configurable; import org.jpos.core.Configuration; import org.jpos.core.ConfigurationException; import org.jpos.iso.ISOUtil; import org.jpos.util.*; import org.jpos.util....
package synthesis.mapTechnology; import java.util.HashMap; import java.util.Map; public class StringGraph { private Map<Integer, Integer> _nodes; public int stateNum = 0; public StringGraph() { _nodes = new HashMap<Integer, Integer>(); } public void createStringGraph() { Stri...
package com.serial; import com.serial.SerialEventListener; import com.serial.Serial; import jssc.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.util.*; public class SerialConnectPanel extends JPanel { private static class BaudRate{ public String name; public int id;...
package org.pentaho.di.ui.spoon.job; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.jface.dialogs.MessageDialogWithToggle; import org.eclipse.swt.SWT; import org.eclipse.swt.dnd.DND; import org.eclipse...
package com.intellij.psi.impl; import com.intellij.formatting.FormatterEx; import com.intellij.formatting.FormatterImpl; import com.intellij.ide.startup.CacheUpdater; import com.intellij.ide.startup.FileContent; import com.intellij.ide.startup.FileSystemSynchronizer; import com.intellij.ide.startup.StartupManagerEx; im...
package Ontology.Mappings; /** * MessageType Class * The class is used to store the various parameters of the Message like name,min-version and max-version * @author tirthmehta */ import Util.Serializable; import Util.SerializationConvenience; import Util.StorageToken; public class MessageType extends Serializable...
package socketfactory; import java.io.EOFException; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; import java.net.SocketException; import sync.ClientCenter; import threads.ReceiverManager; public class LinkBuilder { private Socket sock = null; public synchronized void buildLi...
package storage; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.sql.Timestamp; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import xml.UniprotDbRef; impor...
package structures.data; import exceptions.ResourceFailedException; import javax.sound.sampled.AudioInputStream; import authoring_environment.FileHandlers.FileManager; import javafx.scene.media.AudioClip; import structures.IResource; public class DataSound implements IResource { private String myName; private S...
package com.africastalking; import retrofit2.Call; import retrofit2.http.Field; import retrofit2.http.FormUrlEncoded; import retrofit2.http.Headers; import retrofit2.http.POST; import retrofit2.http.Body; interface IToken { @FormUrlEncoded @POST("checkout/token/create") Call<String> createCheckoutToken(@Fie...
package sudoku.time; import common.Sets; import common.time.AbstractTime; import common.time.Time; import java.util.Collections; import java.util.HashSet; import java.util.Scanner; import java.util.Set; import java.util.stream.Stream; import sudoku.Claim; import sudoku.Rule; /** * <p>A Time in which some Claims are {@...
package cgeo.geocaching.settings; import cgeo.geocaching.Intents; import cgeo.geocaching.R; import cgeo.geocaching.SelectMapfileActivity; import cgeo.geocaching.cgeoapplication; import cgeo.geocaching.activity.ActivityMixin; import cgeo.geocaching.apps.cache.navi.NavigationAppFactory; import cgeo.geocaching.apps.cache....
/* * Thibaut Colar Dec 18, 2009 */ package net.colar.netbeans.fan; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.Properties; import net.colar.netbeans.fan.indexer.FanIndexer; import net.colar.netbeans.fan....
package biomodel.gui.textualeditor; import java.awt.AWTError; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.StringReader; import java.util.ArrayList; import java.util.HashMap; import java.util.Has...
package hex.genmodel; import water.genmodel.IGeneratedModel; import hex.ModelCategory; import java.io.Serializable; import java.util.Arrays; import java.util.Map; /** This is a helper class to support Java generated models. */ public abstract class GenModel implements IGenModel, IGeneratedModel, Serializable { /** Co...
package ui; import java.awt.Font; import java.awt.GridLayout; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.util.ArrayList; import java.util.Arrays; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JSeparator; import javax.swing.SwingConstants; import javax.sw...
package org.bouncycastle.math.ec; import java.math.BigInteger; import java.util.Random; public abstract class ECFieldElement implements ECConstants { BigInteger x; protected ECFieldElement(BigInteger x) { this.x = x; } public BigInteger toBigInteger() { return x; } pu...
package org.helioviewer.jhv.camera; import javax.annotation.Nullable; import org.helioviewer.jhv.astronomy.Sun; import org.helioviewer.jhv.display.Display; import org.helioviewer.jhv.display.Viewport; import org.helioviewer.jhv.layers.ImageLayers; import org.helioviewer.jhv.math.Quat; import org.helioviewer.jhv.math.Ve...
package org.linuxguy.MarketBot; import javax.net.ssl.HttpsURLConnection; import java.io.BufferedOutputStream; import java.io.IOException; import java.io.OutputStream; import java.io.UnsupportedEncodingException; import java.net.URL; public class FlowDockNotifier extends Notifier<Comment> implements ResultListener<Comme...
// API class package org.mozilla.javascript; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.lang.annotation.Annotation; import java.lang.reflect.AccessibleObject; import java.lang.reflect.Constructor; import java.lang.reflect.Inv...
package org.myrobotlab.framework; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import org.myrobotlab.codec.CodecUtils; import org.myrobotlab.framework.interfaces.MessageSender; import org.myrobotlab.logging.LoggerFactory; import org.myrobotlab.logging.Logging; import org.sl...
package org.openid4java.association; import org.apache.commons.codec.binary.Base64; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import javax.crypto.SecretKey; import javax.crypto.KeyGenerator; import javax.crypto.Mac; import javax.crypto.spec.SecretKeySpec; import java.security....
package com.hbasebook.hush; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import java.util.List; import org.apache.commons.codec.digest.DigestUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.hbase.client.Get; import org.a...
package pt.up.fe.aiad.gui; import jade.core.AID; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.scene.control.*; import javafx.stage.Stage; import pt.up.fe.aiad.scheduler.ScheduleEvent; import pt.up.fe.aiad.scheduler.SchedulerAgent; import pt.up.fe.aiad.utils.FXUtils; import pt.up.fe.aiad.utils...
/* High level API */ package org.xbill.DNS; import java.util.*; import java.io.*; import java.net.*; /** * High level API for mapping queries to DNS Records. Caching is used * when possible to reduce the number of DNS requests, and a Resolver * is used to perform the queries. A search path can be set or determined...
package org.xbill.DNS; import java.util.*; import java.net.*; /** * A high level API for mapping queries to DNS Records. * <P> * As of dnsjava 1.4.0, all functions in this class are wrappers * around functions in the Lookup and ReverseMap class, and those should be * used instead. * * @see Lookup * @see Reverse...
/* High level API */ package org.xbill.DNS; import java.util.*; import java.io.*; import java.net.*; /** * High level API for mapping queries to DNS Records. Caching is used * when possible to reduce the number of DNS requests, and a Resolver * is used to perform the queries. A search path can be set or determined...
package com.adt.blackjack; import android.support.v7.app.ActionBarActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.content.Intent; import android.widget.TextView; import android.widget.ImageView; import android.widget.Button; import and...
package io.tracee; public final class TraceeConstants { private TraceeConstants() { } public static final String HTTP_HEADER_NAME = "X-TracEE-Context"; public static final String JMS_HEADER_NAME = "X-TracEE-Context"; public static final String SESSION_ID_KEY = "traceeSessionId"; public static fi...
package tp.pr5.logic; import tp.pr5.Resources.Resources; public class ReversiRules implements GameRules { private int dimX = Resources.DIMX_REVERSI; private int dimY = Resources.DIMY_REVERSI; private Counter winner; public ReversiRules() { winner = Counter.EMPTY; } public Counter initial...
package uk.co.panaxiom.playjongo; import play.Application; import play.Play; import play.Plugin; public class JongoPlugin extends Plugin { public JongoPlugin(Application application) { } @Override public void onStart() { PlayJongo.getInstance(); } @Override public void onStop() { ...
package view; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.FlowLayout; import java.util.ArrayList; import java.util.Collection; import javax.swing.BorderFactory; import javax.swing.BoxLayout; import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JPa...
package burp; import java.awt.*; import java.awt.datatransfer.*; import java.awt.event.*; import java.nio.*; import java.nio.charset.*; import java.util.*; import java.util.regex.*; import javax.swing.*; import javax.swing.tree.*; import mjson.Json; public class JsonJTree extends MouseAdapter implements IMessageEditorT...
package sg.edu.cs2103aug2015_w13_2j; import static org.junit.Assert.*; import java.util.List; import org.junit.Test; public class StorageTest { // Use the same Storage object across the tests private Storage storage = new Storage(); @Test public void readAndWriteTest() throws Exception { String ...
package org.ccnx.ccn.test; import org.ccnx.ccn.impl.support.Log; import org.ccnx.ccn.protocol.CCNTime; import org.ccnx.ccn.protocol.ContentName; import org.ccnx.ccn.protocol.MalformedContentNameStringException; /** * Utility class to provide facilities to be used by all of * the CCN tests, most importantly a standard...
package com.redpois0n.panels; import java.awt.Color; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import javax.swing.ButtonGroup; import javax.swing.GroupLayout; import javax.swing.GroupLayout.Alignment; import javax.swing.Ima...
package net.katsuster.strview.util; /** * <p> * * </p> */ public interface Named { /** * <p> * * </p> * * <p> * Class.getCanonicalName() * * </p> * * @return */ public String getTypeName(); /** * <p> * * </p> * * @return ...
package net.time4j; import net.time4j.base.MathUtils; import net.time4j.engine.Normalizer; import net.time4j.engine.TimePoint; import net.time4j.engine.TimeSpan; /** * <p>Represents the most common time units on an ISO-8601-conforming * analogue clock counting the scale ticks. </p> * * @author Meno Hochschild */ ...
package com.github.nsnjson; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.*; import org.junit.*; public class DriverTest extends AbstractFormatTest { @Test public void processTestNull() { shouldBeConsistencyWhenGivenNull(getNull(), getNullPresentation()); ...
package com.rabriel.gwt; import org.junit.Test; import java.time.DayOfWeek; import java.time.LocalDate; import java.time.LocalDateTime; import java.util.Date; import java.util.stream.Collectors; import java.util.stream.IntStream; import static com.rabriel.gwt.GivenWhenThen.given; import static junit.framework.TestCase....
package com.sixtyfour.test; import com.sixtyfour.cbmnative.TermHelper; import com.sixtyfour.config.CompilerConfig; import com.sixtyfour.elements.Variable; import com.sixtyfour.elements.commands.Command; import com.sixtyfour.elements.functions.Function; import com.sixtyfour.parser.Line; import com.sixtyfour.parser.Parse...
package de.teiesti.postie; import org.junit.*; import java.io.IOException; import java.net.InetAddress; import java.net.ServerSocket; import java.net.Socket; import static org.junit.Assert.*; import static org.hamcrest.CoreMatchers.*; public class PostmanTest { private static Postman alice; private static Postm...
package io.bitsquare.http; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; // TODO route over tor public class HttpClient { private final String baseUrl; public HttpClient(String base...
package innovimax.mixthem; import innovimax.mixthem.arguments.Rule; import innovimax.mixthem.exceptions.MixException; import java.io.*; import java.net.URL; import java.util.Collections; import java.util.List; import java.util.logging.Level; import org.junit.Assert; import org.junit.Test; import org.junit.experimental....
package innovimax.mixthem; import innovimax.mixthem.arguments.FileMode; import innovimax.mixthem.arguments.ParamValue; import innovimax.mixthem.arguments.Rule; import innovimax.mixthem.arguments.RuleParam; import innovimax.mixthem.io.InputResource; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; im...
package io.scif.writing; import io.scif.config.SCIFIOConfig; import io.scif.img.ImgIOException; import io.scif.img.ImgOpener; import io.scif.io.location.TestImgLocation; import java.io.IOException; import net.imagej.ImgPlus; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; import org.sc...
package io.usethesource.vallang; import java.util.Arrays; import java.util.function.Supplier; import java.util.stream.Stream; import io.usethesource.vallang.impl.persistent.ValueFactory; import io.usethesource.vallang.io.binary.message.IValueReader; import io.usethesource.vallang.type.TypeStore; public class Setup { ...
package javaslang.collection; import static javaslang.Assertions.assertThat; import static org.fest.assertions.api.Assertions.assertThat; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import jav...
package net.imagej.ops; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import io.scif.img.IO; import java.net.URL; import java.util.Iterator; import java.util.Random; import net.imglib2.Cursor; import net.imglib2.FinalInterval; import ...
package org.jsoup.select; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.junit.Test; import static org.junit.Assert.*; /** Tests that the selector selects correctly. @author Jonathan Hedley, jonathan@hedley.net */ public class SelectorTest { @Test public void t...
package org.lantern; import static org.junit.Assert.*; import static org.mockito.Mockito.*; import java.io.File; import java.io.IOException; import java.security.KeyStoreException; import java.security.cert.CertificateException; import java.util.Arrays; import javax.net.ssl.SSLSocket; import javax.net.ssl.SSLSocketFact...
package se.lth.cs.connect; import org.junit.Rule; import org.junit.Test; import com.jayway.restassured.response.Response; import ro.pippo.test.PippoRule; import ro.pippo.test.PippoTest; public class TestUserAPI extends PippoTest { @Rule public PippoRule pippoRule = new PippoRule(new Connect()); @Test pu...
package seedu.doist.testutil; import java.util.Date; import seedu.doist.model.tag.UniqueTagList; import seedu.doist.model.task.Description; import seedu.doist.model.task.FinishedStatus; import seedu.doist.model.task.Priority; import seedu.doist.model.task.ReadOnlyTask; /** * A mutable person object. For testing only. ...
package com.openxc.messages; import java.util.Map; import android.os.Parcel; import com.google.common.base.Objects; import com.openxc.measurements.UnrecognizedMeasurementTypeException; public class NamedVehicleMessage extends VehicleMessage { private String mName; public NamedVehicleMessage(String name) { ...
package gleem.linalg.open; import gleem.linalg.Rotf; import gleem.linalg.Vec3f; import javax.media.opengl.GL; /** * Slerp implementation that can handle rotation, scaling and transformation. * * @author Marc Streit */ public class Slerp { private Rotf quatResult; private Vec3f translationResult; private...
package islam.adhanalarm; import net.sourceforge.jitl.Method; import net.sourceforge.jitl.Rounding; import uz.efir.muazzin.R; /** * TODO: delete this class */ public class CONSTANT { public static final String[][] CALCULATION_METHOD_COUNTRY_CODES = new String[][]{ /** METHOD_EGYPT_SURVEY: Africa, Syria...
package wyrw.util; import java.util.ArrayList; import java.util.Arrays; import wyautl.core.Automaton; import wyautl.util.BinaryMatrix; import static wyautl.core.Automata.*; /** * <p> * Responsible for efficiently ensuring an automaton remains properly minimised * and compacted after a rewrite operation has occurred....
package joliex.io; import com.sun.xml.xsom.XSSchemaSet; import com.sun.xml.xsom.XSType; import com.sun.xml.xsom.parser.XSOMParser; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileWriter; im...
package org.jpos.util; import org.jpos.core.Configurable; import org.jpos.core.Configuration; import org.jpos.core.ConfigurationException; import org.jpos.util.BlockingQueue.Closed; import org.jpos.util.NameRegistrar.NotFoundException; import java.io.PrintStream; import java.util.concurrent.atomic.AtomicInteger; /** *...
// ExtractFlexMetdata.java import java.io.File; import java.io.FileWriter; import loci.common.RandomAccessInputStream; import loci.formats.TiffTools; /** Convenience method to extract the metadat from all the Flex files present in a directory. */ public class ExtractFlexMetdata { public static void main(String[] args...
package view.enums; import model.component.movement.Position; public enum DefaultStrings { DEFAULT_LANGUAGE("english"), EVENT_EDITOR_NAME("EditorEvent"), GUI_IMAGES("resources/images"), DEFAULT_ICON("resources/guiImages/default_icon.png"), ENTITY_EDITOR_NAME("EditorEntity"), ENVIRONMENT_EDITOR_N...
package vacsys; /** * System to regulate treatment to patients based on a number of criteria */ public class VacSys { VacSysHeap priorityQueue; /** * Create a system with an empty priority queue */ public VacSys() { priorityQueue = new VacSysHeap(); } /** * Create a system l...
package web.servlet; import java.io.IOException; import java.io.PrintWriter; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.serv...
package at.chaosfield.packupdate; import javafx.concurrent.Task; import javafx.fxml.FXML; import javafx.scene.control.Label; import javafx.scene.control.ProgressBar; import javafx.stage.Stage; import java.io.File; import java.io.IOException; import java.lang.Override; import java.lang.String; import java.util.*; import...
package org.cejug.business; import java.util.*; import java.util.logging.Level; import java.util.logging.Logger; import javax.annotation.Resource; import javax.ejb.EJB; import javax.ejb.LocalBean; import javax.ejb.Stateless; import javax.mail.MessagingException; import javax.mail.Session; import javax.mail.Transport; i...
package be.ibridge.kettle.trans.step; import java.util.ArrayList; import java.util.Hashtable; import java.util.List; import org.w3c.dom.Node; import be.ibridge.kettle.cluster.ClusterSchema; import be.ibridge.kettle.core.Const; import be.ibridge.kettle.core.GUIPositionInterface; import be.ibridge.kettle.core.LogWriter; ...
package beast.evolution.tree; import java.io.PrintStream; import beast.core.CalculationNode; import beast.core.Description; import beast.core.Function; import beast.core.Input; import beast.core.Input.Validate; import beast.core.Loggable; @Description("Logger to report height of a tree") public class TreeHeightLogger e...
package com.sometrik.framework; import java.net.URI; import java.net.URISyntaxException; import java.util.TreeSet; import com.sometrik.framework.NativeCommand.Selector; import android.graphics.Bitmap; import android.view.View; import android.widget.ImageView; public class FWImageView extends ImageView implements Native...
package com.artifex.mupdfdemo; import java.io.InputStream; import java.util.concurrent.Executor; import android.animation.Animator; import android.animation.AnimatorInflater; import android.animation.AnimatorSet; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android...
package com.cy.asap.android; import android.os.Bundle; import com.badlogic.gdx.backends.android.AndroidApplication; import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration; import com.cy.framework.MainGame; public class AndroidLauncher extends AndroidApplication { @Override protected void onCre...
package com.rho.rubyext; import javax.microedition.location.*; import com.rho.RhoClassFactory; import com.rho.RhoConf; import com.rho.RhoEmptyLogger; import com.rho.RhoLogger; import com.rho.RhoThread; import com.rho.net.NetResponse; import com.xruby.runtime.lang.*; import com.xruby.runtime.builtin.ObjectFactory; impor...
package com.daxiang.android.utils; import java.io.BufferedOutputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import android.content.ContentResolver; import android.conten...
package com.fsck.k9.mail.internet; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import java.nio.charset.Charset; import org.apache.commons.io.IOUtils; import org.apache.james.mime4j.decoder.Base64InputStream; impor...
package com.github.fengtan.solrgui; import org.apache.commons.lang3.ArrayUtils; import org.eclipse.jface.viewers.CellEditor; import org.eclipse.jface.viewers.IStructuredContentProvider; import org.eclipse.jface.viewers.IStructuredSelection; import org.eclipse.jface.viewers.TableViewer; import org.eclipse.jface.viewers....
package yi.report; import java.io.IOException; import java.util.HashMap; import java.util.Map; import java.util.Stack; import yi.pdf.YiPdfColor; import yi.pdf.YiPdfFile; import yi.pdf.YiPdfFont; import yi.pdf.YiPdfTag; import yi.pdf.font.YiPdfJGothicFont; public class MyLayoutContext { YiPdfFile pdfFile; Map<St...
package controllers; import java.io.ByteArrayInputStream; import java.io.InputStream; import java.io.StringWriter; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.CompletableFuture; import java.util.concurrent.CompletionStage; import javax.i...
package com.jefftharris.passwdsafe; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.TreeMap; import org.pwsafe.lib.file.PwsFile; import org.pwsafe.lib.file.PwsFileFactory; import org.pwsafe...
package jade.imtp.leap.nio; //#J2ME_EXCLUDE_FILE import jade.core.FrontEnd; import jade.core.BackEnd; import jade.core.BackEndContainer; import jade.core.BEConnectionManager; import jade.core.Profile; import jade.core.ProfileException; import jade.core.IMTPException; import jade.imtp.leap.MicroSkeleton; import jade.imt...
package com.lamfire.chimaera; import com.lamfire.chimaera.store.FireStore; import com.lamfire.chimaera.store.leveldbstore.LDBFireStore; import com.lamfire.chimaera.store.leveldbstore.LDBOptions; import com.lamfire.chimaera.store.memstore.MemoryFireStore; import com.lamfire.logger.Logger; import com.lamfire.utils.FileUt...
package com.mpu.spinv.engine.model; import java.awt.Color; import java.awt.Graphics; import com.mpu.spinv.utils.AdvList; import com.mpu.spinv.utils.Constants; /** * GameEntity.java * * @author Brendon Pagano * @date 2017-08-08 */ public class GameEntity extends GameObject { /** * A list of the object's an...
package com.telmomenezes.synthetic.cli; import java.io.BufferedWriter; import java.io.FileWriter; import org.apache.commons.cli.CommandLine; import com.telmomenezes.synthetic.Net; import com.telmomenezes.synthetic.evo.EvoDRMap2P; import com.telmomenezes.synthetic.evo.EvoGen; import com.telmomenezes.synthetic.evo.EvoStr...
package edu.teco.dnd.eclipse; import org.eclipse.swt.SWT; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Button; import org.eclipse.swt.widgets.Composite; impor...
package zab.atomics.bag; import java.util.concurrent.atomic.AtomicLong; /** * An atomic, lock-free and wait-free storage of items. It can store up to 32 items. * * The bag may keep references to up to 32 items after they have been removed. Use it * only for objects you do not expect to be garbage-collected. * *...
//2005 - import java.util.*; public class ThatDelicateBalance { public static double thatFunction(double num){ //The function? double sum = 0.0; for(double x = 0.0; x <= num; x++){ sum += Math.pow(3.0, x); } return sum; } public static void main(String[] args){ Scan...
package test; import org.junit.After; import org.junit.Before; import org.junit.Test; import cz.sysnet.cites.IdentFactory; import static org.junit.Assert.*; public class testIdentFactory { @Test public void testCodeLength() { IdentFactory identFactory = new IdentFactory(); String id...
package de.fhpotsdam.unfolding.utils; import java.util.ArrayList; import java.util.Collections; import java.util.List; import processing.core.PVector; import de.fhpotsdam.unfolding.data.Feature; import de.fhpotsdam.unfolding.data.MultiFeature; import de.fhpotsdam.unfolding.data.PointFeature; import de.fhpotsdam.unfoldi...
package de.onyxbits.pocketbandit; import com.badlogic.gdx.*; import com.badlogic.gdx.graphics.g2d.*; import com.badlogic.gdx.scenes.scene2d.*; import com.badlogic.gdx.graphics.*; import com.badlogic.gdx.audio.*; import com.badlogic.gdx.scenes.scene2d.ui.*; import com.badlogic.gdx.scenes.scene2d.actions.*; import com.ba...
package git4idea.history; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.text.StringUtil; import com.intellij.util.Function; import com.intellij.util.containers.ContainerUtil; import com.intellij.util.text.CharArrayUtil; import git4idea.GitFo...
package de.podfetcher.service; import java.io.IOException; import android.R; import android.app.PendingIntent; import android.app.Service; import android.content.BroadcastReceiver; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; i...
package ch.epfl.sweng.project; import com.google.android.gms.maps.CameraUpdate; import com.google.android.gms.maps.CameraUpdateFactory; import com.google.android.gms.maps.GoogleMap; import com.google.android.gms.maps.UiSettings; import com.google.android.gms.maps.model.LatLng; import com.google.android.gms.maps.model.L...