answer
stringlengths
17
10.2M
package com.fsck.k9.mail.transport; import android.util.Log; import com.fsck.k9.K9; import com.fsck.k9.mail.*; import com.fsck.k9.mail.Message.RecipientType; import com.fsck.k9.mail.filter.Base64; import com.fsck.k9.mail.filter.EOLConvertingOutputStream; import com.fsck.k9.mail.filter.LineWrapOutputStream; import com.f...
package com.jwetherell.algorithms; import java.text.DecimalFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.Map; import java.util.Random; import java.util.Set; import com.jwetherell.algorithms.data_structures.AVLTree; import com.jwetherell.algorithms.data_struct...
package javax.enterprise.inject;
package com.kapouta.katools; import java.util.Vector; import javax.microedition.khronos.egl.EGLConfig; import javax.microedition.khronos.opengles.GL10; import android.opengl.GLSurfaceView.Renderer; import android.view.MotionEvent; import android.view.View; import android.view.View.OnTouchListener; public abstract class...
package ru.job4j.convert; import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * Converts two-dimension array to list and back side. * * @author abondarev. * @since 19.08.2017 */ public class ConvertList { /** * Converts array specified as parameter into list. * * @par...
package com.lysdev.transperthcached; // Standard library import java.util.ArrayList; import java.util.Collections; import java.util.Vector; // android sdk import android.app.AlertDialog; import android.os.Bundle; import android.support.v4.app.DialogFragment; import android.support.v4.app.FragmentActivity; import androi...
package cn.jingzhuan.lib.chart2.base; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Point; import android.graphics.PointF; import android.graphics.RectF; import android.os.Build; import androidx.annotation.Fl...
package com.nucleus.android; import java.nio.Buffer; import java.nio.IntBuffer; import com.nucleus.opengl.GLES20Wrapper; public class AndroidGLES20Wrapper extends GLES20Wrapper { @Override public void glAttachShader(int program, int shader) { android.opengl.GLES20.glAttachShader(program, shader); } ...
package com.opencms.file.mySql; import javax.servlet.http.*; import java.util.*; import java.net.*; import java.io.*; import source.org.apache.java.io.*; import source.org.apache.java.util.*; import com.opencms.core.*; import com.opencms.file.*; import com.opencms.template.*; public class CmsResourceBroker extends com....
package com.psddev.dari.db; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Type; import java.lang.reflect.TypeVariable; import java.net.URI; import java.net.URL; import java.util.ArrayList; import java.util.Collection; import...
package dr.app.beauti.options; import dr.app.beauti.types.*; import dr.evomodel.coalescent.VariableDemographicModel; import dr.evomodelxml.speciation.BirthDeathModelParser; import dr.evomodelxml.speciation.BirthDeathSerialSamplingModelParser; import dr.math.MathUtils; import java.util.List; /** * @author Alexei Drummo...
package de.kleppmann.maniation.maths; import java.text.DecimalFormat; import java.util.List; public class SparseMatrix implements Matrix { private int rows, columns; private Slice[] slices; private SparseMatrix transpose, inverse; private SparseMatrix(boolean nonsense, int rows, int columns, Slice[] sli...
package dr.evomodel.arg.likelihood; import dr.evolution.alignment.PatternList; import dr.evolution.tree.NodeRef; import dr.evolution.tree.Tree; import dr.evolution.util.TaxonList; import dr.evomodel.arg.ARGModel; import dr.evomodel.arg.ARGTree; import dr.evomodel.arg.operators.ARGPartitioningOperator; import dr.evomode...
// CreateConfiguration.java -- // CreateConfiguration.java is part of ElectricCommander. package ecplugins.esx.client; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import com.google.gwt.http.client.Request; import com.google.gwt.http.cli...
package edu.iu.grid.oim.servlet; import java.io.IOException; import java.io.PrintWriter; import java.sql.SQLException; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.LinkedHashMap; import javax.servlet.ServletException; import javax.servlet.http.HttpServletReques...
package com.mikepenz.fastadapter_extensions.utilities; import android.util.Log; import com.mikepenz.fastadapter.FastAdapter; import com.mikepenz.fastadapter.IAdapter; import com.mikepenz.fastadapter.IExpandable; import com.mikepenz.fastadapter.IItem; import com.mikepenz.fastadapter.IItemAdapter; import com.mikepenz.fas...
package edu.washington.escience.myria.io; import java.io.IOException; import java.io.OutputStream; import java.net.URI; import java.util.Objects; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import com.fasterxml.jackson.annotation.JsonProperty; i...
package com.carlosdelachica.easyrecycleradapters.adapter; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.View; import android.view.ViewGroup; import com.carlosdelachica.easyrecycleradapters.adapter.debouncedlisteners.DebouncedOnClickListener; import com.carlosdelachic...
package com.nhl.link.move.runtime.extractor.model; import com.nhl.link.move.LmRuntimeException; import com.nhl.link.move.extractor.model.ExtractorModelContainer; import com.nhl.link.move.runtime.LmRuntimeBuilder; import org.apache.cayenne.di.Inject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.i...
package liquibase.integration.commandline; import liquibase.resource.ResourceAccessor; import liquibase.util.StringUtils; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.net.URLClassLoader; import java.util.ArrayList; import java.util.Enumeration; import java.util.List; /** * I...
package liquibase.statementexecute; import liquibase.database.Database; import liquibase.database.core.MSSQLDatabase; import liquibase.database.core.MaxDBDatabase; import liquibase.database.core.MySQLDatabase; import liquibase.database.core.PostgresDatabase; import liquibase.database.core.SQLiteDatabase; import liquiba...
package com.powsybl.loadflow.validation; import java.io.IOException; import java.io.UncheckedIOException; import java.io.Writer; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Path; import java.util.Comparator; import java.util.Objects; import org.slf4j.Logger; import org.slf...
package gcm2sbml.gui.modelview; import gcm2sbml.gui.GCM2SBMLEditor; import gcm2sbml.parser.GCMFile; import gcm2sbml.util.GlobalConstants; import java.awt.geom.Point2D; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.util.HashMap; ...
package gcm2sbml.network; import gcm2sbml.parser.GCMFile; import gcm2sbml.parser.GCMParser; import gcm2sbml.util.GlobalConstants; import gcm2sbml.util.Utility; import gcm2sbml.visitor.AbstractPrintVisitor; import gcm2sbml.visitor.PrintActivatedBindingVisitor; import gcm2sbml.visitor.PrintActivatedProductionVisitor; imp...
package wombat.scheme; import java.io.*; import java.net.URISyntaxException; import java.util.*; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; import java.util.zip.ZipEntry; import java.util.zip.ZipFile; import wombat.scheme.util.InteropAPI; /** * Class to wrap Petite binding...
package gcm2sbml.network; import gcm2sbml.parser.CompatibilityFixer; import gcm2sbml.parser.GCMFile; import gcm2sbml.parser.GCMParser; import gcm2sbml.util.GlobalConstants; import gcm2sbml.util.Utility; import gcm2sbml.visitor.AbstractPrintVisitor; import gcm2sbml.visitor.PrintActivatedBindingVisitor; import gcm2sbml.v...
package ol; import ol.View; import ol.MapOptions; import ol.ViewOptions; import ol.proj.Projection; import ol.OLFactory; import ol.proj.ProjectionOptions; /** * * @author Tino Desjardins * */ public class MapTest extends GwtOL3BaseTestCase { public void testMapCreation() { injectUrlAndTest(new TestWithI...
package org.motechproject.server.service; import org.junit.Test; import org.junit.runner.RunWith; import org.motechproject.model.InitiateCallData; import org.motechproject.server.service.ivr.IVRService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ContextConfigu...
package org.navalplanner.business.orders.entities; import static org.navalplanner.business.i18n.I18nHelper._; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Collections; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; imp...
package com.yahoo.vespa.hosted.provision.provisioning; import com.yahoo.config.provision.ApplicationId; import com.yahoo.config.provision.ClusterMembership; import com.yahoo.config.provision.ClusterSpec; import com.yahoo.config.provision.Flavor; import com.yahoo.config.provision.NodeResources; import com.yahoo.config.p...
// This file is part of the OpenNMS(R) Application. // OpenNMS(R) is a derivative work, containing both original code, included code and modified // and included code are below. // OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. // This program is free software; you can redistribute it and/or modify // ...
package org.onebeartoe.modeling.openscad.test.suite; import org.testng.annotations.Test; public class SegunanimousTest extends OpenScadTestSuiteTest { protected String outputPath = "src/main/generated-openscad/"; public SegunanimousTest() throws Exception { } @Test() public void test() { ...
package org.eclipse.emf.ecp.view.table.vaadin; import org.eclipse.emf.common.notify.Adapter; import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.impl.AdapterImpl; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.u...
package org.eclipse.mylar.ui.actions; import org.eclipse.jface.action.Action; import org.eclipse.jface.action.IAction; import org.eclipse.jface.viewers.ISelection; import org.eclipse.jface.viewers.StructuredViewer; import org.eclipse.jface.viewers.TreeViewer; import org.eclipse.jface.viewers.ViewerFilter; import org.ec...
package org.metaborg.spt.core.run; import org.metaborg.core.messages.IMessage; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; /** * Concrete instance of the output of evaluating a test expectation when running the test on Spoofax languages. */ public fina...
package vg.civcraft.mc.civmodcore.world.locations.global; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.bukkit.Chunk; import org.bukkit.Location; import org.bukkit.block.Block; import vg.civcraft.mc.civmodcore.CivModCorePlugin; import vg.civcraft.mc.civmod...
package org.gluu.persist.ldap.operation.impl; import java.security.GeneralSecurityException; import java.util.ArrayList; import java.util.Arrays; import java.util.Properties; import org.gluu.persist.exception.operation.ConfigurationException; import org.gluu.persist.operation.auth.PasswordEncryptionMethod; import org.g...
package com.redshape.persistence.dao.query; import com.redshape.persistence.dao.query.expressions.IExpression; import com.redshape.persistence.dao.query.statements.IStatement; import com.redshape.persistence.entities.IEntity; import java.util.List; import java.util.Map; /** * @author nikelin */ public class NamedQuer...
package org.elasticsearch.xpack.monitoring.resolver.indices; import org.apache.lucene.util.LuceneTestCase; import org.elasticsearch.action.admin.indices.stats.IndicesStatsResponse; import org.elasticsearch.action.search.SearchResponse; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.search.S...
package com.intellij.externalSystem; import com.intellij.buildsystem.model.unified.UnifiedDependency; import org.junit.Test; public class GradleDependencyUpdaterTest extends GradleDependencyUpdaterTestBase { @Test public void testAddDependency() throws Exception { importProjectFromTemplate(); assertTrue(myM...
package org.csstudio.opibuilder.util; import org.diirt.vtype.AlarmSeverity; /** * BEAST alarm info for PV Widgets. * Holds the BeastDataSource channel name, blinking state, current & latched BEAST severity. * * @author Boris Versic */ public final class BeastAlarmInfo { private String alarmPVChannelName; p...
package org.eclipse.xtext.junit4.internal; import static org.eclipse.xtext.xbase.lib.IterableExtensions.*; import static org.junit.Assert.*; import java.io.File; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.List; import org.eclipse.core.resources.IMarker; import org.eclipse.core.re...
package org.jkiss.dbeaver.tools.transfer.wizard; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; import org.eclipse.osgi.util.NLS; import org.eclipse.swt.SWT; import org.jkiss.dbeaver.core.CoreMessages; import org.jkiss.dbeaver.model.runtime.AbstractJob; import org.jkiss.dbeaver.model.r...
package com.opengamma.livedata.client; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import org.fudgemsg.FudgeContext; import org.fudgemsg.FudgeMsg; import org.fudgemsg.FudgeMsgEnvelope; import org.fudgemsg.mapping.FudgeDeserializer; impo...
package pl.grzeslowski.jsupla.protocol.api.channelvalues; import static java.lang.String.format; import static java.util.Objects.requireNonNull; public final class ChannelValueSwitch<T> { private final Callback<T> callback; public ChannelValueSwitch(final Callback<T> callback) { this.callback = requireN...
package org.ow2.proactive_grid_cloud_portal.scheduler.dto; import java.util.HashMap; import java.util.Map; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlTransient; import org.codehaus.jackson.map.ObjectMapper; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; impor...
package org.ow2.proactive.scheduler.util; import static org.ow2.proactive.utils.ClasspathUtils.findSchedulerHome; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.IOException; import java.io.PrintStream; import java.net.InetAddress; import java.net.NetworkInterface; import java.net.SocketExcept...
package org.eclipse.persistence.sdo.helper.delegates; import commonj.sdo.DataObject; import commonj.sdo.helper.HelperContext; import commonj.sdo.helper.XMLDocument; import commonj.sdo.impl.HelperProvider; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.Reader; import ...
// This file is part of Serleena. // Nicola Mometto, Filippo Sestini, Tobia Tesan, Sebastiano Valle. // of this software and associated documentation files (the "Software"), to // deal in the Software without restriction, including without limitation the // sell copies of the Software, and to permit persons to whom t...
package de.uniulm.omi.cloudiator.lance.lca.containers.docker; import de.uniulm.omi.cloudiator.lance.lca.GlobalRegistryAccessor; import de.uniulm.omi.cloudiator.lance.lca.LcaRegistryConstants; import de.uniulm.omi.cloudiator.lance.lca.LcaRegistryConstants.Identifiers; import de.uniulm.omi.cloudiator.lance.lca.container....
package fi.nls.oskari.service.capabilities; import fi.mml.map.mapwindow.service.wms.LayerNotFoundInCapabilitiesException; import fi.mml.map.mapwindow.service.wms.WebMapService; import fi.mml.map.mapwindow.service.wms.WebMapServiceFactory; import fi.mml.map.mapwindow.service.wms.WebMapServiceParseException; import fi.nl...
package io.sniffy.test; import org.h2.jdbcx.JdbcDataSource; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.runners.MockitoJUnitRunner; import javax.sql.DataSource; import java.io.ByteArrayOutputStream; import java.io.PrintWriter; import java....
package de.andreasgiemza.mangadownloader.sites.implementations.englishscanlationgroups; import de.andreasgiemza.mangadownloader.sites.Site; import de.andreasgiemza.mangadownloader.sites.extend.FoOlSlide; /** * * @author Andreas Giemza <andreas@giemza.net> */ public class S2scans extends FoOlSlide implements Site { ...
package org.rstudio.studio.client.workbench.views.source.editors.text.themes; import com.google.gwt.core.client.JsArray; import com.google.gwt.core.client.JsArrayInteger; import com.google.gwt.dom.client.Document; import com.google.gwt.dom.client.Element; import com.google.gwt.dom.client.LinkElement; import com.google....
package org.rstudio.studio.client.workbench.views.source.editors.text.themes; import com.google.gwt.core.client.JsArray; import com.google.gwt.core.client.JsArrayInteger; import com.google.gwt.dom.client.Document; import com.google.gwt.dom.client.Element; import com.google.gwt.dom.client.LinkElement; import com.google....
package ca.corefacility.bioinformatics.irida.ria.web.services; import java.security.Principal; import java.util.List; import java.util.Optional; import java.util.stream.Collectors; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.data...
package net.sf.taverna.t2.activities.wsdl.servicedescriptions; import java.net.URI; import java.util.Arrays; import java.util.Collections; import java.util.List; import javax.swing.Icon; import net.sf.taverna.t2.activities.wsdl.WSDLActivity; import net.sf.taverna.t2.activities.wsdl.WSDLActivityConfigurationBean; import...
package org.broadinstitute.hellbender.tools.coveragemodel.germline; import com.google.common.collect.ImmutableMap; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.apache.spark.api.java.JavaSparkContext; import org.broadinstitute.barclay.argparser.Argument; import org.broad...
package org.spongepowered.common.mixin.core.network.play; import com.google.common.collect.ImmutableList; import com.mojang.brigadier.CommandDispatcher; import com.mojang.brigadier.ParseResults; import com.mojang.brigadier.StringReader; import com.mojang.brigadier.suggestion.Suggestions; import com.mojang.brigadier.sug...
package org.helioviewer.jhv.plugins.swek.config; import java.awt.Color; import java.io.BufferedReader; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.lang.reflect.Field; import java.net.MalformedURLException; im...
package com.giannoules.proxstor.connection; import com.giannoules.proxstor.api.Device; import com.giannoules.proxstor.api.Location; import com.giannoules.proxstor.api.Sensor; import com.giannoules.proxstor.api.User; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import java.lang.reflect.Type; im...
package dk.statsbiblioteket.medieplatform.newspaper.statistics; import java.io.File; import java.io.FileInputStream; import java.net.URISyntaxException; import java.util.Arrays; import java.util.Properties; import dk.statsbiblioteket.medieplatform.autonomous.Batch; import dk.statsbiblioteket.medieplatform.autonomous.Re...
package org.sagebionetworks.web.unitclient.presenter; import static org.junit.Assert.assertEquals; import static org.mockito.Matchers.any; import static org.mockito.Matchers.anyLong; import static org.mockito.Matchers.eq; import static org.mockito.Mockito.atLeastOnce; import static org.mockito.Mockito.never; import sta...
package org.motechproject.nms.testing.it.api; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashMap; import java.util.Map; import javax.inject.Inject; im...
package org.jboss.as.test.integration.json; import org.jboss.arquillian.container.test.api.Deployment; import org.jboss.arquillian.container.test.api.RunAsClient; import org.jboss.arquillian.junit.Arquillian; import org.jboss.arquillian.test.api.ArquillianResource; import org.jboss.as.test.integration.common.HttpReques...
package com.oculusinfo.tile.rest.translation; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.URL; import java.util.Properties; import javax.net.ssl.HttpsURLConnection; import com.google.inject.Inject; import com.google.inject.Sing...
// AbstractSwingImageDisplay.java package imagej.ui.swing.display; import imagej.ImageJ; import imagej.data.Dataset; import imagej.data.Position; import imagej.data.display.AbstractImageDisplay; import imagej.data.display.DataView; import imagej.data.overlay.Overlay; import imagej.event.EventHandler; import imagej.ext....
package br.com.caelum.vraptor.core; import org.junit.Before; import org.junit.Test; import org.mockito.MockitoAnnotations; import br.com.caelum.vraptor.cache.VRaptorCache; import br.com.caelum.vraptor.cache.VRaptorDefaultCache; import br.com.caelum.vraptor.factory.Factories; import br.com.caelum.vraptor.interceptor.Asp...
package info.bitrich.xchangestream.kraken; import com.fasterxml.jackson.databind.JsonNode; import info.bitrich.xchangestream.core.StreamingTradeService; import info.bitrich.xchangestream.kraken.dto.KrakenOpenOrder; import info.bitrich.xchangestream.kraken.dto.KrakenOwnTrade; import info.bitrich.xchangestream.kraken.dto...
package org.voltdb.planner; import java.io.File; import java.io.PrintStream; import java.util.List; import org.hsqldb_voltpatches.HSQLInterface; import org.hsqldb_voltpatches.HSQLInterface.HSQLParseException; import org.hsqldb_voltpatches.VoltXMLElement; import org.json_voltpatches.JSONException; import org.json_voltpa...
package org.voltdb.sysprocs; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.charset.StandardCharsets; import java.util.ArrayList; import java.util.List; import java.util.concurrent.CompletableFuture; import org.apache.commons.lang3.StringUtils; import org.voltcore.logging.VoltLogger; import org...
package crazypants.enderio.conduit.liquid; import java.util.EnumMap; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import net.minecraft.client.renderer.texture.IconRegister; import net.minecraft.entity.player.EntityPlay...
package vg.civcraft.mc.bettershards.listeners; import java.io.ByteArrayInputStream; import java.util.ArrayList; import java.util.List; import java.util.UUID; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import java.util.logging.Level; import java.util.Collection; import org.bukkit...
package il.ac.technion.ie.experiments.service; import com.google.common.collect.ArrayListMultimap; import com.google.common.collect.Multimap; import il.ac.technion.ie.experiments.model.BlockWithData; import il.ac.technion.ie.experiments.model.ConvexBPContext; import il.ac.technion.ie.experiments.model.UaiVariableContex...
package org.eclipse.birt.report.designer.ui; import java.io.File; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.List; import java.util.MissingResourceException; import java.util...
package net.yadaframework.security.persistence.entity; import java.io.Serializable; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Objects; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.ElementCo...
package info.hiergiltdiestfu.waste.extractor; import java.io.IOException; import java.net.URLEncoder; import java.util.*; import java.util.stream.*; import javax.ws.rs.QueryParam; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import org.spring...
package org.ccnx.android.examples.startup; import java.io.IOException; import java.security.InvalidKeyException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.logging.Level; import org.ccnx.ccn.CCNHandle; import org.ccnx.ccn.KeyManager; import org.ccnx.ccn.config.ConfigurationException; imp...
package com.facebook.fresco.animation.bitmap; import javax.annotation.Nullable; import java.lang.annotation.Retention; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.ColorFilter; import android.graphics.Paint; import android.graphics.Rect; import android.graphics.drawable.Drawab...
package com.continuuity.internal.app.scheduler; import com.continuuity.app.Id; import com.continuuity.app.services.AppFabricService; import com.continuuity.app.services.AuthToken; import com.continuuity.app.services.EntityType; import com.continuuity.app.services.ProgramId; import com.continuuity.app.services.ProgramRu...
package org.csstudio.logbook.ui; import java.io.IOException; import org.csstudio.logbook.LogEntry; import org.csstudio.logbook.LogEntryBuilder; import org.csstudio.logbook.LogbookBuilder; import org.eclipse.jface.window.ApplicationWindow; import org.eclipse.swt.SWT; import org.eclipse.swt.events.SelectionAdapter; impor...
package org.jnosql.artemis.configuration; import org.jnosql.artemis.ConfigurationUnit; import javax.enterprise.context.ApplicationScoped; import javax.inject.Named; import javax.json.JsonException; import javax.json.bind.Jsonb; import javax.json.bind.JsonbBuilder; import java.io.InputStream; import java.lang.reflect.Ty...
package org.ovirt.engine.core.utils; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.util.Arrays; import java.util.List; import java.util.Locale; import org.junit.Test; import org.ovirt.engine.core.common.interfaces.ErrorTranslator; public class ErrorTranslatorTest { ...
package org.openhab.core.library.types; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Locale; public class TimeType extends CalendarType { private final static SimpleDateFormat TIME_FORMATTER = new SimpleDateFormat("EEE, hh:mm:ss", Locale.US); public...
package gov.nih.nci.cabig.caaers.api.impl; import gov.nih.nci.cabig.caaers.CaaersSystemException; import gov.nih.nci.cabig.caaers.api.AbstractImportService; import gov.nih.nci.cabig.caaers.dao.OrganizationDao; import gov.nih.nci.cabig.caaers.dao.ParticipantDao; import gov.nih.nci.cabig.caaers.dao.StudyDao; import gov.n...
package edu.duke.cabig.catrip.gui.querysharing; import edu.duke.cabig.catrip.gui.common.AttributeBean; import edu.duke.cabig.catrip.gui.common.CDEComboboxBeanComparator; import edu.duke.cabig.catrip.gui.common.ClassBean; import edu.duke.cabig.catrip.gui.components.PreferredHeightMarginBorderBoxLayout; import edu.duke.c...
package com.yahoo.vespa.clustercontroller.core; import com.yahoo.document.FixedBucketSpaces; import com.yahoo.exception.ExceptionUtils; import com.yahoo.jrt.ListenFailedException; import com.yahoo.vdslib.distribution.ConfiguredNode; import com.yahoo.vdslib.state.ClusterState; import com.yahoo.vdslib.state.Node; import ...
package org.opendaylight.netvirt.coe.listeners; import static org.opendaylight.genius.infra.Datastore.CONFIGURATION; import java.math.BigInteger; import java.util.ArrayList; import java.util.List; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; import javax.inject.Inject; import j...
package com.google.maps.android.heatmaps; import android.graphics.Bitmap; import android.graphics.Color; import com.google.maps.android.geometry.Bounds; import java.util.Collection; import java.util.Iterator; /** * Utility functions for heatmaps. * Based off the javascript heatmaps code */ public class HeatmapUtil {...
package com.qiniu.android.http; import com.loopj.android.http.AsyncHttpClient; import com.loopj.android.http.AsyncHttpResponseHandler; import com.qiniu.android.common.Constants; import org.apache.http.Header; import org.apache.http.HttpEntity; import org.apache.http.message.BasicHeader; import org.json.JSONObject; impo...
package com.WazaBe.HoloDemo; import android.annotation.SuppressLint; import android.os.Bundle; import android.support.v4.app.FragmentTransaction; import android.view.Gravity; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup.LayoutParams; import android.widget.AdapterView...
package es.sandwatch.trim; import org.jetbrains.annotations.NotNull; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Class containing all report information. * * @author Ismael Alonso * @version 1.0.0 */ public class Report{ private List<EndpointReport> ...
package gov.nih.nci.ncicb.cadsr.loader; import java.util.Iterator; import org.omg.uml.foundation.core.*; import org.omg.uml.foundation.extensionmechanisms.*; import uml.MdrModelManager; import uml.MdrModelManagerFactory; import uml.MdrModelManagerFactoryImpl; import org.omg.uml.modelmanagement.Model; import org.omg.uml...
/* * $Id$ * $URL$ */ package org.subethamail.common.io; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import javax.activation.DataSource; import org.subethamail.common.MailUtils; /** * I can't believe this class didn't already exist. JAF is an overarchitected, * underthought...
package com.graphhopper.routing.util; import com.graphhopper.coll.GHBitSetImpl; import com.graphhopper.storage.GraphHopperStorage; import com.graphhopper.util.EdgeIterator; import gnu.trove.list.array.TIntArrayList; import gnu.trove.stack.array.TIntArrayStack; import java.util.ArrayList; import java.util.List; import j...
package org.postgresql; import java.io.*; import java.lang.*; import java.net.*; import java.util.*; import java.sql.*; import org.postgresql.*; import org.postgresql.core.*; import org.postgresql.util.*; /** * @version 1.0 15-APR-1997 * * This class is used by Connection & PGlobj for communicating with the * backe...
package io.cloudchaser.murmur.types; import static io.cloudchaser.murmur.types.MurmurType.STRING; /** * * @author Mihail K * @since 0.1 **/ public class MurmurString extends MurmurObject { /** * Singleton empty Murmur string. **/ public static final MurmurString EMPTY = MurmurString.create(""); ...
package org.hisp.dhis.startup; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.hisp.dhis.jdbc.StatementBuilder; import org.hisp.dhis.system.startup.AbstractStartupRoutine; import org.hisp.quick.StatementManager; import org.springframework.beans.factory.annotation.Autowire...
package io.flutter.logging; import com.intellij.ui.treeStructure.treetable.TreeTable; import org.jetbrains.annotations.NotNull; import javax.swing.event.TableModelListener; import javax.swing.table.TableModel; class FlutterTreeTableModel implements TableModel { @NotNull private final TableModel model; FlutterTree...
package io.flutter.run.daemon; import com.google.common.base.Stopwatch; import com.intellij.execution.ui.ConsoleView; import com.intellij.execution.ui.ConsoleViewContentType; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.project.Project; import io.flutter.FlutterInitializer; import org.jetb...