answer
stringlengths
17
10.2M
package com.edwardsit.spark4n6; import edu.nps.jlibewf.EWFFileReader; import edu.nps.jlibewf.EWFSection; import edu.nps.jlibewf.EWFSegmentFileReader; import org.apache.hadoop.fs.FileSystem; import org.apache.log4j.*; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.BytesWritable; import org.apache.hadoop.i...
package org.eclipse.persistence.testing.oxm; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestResult; import junit.framework.TestSuite; import org.eclipse.persistence.testing.oxm.inheritance.*; import org.eclipse.persistence.testing.oxm.inheritance.typetests.TypeTestSuite; import...
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.fasterxml.jackson.simple.ob; import java.io.IOException; import java.util.*; import com.fasterxml.jackson.core.*; import com.fasterxml.jackson.core.JsonParser.NumberType; import com.fasterxml.jackson.simple.ob.JSON.Feature; import com.fasterxml.jackson.simple.ob.impl.ListBuilder; import com.fasterxml.jackso...
package name.abuchen.portfolio.ui.views; import java.text.DecimalFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; import name.abuchen.portfolio.model.ConsumerPriceIndex; import name.abuchen.portfolio.model.Security; import na...
package com.frostwire.jlibtorrent; import com.frostwire.jlibtorrent.swig.*; import java.util.ArrayList; import java.util.List; /** * The {@link AddTorrentParams} is a parameter pack for adding torrents to a * session. The key fields when adding a torrent are: * <ul> * <li>ti - when you have a .torrent file</li> * ...
package org.oasis.datacore.sample.crm; import java.net.UnknownHostException; import java.util.HashMap; import java.util.Map; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; import com.mongodb.BasicDBObject; import com.mongodb.DB; import com.mongodb.DBCollection; import com.mongodb.DBOb...
package org.dynmap.regions; import java.io.File; import java.io.FileInputStream; import java.io.FilenameFilter; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Propertie...
package models; import java.io.Serializable; import org.bson.types.ObjectId; import org.mongodb.morphia.annotations.Id; import org.mongodb.morphia.annotations.Indexed; /** * * @author svenkubiak * */ public class Fortune implements Serializable, Comparable<Fortune> { private static final long serialVersionUID ...
package net.ontopia.topicmaps.query.impl.basic; import java.io.IOException; import java.io.Reader; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Locale; import java.util.Map; import java.util.Set; import java.text.Co...
package org.jboss.netty.buffer; import java.io.UnsupportedEncodingException; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.charset.UnsupportedCharsetException; /** * Creates a new {@link ChannelBuffer} by allocating new space or by wrapping * or copying existing byte arrays, byte buffer and s...
package org.eclipse.mat.util; /** * File utilities for things like copying icon files. */ /** * File utilities for things like copying icon files. */ import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import java.util.List; public fi...
package com.jomofisher.cmakeify; import com.jomofisher.cmakeify.model.OS; import com.jomofisher.cmakeify.model.RemoteArchive; import com.jomofisher.cmakeify.model.Toolset; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.util.Collection; import java.util.HashMap; import java.ut...
package org.jsoftware.impl; import org.jsoftware.config.AbstractPatch; import org.jsoftware.config.Patch; import org.jsoftware.config.PatchScanner; import org.jsoftware.impl.commons.FilenameUtils; import org.jsoftware.log.Log; import org.jsoftware.log.LogFactory; import java.io.File; import java.io.FileFilter; import j...
package com.jomofisher.cmakeify; import com.jomofisher.cmakeify.model.OS; import com.jomofisher.cmakeify.model.RemoteArchive; import com.jomofisher.cmakeify.model.Toolset; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.util.Collection; import java.util.HashMap; import java.ut...
package org.lightmare.cache; import javax.transaction.UserTransaction; /** * Caches {@link javax.transaction.Transaction} objects for each method call in * {@link ThreadLocal} cache * * @author Levan Tsinadze * @since 0.0.81-SNAPSHOT * @see org.lightmare.jpa.jta.UserTransactionImpl * @see org.lightmare.jpa.jta.B...
package com.laytonsmith.core.constructs; import com.laytonsmith.PureUtilities.Common.ArrayUtils; import com.laytonsmith.PureUtilities.Common.StringUtils; import com.laytonsmith.PureUtilities.Version; import com.laytonsmith.annotations.typeof; import com.laytonsmith.core.FullyQualifiedClassName; import com.laytonsmith.c...
package org.lightmare.utils.shutdown; import java.io.IOException; import org.apache.log4j.Logger; import org.lightmare.cache.TmpResources; import org.lightmare.deploy.MetaCreator; /** * Runnable class for shut down hook * * @author levan * */ public class ShutDown implements Runnable { private TmpResources tmp...
package org.mcupdater.packbuilder.gui; import javafx.beans.binding.Bindings; import javafx.beans.property.SimpleStringProperty; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.geometry.I...
package org.mklab.taskit.shared.model; import javax.persistence.Entity; import javax.persistence.Id; import net.sf.gilead.pojo.gwt.LightEntity; /** * * * @author teshima * @version $Revision$, 2011/01/18 */ @Entity(name = "ACCOUNT") public final class Account extends LightEntity { /** for serialization. */ pri...
package org.osiam.storage.entities; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.NamedQueries; import...
package com.projectning.service.web; import java.awt.Color; import java.awt.Graphics2D; import java.awt.Image; import java.awt.image.BufferedImage; import java.io.File; import java.time.Instant; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.imageio.Image...
package org.sagebionetworks.bridge.sdk; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; import static org.apache.commons.lang3.StringUtils.isNotBlank; import java.io.File; import java.io.FileInputStream; import java.io.IOException; impor...
package com.renfeihn.jeeframe.common.config; import java.io.File; import java.io.IOException; import java.util.Map; import org.springframework.core.io.DefaultResourceLoader; import com.ckfinder.connector.ServletContextFactory; import com.google.common.collect.Maps; import com.renfeihn.jeeframe.common.utils.PropertiesLo...
/* * This is free and unencumbered software released into the public domain. */ package org.wicketsample; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.apache.wicket.ajax.AjaxRequestTarget; import org.apache.wicket.markup.html.WebPage; import org.apache.wicket.markup.html.basic.Label; import org...
package com.tale.controller.admin; import com.blade.Blade; import com.blade.ioc.annotation.Inject; import com.blade.jdbc.core.Take; import com.blade.jdbc.model.Paginator; import com.blade.kit.DateKit; import com.blade.kit.FileKit; import com.blade.kit.Tools; import com.blade.kit.UUID; import com.blade.mvc.annotation.Co...
package com.tterrag.k9.commands; import java.time.Duration; import java.time.Instant; import java.util.LinkedList; import java.util.Optional; import java.util.concurrent.TimeoutException; import java.util.function.Function; import com.google.common.base.Charsets; import com.tterrag.k9.commands.api.Argument; import com....
package api.web.gw2.mapping.v2.masteries; import api.web.gw2.mapping.core.EnumValue; import api.web.gw2.mapping.core.IdValue; import api.web.gw2.mapping.core.LocalizedResource; import api.web.gw2.mapping.core.QuantityValue; import api.web.gw2.mapping.core.SetValue; import api.web.gw2.mapping.core.URLReference; import a...
package com.wizzardo.http.framework; import com.wizzardo.epoll.IOThread; import com.wizzardo.epoll.SslConfig; import com.wizzardo.http.filter.AuthFilter; import com.wizzardo.http.filter.BasicAuthFilter; import com.wizzardo.http.filter.TokenFilter; import com.wizzardo.tools.collections.flow.Flow; import com.wizzardo.too...
package seedu.address.model.activity; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import seedu.address.commons.exceptions.IllegalValueException; import seedu.address.commons.util.DateUtil; //@@author A0125680H public abstract class DateTime implements Comparable<DateTime>{ p...
package de.craften.craftenlauncher.GUI.panel; import de.craften.craftenlauncher.GUI.element.CL_CloseButton; import de.craften.craftenlauncher.GUI.Manager; import de.craften.craftenlauncher.GUI.element.CL_LabelError; import de.craften.craftenlauncher.exception.CraftenLogicException; import de.craften.craftenlauncher.log...
package seedu.task.logic.commands; import java.util.List; import java.util.Optional; import seedu.task.commons.core.Messages; import seedu.task.commons.exceptions.IllegalValueException; import seedu.task.commons.util.CollectionUtil; import seedu.task.logic.commands.exceptions.CommandException; import seedu.task.model.t...
package de.domisum.lib.auxilium.util.math; import de.domisum.lib.auxilium.util.java.annotations.API; import lombok.AccessLevel; import lombok.NoArgsConstructor; @NoArgsConstructor(access = AccessLevel.PRIVATE) public final class MathUtil { // NUMBERS @API public static double getDelta(double a, double b) { ...
package skadistats.clarity.examples.test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import skadistats.clarity.decoder.BitStream; import skadistats.clarity.decoder.s2.FieldDecoder; import skadistats.clarity.decoder.s2.FieldPathDecoder; import skadistats.clarity.decoder.s2.prop.*; import skadistats.clarity...
package de.fhhannover.inform.trust.ironvas; import java.util.Iterator; import java.util.List; import de.fhhannover.inform.trust.ifmapj.binding.IfmapStrings; import de.fhhannover.inform.trust.ifmapj.channel.SSRC; import de.fhhannover.inform.trust.ifmapj.exception.IfmapErrorResult; import de.fhhannover.inform.trust.ifmap...
package st.redline.compiler; import java.util.ArrayList; import java.util.List; public class KeywordExpression implements MessageExpression { private final List<BinaryObjectDescription> binaryObjectDescriptions; private final StringBuffer keywords; private int line; KeywordExpression() { binaryO...
package de.ustutt.iaas.cc; import javax.validation.Valid; import javax.validation.constraints.NotNull; import com.fasterxml.jackson.annotation.JsonProperty; import io.dropwizard.Configuration; import io.dropwizard.client.JerseyClientConfiguration; import io.dropwizard.db.DataSourceFactory; import io.federecio.dropwizar...
package uk.co.terminological.datatypes; import java.io.Serializable; import java.util.LinkedHashMap; import java.util.LinkedHashSet; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.stream.Stream; import javax.xml.bind.annotation.XmlTransient; /** * A Java 8 friendly Entity-Attr...
package eu.freme.broker.eservices; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.RequestHeader; import org.springframework.web.bind.annotation.RequestMapping; impor...
package fr.aumgn.diamondrush.region; import java.util.ArrayList; import java.util.List; import java.util.Random; import org.bukkit.Material; import org.bukkit.World; import org.bukkit.block.Block; import org.bukkit.block.Chest; import fr.aumgn.bukkit.util.Vector2D; import fr.aumgn.diamondrush.DiamondRush; import fr.aum...
package fr.insee.rmes.api.concepts; public class ConceptsQueries { public static String getConceptsByLabel(String label) { return "SELECT ?id ?uri ?intitule ?remplace ?estRemplacePar WHERE { \n" + "?uri skos:inScheme ?conceptScheme . \n" + "FILTER(REGEX(STR(?conceptScheme),'/...
package fredboat.command.maintenance; import com.mashape.unirest.http.Unirest; import com.mashape.unirest.http.exceptions.UnirestException; import fredboat.commandmeta.CommandManager; import fredboat.commandmeta.ICommand; import fredboat.FredBoat; import fredboat.commandmeta.Command; import net.dv8tion.jda.entities.Gui...
package org.codehaus.groovy.ast; import java.util.Iterator; import java.util.List; import org.codehaus.groovy.ast.expr.ArrayExpression; import org.codehaus.groovy.ast.expr.BinaryExpression; import org.codehaus.groovy.ast.expr.BooleanExpression; import org.codehaus.groovy.ast.expr.CastExpression; import org.codehaus.gro...
package info.u_team.u_team_core.item.tool; import info.u_team.u_team_core.api.IToolMaterial; import info.u_team.u_team_core.api.IToolMaterial.Tools; import net.minecraft.item.*; public class UHoeItem extends HoeItem { public UHoeItem(Properties properties, IToolMaterial material) { this(null, properties, ma...
package io.github.mzmine.util.scans; import com.google.common.collect.BoundType; import com.google.common.collect.Range; import com.google.common.collect.RangeMap; import com.google.common.collect.TreeRangeMap; import io.github.mzmine.datamodel.Frame; import io.github.mzmine.datamodel.ImsMsMsInfo; import io.github.mzmi...
// AbstracPlugin.java package loci.multiinstanceplugin; /** * Exception thrown when a plugin chain is shutting down. * * @author Aivar Grislis */ //TODO not nice to use an exception for normal processing public class TeardownException extends RuntimeException { public TeardownException(String message) { ...
package me.alb_i986.selenium.tinafw.domain; import com.google.inject.Inject; import me.alb_i986.selenium.tinafw.ui.*; import org.apache.log4j.Logger; import org.openqa.selenium.WebDriver; /** * A Browser can be opened and closed, and can be used to browse to some page. * It is backed by a {@link WebDriver}: by openin...
package org.asup.dk.compiler.rpj.writer; import java.util.Collection; import java.util.List; import org.asup.dk.compiler.QCompilationSetup; import org.asup.dk.compiler.QCompilationUnit; import org.asup.dk.compiler.QCompilerLinker; import org.asup.fw.core.annotation.Supported; import org.asup.fw.core.annotation.ToDo; im...
package me.zp4rker.discord.jitters; import me.zp4rker.discord.core.logger.ZLogger; import net.dv8tion.jda.core.entities.TextChannel; import org.json.JSONArray; import org.json.JSONObject; import java.io.*; import java.net.URL; import java.nio.charset.Charset; import java.time.Instant; import java.time.LocalDateTime; im...
package org.eclipse.egit.ui.internal.dialogs; import static org.eclipse.ui.ISources.ACTIVE_CURRENT_SELECTION_NAME; import org.eclipse.core.commands.Command; import org.eclipse.core.commands.ExecutionEvent; import org.eclipse.core.commands.ExecutionException; import org.eclipse.core.commands.IExecutionListener; import o...
package me.stefvanschie.buildinggame.utils.plot; import java.util.ArrayList; import java.util.List; import org.bukkit.Chunk; import org.bukkit.Location; import org.bukkit.World; import org.bukkit.block.Block; public class Boundary { World world; int highX; int highY; int highZ; int lowX; int low...
package net.nickac.lithium.frontend.mod; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.network.NetworkRegistry; impo...
import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util.Set; import java.util.TreeSet; import java.util.Collections; import java.util.ArrayList; import javax.annotation.processing.*; import javax.lang.model.*; import javax.lang.model.element.Element; import javax.lang.model.element.Typ...
package imperialmetrico; import java.util.Scanner; class Medida { Double pe; Double jarda; Double milha; Double polegada; void Converte(double cm) { this.pe = cm / 5.0799; //this.pe = cm * 5.0799; // 2 * 2.53995 this.jarda = cm / 91.4382; //this.jarda = cm * 91.4382; //3 * 12 * 2.53995...
package net.runelite.deob.deobfuscators; import java.util.ArrayList; import net.runelite.deob.ClassFile; import net.runelite.deob.ClassGroup; import net.runelite.deob.Deobfuscator; import net.runelite.deob.Field; import net.runelite.deob.Method; import net.runelite.deob.attributes.Code; import net.runelite.deob.attribu...
package net.runelite.deob.deobfuscators; import java.util.ArrayList; import net.runelite.deob.ClassFile; import net.runelite.deob.ClassGroup; import net.runelite.deob.Deobfuscator; import net.runelite.deob.Field; import net.runelite.deob.Method; import net.runelite.deob.attributes.Code; import net.runelite.deob.attribu...
package com.stratio.meta.sh; import com.stratio.meta.common.result.Result; import com.stratio.meta.driver.BasicDriver; import com.stratio.meta.sh.help.HelpContent; import com.stratio.meta.sh.help.HelpManager; import com.stratio.meta.sh.help.HelpStatement; import com.stratio.meta.sh.help.generated.MetaHelpLexer; import ...
package online.pizzacrust.lukkitplus.api; import net.md_5.bungee.api.ChatColor; import org.luaj.vm2.LuaTable; import org.luaj.vm2.LuaValue; import org.luaj.vm2.Varargs; import java.util.logging.Logger; import online.pizzacrust.lukkitplus.environment.FunctionController; import online.pizzacrust.lukkitplus.environment.Lu...
package org.b3log.symphony.service; import com.qiniu.storage.Configuration; import com.qiniu.storage.UploadManager; import com.qiniu.util.Auth; import org.apache.commons.codec.digest.DigestUtils; import org.apache.commons.io.IOUtils; import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.time.DateUt...
package org.biouno.unochoice.model; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import org.biouno.unochoice.util.Utils; import org.jenkinsci.plugins.scriptler.ScriptlerManagement; import org.jenkinsci.plugins.scriptler.config.Script; import org.jenkinsci.plug...
package org.clafer.ast.analysis; import gnu.trove.set.hash.TIntHashSet; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import org.clafer.ast.AstAbstractClafer; import org.clafer.ast.AstBoolArithm; import org.cl...
package org.cobbzilla.util.collection; import com.fasterxml.jackson.annotation.JsonIgnore; import lombok.*; import lombok.experimental.Accessors; import org.cobbzilla.util.javascript.JsEngine; import java.util.*; import static org.cobbzilla.util.daemon.ZillaRuntime.empty; @NoArgsConstructor @AllArgsConstructor @Accesso...
package org.cyclops.cyclopscore.helper; import com.google.common.collect.Multimap; import com.google.common.collect.MultimapBuilder; import net.minecraft.loot.ILootSerializer; import net.minecraft.loot.LootConditionType; import net.minecraft.loot.LootFunctionType; import net.minecraft.loot.conditions.ILootCondition; im...
package org.devocative.wickomp.async; import org.apache.wicket.Application; import org.apache.wicket.protocol.ws.WebSocketSettings; import org.apache.wicket.protocol.ws.api.IWebSocketConnection; import org.apache.wicket.protocol.ws.api.WebSocketPushBroadcaster; import org.apache.wicket.protocol.ws.api.registry.IWebSock...
package org.graphwalker.core.machine; import org.graphwalker.core.event.EventType; import org.graphwalker.core.generator.NoPathFoundException; import org.graphwalker.core.model.Action; import org.graphwalker.core.model.Element; import org.graphwalker.core.model.Requirement; import org.slf4j.Logger; import org.slf4j.Log...
package org.helianto.home.controller; import java.util.Locale; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotati...
package org.jgroups.protocols.kubernetes; import org.jgroups.Address; import org.jgroups.Event; import org.jgroups.Message; import org.jgroups.PhysicalAddress; import org.jgroups.annotations.MBean; import org.jgroups.annotations.ManagedOperation; import org.jgroups.annotations.Property; import org.jgroups.conf.ClassCon...
package org.juurlink.atagone; import java.io.IOException; import java.math.BigDecimal; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import java.util.Date; import java.util.LinkedHashMap; import java.util.Map; import javax.annotation.Nonnull; import javax.annotation.Nullab...
package org.lightmare.rest.providers; import java.io.IOException; import java.lang.reflect.Method; import java.util.List; import javax.ws.rs.WebApplicationException; import javax.ws.rs.container.ContainerRequestContext; import javax.ws.rs.core.Context; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response...
package com.harmoneye.tonecircle; import java.util.BitSet; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Paint.Align; import android.graphics.Rect; import android.util.AttributeSet; import android.view.MotionEvent; i...
package org.opentripplanner.profile; import org.joda.time.LocalDate; import org.opentripplanner.api.param.LatLon; import org.opentripplanner.routing.core.TraverseModeSet; import javax.ws.rs.DefaultValue; import javax.ws.rs.QueryParam; /** * All the modifiable paramters for profile routing. */ public class ProfileRequ...
package net.dlogic.kryonet.client; import net.dlogic.kryonet.client.event.callback.IConnectionEventCallback; import net.dlogic.kryonet.client.event.callback.ILoginOrLogoutEventCallback; import net.dlogic.kryonet.client.event.callback.IPersonMessageEventCallback; import net.dlogic.kryonet.client.event.callback.IRoomEven...
package org.owasp.esapi.reference; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.text.DateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; impo...
package net.maizegenetics.gbs.homology; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import net.maizegenetics.gbs.util.BaseEncoder; /** * Takes a key file and then sets up the methods to decode a read from ...
package org.owasp.esapi.reference; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.text.DateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; impo...
package org.spongepowered.api.world; /** * An enumeration of default {@link GeneratorType}s. */ public final class GeneratorTypes { public static final GeneratorType DEBUG = null; public static final GeneratorType DEFAULT = null; public static final GeneratorType FLAT = null; public static final Gener...
package org.testng.reporters.jq; import org.testng.IInvokedMethod; import org.testng.ISuite; import org.testng.ITestNGMethod; import org.testng.ITestResult; import org.testng.reporters.XMLStringBuffer; import java.util.Collections; import java.util.Comparator; import java.util.List; public class ChronologicalPanel exte...
package nu.validator.servlet; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.SequenceInputStream; import java.ne...
package org.thilanka.messaging.domain; /** * This enum holds the different peripheral IO types available on the Android * Things Board. * * @author Thilanka Munasinghe (thilankawillbe@gmail.com) */ public enum PeripheralIO { GPIO("gpio"), PWM("pwm"), I2C("i2c"), SPI("spi"), UART("uart"), I2S("i2s"), ...
package romelo333.notenoughwands.blocks; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.block.Block; import net.minecraft.block.ITileEntityProvider; import net.minecraft.block.material.Material; import net.minecraft.client.particle.EffectRenderer; import net.minecraft...
package sw.chudnovskyalgorithm; import org.apache.commons.lang3.tuple.ImmutablePair; import org.apache.commons.lang3.tuple.Pair; import org.apfloat.Apfloat; import org.apfloat.ApfloatMath; import org.apfloat.ApintMath; import java.util.ArrayList; import java.util.List; import java.util.concurrent.*; /* * @author scott...
package org.eclipse.imp.pdb.facts.impl; import java.math.BigInteger; import java.net.URI; import java.net.URISyntaxException; import java.util.concurrent.atomic.AtomicInteger; import org.eclipse.imp.pdb.facts.IBool; import org.eclipse.imp.pdb.facts.IDateTime; import org.eclipse.imp.pdb.facts.IInteger; import org.eclips...
package uk.gov.verifiablelog.merkletree; import java.security.MessageDigest; import java.util.*; import java.util.function.BiFunction; import java.util.function.Supplier; public class MerkleTree { private final MessageDigest messageDigest; private final BiFunction<Integer, Integer, Iterator<byte[]>> leafDAOFunc...
package org.mtransit.android.ui.fragment; import java.util.ArrayList; import java.util.List; import org.mtransit.android.R; import org.mtransit.android.commons.BundleUtils; import org.mtransit.android.commons.KeyboardUtils; import org.mtransit.android.commons.LocationUtils; import org.mtransit.android.commons.MTLog; im...
package com.joelapenna.foursquared; import com.joelapenna.foursquare.Foursquare; import com.joelapenna.foursquare.error.FoursquareException; import com.joelapenna.foursquare.types.Checkin; import com.joelapenna.foursquare.types.Group; import com.joelapenna.foursquared.R.drawable; import com.joelapenna.foursquared.app.L...
package me.exphc.EnchantMore; import java.util.Random; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.util.HashMap; import java.util.Set; import java.util.HashSet; import java.util.UUID; import java.util.Iterator; import ja...
package org.pentaho.hadoop.mapreduce; import java.io.IOException; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.UUID; import org.apache.hadoop.mapred.JobConf; import org.apache.hadoop.mapred.MapRunnable; import org.apache.hadoop.mapred.OutputCollector; import org.apache....
package org.springframework.beans; /** * Mutable implementation of SortDefinition. * Supports toggling the ascending value on setting the same property again. * @author Juergen Hoeller * @author Jean-Pierre Pawlak * @since 26.05.2003 * @see #setToggleAscendingOnProperty */ public class MutableSortDefinition impl...
package edu.wustl.catissuecore.util.global; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Collection; import java.util.Date; import java.util.Iterator; import java.util.Map; import edu.wustl.common.util.logger.Logger; /** * Utility Class contain general...
package org.spoofax.jsglr2.recovery; import java.util.HashSet; import java.util.Set; import org.spoofax.jsglr2.parseforest.Disambiguator; import org.spoofax.jsglr2.parseforest.IDerivation; import org.spoofax.jsglr2.parseforest.IParseForest; import org.spoofax.jsglr2.parseforest.IParseNode; import org.spoofax.jsglr2.par...
package org.knopflerfish.bundle.desktop.swing; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.Dimension; import java.awt.Graphics; import java.awt.GridLayout; import java.awt.Point; import java.awt.Rectangle; import java.awt.SystemColor; import java.awt.Toolkit; import j...
package shillelagh; import android.annotation.TargetApi; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.os.Build; import android.os.CancellationSignal; import android.util.Log; import java.lang.reflect.InvocationTargetExcept...
package edu.rice.rubbos.beans; import java.util.GregorianCalendar; import java.lang.String; import java.text.*; /** This class provides additionnal functions that the GregorianCalendar * class does not provide. It is mainly to compute time differences and * display the date in a database understandable format. * @au...
package cz.hobrasoft.pdfmu; import net.sourceforge.argparse4j.inf.Namespace; import net.sourceforge.argparse4j.inf.Subparser; import net.sourceforge.argparse4j.inf.Subparsers; /** * PDFMU operation * * A PDFMU operation typically manipulates a PDF file. * * @author <a href="mailto:filip.bartek@hobrasoft.cz">Filip ...
package ctci; import ctci.LinkedList2_1.Node; /** * 2 numbers are implemented by a linked list, * where each node is one digit. The digits are * stored in reverse order, such that the element * at the head is in the 1's place. Return the sum * of these two number in a linked list in the * reverse order. * Assump...
package br.sp.unifae.cris.comp7.view; import br.sp.unifae.cris.comp7.model.Cliente; import java.awt.event.ActionEvent; import java.util.List; import javax.swing.Action; import javax.swing.DefaultComboBoxModel; import javax.swing.JComboBox; import javax.swing.JFormattedTextField; import javax.swing.JLabel; import javax....
package com.intellij.codeInsight.documentation; import com.intellij.codeInsight.CodeInsightBundle; import com.intellij.codeInsight.TargetElementUtil; import com.intellij.codeInsight.documentation.actions.ShowQuickDocInfoAction; import com.intellij.codeInsight.hint.HintManagerImpl; import com.intellij.codeInsight.hint.P...
package algorithms.countingsortthree; import java.util.Scanner; public class Solution { private static Scanner scanner; public static void main(String[] args) { scanner = new Scanner(System.in); int n = scanner.nextInt(); int numberCount[] = new int[100]; for (int i = 0; i <= n; ...
package ch.idsia.benchmark.mario.engine.sprites; import ch.idsia.benchmark.mario.engine.Art; import ch.idsia.benchmark.mario.engine.GlobalOptions; import ch.idsia.benchmark.mario.engine.LevelScene; import ch.idsia.benchmark.mario.engine.level.Level; import ch.idsia.benchmark.mario.environments.Environment; import ch.id...
package org.jetbrains.plugins.groovy.debugger; import com.intellij.debugger.engine.evaluation.CodeFragmentFactory; import com.intellij.debugger.engine.evaluation.TextWithImports; import com.intellij.debugger.engine.evaluation.expression.EvaluatorBuilder; import com.intellij.debugger.engine.evaluation.expression.Evaluat...