answer
stringlengths
17
10.2M
package fr.landel.utils.assertor; import java.util.Objects; import java.util.function.BiPredicate; import java.util.function.Predicate; import java.util.regex.Pattern; /** * Utility class to prepare the check of {@link Throwable} * * @since Mar 21, 2017 * @author Gilles * */ public class AssertorThrowable extends...
package org.sameas.sameas4j.core; import java.net.URI; import java.util.Collection; import java.util.HashSet; import java.util.Set; public class Equivalence { private URI uri; private int amount; private final Set<URI> duplicates = new HashSet<URI>(); public URI getUri() { return this.uri; }...
package ru.job4j.parsing; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.HashMap; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Parsing { /** * * @param date * @return */ pub...
package gr.iti.mklab.reveal.crawler; import gr.iti.mklab.reveal.rabbitmq.RabbitMQPublisher; import gr.iti.mklab.reveal.util.Configuration; import gr.iti.mklab.reveal.visual.MediaCallable; import gr.iti.mklab.reveal.visual.MediaCallableResult; import gr.iti.mklab.reveal.visual.VisualIndexer; import gr.iti.mklab.reveal.v...
package org.scribe.oauth; import org.scribe.builder.api.*; import org.scribe.model.*; /** * OAuth 1.0a implementation of {@link OAuthService} * * @author Pablo Fernandez */ public class OAuth10aServiceImpl implements OAuthService { private static final String NO_SCOPE = null; private static final String VERSION...
package ru.job4j.tracker; /** * User interface class. */ public class StartUi { /** * @param ADD - add new record. */ private static final String ADD = "0"; /** * @param SHOW_ALL - view all records. */ private static final String SHOW_ALL = "1"; /** * @param EDIT - edit record by...
package org.datazup.expression; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.math.NumberUtils; import org.datazup.exceptions.EvaluatorException; import org.datazup.pathextractor.AbstractResolverHelper; import org.datazup.pathextractor.AbstractVariableSet; import org.datazup.utils.JsonUti...
package io.github.classgraph; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.net.URLClassLoader; import java.nio.ByteBuffer; import java.util.Collections; import java.util.Enumeration; import java.util.LinkedHashSet; import java.util.Set; import nonapi.io.github.classgraph.scan...
package org.smoothbuild.exec.compute; import static org.smoothbuild.exec.compute.TaskKind.BUILDER; import static org.smoothbuild.exec.compute.TaskKind.MAP; import static org.smoothbuild.lang.base.define.Function.PARENTHESES; import static org.smoothbuild.lang.base.define.MapFunction.MAP_FUNCTION_NAME; import static org...
package prm4j.logic; import static prm4j.Util.intersection; import static prm4j.Util.isSubset; import static prm4j.Util.tuple; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Map.Entry; import jav...
package org.granitemc.granite.utils; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.List; public class CommandProxy implements java.lang.reflect.InvocationHandler { public Object obj; public CommandProxy(Object obj) { thi...
* /** * * @DynamicUtils 1.0 19/02/13. Sistema Integral de Gestion Hospitalaria */ package py.una.med.base.reports; import java.awt.Color; import java.lang.reflect.Field; import java.lang.reflect.ParameterizedType; import java.math.BigDecimal; import java.util.Collection; import java.util.List; import java.util.Map; ...
package org.hackreduce.models; import java.util.logging.Logger; import org.apache.hadoop.io.Text; public class FreebaseQuadRecord { Logger LOG = Logger.getLogger(FreebaseQuadRecord.class.getName()); public enum Type {OBJECT,TEXT,KEY,DATE,NUMBER,URL,VALUE}; private String source; private String property;...
package jenkins.plugins.coverity; import com.coverity.ws.v3.*; import com.thoughtworks.xstream.XStream; import com.thoughtworks.xstream.converters.Converter; import com.thoughtworks.xstream.converters.SingleValueConverter; import hudson.*; import hudson.model.*; import hudson.tasks.BuildStepDescriptor; import hudson.ta...
package org.headstar.scheelite; import com.google.common.base.Optional; public class TransitionAdapter<T, U> implements Transition<T, U> { private final U fromState; private final U toState; private final Action<T> action; private final Guard<T> guard; public TransitionAdapter(U fromState, U toState...
package me.coley.recaf.decompile.cfr; import me.coley.recaf.decompile.Decompiler; import me.coley.recaf.util.AccessFlag; import me.coley.recaf.workspace.Workspace; import org.benf.cfr.reader.api.*; import org.benf.cfr.reader.util.getopt.*; import java.lang.reflect.Field; import java.util.*; /** * CFR decompiler implem...
package ru.org.linux.util.bbcode.tags; import ru.org.linux.util.bbcode.Parser; import ru.org.linux.util.bbcode.nodes.Node; import ru.org.linux.util.bbcode.nodes.TextNode; import java.sql.Connection; import java.util.Set; public class CutTag extends HtmlEquivTag{ private boolean renderCut; private boolean cleanC...
package org.icij.extract.solr; import org.icij.extract.solr.SolrDefaults; import java.util.Map; import java.util.HashMap; import java.util.logging.Level; import java.util.logging.Logger; import java.io.IOException; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.security.MessageDi...
package me.deftware.client.framework.utils; import net.minecraft.client.renderer.texture.DynamicTexture; import net.minecraft.client.renderer.texture.NativeImage; import org.lwjgl.opengl.GL11; import java.awt.image.BufferedImage; import java.awt.image.DataBufferByte; import java.io.ByteArrayInputStream; import java.io....
package sizebay.catalog.client.model; import java.util.*; import com.fasterxml.jackson.annotation.JsonValue; import lombok.*; @Getter @Setter @EqualsAndHashCode public class Product { private Long id; private String name; private String description; private String permalink; private String images; p...
package org.jenkinsci.remoting.nio; import hudson.remoting.AbstractByteArrayCommandTransport; import hudson.remoting.AbstractByteArrayCommandTransport.ByteArrayReceiver; import hudson.remoting.Callable; import hudson.remoting.Capability; import hudson.remoting.Channel; import hudson.remoting.Channel.Mode; import hudson...
package sizebay.catalog.client.model; import com.fasterxml.jackson.annotation.*; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import java.io.Serializable; import java.math.BigDecimal; import java.time.ZoneId; import java.time.ZonedDateTime; import java.util.Date; import jav...
package org.lantern; import java.io.IOException; import java.net.InetSocketAddress; import java.net.URI; import java.util.HashMap; import java.util.concurrent.Executors; import javax.net.ssl.SSLEngine; import org.apache.commons.lang.StringUtils; import org.jboss.netty.bootstrap.ClientBootstrap; import org.jboss.netty.c...
package net.imagej.legacy.plugin; import ij.IJ; import java.awt.GraphicsEnvironment; import java.lang.reflect.InvocationTargetException; import javax.swing.SwingUtilities; import org.scijava.Context; /** * The <i>ij1-patcher</i> defaults to running this class whenever a new * {@code PluginClassLoader} is initialized....
package org.lightmare.deploy.management; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.Properties; import org.lightmare.config.ConfigKeys; import org.lightmare.config.Configuration; import org.lightmare.utils.CollectionUtils; import org.lig...
package net.malisis.core.renderer.font; import java.awt.Font; import java.awt.FontFormatException; import java.awt.font.FontRenderContext; import java.awt.font.LineMetrics; import java.awt.geom.Rectangle2D; import java.awt.image.BufferedImage; import java.io.File; import java.io.FileInputStream; import java.io.FileNotF...
package org.osiam.resources.helper; import org.osiam.resources.scim.*; import org.osiam.storage.dao.ExtensionDao; import org.osiam.storage.dao.UserDAO; import org.osiam.storage.entities.*; import org.osiam.storage.entities.extension.ExtensionEntity; import org.osiam.storage.entities.extension.ExtensionFieldEntity; impo...
package net.rebworks.lunchy.injection; import net.rebworks.lunchy.annotations.Cached; import net.rebworks.lunchy.annotations.Default; import net.rebworks.lunchy.domain.Parser; import net.rebworks.lunchy.domain.Place; import net.rebworks.lunchy.domain.date.DateCalculator; import net.rebworks.lunchy.domain.io.HttpClient;...
package org.restheart.plugins.services; import org.restheart.plugins.Service; import com.mongodb.client.MongoCollection; import com.mongodb.client.model.FindOneAndUpdateOptions; import io.undertow.server.HttpServerExchange; import io.undertow.util.HeaderValues; import io.undertow.util.Headers; import java.io.IOExceptio...
package net.spy.memcached.internal; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import java.util.concurrent.atomic.AtomicReference; import net.spy.memca...
package xdean.jex.extra.rx; import rx.Observable; import rx.Subscription; public class ObservableWrapper implements Subscription { private final Observable<?> ob; private Subscription subscription; public ObservableWrapper(Observable<?> ob) { this.ob = ob .onErrorResumeNext(e -> { unsubscrib...
package org.scy.common.web.controller; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.annotation.JSONField; public class HttpResult { public final static int OK = 200; public final static int REDIRECT = 302; public final static int NOAUTH = 401; public final static int FORBID = 403; p...
package nl.hsac.fitnesse.util.iban; public class FRIbanGenerator extends IbanGenerator { /** * Generates random number to create IBAN. * * @param bankCode bank code to (blank for random). * @return random IBAN. */ public String generateIban(String bankCode) { String countryCode ...
package org.se.lab.service; import java.util.List; import javax.ejb.Stateless; import javax.inject.Inject; import org.apache.log4j.Logger; import org.se.lab.data.Community; import org.se.lab.data.Post; import org.se.lab.data.PostDAO; import org.se.lab.data.User; @Stateless public class ActivityStreamService { priva...
// P a g e R h y t h m // // <editor-fold defaultstate="collapsed" desc="hdr"> // This program is free software: you can redistribute it and/or modify it under the terms of the // </editor-fold> package org.audiveris.omr.sheet.rhythm; import or...
package org.textfiledatatools.core; import org.textfiledatatools.core.producer.RecordProducer; import org.textfiledatatools.core.producer.UncheckedProducerException; import java.util.function.Function; import java.util.function.Supplier; import java.util.stream.Stream; /** * This class consists of {@code static} utili...
package org.treetank.pagelayer; public class NativeCompression implements ICompression { public synchronized native byte[] compress( final byte[] input, final int offset, final int length); public synchronized native byte[] decompress( final byte[] input, final int offset, final ...
package pixlepix.auracascade.block; import net.minecraft.block.Block; import net.minecraft.block.ITileEntityProvider; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.player.EntityPlayer; i...
package pixlepix.auracascade.block.tile; import cpw.mods.fml.common.network.NetworkRegistry; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.nbt.NBTTagList; import net.minecraft.network.NetworkManager; import net.minecraft.network.Packet; import net.minecraft.network.play.server.S35PacketUpdateTileEntity;...
package org.amc.game.chessserver; import org.amc.game.chess.ChessGame; import org.amc.game.chess.ChessGame.GameState; import org.amc.util.Observer; import org.amc.util.Subject; import org.apache.log4j.Logger; import org.springframework.messaging.simp.SimpMessagingTemplate; import java.util.HashMap; import java.util.Map...
package pl.morecraft.dev.stm.service; import lombok.extern.slf4j.Slf4j; import org.modelmapper.ModelMapper; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import pl.morecraft.dev.stm.domain.Project; import pl.morecraft.dev.stm.domain.Task; import pl.morecra...
package reciter.database.dynamodb; import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.AWSCredentialsProvider; import com.amazonaws.auth.AWSCredentialsProviderChain; import com.amazonaws.auth.AWSStaticCredentialsProvider; import com.amazonaws.auth.BasicAWSCredentials; import com.amazonaws.client.builder...
package org.apache.mesos.hdfs.config; import com.google.inject.Singleton; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configured; import org.apache.hadoop.fs.Path; import java.net.InetAddress; import java.net.UnknownHostException; import java.util.Properties; @Singleton public class Sched...
package rmblworx.tools.timey.gui; import java.io.IOException; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.util.Collections; import java.util.List; import java.util.ResourceBundle; import javafx.application.Platform; import javafx.beans.value.ChangeListener; import javafx.beans...
package ca.ualberta.cmput301f17t08.habitrabbit; import java.util.ArrayList; public class User { private String username; private ArrayList<Habit> habitList; private ArrayList<User> followerList; private ArrayList<User> followingList; private ArrayList<User> followRequests; private ArrayList<Habi...
package org.cru.godtools.s3; import javax.validation.constraints.NotNull; import javax.ws.rs.BadRequestException; import javax.ws.rs.core.MediaType; import java.net.MalformedURLException; import java.net.URL; public class AmazonS3GodToolsConfig { public static final String BUCKET_NAME = "cru-godtools"; private ...
package org.dita.dost.module; import com.google.common.annotations.VisibleForTesting; import org.apache.commons.io.FileUtils; import org.dita.dost.exception.DITAOTException; import org.dita.dost.log.DITAOTLogger; import org.dita.dost.pipeline.AbstractPipelineInput; import org.dita.dost.pipeline.AbstractPipelineOutput; ...
package seedu.tasklist.logic.commands; import java.util.HashSet; import java.util.Set; import seedu.tasklist.commons.exceptions.IllegalValueException; import seedu.tasklist.model.tag.Tag; import seedu.tasklist.model.tag.UniqueTagList; import seedu.tasklist.model.task.*; /** * Adds a person to the address book. */ pub...
package org.freecode.irc.votebot.api; import org.freecode.irc.Privmsg; import org.freecode.irc.Transmittable; import java.util.regex.Matcher; import java.util.regex.Pattern; public abstract class CommandModule extends FVBModule { private static final Pattern COMMAND_PATTERN = Pattern.compile("(!([^ ]+))|(!(.+?) (.+...
package com.marverenic.music.fragments; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.LayoutInflater; import a...
package org.jenkinsci.plugins.qftest; import hudson.EnvVars; import hudson.tasks.CommandInterpreter; import hudson.tasks.BatchFile; import hudson.tasks.Shell; import java.util.ArrayList; /** * * This class creates a Batch/Shell script with all the information given by * the user * * @author QFS, Sebastian Kleber ...
package tigase.server.xmppsession; import tigase.auth.TigaseSaslProvider; import tigase.conf.Configurable; import tigase.db.AuthRepository; import tigase.db.NonAuthUserRepository; import tigase.db.NonAuthUserRepositoryImpl; import tigase.db.RepositoryFactory; import tigase.db.TigaseDBException; import tigase.db.UserRep...
package com.teinvdlugt.android.fractals; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.os.AsyncTask; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View;...
package com.mapzen.tangram; import android.content.Context; import android.opengl.GLSurfaceView; import android.os.AsyncTask; import android.os.Bundle; import android.support.annotation.NonNull; import android.util.AttributeSet; import android.widget.FrameLayout; public class MapView extends FrameLayout { protected...
// $Id: PresentsClient.java,v 1.15 2001/08/04 03:26:00 mdb Exp $ package com.threerings.cocktail.cher.server; import java.io.IOException; import java.util.HashMap; import com.threerings.cocktail.cher.Log; import com.threerings.cocktail.cher.data.ClientObject; import com.threerings.cocktail.cher.dobj.*; import com.three...
package alfredo.util; import java.util.ArrayList; /** * * @author TheMonsterOfTheDeep * @param <T> The type that this Dict holds */ public class IndexedStringDict<T> { private class Element { String key; T value; public Element(String key, T value) { this.key = key; ...
package trader.exchanges.backtest; import com.opencsv.CSVReader; import eu.verdelhan.ta4j.Tick; import eu.verdelhan.ta4j.TimeSeries; import org.joda.time.DateTime; import org.joda.time.Instant; import org.joda.time.Period; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import ...
package lua.addon.luacompat; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintStream; import lua.CallInfo; import lua.GlobalState; import lua.Lua; import lua.StackState; import lua.VM; impo...
package com.wsfmn.habitcontroller; import com.wsfmn.habit.ProfileName; import java.util.concurrent.ExecutionException; // WILL BE RENAMED SOMETHING ELSE... PROFILEACTIVITY HAS ONLINECONTROLLER public class ProfileController { private static ProfileController INSTANCE = new ProfileController(); /** * Instan...
package com.xengar.android.weather; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; import android.support.v4.app.Fragment; import android.text.format.Time; import android.util.Log; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuInflater; import andr...
package org.organicdesign.fp.experiments; import org.organicdesign.fp.Option; import org.organicdesign.fp.function.Function1; import org.organicdesign.fp.function.Function2; import java.util.List; // We model this as a linked list so that each transition can have it's own output type, building a type-safe bridge // fro...
package com.ionic.IonicSoftKeyboardInput; import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaInterface; import org.apache.cordova.CordovaPlugin; import org.apache.cordova.CordovaWebView; import org.apache.cordova.PluginResult.Status; import org.json.JSONArray; import org.json.JSONException; imp...
package com.yemyatthu.bummememaker; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Typeface; import android.media....
package animesearch.model; /** * Temporary builder, later refactoring. */ public class QueryBuilder { private static String[] seasonInYear = {"Spring", "Summer", "Fall", "Winter"}; private QueryBuilder() {} static String buildSearchAnimeByNameQuery(String approximateName, SearchFilter searchFilter) { ...
package com.rft.entities; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.NamedStoredProcedureQuery; import javax.persistence.StoredProcedureParameter; import javax.persistence.Table; import javax.persistence.Id; import javax.persistence.Pa...
package com.valkryst.VTerminal.misc; import org.junit.Assert; import org.junit.Test; import java.awt.Color; import java.util.concurrent.ThreadLocalRandom; public class ColorFunctionsTest { @Test(expected=NullPointerException.class) public void testShade_withNullColor() { ColorFunctions.shade(null, 1); ...
// Source file generated by Etomica package etomica.simulation.prototypes; import etomica.action.BoxImposePbc; import etomica.action.activity.ActivityIntegrate; import etomica.api.IAtomType; import etomica.api.IBox; import etomica.api.IPotentialMaster; import etomica.box.Box; import etomica.config.ConfigurationLattice;...
package com.zhaoweihao.mrtranslator.ui; import android.content.ClipData; import android.content.ClipboardManager; import android.content.Context; import android.content.Intent; import android.support.annotation.NonNull; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Navi...
package org.tapestry.controller; import java.util.ArrayList; import java.util.List; import java.util.Properties; import javax.annotation.PostConstruct; import javax.servlet.http.HttpSession; import org.apache.log4j.Logger; import org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestWrapper; impo...
package fr.utc.assos.uvweb.ui.activity; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentStatePagerA...
package blue.lapis.common.command; import org.spongepowered.api.command.CommandSource; import javax.annotation.Nonnull; /** * Represents the environment in which a command has been called; its CommandConfiguration, its CommandSource, * parsed arguments, etc. */ public interface CommandContext { /** * @retur...
package com.intellij.ide.highlighter; import com.intellij.ide.IdeBundle; import com.intellij.ide.structureView.StructureViewBuilder; import com.intellij.openapi.fileTypes.FileType; import com.intellij.openapi.project.Project; import com.intellij.openapi.vfs.CharsetToolkit; import com.intellij.openapi.vfs.VirtualFile; i...
package org.jpos.gl; import java.util.Date; import java.util.List; import java.util.Optional; import java.util.ArrayList; import java.math.BigDecimal; import java.text.ParseException; import org.jdom2.Element; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.builder.EqualsBuilder; import org....
package services; import java.util.ArrayList; import java.util.List; import java.util.UUID; import java.util.logging.Logger; import db.WebShopDB; import io.grpc.stub.StreamObserver; import services.WebShopGrpc.WebShop; import services.Webshop.Availability; import services.Webshop.Costs; import services.Webshop.ListProd...
package org.eclipse.e4.internal.tools.bundles.spy; import javax.inject.Inject; import org.eclipse.e4.tools.bundles.spy.BundleSpyPart; import org.eclipse.jface.resource.ImageRegistry; import org.eclipse.jface.viewers.ColumnLabelProvider; import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Color; import org.eclip...
package me.devsaki.hentoid.database.domains; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import com.annimon.stream.Collectors; import com.annimon.stream.Stream; import java.io.IOException; import java.io.Serializable; import java.util.ArrayLi...
// T u p l e t s B u i l d e r // // <editor-fold defaultstate="collapsed" desc="hdr"> // This program is free software: you can redistribute it and/or modify it under the terms of the // </editor-fold> package org.audiveris.omr.sheet.rhythm; import or...
package br.com.caelum.parsac.util; import br.com.caelum.parsac.modelo.Aberto; import br.com.caelum.parsac.modelo.Alternativa; import br.com.caelum.parsac.modelo.MultiplaEscolha; import br.com.caelum.parsac.modelo.Secao; import com.thoughtworks.xstream.converters.Converter; import com.thoughtworks.xstream.converters.Mar...
package org.jboss.as.cli; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileDescriptor; import java.io.FileInputStream; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.InputStream; import java.io.OutputStreamWriter; imp...
package net.squanchy.support.widget; import android.content.Context; import android.graphics.Outline; import android.util.AttributeSet; import android.view.View; import android.view.ViewOutlineProvider; import android.widget.ImageView; public class CircleImageView extends ImageView { private static final CircularOu...
package picard.illumina; import htsjdk.samtools.metrics.MetricBase; import htsjdk.samtools.metrics.MetricsFile; import htsjdk.samtools.util.IOUtil; import htsjdk.samtools.util.Log; import org.w3c.dom.Document; import org.w3c.dom.NamedNodeMap; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import picard.PicardExc...
package ru.job4j.wait; import net.jcip.annotations.GuardedBy; import net.jcip.annotations.ThreadSafe; import java.util.LinkedList; import java.util.Queue; /** * Class <Name class>. * * @author Alexey Rastorguev (rastorguev00@gmail.com) * @version 0.1 * @since 09.02.2018 */ @ThreadSafe public class WorkQueue { ...
package org.jboss.as.cli; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileDescriptor; import java.io.FileInputStream; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.InputStream; import java.io.OutputStreamWriter; imp...
package org.stepic.droid.ui.fragments; import android.os.AsyncTask; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.design.widget.TabLayout; import android.support.v4.view.ViewPager; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; i...
package pixlepix.auracascade.block.tile; import cofh.api.energy.IEnergyProvider; import cofh.api.energy.IEnergyReceiver; import cofh.api.transport.IEnderEnergyHandler; import net.minecraft.tileentity.TileEntity; import net.minecraftforge.common.util.ForgeDirection; import pixlepix.auracascade.AuraCascade; import pixlep...
/** * Implements operations for managing the collection table of the aidr_predict DB * * @author Koushik */ package qa.qcri.aidr.dbmanager.ejb.remote.facade.imp; import java.math.BigInteger; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import javax.ejb.EJB; import javax.ejb.EJBTransa...
package teammemes.tritonbudget.db; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.List; public class HistoryDataSource extends BaseDataSource{ public HistoryDataSource(Context conte...
package pixlepix.auracascade.render; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; import net.minecraft.entity.item.EntityItem; import net.minecraft.item.ItemStack; import pixlepix.auracascade.block....
package edu.pitt.apollo.db; //import edu.pitt.apollo.types.UrlOutputResource; //import edu.pitt.apollo.types.VisualizerResult; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.sql.Connection; import java.sql.Dr...
package ch.sportchef.business; import pl.setblack.airomem.core.SimpleController; import java.io.Serializable; import java.nio.file.Path; import java.nio.file.Paths; import java.util.function.Supplier; public enum PersistenceManager { ; private static final String SPORTCHEF_DIRECTORY_NAME = ".sportchef"; //NON-N...
package se.imagick.ta.filter; import com.ibm.icu.text.CharsetDetector; import com.ibm.icu.text.CharsetMatch; import java.io.*; import java.util.Optional; public class EncodingCorrectReader { public static Optional<Reader> getReader(String fileName) throws IOException { return getReader(new FileInputStream(f...
package edu.pitt.apollo.db; //import edu.pitt.apollo.types.UrlOutputResource; //import edu.pitt.apollo.types.VisualizerResult; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.sql.Connection; import java.sql.Dr...
package tfactory.server.jpa.service; import tfactory.server.jpa.exception.TFactoryExceptionCodeEnum; import tfactory.server.jpa.exception.TFactoryJPAException; import tfactory.server.jpa.util.JPAUtil; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.EntityT...
package edu.pitt.apollo.db; //import edu.pitt.apollo.types.UrlOutputResource; //import edu.pitt.apollo.types.VisualizerResult; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.sql.Connection; import java.sql.Dr...
package tw.edu.ncu.cc.manage.config; import java.util.Properties; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.AdviceMode; import org.springframework.context.annotation.Bean; import org.springframework.context.annotatio...
package net.sourceforge.texlipse.builder; import java.util.Stack; import java.util.StringTokenizer; import java.util.regex.Matcher; import java.util.regex.Pattern; import net.sourceforge.texlipse.TexlipsePlugin; import net.sourceforge.texlipse.properties.TexlipseProperties; import org.eclipse.core.resources.IContainer;...
package com.conveyal.r5.profile; import com.conveyal.r5.transit.TransitLayer; import com.conveyal.r5.transit.TripPattern; import com.conveyal.r5.transit.TripSchedule; import gnu.trove.list.TIntList; import gnu.trove.list.array.TIntArrayList; import gnu.trove.map.TIntIntMap; import org.slf4j.Logger; import org.slf4j.Log...
package uk.ac.ebi.biosamples.model.entities; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonSetter; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import uk.ac.ebi.biosamples.model.enums.BioSamplesRelationType; import uk.ac.ebi.biosamples.mod...
package org.helm.notation.tools; import chemaxon.marvin.plugin.PluginException; import chemaxon.struc.MolAtom; import chemaxon.struc.Molecule; import org.helm.notation.MonomerException; import org.helm.notation.MonomerFactory; import org.helm.notation.MonomerStore; import org.helm.notation.NotationConstant; import org....
package com.couchbase.lite.support; import com.couchbase.lite.Database; import com.couchbase.lite.Manager; import com.couchbase.lite.auth.AuthenticatorImpl; import com.couchbase.lite.auth.Authenticator; import com.couchbase.lite.util.Log; import com.couchbase.lite.util.URIUtils; import com.couchbase.lite.util.Utils; im...