answer
stringlengths
17
10.2M
package info.justaway; import android.app.Activity; import android.app.Application; import android.app.ProgressDialog; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.content.res.Configuration; impor...
package roart.filesystem; import java.io.ByteArrayInputStream; import java.io.InputStream; import java.util.Arrays; import java.util.List; import roart.common.config.MyConfig; import roart.common.constants.EurekaConstants; import roart.common.filesystem.FileSystemBooleanResult; import roart.common.filesystem.FileSystem...
package betterwithaddons.handler; import betterwithaddons.interaction.InteractionBWA; import betterwithaddons.item.ModItems; import betterwithaddons.lib.Reference; import betterwithaddons.util.InventoryUtil; import com.google.common.collect.HashMultimap; import com.google.common.collect.Multimap; import net.minecraft.c...
package models.ciphers; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class Transposition extends AbstractBlockCipher implements CipherInterface { private static final String DESC = "Transposition Cipher"; private static final String NAME = "Transposition Cipher"; @Overrid...
package ch.tkuhn.memetools; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.util.ArrayList; import java.util.List; import java.util.Map; import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; public class ApsMetada...
package co.mewf.humpty.config; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Optional; import co.mewf.humpty.spi.PipelineElement; import com.moandjiezana.toml.Toml; ...
package org.appwork.scheduler; import java.lang.reflect.Modifier; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledThreadPoolExecutor; import java.util.concurrent.ThreadFactory; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; import java....
package com.almasb.fxgl.app; import com.almasb.ents.Entity; import com.almasb.ents.EntityWorldListener; import com.almasb.fxeventbus.EventBus; import com.almasb.fxgl.devtools.DeveloperTools; import com.almasb.fxgl.devtools.profiling.Profiler; import com.almasb.fxgl.event.*; import com.almasb.fxgl.gameplay.GameWorld; im...
package org.bouncycastle.asn1; import java.io.IOException; import java.util.Enumeration; /** * BER TaggedObject - in ASN.1 notation this is any object preceded by * a [n] where n is some number - these are assumed to follow the construction * rules (as with sequences). */ public class BERTaggedObject extends DE...
package org.freecompany.redline.ant; import java.io.File; import java.io.IOException; import java.net.InetAddress; import java.net.UnknownHostException; import java.net.URL; import java.security.NoSuchAlgorithmException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.freecompan...
package com.analogmountains.flume; import static com.analogmountains.flume.MongoSinkConstants.BATCH_SIZE; import static com.analogmountains.flume.MongoSinkConstants.COLLECTION; import static com.analogmountains.flume.MongoSinkConstants.DATABASE; import static com.analogmountains.flume.MongoSinkConstants.DEFAULT_BATCH_S...
package org.broad.igv.bigwig; import org.broad.igv.Globals; import org.broad.igv.bbfile.*; import org.broad.igv.data.*; import org.broad.igv.feature.*; import org.broad.igv.feature.genome.Genome; import org.broad.igv.track.FeatureSource; import org.broad.igv.track.TrackType; import org.broad.igv.track.WindowFunction; i...
package org.broad.igv.util; import org.apache.http.HttpEntity; import org.apache.http.HttpHost; import org.apache.http.HttpResponse; import org.apache.http.auth.AuthScope; import org.apache.http.auth.UsernamePasswordCredentials; import org.apache.http.client.ResponseHandler; import org.apache.http.client.methods.HttpGe...
package org.ensembl.healthcheck; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.ut...
package com.checkmarx.jenkins; import com.checkmarx.cxconsole.CxConsoleLauncher; import com.checkmarx.cxviewer.ws.generated.CxCLIWebService; import com.checkmarx.cxviewer.ws.generated.CxCLIWebServiceSoap; import com.checkmarx.cxviewer.ws.resolver.CxClientType; import com.checkmarx.cxviewer.ws.resolver.CxWSResolver; imp...
package com.cloudbees.jenkins; import com.cloudbees.jenkins.GitHubPushTrigger.DescriptorImpl; import hudson.Extension; import hudson.model.AbstractProject; import hudson.model.Hudson; import hudson.model.RootAction; import hudson.model.UnprotectedRootAction; import hudson.security.ACL; import hudson.triggers.Trigger; i...
package com.codingbat.recursion1; /** * The class Recursion1 is contains solution for Recursion-1 section. */ public class Recursion1 { /** * Given n of 1 or more, return the factorial of n, which is n * (n-1) * (n-2) ... 1. Compute the * result recursively (without loops). * * @param number the input n...
package org.hcilab.bcistub.core; import java.io.File; import java.io.FileNotFoundException; import java.io.PrintWriter; import java.util.Calendar; import org.hcilab.bcistub.data.BCIState; public class CSVLogHandler { private PrintWriter out; private Calendar rightNow = Calendar.getInstance(); public CSVLogH...
package com.comandante.creeper; import com.comandante.creeper.Items.*; import com.comandante.creeper.entity.EntityManager; import com.comandante.creeper.managers.GameManager; import com.comandante.creeper.merchant.*; import com.comandante.creeper.merchant.GrimulfWizard; import com.comandante.creeper.npc.Npc; import com...
package org.ice4j.attribute; import org.ice4j.*; /** * The LIFETIME attribute is used to know the lifetime * of TURN allocations. * * @author Sebastien Vincent * @author Aakash Garg */ public class LifetimeAttribute extends Attribute { /** * Attribute name. */ public static final String NAME...
package org.jgroups.protocols.raft; import org.apache.commons.io.FileUtils; import org.iq80.leveldb.*; import org.jgroups.Address; import org.jgroups.util.Util; import java.io.File; import java.io.IOException; import java.util.Map; import static org.fusesource.leveldbjni.JniDBFactory.*; import static org.jgroups.util.I...
package com.github.susom.database; import java.util.Map; import org.slf4j.MDC; import io.vertx.core.AsyncResult; import io.vertx.core.Future; import io.vertx.core.Handler; import io.vertx.core.Vertx; import io.vertx.core.WorkerExecutor; /** * This is a convenience class to work-around issues with using the SLF4J * MD...
package com.ilamstone.publicfortests; import java.io.IOException; import java.io.PrintStream; import java.io.PrintWriter; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.Set; import ...
package org.ojalgo.matrix.store; import org.ojalgo.ProgrammingError; import org.ojalgo.constant.PrimitiveMath; import org.ojalgo.scalar.Scalar; /** * IdentityStore * * @author apete */ final class IdentityStore<N extends Number> extends FactoryStore<N> { private IdentityStore(final org.ojalgo.matrix.store.Physi...
package com.imcode.imcms.api; import com.imcode.imcms.domain.dto.DocumentStoredFieldsDTO; import lombok.Data; @Data public class ValidationLink { private boolean pageFound; private boolean hostFound; private boolean hostReachable; private String url; private EditLink editLink; private DocumentSt...
package org.opencms.ui.apps; import org.opencms.file.CmsObject; import org.opencms.file.CmsProject; import org.opencms.main.CmsBroadcast; import org.opencms.main.CmsLog; import org.opencms.main.CmsSessionInfo; import org.opencms.main.OpenCms; import org.opencms.ui.A_CmsUI; import org.opencms.ui.CmsVaadinErrorHandler; i...
package org.openid4java.message; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import java.io.Serializable; import java.io.UnsupportedEncodingException; import java.util.*; import java.util.List; import java.net.URLDecoder; /** * A list of parameters that are part of an OpenID me...
package com.jgardella.app.backend; import java.io.File; import java.io.FileInputStream; import java.io.InputStream; import java.io.IOException; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.util.Iterator; import org.apache.poi.openxml4j.exceptions.InvalidFormatException; import ...
package org.quinto.swing.table.view; import java.awt.Component; import java.awt.Dimension; import java.awt.Font; import java.awt.FontMetrics; import java.awt.Rectangle; import java.awt.Toolkit; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.beans.PropertyChangeEvent; import java.beans...
package org.texastorque.texastorque2015; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; import org.texastorque.texastorque2015.auto.AutoPicker; import org.texastorque.texastorque2015.feedback.Feedback; import org.texastorque.texastorque2015.feedback.SensorFeedback; import org.texastorque.texastorque2015.in...
package com.khoubyari.example.domain; import java.time.LocalDateTime; public class Status { private final Boolean isUpdateNeeded; private final LocalDateTime timestamp; private final boolean runHealthCheckNow; private static final String data = "get-process"; private static final String cronSchedul...
package com.maestrano.helpers; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.TimeZone; public class MnoDateHelper { private static final SimpleDateFormat DF = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ"); public static Date fromIso8601(String dateS...
package com.ociweb.gl.api; import java.util.concurrent.atomic.AtomicBoolean; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.ociweb.gl.impl.BuilderImpl; import com.ociweb.gl.impl.schema.MessagePrivate; import com.ociweb.gl.impl.schema.MessagePubSub; import com.ociweb.gl.impl.schema.TrafficOrderSchem...
package com.platform.common.utils; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import org.apache.commons.lang3.time.DateFormatUtils; public class DateUtils extends org.apache.commons.lang3.time.DateUtils { private static String[] parsePattern...
package com.robothand.highqualitybot; import java.io.File; import java.io.FileNotFoundException; import java.util.Hashtable; import java.util.Scanner; /** * Config.java * * Reads in properties from a specified configuration file, and provides access to the values. */ public class Config { private final File con...
package com.rultor.agents.req; import com.google.common.base.Function; import com.google.common.base.Joiner; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Iterables; import com.google.common.collect.Maps; import com.google.common.collect.Sets; import com.jcabi.aspects.Immutable; import...
// Depot library - a Java relational persistence library // 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 com.sri.ai.praise.demo; import java.awt.BorderLayout; import java.awt.Component; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.FocusAdapter; import java.awt.event.FocusEvent; import java...
package controller; import handler.ConfigHandler; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.event.Event; import javafx.event.EventHandler; import javafx.scene.Scene; import javafx.scene.control.Tooltip; import javafx.scene.image.Image; import javafx.stage.FileChoos...
package de.ddb.pdc.metadata; import java.util.ArrayList; import java.util.LinkedHashMap; import org.springframework.web.client.RestClientException; import org.springframework.web.client.RestTemplate; /** * Implementation of the {@link MetaFetcher} interface. */ public class MetaFetcherImpl implements MetaFetcher { ...
package de.lessvoid.nifty.effects.impl; import java.util.logging.Logger; import de.lessvoid.nifty.Nifty; import de.lessvoid.nifty.effects.EffectImpl; import de.lessvoid.nifty.effects.EffectProperties; import de.lessvoid.nifty.effects.Falloff; import de.lessvoid.nifty.elements.Element; import de.lessvoid.nifty.render.Ni...
package de.prob2.ui; import java.io.IOException; import com.google.inject.Inject; import com.google.inject.Singleton; import de.prob2.ui.animations.AnimationsView; import de.prob2.ui.history.HistoryView; import de.prob2.ui.modelchecking.ModelcheckingController; import de.prob2.ui.operations.OperationsView; import javaf...
package de.retest.recheck.ui.diff; import static java.util.Collections.reverse; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Stack; import java.util.TreeSet; import org.slf4j.Logger; import org.slf4j.LoggerFactory; im...
package edu.jhu.hlt.optimize; import java.util.Arrays; import org.apache.commons.math3.util.FastMath; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import edu.jhu.hlt.optimize.function.DifferentiableBatchFunction; import edu.jhu.hlt.util.Prm; import edu.jhu.prim.arrays.DoubleArrays; import edu.jhu.prim.array...
package edu.jhu.rebar.file; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.nio.file.DirectoryStream; import java.nio.file.Files; import java.nio.file.Path; import jav...
package edu.neu.ccs.pyramid.experiment; import edu.neu.ccs.pyramid.active_learning.BestVsSecond; import edu.neu.ccs.pyramid.classification.boosting.lktb.LKTBConfig; import edu.neu.ccs.pyramid.classification.boosting.lktb.LKTreeBoost; import edu.neu.ccs.pyramid.configuration.Config; import edu.neu.ccs.pyramid.dataset.*;...
package edu.uiowa.icts.util; /** * @author rrlorent * @since August 1, 2014 */ public class DataTableHeader { private String data = null; private String name = null; private Boolean searchable = false; private Boolean orderable = false; private String searchValue = null; private Boolean searc...
package edu.upc.caminstech.equipstic; import org.apache.commons.lang3.builder.CompareToBuilder; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonProperty; @Js...
package eu.mivrenik.particles; import java.util.Locale; import java.util.logging.Logger; import eu.mivrenik.particles.scene.NewExperimentScene; import javafx.application.Application; import javafx.scene.Scene; import javafx.stage.Stage; /** * Main application class that is used as entry point. */ public class AppEntr...
package eu.ortlepp.blogbuilder.tools; import java.io.BufferedWriter; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.nio.charset.Charset; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.A...
package fucksocks.server; import fucksocks.client.SocksProxy; import fucksocks.common.SSLConfiguration; import fucksocks.common.methods.NoAuthenticationRequiredMethod; import fucksocks.common.methods.SocksMethod; import fucksocks.common.methods.UsernamePasswordMethod; import fucksocks.server.manager.MemoryBasedUserMana...
package peergos.server; import peergos.server.corenode.*; import peergos.server.mutable.*; import peergos.server.social.*; import peergos.server.storage.*; import peergos.shared.*; import peergos.shared.user.*; public class NonWriteThroughNetwork { public static NetworkAccess build(NetworkAccess source) { N...
package hu.unideb.inf.dejavu.gui; import hu.unideb.inf.dejavu.DejaVu; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.scene.Scene; import javafx.scene.control.TextField; import javafx.scene.paint.Color; import javafx.scene.text.Font; import javafx.scene.text.FontWeight; import javafx.st...
package peerjDocxFormatter; import java.io.*; import java.math.BigInteger; import java.util.ArrayList; import java.util.List; import org.apache.commons.cli.BasicParser; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.CommandLineParser; import org.apache.commons.cli.HelpFormatter; import org.apa...
package hu.unideb.inf.dejavu.gui; import hu.unideb.inf.dejavu.DejaVu; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.scene.Scene; import javafx.scene.control.PasswordField; import javafx.scene.control.TextField; import javafx.scene.paint.Color; import javafx.scene.text.Font; import jav...
package hudson.remoting; import java.io.IOException; import java.net.URL; import java.util.logging.Level; import java.util.logging.Logger; import static hudson.remoting.Util.*; /** * {@link ResourceImageRef} that directly encapsulates the resource as {@code byte[]}. * * <p> * This is used when {@link ResourceImageI...
package io.github.bonigarcia.wdm; import static io.github.bonigarcia.wdm.WdmConfig.getBoolean; import static io.github.bonigarcia.wdm.WdmConfig.getString; import static java.io.File.separator; import static java.lang.Runtime.getRuntime; import static java.lang.System.getProperty; import static java.nio.file.Files.creat...
package jmh.barker; import java.util.Arrays; import java.util.concurrent.TimeUnit; import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.BenchmarkMode; import org.openjdk.jmh.annotations.Fork; import org.openjdk.jmh.annotations.Measurement; import org.openjdk.jmh.annotations.Mode; import org....
package main.java.latexee.declareast; import main.java.antlrgen.DeclarationGrammarParser.ImportantPairContext; import main.java.antlrgen.DeclarationGrammarParser.MiscPairContext; import main.java.antlrgen.DeclarationGrammarParser.PairContext; import org.antlr.v4.runtime.tree.ParseTree; public class MacroDeclaration ext...
package mesosphere.marathon.client; import java.util.List; import javax.inject.Named; import mesosphere.marathon.client.model.v2.App; import mesosphere.marathon.client.model.v2.DeleteAppTaskResponse; import mesosphere.marathon.client.model.v2.DeleteAppTasksResponse; import mesosphere.marathon.client.model.v2.Deployment...
package mho.wheels.iterables; import mho.wheels.math.Combinatorics; import mho.wheels.math.MathUtils; import mho.wheels.ordering.Ordering; import mho.wheels.structures.*; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.math.BigDecimal; import java.math.BigInteger; import...
package mpei.bkm.protegeplugin.menu; import mpei.bkm.converters.UnconvertableException; import mpei.bkm.converters.text2scheme.Text2SchemeContainerConverter; import mpei.bkm.model.lss.Attribute; import mpei.bkm.model.lss.datatypespecification.datatypes.*; import mpei.bkm.model.lss.objectspecification.concept.BKMClass; ...
package net.darkhax.bookshelf.lib; import java.util.Random; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; public final class Constants { // Mod Constants public static final String MOD_ID = "bookshelf"; public static final String MOD_NAME = "Bookshelf"; public stati...
package net.shadowfacts.foodies.item; import cpw.mods.fml.common.registry.GameRegistry; /** * Helper class for registering items. * @author shadowfacts */ public class FItems { // Foods public static Food toast; public static Food tomato; public static void preInit() { // Create Items ...
package ohtuhatut.profile; import java.net.URI; import java.net.URISyntaxException; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import javax.sql.DataSource; import ohtuhatut.repository.ReferenceListRepository; import ohtuhatut.repository.ReferenceRepository; import org.apach...
package org.arrah.framework.ndtable; /* * This is a util for Report Table Model class * it will define join, sort or match condition * for RTM class * */ import java.text.ParsePosition; import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.Calendar; import java.util.Date; import java.util.En...
package org.freedesktop.dbus; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.lang.reflect.Proxy; import java.text.MessageFormat; import java.text.ParseException; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; impo...
package org.g_node.micro.commons; import com.hp.hpl.jena.query.ResultSet; import com.hp.hpl.jena.query.ResultSetFormatter; import com.hp.hpl.jena.rdf.model.Model; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.util.Collections; import ...
package org.grobid.core.engines; import org.grobid.core.GrobidModel; import org.grobid.core.GrobidModels; import org.grobid.core.analyzers.QuantityAnalyzer; import org.grobid.core.data.Quantity; import org.grobid.core.data.Value; import org.grobid.core.data.ValueBlock; import org.grobid.core.data.normalization.Normaliz...
package org.janelia.saalfeldlab.n5; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.Serializable; import java.lang.reflect.Type; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.scijava.util.VersionUtils; p...
package org.java_websocket; import org.java_websocket.drafts.Draft; import org.java_websocket.exceptions.InvalidDataException; import org.java_websocket.framing.Framedata; import org.java_websocket.framing.Framedata.Opcode; import org.java_websocket.framing.FramedataImpl1; import org.java_websocket.handshake.ClientHand...
package org.jenkinsci.plugins.gitclient; import hudson.EnvVars; import hudson.Functions; import hudson.model.TaskListener; import hudson.plugins.git.GitAPI; import java.io.File; /** * @author <a href="mailto:nicolas.deloof@gmail.com">Nicolas De Loof</a> */ public class Git { private File repository; private T...
package org.kantega.kson.codec; import fj.*; import fj.data.List; import fj.data.Option; import fj.data.TreeMap; import fj.function.Try1; import org.kantega.kson.JsonConversionFailure; import org.kantega.kson.JsonResult; import org.kantega.kson.json.JsonObject; import org.kantega.kson.json.JsonValue; import org.kantega...
package org.lightmare.utils.beans; import javax.ejb.Stateless; import org.lightmare.utils.CollectionUtils; import org.lightmare.utils.StringUtils; /** * Utility class for EJB beans * * @author levan * @since 0.0.26-SNAPSHOT */ public class BeanUtils { // Suffixes of local and remote interface names private...
package org.nanopub.extra.server; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.net.URL; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import net.trustyuri.TrustyUriUtils; import net.trustyu...
package org.scribe.oauth; import org.scribe.builder.api.DefaultApi20; import org.scribe.model.OAuthConfig; import org.scribe.model.OAuthConstants; import org.scribe.model.OAuthRequest; import org.scribe.model.Response; import org.scribe.model.Token; import org.scribe.model.Verifier; public class OAuth20ServiceImpl impl...
package org.smoothbuild.db.object.db; import static java.util.Objects.requireNonNullElse; import static java.util.Objects.requireNonNullElseGet; import static org.smoothbuild.db.object.db.Helpers.wrapHashedDbExceptionAsDecodeSpecException; import static org.smoothbuild.db.object.db.Helpers.wrapHashedDbExceptionAsDecode...
package org.usfirst.frc.team4828; import edu.wpi.first.wpilibj.Servo; public class ServoGroup { private static final double STEP_SIZE = 0.01; private Servo master; private Servo slave; private double[] masterRange; private double[] slaveRange; private double position; ServoGroup(int masterPo...
package permafrost.tundra.lang; import com.wm.data.IData; import com.wm.data.IDataPortable; import com.wm.data.IDataUtil; import com.wm.util.Table; import com.wm.util.coder.IDataCodable; import com.wm.util.coder.ValuesCodable; import permafrost.tundra.data.IDataHelper; import permafrost.tundra.data.IDataMap; import per...
package prm4j.indexing.realtime; import java.lang.ref.WeakReference; import prm4j.Util; import prm4j.api.Parameter; import prm4j.indexing.BaseMonitor; import prm4j.indexing.staticdata.MetaNode; public class DefaultNode extends AbstractNode { private final MetaNode metaNode; private final MonitorSet[] monitorSet...
package ru.technoserv.dao; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.jdbc.support.rowset.SqlRowSet; import org.springframework.stereotype.Repository; import java.math.BigDecimal; import java.util.List; import java.util.Se...
package scrum.client.calendar; import ilarkesto.gwt.client.Date; import ilarkesto.gwt.client.Gwt; import java.util.HashMap; import java.util.List; import java.util.Map; import scrum.client.common.AScrumWidget; import scrum.client.common.BlockListSelectionManager; import scrum.client.common.BlockListWidget; import com.g...
package sds.assemble.controlflow; import sds.classfile.bytecode.BranchOpcode; import sds.classfile.bytecode.OpcodeInfo; import sds.classfile.bytecode.Opcodes; import sds.classfile.bytecode.SwitchOpcode; import static sds.classfile.bytecode.MnemonicTable.monitorenter; import static sds.classfile.bytecode.MnemonicTable.m...
package seedu.address.storage; import javax.xml.bind.annotation.XmlValue; import seedu.address.commons.exceptions.IllegalValueException; import seedu.address.model.tag.Tag; /** * JAXB-friendly adapted version of the Tag. */ public class XmlAdaptedTag { @XmlValue public String tagName; /** * Construct...
package seedu.manager.logic.parser; import static seedu.manager.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.manager.commons.core.Messages.MESSAGE_UNKNOWN_COMMAND; import java.util.*; import java.util.regex.Matcher; import java.util.regex.Pattern; import seedu.manager.commons.exceptions.Ill...
package seedu.scheduler.logic.parser; import seedu.scheduler.logic.commands.*; import seedu.scheduler.commons.util.StringUtil; import seedu.scheduler.commons.exceptions.IllegalValueException; import java.util.*; import java.util.regex.Matcher; import java.util.regex.Pattern; import static seedu.scheduler.commons.core.M...
package seedu.typed.schedule; import seedu.typed.model.task.DateTime; //@@author A0139379M public interface TimeExpression { /** * Checks if date falls within TimeExpression * i.e if 12/12/2017 falls within every Monday * or second tuesday of every month etc * * @params date * @return ...
package ut.programming.training; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.HashMap; import org.apache.commons.lang3.StringUtils; public class Application { public int countWords(String words) { String[] separateWords = StringUtils.split(words, ' '); re...
package valandur.webapi.hook; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import org.slf4j.Logger; import org.spongepowered.api.Platform; import org.spongepowered.api.Sponge; import org.spongepowered.api.entity.Entity; import org.spongepowered.api.entit...
package wasdev.sample.servlet; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.io.FileUtils; import...
package wasdev.sample.servlet; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.io.FileUtils; import...
package org.jasig.portal.properties; import java.io.IOException; import java.util.Collections; import java.util.HashSet; import java.util.Properties; import java.util.Set; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; /** * Provides access to properties. * <p>It is important to...
package scalac.transformer; import java.util.Collections; import java.util.Map; import java.util.HashMap; import java.util.Iterator; import scalac.Global; import scalac.Phase; import scalac.PhaseDescriptor; import scalac.CompilationUnit; import scalac.ast.GenTransformer; import scalac.ast.Tree; import scalac.ast.Tree.T...
package BluebellAdventures.Characters; import java.awt.Color; import java.awt.Font; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.util.Iterator; import java.util.concurrent.CopyOnWriteArrayList; import javax.imageio.ImageIO; import Bluebell...
package us.kbase.workspace.database.mongo; import static java.util.Objects.requireNonNull; import static us.kbase.workspace.database.Util.checkString; import java.io.BufferedInputStream; import java.io.DataInputStream; import java.io.EOFException; import java.io.IOException; import java.io.InputStream; import java.net....
package vg.civcraft.mc.namelayer.command.commands; import java.util.List; import java.util.UUID; import org.bukkit.ChatColor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import com.avaje.ebean.validation.Pattern; import vg.civcraft.mc.namelayer.NameAPI; import vg.civcraft.mc.namelayer.comm...
package com.dumbster.smtp; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.Socket; import java.util.ArrayList; import java.util.List; import com.dumbster.smtp.action.Connect; public class SmtpClientTransaction implements Runnable {...
package com.ecyrd.jspwiki; import java.util.Properties; import java.io.UnsupportedEncodingException; import javax.servlet.http.HttpServletRequest; public class DefaultURLConstructor implements URLConstructor { private WikiEngine m_engine; private String m_viewURLPattern = "%uWiki.jsp?page=%n"; /** Are U...
// ChargeRequest.java // Inner Fence Credit Card Terminal for Android // API 1.0.0 // below. // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copies of the Software, and to perm...
package com.jme.util.export.xml; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.FloatBuffer; import java.nio.IntBuffer; import java.nio.ShortBuffer; import java.util.ArrayList; import java.util.BitSet; import java.util.HashMap; import java.util.Map; import java.util.List; import java.util.loggi...