answer
stringlengths
17
10.2M
package be.ibridge.kettle.job.entry.mail; import java.nio.charset.Charset; import java.util.ArrayList; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.CCombo; import org.eclipse.swt.events.FocusListener; import org.eclipse.swt.events.ModifyEvent; import org.eclipse.swt.events.ModifyListener; import org.eclips...
package chameleon.core.type.inheritance; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.apache.log4j.Logger; import org.rejuse.association.SingleAssociation; import org.rejuse.logic.ternary.Ternary; import chameleon.core.declaration.Signature; import chameleon.core.element.Cham...
package com.dmdirc.commandparser.commands.channel; import com.dmdirc.Topic; import com.dmdirc.commandparser.BaseCommandInfo; import com.dmdirc.commandparser.CommandArguments; import com.dmdirc.commandparser.CommandInfo; import com.dmdirc.commandparser.CommandType; import com.dmdirc.commandparser.commands.Command; impor...
package edu.washington.escience.myria.accessmethod; import java.util.Iterator; import edu.washington.escience.myria.DbException; import edu.washington.escience.myria.MyriaConstants; import edu.washington.escience.myria.RelationKey; import edu.washington.escience.myria.Schema; import edu.washington.escience.myria.TupleB...
package com.frc2013.rmr662.manipulator; import com.frc2013.rmr662.main.TeleopMode; import com.frc2013.rmr662.system.generic.Component; import com.frc2013.rmr662.wrappers.Button; import com.frc2013.rmr662.wrappers.RMRSolenoid; import edu.wpi.first.wpilibj.DoubleSolenoid; import edu.wpi.first.wpilibj.Joystick; public cla...
package com.firebase.ui; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.firebase.client.Firebase; import com.firebase.client.Query; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetExcep...
package com.mebigfatguy.fbcontrib.collect; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.Map; import java.util.Set; import org.apache.bcel.Constants; import org.apache.bcel.classfile.AnnotationEntry; import org.apache.bcel.classfile.Code; import org.apache.bcel.classfil...
package liquibase.logging.core; import liquibase.logging.LogLevel; import liquibase.util.StringUtils; import java.text.DateFormat; import java.util.Date; public class DefaultLogger extends AbstractLogger { private String name = "liquibase"; public DefaultLogger() { String passedLevel = System.getPropert...
package com.sc2mafia.mafiaplusplus.event; import java.util.EventObject; import com.sc2mafia.mafiaplusplus.Player; public class SystemMessageEvent extends EventObject { private static final long serialVersionUID = -4971767742918062990L; Player[] receivers; String message; public SystemMessageEvent(Object...
package com.facebook.litho.processor; import javax.annotation.processing.ProcessingEnvironment; import javax.lang.model.element.AnnotationMirror; import javax.lang.model.element.Element; import javax.lang.model.element.ElementKind; import javax.lang.model.element.ExecutableElement; import javax.lang.model.element.Modif...
package gov.nih.nci.ncicb.cadsr.loader.persister; import gov.nih.nci.ncicb.cadsr.dao.*; import gov.nih.nci.ncicb.cadsr.domain.*; import gov.nih.nci.ncicb.cadsr.loader.ElementsLists; import gov.nih.nci.ncicb.cadsr.loader.util.*; import gov.nih.nci.ncicb.cadsr.loader.defaults.UMLDefaults; import org.apache.log4j.Logger; ...
package com.wakatime.intellij.plugin; import com.intellij.openapi.editor.event.DocumentEvent; import com.intellij.openapi.editor.event.DocumentListener; import com.intellij.openapi.fileEditor.FileDocumentManager; import com.intellij.openapi.vfs.VirtualFile; public class CustomDocumentListener implements DocumentListene...
package nallar.tickthreading.minecraft; import java.io.File; import java.io.IOException; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.Arrays; import java.util.EnumSet; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import com.google...
package pitt.search.semanticvectors.vectors; import java.io.IOException; import java.util.ArrayList; import java.util.Random; import java.util.logging.Logger; import org.apache.lucene.store.IndexInput; import org.apache.lucene.store.IndexOutput; import org.apache.lucene.util.OpenBitSet; /** * Binary implementation of ...
package com.astoev.cave.survey.activity.dialog; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.content.Context; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.graphics.Color; import android.os.Bundle; import android...
import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Collections; import java.util.Scanner; public class TextBuddy { private static final String MESSAG...
// Narya library - tools for developing networked games // This library is free software; you can redistribute it and/or modify it // (at your option) any later version. // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // You should ...
package es.logongas.fpempresa.modelo.comun.usuario; import es.logongas.fpempresa.modelo.centro.Centro; import es.logongas.fpempresa.modelo.empresa.Empresa; import es.logongas.fpempresa.modelo.titulado.Titulado; import es.logongas.ix3.core.BusinessException; import es.logongas.ix3.security.model.User; import es.logongas...
package es.logongas.fpempresa.modelo.comun.usuario; import es.logongas.fpempresa.modelo.centro.Centro; import es.logongas.fpempresa.modelo.empresa.Empresa; import es.logongas.fpempresa.modelo.titulado.Titulado; import es.logongas.ix3.core.BusinessException; import es.logongas.ix3.security.model.User; import es.logongas...
package imagej.legacy; import ij.IJ; import ij.Prefs; import ij.gui.Arrow; import ij.gui.Line; import ij.gui.ProfilePlot; import ij.gui.Roi; import ij.gui.TextRoi; import ij.gui.Toolbar; import ij.io.FileSaver; import ij.plugin.RectToolOptions; import ij.plugin.WandToolOptions; import ij.plugin.filter.Analyzer; import ...
// OptionsSynchronizer.java package imagej.legacy; import ij.IJ; import ij.gui.Arrow; import ij.gui.Line; import ij.gui.ProfilePlot; import ij.gui.Roi; import ij.gui.TextRoi; import ij.gui.Toolbar; import ij.io.FileSaver; import ij.plugin.Colors; import ij.plugin.filter.Analyzer; import ij.process.ColorProcessor; impor...
package com.mindfulst.dneves.pomotivity; import android.app.Activity; import android.content.Context; import android.content.SharedPreferences; import android.media.AudioManager; import android.media.SoundPool; import android.os.Bundle; import android.util.Log; import android.view.View; import android.view.ViewGroup; i...
package org.apache.commons.lang.exception; import java.io.PrintStream; import java.io.PrintWriter; import java.io.Serializable; import java.io.StringWriter; import java.util.*; /** * <code>NestableDelegate</code> is a shared implementation of the nestable * exception functionality. * <p> * The code is shared betwee...
package org.jivesoftware.openfire.nio; import org.apache.mina.common.ByteBuffer; import org.jivesoftware.util.JiveGlobals; import org.jivesoftware.util.Log; import org.jivesoftware.util.PropertyEventDispatcher; import org.jivesoftware.util.PropertyEventListener; import java.nio.CharBuffer; import java.nio.charset.Chars...
package org.mskcc.cbio.cgds.dao; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.*; import java.util.regex.*; import org.apache.commons.lang.StringUtils; import org.mskcc.cbio.cgds.model.Case; import org.mskcc.cbio.cgds.model.Cosmi...
package com.haulmont.cuba.core.sys; import com.haulmont.cuba.core.app.ClusterListener; import com.haulmont.cuba.core.app.ClusterManagerAPI; import com.haulmont.cuba.core.app.ServerConfig; import com.haulmont.cuba.core.global.ConfigProvider; import com.haulmont.cuba.core.global.GlobalConfig; import com.haulmont.cuba.cor...
package org.mskcc.cbio.oncokb.util; import com.google.common.collect.Sets; import org.apache.commons.collections.CollectionUtils; import org.apache.commons.collections.map.HashedMap; import org.apache.commons.lang3.StringUtils; import org.mskcc.cbio.oncokb.bo.AlterationBo; import org.mskcc.cbio.oncokb.bo.ArticleBo; imp...
package org.mskcc.cbio.oncokb.util; import com.google.common.collect.Sets; import org.apache.commons.collections.map.HashedMap; import org.apache.commons.lang3.StringUtils; import org.mskcc.cbio.oncokb.bo.AlterationBo; import org.mskcc.cbio.oncokb.bo.ArticleBo; import org.mskcc.cbio.oncokb.bo.EvidenceBo; import org.msk...
package org.torquebox.core.as; import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ADD; import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.OP; import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.OP_ADDR; import static org.projectodd.polyglot.co...
package org.usergrid.persistence.cassandra; import static me.prettyprint.hector.api.factory.HFactory.createColumnFamilyDefinition; import static org.usergrid.persistence.cassandra.CassandraPersistenceUtils.getCfDefs; import static org.usergrid.persistence.cassandra.CassandraService.APPLICATIONS_CF; import static org.us...
package uk.ac.cam.ch.wwmm.opsin; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; 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 java.util.regex.Pattern; import static uk.ac.cam....
package edu.kit.iks.Cryptographics; import edu.kit.iks.CryptographicsLib.Logger; /** * Main Class containing the main()-method * * @author Christian Dreher */ public class Main { /** * Flag to define whether to enter debug mode or not. * Must be set to false in production. */ private static b...
package laas.openrobots.ontology.backends; //Imports import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; impo...
package org.bouncycastle.pqc.crypto.lms; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.InputStream; import java.io.InputStreamReader; import java.security.SecureRandom; import java.util.ArrayList; import java.util.List; import junit.framework.TestCase; import org.bouncycastle.crypt...
package ru.job4j.string; /** * Class to search substring in string. * @author ssobolevsky * @since 23.04.2017 * @version 1 */ public class StringSearch { /** * Method to search substring in string. * @param origin - string whichis searched substring * @param sub - substring * @return the presence of...
package ru.job4j.convert; import java.util.ArrayList; import java.util.Iterator; import java.util.List; public class ConvertList { public List<Integer> toList(int[][] array) { List<Integer> list = new ArrayList<>(); for (int[] arr : array) { for (int item : arr) { list.ad...
package com.yubico.yubioath.fragments; import android.app.DialogFragment; import android.app.Fragment; import android.app.FragmentTransaction; import android.app.ListFragment; import android.content.ClipData; import android.content.ClipboardManager; import android.content.Context; import android.os.Bundle; import andro...
package ru.job4j.io; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.RandomAccessFile; public class FileEntrySort { /** * First temp file. */ private File first; /** * Second temp file. */ private File second; /** * Sorting file. ...
package at.ac.tuwien.inso.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder; import org.springframework.security.config.annotation....
package biz.neustar.discovery; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import org.openxri.XRI; import org.openxri.proxy.impl.AbstractProxy; import org.openxri.resolve.Resolve...
package br.uff.ic.provviewer.GUI; import br.uff.ic.provviewer.Collapser; import br.uff.ic.utility.graph.Edge; import br.uff.ic.provviewer.Filter.Filters; import br.uff.ic.provviewer.Filter.PreFilters; import br.uff.ic.provviewer.GraphFrame; import br.uff.ic.provviewer.Variables; import br.uff.ic.utility.graph.Vertex; i...
package controllers; import java.io.IOException; import java.io.InputStream; import java.sql.Array; 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.text.ParseException; import java.t...
package com.aif.language.sentence; import com.aif.language.common.ISplitter; import java.util.*; import java.util.stream.Collectors; public class SentenceSplitter implements ISplitter<List<String>, List<String>> { private final ISentenceSeparatorExtractor sentenceSeparatorExtractor; public SentenceSpl...
package com.akiban.sql.pg; import com.akiban.ais.model.AkibanInformationSchema; import com.akiban.sql.server.ServerServiceRequirements; import com.akiban.sql.server.ServerSessionBase; import com.akiban.sql.server.ServerSessionMonitor; import com.akiban.sql.server.ServerStatement; import com.akiban.sql.server.ServerStat...
package com.blackbuild.klum.common; import org.codehaus.groovy.ast.ASTNode; import org.codehaus.groovy.ast.AnnotatedNode; import org.codehaus.groovy.ast.AnnotationNode; import org.codehaus.groovy.ast.ClassHelper; import org.codehaus.groovy.ast.ClassNode; import org.codehaus.groovy.ast.FieldNode; import org.codehaus.gro...
package imagej.command; import imagej.Cancelable; import imagej.module.AbstractModule; import imagej.module.ModuleException; import java.util.Map; import org.scijava.Context; import org.scijava.Contextual; import org.scijava.InstantiableException; import org.scijava.plugin.PluginInfo; import org.scijava.util.ClassUtils...
package com.comandante.creeper.Items; import com.comandante.creeper.managers.GameManager; import com.comandante.creeper.player.Player; import com.comandante.creeper.server.Color; import com.comandante.creeper.world.Area; import com.comandante.creeper.world.Room; import org.apache.log4j.Logger; import java.util.Random; ...
package de.dentrassi.pm.r5; import static de.dentrassi.osgi.utils.Filters.and; import static de.dentrassi.osgi.utils.Filters.pair; import static de.dentrassi.osgi.utils.Filters.versionRange; import java.io.IOException; import java.io.OutputStream; import java.text.DateFormat; import java.text.SimpleDateFormat; import j...
package com.conveyal.r5.analyst.cluster; import com.conveyal.r5.transit.TransitLayer; import com.conveyal.r5.transit.path.Path; import com.conveyal.r5.transit.path.PatternSequence; import com.conveyal.r5.transit.path.RouteSequence; import com.google.common.collect.HashMultimap; import com.google.common.collect.Multimap...
package org.drools.reteoo; import java.util.ArrayList; import java.util.List; import org.drools.common.InternalFactHandle; import org.drools.rule.Declaration; import org.drools.spi.Activation; import org.drools.spi.Tuple; import org.drools.util.BaseEntry; public class ReteTuple extends BaseEntry implements Tupl...
package backtype.storm.topology.base; import backtype.storm.transactional.ITransactionalSpout; import java.util.Map; public abstract class BaseTransactionalSpout implements ITransactionalSpout { String _id; public BaseTransactionalSpout(String id) { _id = id; } @Override public Map<String, O...
package com.elmakers.mine.bukkit.entity; import java.lang.ref.WeakReference; import java.util.Collection; import java.util.HashMap; import java.util.Map; import java.util.UUID; import java.util.logging.Level; import org.bukkit.Art; import org.bukkit.DyeColor; import org.bukkit.Location; import org.bukkit.Rotation; impo...
package com.marcelherd.oot.gui; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.FlowLayout; import java.awt.Font; import java.awt.GridLayout; import java.awt.SystemColor; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; impor...
package com.elmakers.mine.bukkit.spell; import com.elmakers.mine.bukkit.action.ActionHandler; import com.elmakers.mine.bukkit.api.block.MaterialBrush; import com.elmakers.mine.bukkit.api.spell.SpellResult; import com.elmakers.mine.bukkit.batch.ActionBatch; import com.elmakers.mine.bukkit.utility.Target; import org.bukk...
package lucee.runtime.net.http; import java.io.ByteArrayInputStream; import java.io.UnsupportedEncodingException; import java.lang.reflect.Method; import java.net.InetAddress; import java.net.URL; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.Enumeration; import java.util.LinkedList; imp...
package slib.platform.android.ui.window; import slib.platform.android.Logger; import slib.platform.android.SlibActivity; import slib.platform.android.ui.UiThread; import slib.platform.android.ui.Util; import slib.platform.android.ui.view.IView; import slib.platform.android.ui.view.UiScrollView; import slib.platform.and...
package com.example.filelist; import javax.swing.*; import java.awt.*; import java.io.File; import java.io.IOException; import java.util.UUID; import static javax.swing.SwingConstants.LEFT; import static org.apache.commons.io.FilenameUtils.getExtension; /** * @author innokenty */ class FileListEntryRenderer implement...
package net.katsuster.ememu.riscv.core; import net.katsuster.ememu.generic.*; public class DecodeStageRVI extends Stage64 { /** * RVI * * @param c CPU */ public DecodeStageRVI(RV64 c) { super(c); } /** * RVI CPU * * @return CPU */ @Override publ...
package lucee.runtime.net.mail; import java.io.IOException; import java.io.InputStream; import java.nio.charset.Charset; import java.text.Normalizer; import java.util.Enumeration; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Properties; import javax.mail.Authenticator; imp...
package at.ac.ait.ariadne.routeformat; import java.time.ZonedDateTime; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.TreeMap; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterx...
package de.lmu.ifi.dbs.algorithm.clustering; import de.lmu.ifi.dbs.algorithm.AbstractAlgorithm; import de.lmu.ifi.dbs.algorithm.Algorithm; import de.lmu.ifi.dbs.algorithm.result.clustering.ClustersPlusNoise; import de.lmu.ifi.dbs.data.RealVector; import de.lmu.ifi.dbs.database.AssociationID; import de.lmu.ifi.dbs.datab...
package com.foursquare.fongo.impl; import com.foursquare.fongo.FongoException; import com.foursquare.fongo.impl.geo.GeoUtil; import com.foursquare.fongo.impl.geo.LatLong; import com.mongodb.BasicDBList; import com.mongodb.BasicDBObject; import com.mongodb.DBObject; import com.mongodb.DBRefBase; import java.util.ArrayLi...
package com.malhartech.dag; import com.malhartech.api.Sink; import java.util.ArrayList; import java.util.List; /** * A sink implementation to collect expected test results. */ public class TestCountSink<T> extends TestSink<T> { public Integer numTuples = new Integer(0); /** * * @param payload */ @Over...
package org.javarosa.core.model; import org.javarosa.core.model.instance.TreeReference; import java.util.Vector; /** * A Form Index is an immutable index into a specific question definition that * will appear in an interaction with a user. * * An index is represented by different levels into hierarchical groups. *...
/* * @author max */ package com.intellij.ide.impl; import com.intellij.ide.GeneralSettings; import com.intellij.ide.util.newProjectWizard.AbstractProjectWizard; import com.intellij.ide.util.projectWizard.ProjectBuilder; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.applicatio...
package de.st_ddt.crazyspawner.entities; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import java.util.Set; import org.bukkit.Bukkit; import org.bukkit....
package org.javarosa.core.model; import org.javarosa.core.model.instance.TreeReference; import java.util.Vector; /** * A Form Index is an immutable index into a specific question definition that * will appear in an interaction with a user. * * An index is represented by different levels into hierarchical groups. *...
package com.github.mreutegg.laszip4j.laszip; import java.io.PrintStream; import java.nio.ByteBuffer; import java.nio.ByteOrder; import static com.github.mreutegg.laszip4j.clib.Cstdio.fprintf; import static com.github.mreutegg.laszip4j.laszip.LASitem.Type.BYTE; import static com.github.mreutegg.laszip4j.laszip.LASitem.T...
package de.hfu.studiportal.view; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.v4.view.ViewPager; import android.view.Menu; import android.view.MenuItem; import android.widget.Toast; import de.hfu.funfpunktnull.R; import de.hfu.studiportal.network.NoChangeExcept...
package com.blamejared.mcbot.commands; import java.awt.Color; import java.util.List; import java.util.Random; import com.blamejared.mcbot.commands.api.Command; import com.blamejared.mcbot.commands.api.CommandBase; import com.blamejared.mcbot.commands.api.CommandException; import com.blamejared.mcbot.commands.api.Comman...
package org.msgpack.core.buffer; import java.nio.ByteBuffer; import java.nio.ByteOrder; import static org.msgpack.core.Preconditions.*; /** * Universal MessageBuffer implementation supporting Java6 and Android. * This buffer always uses ByteBuffer-based memory access */ public class MessageBufferU extends MessageBuf...
package dr.evomodel.coalescent; import jebl.math.Binomial; import dr.evolution.coalescent.TreeIntervals; import dr.evomodel.tree.TreeModel; import dr.inference.model.Likelihood; /** * Calculates the coalescent constant for a given tree(Model). * * @author Guy Baele */ public class CoalescentConstantLikelihood exten...
package wge3.game.entity.tilelayers.mapobjects; import com.badlogic.gdx.graphics.g2d.Sprite; import wge3.game.entity.Tile; public final class Door extends Wall { private boolean closed; private boolean hasLock; private boolean locked; private int destroyThreshold; private boolean horizontal; // ...
package org.msgpack.core.buffer; import java.nio.ByteBuffer; import java.nio.ByteOrder; import static org.msgpack.core.Preconditions.*; /** * Universal MessageBuffer implementation supporting Java6 and Android. * This buffer always uses ByteBuffer-based memory access */ public class MessageBufferU extends MessageBuf...
package com.intellij.psi.formatter.java; import com.intellij.codeFormatting.general.FormatterUtil; import com.intellij.lang.ASTNode; import com.intellij.newCodeFormatting.*; import com.intellij.psi.*; import com.intellij.psi.codeStyle.CodeStyleSettings; import com.intellij.psi.formatter.common.AbstractBlock; import com...
package com.fangxuele.tool.wechat.push.ui; import java.awt.Image; import java.awt.Toolkit; /** * UI * * @author zhouy */ public class ConstantsUI { public final static String APP_NAME = "WePush"; public final static String APP_VERSION = "v_1.0.1_170626"; public final static Image IMAGE_ICON = Toolkit.ge...
/** * The single class for which all children and and parent threads are derived * <P> * There contains four constructors for the users needs. * Every constructor requires a comment, user and location. However, the user * has the option of entering an image or a title. * * @author Michael Raypold */ package ca....
package com.github.phantomthief.util; import static java.util.Optional.ofNullable; import static org.slf4j.LoggerFactory.getLogger; import java.util.Optional; import java.util.concurrent.Callable; import org.slf4j.Logger; import com.google.common.base.Throwables; /** * @author w.vela */ public final class MoreFunctio...
package com.fpliu.newton.ui.list; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import com.fpliu.newton.ui.base.BaseView; import com.fpliu.newton.ui.ba...
package lpn.parser; import java.util.ArrayList; import java.util.HashMap; import java.util.Set; import java.lang.Math; public class ExprTree { String op; char isit; // b=Boolean, i=Integer, c=Continuous, n=Number, t=Truth value, // w=bitWise, a=Arithmetic, r=Relational, l=Logical double lvalue, uvalue; ...
package group5.trackerexpress; import java.io.File; import java.util.UUID; import android.app.Activity; import android.content.Intent; import android.graphics.drawable.Drawable; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import android.provider.MediaStore; import android.view.View;...
package com.mycompany.codekata.kata02; public class Day2 { /** * Binary search for value in array. Recursive version. * * @param val value to search for * @param arr array to search in * @return position of val in arr or -1 if not found */ public static int chop(int val, int[] arr, int start, int ...
package com.github.phantomthief.util; import java.util.concurrent.Callable; import com.google.common.base.Throwables; /** * @author w.vela */ public class MoreFunctions { public interface FunctionWithThrowable<T, R, X extends Throwable> { R apply(T t) throws X; } public static final <R> R catching...
package com.github.davidmoten.util; import java.io.File; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.lang.reflect.Type; import java.lang.reflect.TypeVariable; import java.util.HashMap; import java.util.Map; import rx.Observable; public final class DelegatorGenerator { public stat...
// Triple Play - utilities for use in PlayN-based games package tripleplay.platform; import java.awt.Dimension; import java.awt.Canvas; import javax.swing.JFrame; import org.lwjgl.opengl.Display; import playn.core.PlayN; import playn.java.JavaPlatform; /** * Implements Java-specific TriplePlay services. */ public cla...
package io.spine.reflect; import com.google.common.reflect.TypeToken; import javax.annotation.CheckReturnValue; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import static com.google.common.base.Preconditions.checkNotNull; /** * Base interface for enumerations on generic parameters of type...
// Triple Play - utilities for use in PlayN-based games package tripleplay.platform; import java.awt.Dimension; import java.awt.Canvas; import javax.swing.JFrame; import org.lwjgl.opengl.Display; import playn.core.PlayN; import playn.java.JavaPlatform; /** * Implements Java-specific TriplePlay services. */ public cla...
package soot.jimple.toolkits.annotation.logic; import java.util.ArrayList; 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.Stack; import soot.Body; import soot.BodyTransformer; import soot.Unit; imp...
package org.spine3.time; import com.google.protobuf.Duration; import com.google.protobuf.Timestamp; import com.google.protobuf.util.Timestamps; import org.junit.Test; import java.text.ParseException; import java.util.TimeZone; import static org.junit.Assert.assertEquals; import static org.spine3.test.Tests.assertHasPri...
package org.micro.neural.config.store; import com.google.common.util.concurrent.ThreadFactoryBuilder; import lombok.extern.slf4j.Slf4j; import org.micro.neural.Neural; import org.micro.neural.common.Constants; import org.micro.neural.common.URL; import org.micro.neural.common.collection.ConcurrentHashSet; import static...
package com.github.msemys.esjc; import com.github.msemys.esjc.subscription.PersistentSubscriptionChannel; import com.github.msemys.esjc.subscription.PersistentSubscriptionNakEventAction; import com.github.msemys.esjc.util.Subscriptions.DropData; import com.github.msemys.esjc.util.concurrent.ResettableLatch; import org....
package com.semmle.js.extractor; import com.semmle.js.extractor.ExtractorConfig.HTMLHandling; import com.semmle.js.extractor.ExtractorConfig.Platform; import com.semmle.js.extractor.ExtractorConfig.SourceType; import com.semmle.js.extractor.FileExtractor.FileType; import com.semmle.js.extractor.trapcache.DefaultTrapCac...
package com.github.otbproject.otbproject.util; import com.github.otbproject.otbproject.App; import com.github.otbproject.otbproject.bot.Bot; import com.github.otbproject.otbproject.gui.GuiApplication; import com.google.common.util.concurrent.ThreadFactoryBuilder; import java.util.concurrent.ExecutorService; import java...
package com.google.sps.servlets; import com.google.appengine.api.datastore.DatastoreService; import com.google.appengine.api.datastore.DatastoreServiceConfig; import com.google.appengine.api.datastore.DatastoreServiceFactory; import com.google.appengine.api.datastore.Entity; import com.google.appengine.api.datastore.En...
package com.opensymphony.workflow; import junit.framework.TestCase; import java.net.URL; import java.util.HashMap; public class ExceptionTestCase extends TestCase { //~ Constructors /////////////////////////////////////////////////////////// public ExceptionTestCase(String s) { super(s); } //~ M...
package com.github.sabomichal.immutablexjc; import java.beans.Introspector; import java.io.StringWriter; import java.text.MessageFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util...
package net.yeah.zhouyou.mickey.address.v2; import static net.yeah.zhouyou.mickey.address.v2.DFAInstance.*; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.regex.Pattern; public class AddressScanner { private static final Set<String> dCity; sta...
package at.archistar.crypto; import at.archistar.crypto.data.Share; import at.archistar.crypto.exceptions.ReconstructionException; import at.archistar.crypto.exceptions.WeakSecurityException; import at.archistar.crypto.random.FakeRandomSource; import at.archistar.crypto.random.RandomSource; import java.security.NoSuchA...
package org.akvo.flow.xml; import java.util.ArrayList; import java.util.List; import org.waterforpeople.mapping.app.gwt.client.survey.OptionContainerDto; import org.waterforpeople.mapping.app.gwt.client.survey.QuestionOptionDto; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.dataforma...
package com.hubspot.jinjava.objects.collections; import com.google.common.collect.ForwardingMap; import com.hubspot.jinjava.objects.PyWrapper; import java.util.Map; import java.util.Set; public class PyMap extends ForwardingMap<String, Object> implements PyWrapper { private Map<String, Object> map; public PyMap(Map...