answer
stringlengths
17
10.2M
package info.nightscout.androidaps.plugins.pump.omnipod.comm; import org.joda.time.DateTime; import java.util.Collections; import java.util.List; import javax.inject.Inject; import dagger.android.HasAndroidInjector; import info.nightscout.androidaps.logging.AAPSLogger; import info.nightscout.androidaps.logging.LTag; im...
package info.nightscout.androidaps.plugins.pump.omnipod.comm.action; import java.util.ArrayList; import java.util.EnumSet; import java.util.List; import info.nightscout.androidaps.plugins.pump.omnipod.comm.OmnipodCommunicationService; import info.nightscout.androidaps.plugins.pump.omnipod.comm.message.MessageBlock; imp...
package de.ptb.epics.eve.editor.views.chainview; import java.io.File; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.apache.log4j.Logger; import org.eclipse.core.databinding.DataBindingContext; import org.eclipse.core.databinding.UpdateValueStrategy; import org.eclipse.core.dat...
package fhscs.snake.impl; import java.awt.Canvas; import java.awt.Color; import java.awt.Graphics; import java.awt.Point; import fhscs.snake.Game; @SuppressWarnings("serial") public class GameCanvas extends Canvas { private final Game game; private Color snakeColor = Color.GREEN; private Color appleColor = ...
package org.csstudio.scan.server.internal; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Date; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.ExecutorService; import java.util.concurrent.Future; import java.util.concurrent.a...
package fi.tnie.db.feature; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.apache.log4j.Logger; import fi.tnie.db.QueryHelper; import fi.tnie.db.env.CatalogFactory; import fi.tnie.db...
package org.csstudio.scan.server; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import java.util.List; import java.util.Properties; import java.util.logging.Level; import java.util.logging.Logger; import org.csstudio.scan.ScanSystemPreferences; import org.eclipse.core.runtime.FileLocator;...
package filter.expression; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.time.temporal.ChronoUnit; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Optional; import java.util.function.Predicate; import java....
package org.ovirt.engine.core.vdsbroker.xmlrpc; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.lang.reflect.UndeclaredThrowableException; import java.net.MalformedURLException; import java.net.URL; import java.util.concurrent.Callable; import jav...
package org.openhab.io.semantic.tests; import org.openhab.io.semantic.core.QueryResult; import org.openhab.io.semantic.core.SemanticService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class SemanticServiceTestImpl implements SemanticService { private static Logger logger = LoggerFactory.getLogg...
package foam.lib.json; import foam.lib.parse.*; public class UnicodeParser extends ProxyParser { public UnicodeParser() { super(new Seq(new Whitespace(), new Literal("\\"), new Literal("u"), new Repeat(new HexCharParser(), null, 4, 4), new Wh...
package gov.nih.nci.caadapter.ui.mapping.V2V3; import edu.knu.medinfo.hl7.v2tree.ElementNode; import edu.knu.medinfo.hl7.v2tree.HL7MessageTreeException; import edu.knu.medinfo.hl7.v2tree.HL7V2MessageTree; import edu.knu.medinfo.hl7.v2tree.MetaDataLoader; import gov.nih.nci.caadapter.common.Message; import gov.nih.nci.c...
package fr.tcpmfa.engine; import java.sql.Time; import java.util.ArrayList; import java.util.Iterator; import fr.tcpmfa.util.Coordinate; public class WaveEnnemy extends ArrayList<Ennemy> { private static final long serialVersionUID = 3391625254887809314L; private static final int NBRENNEMY = 5; private stat...
package org.flymine.dataconversion; import java.io.FileReader; import java.io.File; import java.util.Collection; import java.util.Collections; import java.util.Iterator; import java.util.HashSet; import java.util.Arrays; import java.util.Map; import java.util.HashMap; import java.util.Set; import java.util.ArrayList; i...
package net.coobird.thumbnailator; import java.awt.Dimension; import java.awt.Rectangle; import java.awt.RenderingHints; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.URL; import java.util.ArrayList; import ...
package de.thecode.android.tazreader.data; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.pm.LabeledIntent; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.content.res.Resources; import android.n...
package com.plnyyanks.frcnotebook.database; import android.content.Context; import android.content.SharedPreferences; import android.content.pm.PackageInfo; import android.preference.PreferenceManager; import com.plnyyanks.frcnotebook.R; import com.plnyyanks.frcnotebook.activities.StartActivity; public class Preference...
package thredds.dqc.server.latest; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.ServletException; import java.util.*; import java.io.*; import java.text.SimpleDateFormat; import java.text.ParseException; import java.net.URL; import thredds.catalog.*; ...
package org.eclipse.birt.chart.reportitem; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import org.eclipse.birt.chart.exception.ChartException; import ...
package net.mitchtech.xposed; import static de.robv.android.xposed.XposedHelpers.findAndHookConstructor; import static de.robv.android.xposed.XposedHelpers.findAndHookMethod; import android.content.Context; import android.graphics.Paint; import android.text.Editable; import android.text.TextWatcher; import android.util...
package io.cattle.iaas.healthcheck.service.impl; import static io.cattle.platform.core.constants.HealthcheckConstants.*; import static io.cattle.platform.core.model.tables.HealthcheckInstanceHostMapTable.*; import static io.cattle.platform.core.model.tables.HealthcheckInstanceTable.*; import static io.cattle.platform.c...
package org.opendaylight.yangtools.util.concurrent; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import static org.mockito.Matchers.any; import static org.mockito.Mockito.doNothing; import static org.mockito.Mockito.mock; import com.google.common.base.Stopwatch; import com.google.co...
package org.neo4j.kernel.impl.nioneo.xa; import static org.junit.Assert.assertFalse; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import java.io.IOException; import java.util.Collection; import java.util.Collections; import java.util.LinkedList; import java.util.List; import java.util...
package net.mostlyoriginal.api.event.dispatcher; import com.artemis.utils.reflect.ClassReflection; import com.artemis.utils.reflect.Method; import net.mostlyoriginal.api.event.common.Event; import net.mostlyoriginal.api.event.common.EventDispatchStrategy; import net.mostlyoriginal.api.event.common.EventListener; import...
package nu.validator.datatype; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.relaxng.datatype.DatatypeException; /** * Superclass for various datetime datatypes. * * @version $Id$ * @author hsivonen */ abstract class AbstractDatetime extends AbstractDatatype { /** * Days in mo...
package org.mousephenotype.cda.solr.service.embryoviewer; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.ObjectMapper; import org.apache.solr.client.solrj.SolrServerException; import org.mousephenotype.cda.solr.service.GeneService; import org.mousephenotype.cda.solr.service....
package com.sometrik.framework; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import com.sometrik.framework.FWList.ColumnType; import android.util.Log; import android.view.View; import android.view.ViewGroup; imp...
package omnikryptec.util.profiler; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.Graphics; import java.awt.image.BufferedImage; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedList; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.Timer; imp...
package net.metadata.dataspace.atom.adapter; import net.metadata.dataspace.app.Constants; import net.metadata.dataspace.app.DataRegistryApplication; import net.metadata.dataspace.data.access.CollectionDao; import net.metadata.dataspace.data.access.PartyDao; import net.metadata.dataspace.model.Collection; import net.met...
package org.adligo.models.params.client; /** * Title: * Description: <p>This is a generic and reuseable implementation of the * I_TemplateParams interface. It relies on the TemplateParam * class for storing the name, values and nested I_TemplateParams. * Company: Adligo * @author ...
package com.oracle.graal.truffle; import static com.oracle.graal.api.code.CodeUtil.*; import static com.oracle.graal.truffle.TruffleCompilerOptions.*; import java.io.*; import java.util.*; import java.util.concurrent.*; import com.oracle.graal.api.code.*; import com.oracle.graal.api.code.Assumptions.Assumption; import ...
package io.debezium.connector.postgresql; import static io.debezium.connector.postgresql.TestHelper.PK_FIELD; import static io.debezium.connector.postgresql.TestHelper.topicName; import static junit.framework.TestCase.assertEquals; import static org.junit.Assert.assertFalse; import java.math.BigDecimal; import java.uti...
package org.jnosql.artemis.graph; import org.apache.tinkerpop.gremlin.structure.Graph; import org.apache.tinkerpop.gremlin.structure.Transaction; import javax.enterprise.inject.Alternative; import javax.enterprise.inject.Instance; import javax.inject.Inject; import javax.interceptor.AroundInvoke; import javax.intercept...
package org.eclipse.collections.impl.bag.immutable; import java.io.Serializable; import java.util.Collection; import java.util.Comparator; import java.util.Iterator; import java.util.NoSuchElementException; import org.eclipse.collections.api.bag.Bag; import org.eclipse.collections.api.bag.ImmutableBag; import org.eclip...
package org.bouncycastle.asn1.x509; import java.util.Enumeration; import org.bouncycastle.asn1.ASN1Encodable; import org.bouncycastle.asn1.ASN1Sequence; import org.bouncycastle.asn1.ASN1TaggedObject; import org.bouncycastle.asn1.DERGeneralizedTime; import org.bouncycastle.asn1.DERInteger; import org.bouncycastle.asn1.D...
package org.grobid.service.process; import java.util.List; import java.util.NoSuchElementException; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import javax.ws.rs.core.Response.Status; import org.grobid.core.data.Affiliation; import org.grobid.core.data.BiblioItem; import org.grobid.core.data.D...
package ee.stacc.productivity.edsl.string; import java.util.Iterator; import java.util.List; public class AbstractStringEqualsVisitor implements IAbstractStringVisitor<Boolean, IAbstractString> { @Override public Boolean visitStringCharacterSet( StringCharacterSet me, IAbstractString data) {...
package org.callimachusproject.setup; import java.io.IOException; import java.io.StringReader; import java.lang.reflect.InvocationTargetException; import java.security.GeneralSecurityException; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Set;...
// This file is part of the "OPeNDAP Web Coverage Service Project." // Authors: // Haibo Liu <haibo@iri.columbia.edu> // Nathan David Potter <ndp@opendap.org> // M. Benno Blumenthal <benno@iri.columbia.edu> // This library is free software; you can redistribute it and/or // modify it under the terms of th...
package io.jenkins.blueocean.service.embedded.rest; import hudson.Extension; import io.jenkins.blueocean.api.profile.CreateOrganizationRequest; import io.jenkins.blueocean.commons.ServiceException; import io.jenkins.blueocean.commons.stapler.JsonBody; import io.jenkins.blueocean.rest.sandbox.Organization; import io.jen...
package net.slreynolds.ds; /** * Base class for timing tests. * * @param <S> Type parameter of Result that has memory reference accumulated during * doWork * @param <T> Type of object returned from setUp and passed as an argument to doWork */ public abstract class AbstractTiming<S,T> { protected abstract T se...
package parser; import java.io.Serializable; public class Options implements Cloneable, Serializable { private static final long serialVersionUID = 1L; public enum LearningMode { Basic, // 1st order arc factored model Standard, // 2nd order model (3rd order?) Full ...
package org.eclipse.birt.report.engine.executor; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.Serializable; import java.net.URL; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; import java.util....
package org.ensembl.healthcheck; import org.ensembl.healthcheck.util.*; import org.ensembl.healthcheck.testcase.*; import java.io.*; import java.sql.*; import java.util.*; import java.util.logging.*; import java.util.regex.*; /** * Subclass of TestRunner intended for running tests from the command line. */ public cla...
package org.sakaiproject.entitybroker.impl.collector; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import org.apache.commons.logging.Log; import org.apache.com...
package org.jgroups.protocols.jzookeeper; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Collections; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Random; import java.u...
package org.eclipse.che.ide.actions; import com.google.inject.Inject; import com.google.inject.Singleton; import org.eclipse.che.api.promises.client.Operation; import org.eclipse.che.api.promises.client.OperationException; import org.eclipse.che.api.promises.client.PromiseError; import org.eclipse.che.commons.annotatio...
package eu.hohenegger.modulebuilder.ui.wizard; import org.eclipse.emf.ecp.ui.view.ECPRendererException; import org.eclipse.emf.ecp.ui.view.swt.ECPSWTView; import org.eclipse.emf.ecp.ui.view.swt.ECPSWTViewRenderer; import org.eclipse.jface.dialogs.IDialogPage; import org.eclipse.jface.layout.GridDataFactory; import org....
package org.aksw.iguana.tp.query; import java.util.Collection; import org.aksw.iguana.commons.factory.TypedFactory; import org.aksw.iguana.tp.tasks.impl.stresstest.worker.Worker; /** * Factory to create a QueryHandler based upon a class name and constructor arguments * * @author f.conrads * */ public class QueryHa...
package io.quarkus.kafka.client.deployment; import java.util.Collection; import java.util.HashSet; import java.util.Set; import javax.security.auth.spi.LoginModule; import org.apache.kafka.clients.consumer.RangeAssignor; import org.apache.kafka.clients.consumer.RoundRobinAssignor; import org.apache.kafka.clients.consum...
package org.fusesource.fabric.service.jclouds; import java.io.UnsupportedEncodingException; import java.net.MalformedURLException; import java.net.URI; import java.net.URISyntaxException; import java.net.URLDecoder; import java.util.HashMap; import java.util.Map; import java.util.Properties; import java.util.Set; impor...
package nu.nerd.beastmaster.mobs; import java.util.Arrays; import java.util.Collection; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.Set; import java.util.logging.Logger; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.attribute.Attribute; import org.bukkit.attri...
package org.biojava.spice.das; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.URL; import java.util.Iterator; import java.util.logging.Level; import java.util.logging.Logger; import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.SAXParser; import javax.xml.parse...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.frc1675.commands; import edu.wpi.first.wpilibj.command.CommandGroup; import org.frc1675.commands.drive.mecanum.MecanumDrivePolarForTime; import org.frc1675.commands.shooter.GoToIdleSpeed; import org.frc1675.c...
package org.gamefolk.roomfullofcats; import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; import java.net.URLEncoder; import j...
package org.jdcp.job; import java.util.concurrent.Executor; import java.util.concurrent.Executors; import java.util.concurrent.Semaphore; import org.jdcp.concurrent.BackgroundThreadFactory; import org.selfip.bkimmel.jobs.Job; import org.selfip.bkimmel.progress.ProgressMonitor; /** * A <code>Job</code> that runs a <cod...
package org.jgroups.protocols.pbcast; import org.jgroups.Address; import org.jgroups.Event; import org.jgroups.Message; import org.jgroups.View; import org.jgroups.logging.Log; import org.jgroups.util.Digest; import org.jgroups.util.MergeId; import java.util.Collection; import java.util.Map; public abstract class GmsIm...
package org.jgroups.protocols.pbcast; import org.jgroups.Address; import org.jgroups.Event; import org.jgroups.Message; import org.jgroups.View; import org.jgroups.annotations.*; import org.jgroups.protocols.TP; import org.jgroups.stack.DiagnosticsHandler; import org.jgroups.stack.Protocol; import org.jgroups.util.*; i...
//Modul Login /*Steven Sen 064001600022 Dimas Adi Pratama 064001600003 La Ode Muhammad Nurabdulrahma 064001600013 Febriana Tindaon 064001600017 Soefhwan 065001600002 */ import java.util.Scanner; public class Login { public static void main(String[] args) { Scanner input =...
/* * $Id: BlockingStreamComm.java,v 1.33 2008-02-19 01:35:27 dshr Exp $ */ package org.lockss.protocol; import java.io.*; import java.net.*; import java.security.*; import java.security.cert.*; import javax.net.ssl.*; import java.util.*; import EDU.oswego.cs.dl.util.concurrent.*; import org.lockss.util.*; import org....
package de.kimminich.kata.tcg.strategy; import de.kimminich.kata.tcg.Card; import org.junit.Rule; import org.junit.Test; import org.junit.contrib.java.lang.system.TextFromStandardInputStream; import java.util.Optional; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.MatcherAssert.assertThat; impo...
//$Id: MarcFactoryImpl.java,v 1.2 2006/07/28 16:28:29 bpeters Exp $ package org.marc4j.marc.impl; import org.marc4j.marc.ControlField; import org.marc4j.marc.DataField; import org.marc4j.marc.Leader; import org.marc4j.marc.MarcFactory; import org.marc4j.marc.Record; import org.marc4j.marc.Subfield; /** * Factory for c...
/* * $Id: HistoryRepositoryImpl.java,v 1.37 2003-07-17 00:20:48 tlipkis Exp $ */ package org.lockss.state; import java.io.*; import java.net.MalformedURLException; import java.util.*; import org.exolab.castor.xml.Marshaller; import org.exolab.castor.xml.Unmarshaller; import org.exolab.castor.mapping.Mapping; import o...
package org.jtalks.jcommune.service; import org.jtalks.jcommune.model.entity.User; import org.jtalks.jcommune.service.exceptions.DuplicateException; import org.jtalks.jcommune.service.exceptions.NotFoundException; /** * This interface should have methods which give us more abilities in manipulating User persistent ent...
package net.ossrs.yasea; import android.media.MediaCodec; import android.media.MediaFormat; import android.util.Log; import com.github.faucamp.simplertmp.RtmpHandler; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.atomic.AtomicInteger;...
package org.mtransit.parser; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.HashSet; import java.util.List; import java.util.Locale; import java.util.Map; import org.apache.commons.lang3.StringUtils; import org.mtransit.parser.gtfs.GAgencyTools; import org.mtransit.parser.gtfs.GReader; i...
package controllers.helper; import java.io.*; import java.util.*; import java.util.zip.*; import scala.Option; import scala.runtime.AbstractFunction0; import org.geotools.data.DataUtilities; import org.geotools.data.DefaultTransaction; import org.geotools.data.Transaction; import org.geotools.data.collection.ListFeatur...
package onion.compiler.pass; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import java.util.Stack; import java.util.TreeSet; import onion.compiler.*; import onion.comp...
package org.bbs.apklauncher; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.lang.ref.Reference; import java.lang.ref.SoftReference; import java...
package org.nutz.mvc.view; import java.util.Iterator; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.nutz.lang.Mirror; import org.nutz.lang.Strings; import org.nutz.lang.segment.CharSegment; import org.nutz.lang.segment.Segment; import org.nutz.mvc.View; public c...
package org.objectweb.asm.util; import org.objectweb.asm.Label; import org.objectweb.asm.Attribute; import org.objectweb.asm.attrs.Dumpable; import java.util.HashMap; /** * A {@link PrintCodeVisitor PrintCodeVisitor} that prints the ASM code that * generates the code it visits. */ public class DumpCodeVisitor extend...
package org.onyxplatform.api.java; import clojure.lang.PersistentVector; import java.util.Arrays; import java.util.ArrayList; import java.util.List; import java.util.Map; /** * Serves as a base for any Onyx concept that is represented by a vector of * onyx maps, e.g. workflows. */ public class OnyxVector { prote...
package org.springframework.richclient.table; import junit.framework.TestCase; import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * @author peter.de.bruycker */ public class ListTableModelTest extends TestCase { /** * TestCase for bug #RCP-14 */ public void testConstruct...
package org.opencms.db.generic; import org.opencms.db.CmsDbUtil; import org.opencms.db.CmsDriverManager; import org.opencms.db.I_CmsBackupDriver; import org.opencms.db.I_CmsDriver; import org.opencms.main.CmsException; import org.opencms.main.CmsLog; import org.opencms.main.I_CmsConstants; import org.opencms.main.OpenC...
package org.openid4java.server; import com.google.inject.Inject; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.openid4java.OpenIDException; import org.openid4java.association.Association; import org.openid4java.association.AssociationException; import org.openid4java.as...
package org.pentaho.di.trans.steps.sql; import java.util.ArrayList; import org.pentaho.di.core.Const; import org.pentaho.di.core.Result; import org.pentaho.di.core.RowMetaAndData; import org.pentaho.di.core.database.Database; import org.pentaho.di.core.exception.KettleException; import org.pentaho.di.core.exception.Ket...
package org.languagetool.rules.patterns; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Arrays; i...
package org.pikater.core.options; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.pikater.core.CoreConstants; import org.pikater.core.ontology.subtrees.batchDescription.durarion.LongTermDuration; import org.pikater.core.ontology.subtrees.batchDescription.durarion.ShortTimeDuration...
package org.apache.fop.apps; // SAX import org.xml.sax.InputSource; import org.xml.sax.XMLReader; import org.xml.sax.SAXException; // Java import javax.xml.parsers.SAXParserFactory; import javax.xml.parsers.ParserConfigurationException; import java.net.URL; import java.io.File; public abstract class InputHandler { ...
package org.languagetool.language; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.languagetool.*; import org.languagetool.languagemodel.LanguageModel; import org.languagetool.rules.*; import org.languagetool.rules.fr.*; import org.languagetool.synthesis.FrenchSynthesizer...
package hudson.util; import hudson.cli.CLI; import hudson.diagnosis.OldDataMonitor; import hudson.model.AbstractDescribableImpl; import hudson.model.Items; import hudson.model.JobProperty; import hudson.model.JobPropertyDescriptor; import hudson.model.Descriptor; import hudson.model.FreeStyleProject; import hudson.mode...
package org.processmining.openslex; import java.io.File; public class SLEXFactory { private String path = null; public SLEXFactory(String path) { this.path = path; if (path == null) { this.path = SLEXStorage.PATH; } } private synchronized static File generateNameFile(...
package mil.nga.geopackage.test; import junit.framework.TestCase; import mil.nga.geopackage.BoundingBox; import mil.nga.geopackage.GeoPackage; import mil.nga.geopackage.GeoPackageException; import mil.nga.geopackage.GeoPackageManager; import mil.nga.geopackage.core.srs.SpatialReferenceSystem; import mil.nga.geopackage....
package cgeo.geocaching.connector.gc; import org.eclipse.jdt.annotation.NonNull; import java.util.Locale; import java.util.regex.Pattern; public final class GCConstants { static final String GC_URL = "http: static final String GC_TILE_URL = "http://tiles.geocaching.com/"; /** Live Map */ public final st...
package org.apache.fop.svg; import org.apache.fop.pdf.*; import org.apache.fop.layout.*; import org.apache.fop.fonts.*; import org.apache.fop.render.pdf.*; import org.apache.fop.image.*; import org.apache.fop.datatypes.ColorSpace; import org.apache.fop.render.pdf.CIDFont; import org.apache.fop.render.pdf.fonts.LazyFont...
package org.subethamail.core.admin; import javax.annotation.security.RolesAllowed; import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import javax.mail.Session; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.subethamail.core.admin.i.Eegor; import org.subethamail.c...
import com.sun.star.uno.XComponentContext; import com.sun.star.util.XMacroExpander; import java.util.Calendar; import com.sun.star.beans.Property; import com.sun.star.beans.PropertyValue; import com.sun.star.beans.XPropertySet; import com.sun.star.i18n.NumberFormatIndex; import com.sun.star.lang.Locale; import com.sun....
package org.santhoshkumar.Graphs; public class AdjacencyList { } class Neighbor { public int vertexNum; public Neighbor next; public Neighbor(int vertexNum, Neighbor neighbor) { this.vertexNum = vertexNum; next = neighbor; } } class Vertex { String name; Neighbor neighbors; V...
package io.cucumber.testng; import io.cucumber.core.eventbus.EventBus; import io.cucumber.core.exception.CucumberException; import io.cucumber.core.feature.FeatureParser; import io.cucumber.core.filter.Filters; import io.cucumber.core.gherkin.Feature; import io.cucumber.core.gherkin.Pickle; import io.cucumber.core.logg...
import java.util.function.IntConsumer; import java.util.*; public class GameEngine { public GameEngine (Vector<String> instructions, boolean debug) { _computer = new Intcode(instructions, INITIAL_INPUT, debug); _debug = debug; _theScreen = new Screen(_debug); _paddlePosition = nu...
// PictReader.java package loci.formats; import java.awt.image.BufferedImage; import java.awt.Dimension; import java.io.*; import java.util.*; public class PictReader extends FormatReader { // -- Constants -- // opcodes that we need private static final int PICT_CLIP_RGN = 0x1; private static final int PICT_BIT...
package com.joelapenna.foursquared; import com.joelapenna.foursquare.error.FoursquareError; import com.joelapenna.foursquare.error.FoursquareException; import com.joelapenna.foursquare.types.CheckinResult; import com.joelapenna.foursquare.types.Venue; import com.joelapenna.foursquared.widget.VenueView; import android.a...
package org.basex.gui.view.map; import java.util.ArrayList; import org.basex.data.Data; import org.basex.gui.GUIProp; import org.basex.gui.view.ViewData; import org.basex.util.IntList; import org.basex.util.Token; abstract class MapLayout { /** Layout rectangle. */ MapRect layout; /** Font size. */ final int o ...
// This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the blocks indicating autogenerated code o...
package org.dc.jdbc.core.utils; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import java.sql.Connection; import java.sql.DatabaseMetaData; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.sql.Types; import ja...
package org.usfirst.frc.team1306.robot; import edu.wpi.first.wpilibj.IterativeRobot; import edu.wpi.first.wpilibj.command.Command; import edu.wpi.first.wpilibj.command.Scheduler; import edu.wpi.first.wpilibj.livewindow.LiveWindow; import org.usfirst.frc.team1306.robot.commands.ExampleCommand; import org.usfirst.frc.tea...
package yaplstack; import java.lang.reflect.*; import java.util.function.BiFunction; import java.util.function.Function; // Instructions should be replaced by first class objects, that are designed to be ("more") interpretable public interface Instruction { void eval(Thread thread); interface IncIP extends Inst...
package org.usfirst.frc.team1492.robot; import edu.wpi.first.wpilibj.AnalogInput; import edu.wpi.first.wpilibj.DigitalInput; import edu.wpi.first.wpilibj.DoubleSolenoid; import edu.wpi.first.wpilibj.Joystick; import edu.wpi.first.wpilibj.DoubleSolenoid.Value; import edu.wpi.first.wpilibj.Joystick.AxisType; import edu.w...
package matlabcontrol; import java.rmi.MarshalException; import java.rmi.NoSuchObjectException; import java.rmi.RemoteException; import java.rmi.UnmarshalException; import java.rmi.server.UnicastRemoteObject; import java.util.Timer; import java.util.TimerTask; /** * Allows for calling MATLAB from <strong>outside</stro...
package org.intermine.webservice.server.template.result; import javax.servlet.http.HttpServletRequest; import org.intermine.web.logic.template.TemplateHelper; import org.intermine.web.logic.template.TemplateHelper.TemplateValueParseException; import org.intermine.web.logic.template.TemplateResultInput; import org.inter...