answer
stringlengths
17
10.2M
package controllers; import java.util.List; import models.Bed; import models.Booking; import models.Cabin; import models.LargeCabin; import models.RDate; import models.SmallCabin; import models.User; import org.joda.time.DateTime; import org.joda.time.Days; import org.junit.*; import com.fasterxml.jackson.databind.Json...
/* 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.basex.test.examples; import java.io.IOException; import org.basex.core.*; import org.basex.core.Commands.CmdIndex; import org.basex.core.proc.*; import org.basex.data.XMLSerializer; import org.basex.io.PrintOutput; import org.basex.query.QueryException; import org.basex.query.QueryProcessor; import org.base...
package org.smof.parsers; import org.bson.*; import org.junit.Test; import org.junit.Before; import org.smof.dataModel.TypeGuitar; import java.math.BigDecimal; import static org.junit.Assert.*; @SuppressWarnings("javadoc") public class StringParserTest { private enum DummyEnum { VALUE1, VALUE2 }...
/* * $Id: HashSpeedTest.java,v 1.33 2010-02-04 06:53:56 tlipkis Exp $ */ package org.lockss.test; import java.io.File; import java.security.MessageDigest; import org.lockss.daemon.*; import org.lockss.util.*; import org.lockss.plugin.*; import org.lockss.plugin.simulated.*; import org.lockss.repository.LockssReposito...
package org.voltdb; import java.io.File; import java.net.URL; import org.voltdb.utils.MiscUtils; /** * Wraps VoltDB in a Thread */ public class ServerThread extends Thread { VoltDB.Configuration m_config; boolean initialized = false; public ServerThread(VoltDB.Configuration config) { m_config = co...
package net.varkhan.data.learn.decision; import junit.framework.TestCase; import net.varkhan.base.functor.Mapper; import net.varkhan.base.functor.curry.Pair; import net.varkhan.base.functor.generator.GaussianNumberGenerator; import net.varkhan.base.functor.generator.UniformPRNGDef; import net.varkhan.data.learn.stats.I...
import behaviorism.utils.Utils; import java.awt.Point; import java.awt.event.KeyEvent; import java.io.File; import java.util.*; public class LineMaker { static boolean OUTPUT_JSON = true; static int MAX_LINES = 50; //max collocated lines per iteration static int NUM_LINES = 30; //num iterations public Word last...
package org.jboss.as.test.clustering.cluster.ejb3.xpc; import static org.jboss.as.test.clustering.ClusteringTestConstants.CONTAINER_1; import static org.jboss.as.test.clustering.ClusteringTestConstants.CONTAINER_2; import static org.jboss.as.test.clustering.ClusteringTestConstants.DEPLOYMENT_1; import static org.jboss....
package org.elasticsearch.xpack.ml.integration; import org.apache.http.util.EntityUtils; import org.elasticsearch.client.Request; import org.elasticsearch.client.Response; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.common.util.concurrent.ThreadContext; import org.elasticsearch.test.Secu...
package zyx.opengl.models; import java.nio.FloatBuffer; import java.nio.IntBuffer; import org.lwjgl.opengl.*; import zyx.engine.GameEngine; import zyx.opengl.shaders.ShaderManager; import zyx.utils.cheats.Print; class ModelUtils { /** * Generates a new buffer object. For example a VBO or EBO * * @ret...
package controllers; import java.util.Map; import models.Surfer; import play.data.Form; import play.mvc.Controller; import play.mvc.Result; import play.mvc.Security; import views.formdata.CountryTypes; import views.formdata.FootstyleTypes; import views.formdata.SearchForm; import views.formdata.SurferForm; import views...
/** * @author UCSD MOOC development team and YOU * * A class which reprsents a graph of geographic locations * Nodes in the graph are intersections between * */ package roadgraph; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.List; im...
package models; import com.avaje.ebean.Ebean; import com.avaje.ebean.ExpressionList; import com.avaje.ebean.Page; import com.avaje.ebean.RawSqlBuilder; import models.enumeration.ProjectScope; import models.enumeration.RequestState; import models.enumeration.ResourceType; import models.enumeration.RoleType; import model...
package vue.Jeu; import controleur.Camera; import controleur.ControlleurEnnemi; import controleur.ControlleurPersonnage; import controleur.ControlleurSouris; import controleur.Informateur; import java.util.ArrayList; import modele.Entrepot; import org.lwjgl.util.Point; import org.newdawn.slick.Color; import org.newdawn...
package biz.netcentric.cq.tools.actool.configreader; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.jcr.Node; import javax.jcr.NodeIterator; import javax.jcr.PathNotFoundException; import javax.jcr.Property; import javax.jcr.PropertyIterator; import javax...
package org.openhab.binding.deconz.internal.netutils; import java.net.URI; import java.util.HashMap; import java.util.Map; import org.eclipse.jdt.annotation.NonNullByDefault; import org.eclipse.jetty.websocket.api.Session; import org.eclipse.jetty.websocket.api.annotations.OnWebSocketClose; import org.eclipse.jetty.web...
package org.eclipse.birt.chart.ui.swt.wizard.data; import java.util.List; import org.eclipse.birt.chart.model.Chart; import org.eclipse.birt.chart.model.ChartWithAxes; import org.eclipse.birt.chart.model.ChartWithoutAxes; import org.eclipse.birt.chart.model.component.Series; import org.eclipse.birt.chart.model.data.Dat...
package com.sap.core.odata.processor.core.jpa.model; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import javax.persistence.metamodel.Attribute; import org.junit.BeforeClass; import org.junit.Tes...
package org.deeplearning4j.models.word2vec.wordstore; import lombok.Data; import lombok.NonNull; import org.deeplearning4j.models.embeddings.WeightLookupTable; import org.deeplearning4j.models.embeddings.wordvectors.WordVectors; import org.deeplearning4j.models.sequencevectors.interfaces.SequenceIterator; import org.de...
package edu.uci.ics.hivesterix.runtime.provider; import edu.uci.ics.hyracks.algebricks.common.exceptions.AlgebricksException; import edu.uci.ics.hyracks.algebricks.data.IBinaryHashFunctionFamilyProvider; import edu.uci.ics.hyracks.api.dataflow.value.IBinaryHashFunctionFamily; import edu.uci.ics.hyracks.data.std.accesso...
package org.jtalks.jcommune.web.controller; import org.jtalks.jcommune.model.entity.PrivateMessage; import org.jtalks.jcommune.service.PrivateMessageService; import org.jtalks.jcommune.service.exceptions.NotFoundException; import org.jtalks.jcommune.web.dto.PrivateMessageDto; import org.slf4j.Logger; import org.slf4j.L...
package org.opendaylight.controller.md.sal.dom.store.impl.tree; import static com.google.common.base.Preconditions.checkState; import java.util.LinkedHashMap; import java.util.Map; import javax.annotation.concurrent.GuardedBy; import org.opendaylight.yangtools.concepts.Identifiable; import org.opendaylight.yangtools.ya...
package org.opendaylight.controller.switchmanager.internal; import java.io.FileNotFoundException; import java.io.IOException; import java.io.ObjectInputStream; import java.net.InetAddress; import java.net.NetworkInterface; import java.net.SocketException; import java.util.ArrayList; import java.util.Collections; import...
package com.sli.portlet.action; import java.io.IOException; import java.net.HttpURLConnection; import java.net.URL; import java.util.ArrayList; import java.util.List; import javax.portlet.ActionRequest; import javax.portlet.ActionResponse; import javax.portlet.PortletConfig; import javax.portlet.PortletException; impor...
package at.pointhi.irbuilder.irwriter.visitors.instruction; import com.oracle.truffle.llvm.parser.model.blocks.InstructionBlock; import com.oracle.truffle.llvm.parser.model.enums.AtomicOrdering; import com.oracle.truffle.llvm.parser.model.enums.BinaryOperator; import com.oracle.truffle.llvm.parser.model.enums.Flag; imp...
package observerPattern; public class ApplicationUser implements User { String city; int price; String venue; Administrator data; public ApplicationUser(Administrator admin) { this.data = admin; this.data.registerUser(this); } public void update(String city, int price, String...
package orc.orchard; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; import javax.management.ObjectName; import orc.Config; import orc.ast.oil.Expr; import orc.orchard.errors.InvalidJobException; i...
package raptor.connector.ics; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.lang.StringUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import raptor.chat.Bugger; import raptor.chat.ChatEvent; impor...
package com.lukekorth.android_500px; import android.app.Activity; import android.app.AlertDialog; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.preference.ListPreference;...
package core; import org.junit.Test; import java.util.*; import static org.junit.Assert.*; public class GraphReducerTest { /** * Create a node map with a given amount of nodes. * @param numNodes The number of nodes to create. * @return A node map with a given amount of nodes. */ private Ha...
package tours; import org.junit.Test; import tours.compiler.CompilerTools; import java.io.IOException; import java.util.Arrays; import java.util.List; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; public class TypeCheckerTest { @Test public void testVariableDeclarations() { ...
package me.dreamteam.tardis; import java.awt.Canvas; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics2D; import java.awt.Toolkit; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.awt.image.Buff...
package me.dreamteam.tardis; import java.awt.Canvas; import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import java.awt.Graphics2D; import java.awt.Toolkit; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; impo...
package me.dreamteam.tardis; import java.awt.Canvas; import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import java.awt.Graphics2D; import java.awt.Toolkit; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; impo...
package storage; public class Highscores { // ATTRIBUTES private int id; private String name; private String tokenFigure; private int amount; private String date; // CONSTRUCTOR public Highscores(int id, String name, String tokenFigure, int amount, String date){ this.id ...
package hudson.util; import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.NoSuchElementException; import java.util.ListIterator; import java.util.AbstractList; import java.util.Arrays; /** * Varios {@link Iterator} implementations. * * @author Kohsuke Kawaguchi * @see Ada...
package utilities; import play.i18n.Messages; import models.Cabin; import models.LargeCabin; import models.SmallCabin; import flexjson.JSONDeserializer; /** * Subclass of AbstractForm. Binds and validate json data used to create * a Cabin in the booking system. * @author Olav * */ public class CabinForm extends Ab...
package jlibs.core.lang; import java.util.Arrays; /** * Class used to count by units * * @author Santhosh Kumar T */ public class Count<T extends Count.Unit> implements Comparable<Count<T>>{ private long amounts[]; private T units[]; private Count(T units[]){ this.units = units; amounts ...
package com.battlelancer.seriesguide.util; import com.google.api.client.extensions.android.http.AndroidHttp; import com.google.api.client.googleapis.extensions.android.gms.auth.GoogleAccountCredential; import com.google.api.client.json.jackson.JacksonFactory; import com.battlelancer.seriesguide.backend.CloudEndpointUti...
package test.main; import edu.wpi.first.wpilibj.Talon; /** * The RobotMap is a mapping from the ports sensors and actuators are wired into * to a variable name. This provides flexibility changing wiring, makes checking * the wiring easier and significantly reduces the number of magic numbers * floating around. */ ...
package userprofile.controller; import foodmood.ExternalDataCntl; import foodmood.controller.NavigationCntl; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; import java.util.ArrayList; import java.util.Arrays; import userprofile.model.User; import userpro...
package torrent.download.tracker; import java.io.IOException; import java.util.LinkedList; import org.johnnei.utils.ThreadUtils; import torrent.download.Torrent; import torrent.download.peer.Peer; import torrent.download.peer.PeerConnectInfo; import torrent.encoding.SHA1; import torrent.network.BitTorrentSocket; import...
package waffle.jetty; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import org.apache.jasper.servlet.JspServlet; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.servlet.ServletHolder; import org.eclipse.jetty.webapp.WebAppContext; import org.slf4j.Logger; import...
package com.btran.bu.sudokusolver; import android.app.AlertDialog; import android.app.DialogFragment; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.util.Log; import android.view.Menu; import android.view.M...
package org.springframework.security.oauth2.provider.token; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotSame; import java.util.Collections; import java.util.Map; import org.junit.Test; import org.springframework.security.jwt.JwtHelper; import org.springframework.security.oauth2....
package tigase.xml; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.StringTokenizer; import tigase.annotations.TODO; /** * <code>Element</code> - basic document tree node implementation. * Supports Java 5.0 generic feature to make it easier to exte...
// Triple Play - utilities for use in PlayN-based games package tripleplay.ui; import pythagoras.f.Dimension; import pythagoras.f.IPoint; import pythagoras.f.IRectangle; import pythagoras.f.Point; import pythagoras.f.Rectangle; import playn.core.Connection; import playn.core.Events; import playn.core.GroupLayer; import...
package com.example.fragment; 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.Toast; import com.example...
package wordcram; import java.awt.Color; import java.awt.Graphics2D; import java.awt.RenderingHints; import java.awt.geom.GeneralPath; import processing.core.PGraphics; import processing.awt.PGraphicsJava2D; class ProcessingWordRenderer implements WordRenderer { PGraphics destination; ProcessingWordRenderer(PGr...
package au.edu.unimelb.boldapp.sync; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.SocketException; import java.util.Arrays; import java.util.List; import android.util.Log; import...
package jade.core; import jade.lang.acl.ACLMessage; import jade.util.leap.List; import jade.util.leap.Iterator; import jade.util.leap.Properties; import jade.util.Logger; import jade.security.AuthException; //#MIDP_EXCLUDE_BEGIN import jade.core.behaviours.Behaviour; import jade.security.*; import jade.security.dummy.*...
// modification, are permitted provided that the following conditions are met: // documentation and/or other materials provided with the distribution. // * Neither the name of the <organization> nor the // names of its contributors may be used to endorse or promote products // ANY EXPRESS OR IMPLIED WARRAN...
package util; import java.io.File; import java.io.FileOutputStream; import java.util.Collection; import java.util.zip.ZipEntry; import java.util.zip.ZipOutputStream; import org.apache.commons.io.FileUtils; import org.apache.commons.lang3.StringUtils; /** * * @author occidere */ public class ImageCompress { priva...
package org.owasp.esapi.reference; import java.io.ByteArrayInputStream; import java.text.DateFormat; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Locale; import java.util.Set; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite;...
package xtandem; import interfaces.Ion; import java.io.Serializable; import java.util.ArrayList; import java.util.HashMap; /** * This class holds the peptide informatin in a map. * @author Thilo Muth * */ public class PeptideMap implements Serializable{ /** * This variable holds the second dimension hash m...
package com.ecyrd.jspwiki; import junit.framework.*; import java.io.*; import java.util.*; public class TranslatorReaderTest extends TestCase { Properties props = new Properties(); public TranslatorReaderTest( String s ) { super( s ); } public void setUp() throws Exception { ...
package com.ecyrd.jspwiki; import junit.framework.*; import java.io.*; import java.util.*; public class TranslatorReaderTest extends TestCase { Properties props = new Properties(); public TranslatorReaderTest( String s ) { super( s ); } public void setUp() throws Exception { ...
package com.ecyrd.jspwiki; import junit.framework.*; import java.io.*; import java.util.*; public class TranslatorReaderTest extends TestCase { Properties props = new Properties(); public TranslatorReaderTest( String s ) { super( s ); } public void setUp() throws Exception { ...
package tla2sany.semantic; import java.util.Hashtable; import tla2sany.st.TreeNode; import tla2sany.utilities.Strings; public class LeafProofNode extends ProofNode { LevelNode[] facts = null ; SymbolNode[] defs = null ; boolean omitted ; boolean onlyFlag ; public LeafProofNode(TreeNode stn, LevelNode[] theF...
import java.util.Random; import java.util.ArrayList; import java.io.FileInputStream; import java.io.*; public class Conways { private Matrixable<life> board; private boolean wraparound = true; private Integer[] born = {3}; private Integer[] survive = {2,3}; // If the rulefile passed to the constructor is...
import java.util.*; class VolleyTeam implements Comparable<VolleyTeam>{ private String name; private int points; private int victories; private int balance; @Override public boolean equals(Object o){ if (o == null) return false; if (!(o instanceof VolleyTeam)) return false; ...
import java.util.*; import java.util.regex.*; import java.io.*; import java.lang.*; public class CSSMin { protected static boolean bDebug = false; /** * Main entry point for CSSMin from the command-line. * <b>Usage:</b> CSSMin <i>[Input file]</i>, <i>[Output file]</i>, <i>[DEBUG]</i> * @param arg...
public class Calcpi { public static void main(String[] args) { double x, y; int insideCircle = 0, total = 999999;//Integer.MAX_VALUE; //MAX_VALUE will need a lots of time but will yeild better result for (int i = 0; i < total; i++) { x = Math.random(); y = Math.random...
package nl.mpi.arbil; import javax.swing.SwingUtilities; public class ArbilApplet extends javax.swing.JApplet { public void init() { //System.setProperty("sun.swing.enableImprovedDragGesture", "true"); try { SwingUtilities.invokeAndWait(new Runnable() { public void run() ...
package com.krishagni.catissueplus.core.de.events; import java.io.Serializable; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import org.apache.commons.collections.CollectionUtils; import com.fasterxml.jackson.annotation.JsonIgnore...
package edu.wustl.catissuecore.interceptor; import java.util.ArrayList; import java.util.List; import edu.wustl.catissuecore.domain.Specimen; import edu.wustl.catissuecore.interceptor.wmq.SpecimenWmqProcessor; import edu.wustl.common.bizlogic.DefaultBizLogic; import edu.wustl.common.exception.BizLogicException; import ...
package org.springframework.roo.addon.gwt; import java.io.FileReader; import java.io.IOException; import java.io.StringReader; import java.io.StringWriter; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.Lin...
package org.apache.fop.fo; // FOP import org.apache.fop.layout.FontState; import org.apache.fop.layout.*; import org.apache.fop.datatypes.*; import org.apache.fop.fo.properties.*; import org.apache.fop.apps.FOPException; import org.apache.fop.layoutmgr.LayoutManager; import org.apache.fop.layoutmgr.TextBPLayoutManager;...
package org.exist.xmldb; import java.io.UnsupportedEncodingException; import java.net.MalformedURLException; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.net.URLDecoder; import java.util.regex.Pattern; import org.apache.log4j.Logger; import org.exist.collections.CollectionCo...
package org.inceptus.drive; import edu.wpi.first.wpilibj.CANJaguar; import edu.wpi.first.wpilibj.RobotDrive; import edu.wpi.first.wpilibj.RobotDrive.MotorType; import edu.wpi.first.wpilibj.can.CANTimeoutException; import org.inceptus.debug.Debug; /** * * @author innoying */ public class Drive { //Motors priv...
package com.sbugert.rnadmob; import android.os.Handler; import android.os.Looper; import android.support.annotation.Nullable; import com.facebook.react.bridge.Arguments; import com.facebook.react.bridge.Callback; import com.facebook.react.bridge.Promise; import com.facebook.react.bridge.ReactApplicationContext; import ...
package org.appcelerator.titanium.view; import org.appcelerator.kroll.common.TiMessenger; import org.appcelerator.titanium.proxy.TiViewProxy; import android.app.Activity; import android.os.Handler; import android.os.Message; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; import ...
package org.jgroups.protocols; import org.jgroups.*; import org.jgroups.annotations.GuardedBy; import org.jgroups.stack.Protocol; import org.jgroups.util.*; import java.io.*; import java.util.*; import java.util.List; import java.util.concurrent.CopyOnWriteArrayList; import java.util.concurrent.Future; import java.util...
package org.jgroups.protocols; import org.jgroups.*; import org.jgroups.annotations.GuardedBy; import org.jgroups.annotations.MBean; import org.jgroups.annotations.ManagedAttribute; import org.jgroups.annotations.ManagedOperation; import org.jgroups.annotations.Property; import org.jgroups.stack.Protocol; import org.jg...
package at.outdated.bitcoin.exchange.api.market; import at.outdated.bitcoin.exchange.api.currency.Currency; import at.outdated.bitcoin.exchange.api.currency.CurrencyValue; import java.util.ArrayList; import java.util.Date; import java.util.List; public class MarketDepth { Date timestamp = new Date(); AssetPair ...
package org.jgroups.protocols; import EDU.oswego.cs.dl.util.concurrent.BoundedLinkedQueue; import org.jgroups.*; import org.jgroups.stack.Protocol; import org.jgroups.util.*; import org.jgroups.util.List; import org.jgroups.util.Queue; import java.io.DataInputStream; import java.io.IOException; import java.net.*; impor...
package com.bitsofproof.supernode.wallet; import java.io.PrintStream; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet;...
import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.Scanner; public class Main { private static Scanner sc; static FileWriter fw; static BufferedWriter bf; /** * @param args */ public static void main(String[] args) { ...
package org.jgroups.protocols; import org.jgroups.*; import org.jgroups.blocks.LazyRemovalCache; import org.jgroups.annotations.*; import org.jgroups.conf.PropertyConverters; import org.jgroups.stack.Protocol; import org.jgroups.util.*; import org.jgroups.util.ThreadFactory; import org.jgroups.util.UUID; import java.io...
package org.joni; import org.jcodings.Encoding; import org.joni.exception.ErrorMessages; import org.joni.exception.ValueException; public final class CodeRangeBuffer { private static final int INIT_MULTI_BYTE_RANGE_SIZE = 5; public static final int LAST_CODE_POINT = 0x7fffffff; private int[]p; private i...
/* * $Id: I18nUtil.java,v 1.2 2012-07-22 01:40:21 pgust Exp $ */ package org.lockss.util; import java.util.MissingResourceException; import org.lockss.util.Logger; import org.xnap.commons.i18n.I18n; import org.xnap.commons.i18n.I18nFactory; /** * A utility class for I18N features. * * @author Neil Mayo */ public ...
package org.ms2ms.algo; import com.google.common.collect.Lists; import com.google.common.collect.Table; import com.hfg.bio.Element; import org.expasy.mzjava.core.ms.peaklist.Peak; import org.ms2ms.data.collect.ImmutableNavigableMap; import org.ms2ms.data.ms.IsoEnvelope; import org.ms2ms.data.ms.OffsetPpmTolerance; impo...
package org.osb; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.*; import android.app.AlertDialog; import android.app.Dialog; import android.content.Context; import android.content.Intent; import android.content.res.Resources; import android.net.Uri; import android.os.Bundle; import an...
package org.sunflow.core; import java.io.IOException; import org.sunflow.PluginRegistry; import org.sunflow.image.Bitmap; import org.sunflow.image.BitmapReader; import org.sunflow.image.Color; import org.sunflow.image.BitmapReader.BitmapFormatException; import org.sunflow.image.formats.BitmapBlack; import org.sunflow.m...
package com.adriencadet.downthere; /** * ApplicationConfiguration * <p> */ public class ApplicationConfiguration { public final String SERVER_ENDPOINT = "http://www38401.coshx.com"; public final int PICTURE_GRID_CACHING_MINUTES = 1; public final int TEXT_FILE_CACHING_MINUTES = 1; }
package beatprogramming.github.com.teacker_tracker; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; public class BDHelper extends SQLiteOpenHelper { private static final String DATABASE_NAME = "TEACHER_TRACKER.db"; private static fi...
package ca.ualberta.cmput301f17t08.habitrabbit; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.View; import java.util.ArrayList; public clas...
package com.breadwallet.presenter.fragments; import android.app.Fragment; import android.content.pm.ApplicationInfo; import android.graphics.Bitmap; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.widget.CardView; import android.util.Log; import android.view.LayoutInflate...
package com.example.admnistrator.bookcrossingapp; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.Toast; import com.yzq.zxingl...
package com.example.mirnabouchra.cloudolympics; import android.app.Activity; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.graphics.drawable.LayerDrawable; import android.media.Image; import andro...
package com.example.youngki.memory_project; import android.app.Activity; import android.content.SharedPreferences; import android.gesture.Gesture; import android.gesture.GestureLibraries; import android.gesture.GestureLibrary; import android.gesture.GestureOverlayView; import android.gesture.Prediction; import android....
package com.felix.zhiban.presenter.book; import android.content.Context; import com.felix.zhiban.base.BasePresenter; import com.felix.zhiban.bean.book.BookRoot; import com.felix.zhiban.model.book.DoubanBookModel; import com.felix.zhiban.modelinterface.book.IDoubanBookModel; import com.felix.zhiban.presenterinterface.bo...
package com.github.jmuthu.poovali.activity; import android.app.Activity; import android.app.DatePickerDialog; import android.app.Dialog; import android.app.TimePickerDialog; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v4.app.DialogFragment; import android.support.v7.app.A...
package com.performancetweaker.app.utils; import com.asksven.android.common.utils.SystemAppInstaller; import com.stericson.RootTools.RootTools; import android.app.AlertDialog; import android.app.Dialog; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import and...
package com.pr0gramm.app.util.decoders; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.BitmapRegionDecoder; import android.graphics.Point; import android.graphics.Rect; import android.net.Uri; import ...
package derpibooru.derpy.ui.fragments; import android.content.Context; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.KeyEvent; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.inputmethod.EditorInfo; import android.v...
package guishinti.unicesumarpresencial; import android.os.AsyncTask; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.Button; import android.widget.ListView; import android.widget.ProgressBar; import android.wid...
package org.openlmis.core.view.activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.text.Editable; import android.text.InputFilter; import android.text.TextUtils; import android.text.TextWatcher; import android.view.LayoutI...
package mobi.cangol.mobile.security; import android.test.InstrumentationTestCase; public class AESUtilsTest extends InstrumentationTestCase { public void testEncrypt() throws Exception { String source="test"; String seed="12345678"; String dst=AESUtils.encrypt(seed, source); assertNo...