answer
stringlengths
17
10.2M
package natlab; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.StringReader; import beaver.Parser; import natlab.ast.Root; public class Interpreter { private Interpreter() {} public static void main(String[] args) throws IOException { System.o...
public class AddBinary { public static String addBinary(String a, String b) { int n1 = a.length() - 1, n2 = b.length() - 1, sum, carry = 0; StringBuilder sb = new StringBuilder(); while (carry > 0 || n1 >=0 || n2 >= 0) { sum = carry; // reset sum to the value of carry if (n1 >= 0) sum += a.cha...
package com.jaivox.ui.appmaker; import com.jaivox.interpreter.Utils; import com.jaivox.tools.Generator; import com.jaivox.util.Log; import java.awt.Point; import java.io.*; import java.nio.file.Files; import java.util.Iterator; import java.util.Properties; import java.util.Set; import java.util.StringTokenizer; public ...
package org.concord.data; /** * @author dima * */ import java.util.Vector; import org.concord.framework.data.DataDimension; public final class Unit implements DataDimension{ public int unitCategory = UNIT_CAT_UNKNOWN; public int code = UNIT_CODE_UNKNOWN; public int baseUnit = UNIT_CODE_UNK...
package org.jgroups.util; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.jgroups.*; import org.jgroups.auth.AuthToken; import org.jgroups.conf.ClassConfigurator; import org.jgroups.protocols.FD; import org.jgroups.protocols.PingHeader; import org.jgroups.stack.IpAddress;...
/* * $Id: Tdb.java,v 1.29 2014-09-15 19:34:16 pgust Exp $ */ package org.lockss.config; import java.io.*; import java.util.*; import org.apache.commons.collections .*; import org.apache.commons.collections.iterators .*; import org.lockss.util.*; /** * This class represents a title database (TDB). The TDB consists o...
package org.team2168; import org.team2168.PIDController.sensors.AverageEncoder; import org.team2168.utils.ConstantsBase; import edu.wpi.first.wpilibj.CounterBase; /** * The RobotMap defines constants that are used throughout the robot classes. * Things you'll find here: * - which port all the input/output devices ...
package ua.com.fielden.platform.entity.query; import java.util.HashMap; import java.util.Map; import ua.com.fielden.platform.entity.AbstractEntity; public class EntityFromContainerInstantiatorCache { private Map<EntityContainer<? extends AbstractEntity<?>>, Object> map = new HashMap<>(); private final EntityFro...
package org.yakindu.sct.ui.editor.propertysheets; import org.eclipse.emf.databinding.EMFDataBindingContext; import org.eclipse.emf.databinding.IEMFValueProperty; import org.eclipse.emf.databinding.edit.EMFEditProperties; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.transaction.util.TransactionUtil; impo...
package com.opengamma.integration.copier.portfolio.rowparser; import java.math.BigDecimal; import java.text.DecimalFormat; import java.util.HashMap; import java.util.Map; import javax.time.calendar.LocalDate; import javax.time.calendar.format.DateTimeFormatter; import javax.time.calendar.format.DateTimeFormatterBuilder...
package com.evolveum.midpoint.provisioning.impl; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Set; import javax.xml.namespace.QName; import org.apache.commons.lang.Validate; import org.springframework.beans.factory....
package uk.ac.ebi.quickgo.rest.search.request.config; import uk.ac.ebi.quickgo.common.SearchableField; import uk.ac.ebi.quickgo.rest.search.request.FilterRequest; import com.google.common.base.Preconditions; import java.util.Map; import java.util.Optional; import java.util.Set; import java.util.function.Function; impor...
package org.sakaiproject.tool.assessment.ui.listener.delivery; import java.util.ArrayList; import java.util.Formatter; import java.util.Iterator; import java.util.Set; import javax.faces.event.AbortProcessingException; import javax.faces.event.ActionEvent; import javax.faces.event.ActionListener; import org.apache.comm...
// copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // persons to whom the Software is furnished to do so, subject to the // notice shall be included in all copies o...
package com.newsblur.fragment; import android.app.Activity; import android.app.LoaderManager; import android.content.Loader; import android.database.Cursor; import android.os.Bundle; import android.util.Log; import android.view.ContextMenu; import android.view.GestureDetector; import android.view.LayoutInflater; import...
package org.jetel.component; import java.util.LinkedList; import java.util.List; import org.jetel.data.DataRecord; import org.jetel.data.lookup.LookupTable; import org.jetel.exception.ComponentNotReadyException; import org.jetel.exception.ConfigurationProblem; import org.jetel.exception.ConfigurationStatus; import org....
package com.wandrell.tabletop.punkapocalyptic.service.ruleset.command; import static com.google.common.base.Preconditions.checkNotNull; import com.wandrell.pattern.command.ResultCommand; import com.wandrell.tabletop.punkapocalyptic.model.inventory.Equipment; import com.wandrell.tabletop.punkapocalyptic.model.inventory....
package eu.dzhw.fdz.metadatamanagement.web.variablemanagement.search.dto; import java.util.HashMap; import java.util.Map; import org.springframework.util.StringUtils; import eu.dzhw.fdz.metadatamanagement.data.variablemanagement.documents.VariableDocument; import net.karneim.pojobuilder.GeneratePojoBuilder; /** * The ...
package ca.corefacility.bioinformatics.irida.web.controller.test.integration.project; import static ca.corefacility.bioinformatics.irida.web.controller.test.integration.util.ITestAuthUtils.asAdmin; import static ca.corefacility.bioinformatics.irida.web.controller.test.integration.util.ITestAuthUtils.asSequencer; import...
package org.sagebionetworks.web.unitclient.widget.entity.controller; import static org.junit.Assert.assertTrue; import static org.mockito.Matchers.any; import static org.mockito.Matchers.anyList; import static org.mockito.Matchers.anyLong; import static org.mockito.Matchers.anyString; import static org.mockito.Matchers...
package org.carlspring.strongbox.booters; import com.hazelcast.core.HazelcastInstance; import com.hazelcast.core.ILock; import org.carlspring.strongbox.configuration.Configuration; import org.carlspring.strongbox.configuration.ConfigurationManager; import org.carlspring.strongbox.providers.layout.LayoutProviderRegistry...
package org.elasticsearch.xpack.ml.dataframe.extractor; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.apache.logging.log4j.message.ParameterizedMessage; import org.elasticsearch.action.ActionListener; import org.elasticsearch.action.search.SearchAction; import org.elasti...
package com.akh.algorithms.dataStructure.tree.bst; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.util.Arrays; import java.util.Stack; import org.junit.Test; public class LowestCommonAncestor_BST { public class TreeNode { int val; TreeNode left; ...
package com.heavyplayer.audioplayerrecorder.widget; import android.content.Context; import android.content.res.Resources; import android.content.res.TypedArray; import android.os.Parcel; import android.os.Parcelable; import android.util.AttributeSet; import android.util.SparseArray; import android.view.View; import and...
package org.osgi.impl.service.midletcontainer; import java.lang.reflect.Constructor; import java.net.URL; import java.security.AccessController; import java.security.PrivilegedExceptionAction; import java.util.*; import javax.microedition.midlet.MIDlet; import org.osgi.framework.*; import org.osgi.service.application.*...
package org.intermine.bio.dataconversion; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.EOFException; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.ObjectInputStream;...
package org.intermine.bio.dataconversion; import java.util.ArrayList; import java.util.Collection; 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 org.intermine.objectstore.query.ConstraintOp; import org.intermine.o...
package io.cattle.platform.engine.process.impl; import static io.cattle.platform.engine.process.ExitReason.*; import static io.cattle.platform.util.time.TimeUtils.*; import io.cattle.platform.archaius.util.ArchaiusUtil; import io.cattle.platform.async.utils.TimeoutException; import io.cattle.platform.deferred.util.Defe...
package edu.duke.cabig.c3pr.domain.repository.impl; import java.util.List; import org.apache.log4j.Logger; import org.springframework.context.MessageSource; import org.springframework.transaction.annotation.Transactional; import edu.duke.cabig.c3pr.dao.EpochDao; import edu.duke.cabig.c3pr.dao.ParticipantDao; import edu...
package org.kuali.coeus.s2sgen.impl.generate.support; import gov.grants.apply.system.metaGrantApplication.GrantApplicationDocument; import org.apache.xmlbeans.XmlCursor; import org.apache.xmlbeans.XmlObject; import org.junit.Assert; import org.kuali.coeus.common.budget.framework.core.category.BudgetCategory; import org...
package promotionSystem; public class Personaje { protected int salud; protected int energia; protected int ataque; protected int defensa; public Personaje(){ energia=100; salud=100; ataque=10; defensa=2; } public final void atacar(Personaje atacado) { ...
package com.pg85.otg.gen; import static com.pg85.otg.util.ChunkCoordinate.CHUNK_SIZE; import java.util.Arrays; import java.util.BitSet; import java.util.Random; import java.util.function.Consumer; import java.util.stream.IntStream; import com.pg85.otg.gen.biome.BiomeInterpolator; import com.pg85.otg.gen.biome.layers.La...
package com.yahoo.vespa.config.server.application; import com.yahoo.compress.ArchiveStreamReader; import com.yahoo.compress.ArchiveStreamReader.Options; import com.yahoo.vespa.config.server.http.BadRequestException; import com.yahoo.vespa.config.server.http.InternalServerException; import com.yahoo.vespa.config.server....
package org.phenotips.tools; import java.util.Collection; import java.util.List; import java.util.Map; import com.xpn.xwiki.api.Document; /** * @version $Id$ * @since 1.0M2 */ public class FormData { private DisplayMode mode; private Document doc; private String positiveFieldName; private String nega...
package org.hisp.dhis.android.core.trackedentity; import org.hisp.dhis.android.core.arch.api.executors.internal.RxAPICallExecutor; import org.hisp.dhis.android.core.arch.api.paging.internal.ApiPagingEngine; import org.hisp.dhis.android.core.arch.api.paging.internal.Paging; import org.hisp.dhis.android.core.arch.call.D2...
package cgeo.geocaching; import cgeo.geocaching.activity.AbstractActivity; import cgeo.geocaching.activity.ActivityMixin; import cgeo.geocaching.activity.INavigationSource; import cgeo.geocaching.activity.Progress; import cgeo.geocaching.activity.TabbedViewPagerActivity; import cgeo.geocaching.activity.TabbedViewPagerF...
package cgeo.geocaching; import cgeo.geocaching.activity.AbstractActivity; import cgeo.geocaching.activity.ActivityMixin; import cgeo.geocaching.activity.INavigationSource; import cgeo.geocaching.activity.Progress; import cgeo.geocaching.activity.TabbedViewPagerActivity; import cgeo.geocaching.activity.TabbedViewPagerF...
package com.sunteam.ebook.view; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.HashMap; import java.util.Locale; import com.sunteam.ebook.R; import com.sunteam.ebook.entity.ReadMode; import com.sunteam.ebook.entity.ReverseInfo; import com.sunteam.ebook.entity.SplitInfo; import...
package com.rafkind.paintown.animator; import java.util.*; import javax.swing.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; import java.io.*; import org.swixml.SwingEngine; import javax.swing.filechooser.FileFilter; import com.rafkind.paintown.animator.CharacterStats; ...
package org.eclipse.birt.report.engine.api; import java.io.File; import java.io.IOException; import java.util.HashMap; import java.util.logging.Level; import java.util.logging.Logger; import org.eclipse.birt.report.engine.util.FileUtil; /** * Default implementation for writing images in a form that is compatible with ...
package org.estatio.module.lease.dom.amortisation; import java.math.BigDecimal; import java.math.BigInteger; import java.util.List; import java.util.stream.Collectors; import javax.inject.Inject; import org.joda.time.LocalDate; import org.apache.isis.applib.annotation.DomainService; import org.apache.isis.applib.annota...
package org.jboss.as.controller; import java.io.File; import java.io.IOException; import java.net.UnknownHostException; import java.util.Collection; import java.util.List; import java.util.Set; import java.util.concurrent.CancellationException; import javax.xml.namespace.QName; import javax.xml.stream.Location; import ...
package ubic.gemma.web.controller.coexpressionSearch; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.mock.web.MockHttpServletRequest; import org.springframework.m...
package org.hisp.dhis.android.rules; import com.google.auto.value.AutoValue; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.annotation.Nonnull; @AutoValue abstract class RuleExpression { static final Strin...
package com.codingchili.core.listener.transport; import com.codingchili.core.configuration.RestHelper; import com.codingchili.core.context.CoreContext; import com.codingchili.core.listener.CoreHandler; import com.codingchili.core.listener.CoreListener; import com.codingchili.core.listener.ListenerSettings; import io.ve...
package org.eclipse.hawkbit.ui.filtermanagement.footer; import javax.annotation.PostConstruct; import javax.annotation.PreDestroy; import org.eclipse.hawkbit.repository.TargetManagement; import org.eclipse.hawkbit.ui.filtermanagement.event.CustomFilterUIEvent; import org.eclipse.hawkbit.ui.filtermanagement.state.Filter...
package com.flowci.core.job.service; import com.flowci.core.agent.service.AgentService; import com.flowci.core.common.domain.Variables; import com.flowci.core.common.git.GitClient; import com.flowci.core.common.manager.SpringEventManager; import com.flowci.core.common.rabbit.RabbitQueueOperation; import com.flowci.core...
package com.twelvemonkeys.imageio.plugins.jpeg; import com.twelvemonkeys.imageio.metadata.jpeg.JPEG; import javax.imageio.IIOException; import javax.imageio.stream.ImageInputStream; import javax.imageio.stream.ImageInputStreamImpl; import java.io.EOFException; import java.io.IOException; import java.nio.charset.Charset...
package com.ebp.owat.lib.datastructure.matrix.Linked; import com.ebp.owat.lib.datastructure.matrix.Linked.utils.Direction; import com.ebp.owat.lib.datastructure.matrix.Linked.utils.LinkedMatrixNode; import com.ebp.owat.lib.datastructure.matrix.Linked.utils.nodePosition.FixedNode; import com.ebp.owat.lib.datastructure.m...
package org.mskcc.cbio.portal.scripts; import org.mskcc.cbio.portal.dao.*; import org.mskcc.cbio.portal.model.*; import org.mskcc.cbio.portal.util.*; import org.apache.commons.lang.ArrayUtils; import org.apache.log4j.Logger; import java.io.*; import java.util.*; import java.util.regex.Matcher; import java.util.regex.Pa...
package org.mskcc.cbio.portal.scripts; import org.mskcc.cbio.portal.dao.*; import org.mskcc.cbio.portal.model.*; import org.mskcc.cbio.portal.util.*; import org.apache.commons.lang.ArrayUtils; import org.apache.log4j.Logger; import java.io.*; import java.util.*; import java.util.regex.Matcher; import java.util.regex.Pa...
package org.jtalks.jcommune.web.controller; import org.jtalks.jcommune.model.entity.Post; import org.jtalks.jcommune.service.PostService; import org.jtalks.jcommune.service.TopicService; import org.jtalks.jcommune.service.exceptions.NotFoundException; import org.jtalks.jcommune.web.dto.BreadcrumbBuilder; import org.jta...
package com.atlassian.jira.plugins.dvcs.listener; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.collections.CollectionUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.bea...
import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.io.Writer; import java.util.HashMap; import java.util.Map; import com.redhat.ceylon.compiler.js.JsCompiler; ...
package icepick; import android.os.Bundle; import org.junit.Test; import org.junit.runner.RunWith; import org.powermock.api.mockito.PowerMockito; import org.powermock.core.classloader.annotations.PrepareForTest; import org.powermock.modules.junit4.PowerMockRunner; import static org.junit.Assert.assertEquals; import sta...
package nl.b3p.viewer.config.app; import java.util.*; import javax.persistence.*; import nl.b3p.viewer.config.security.User; import nl.b3p.viewer.config.services.BoundingBox; import nl.b3p.viewer.config.services.GeoService; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; /** * * ...
package org.apache.fop.apps; import java.lang.reflect.*; // Imported SAX classes import org.xml.sax.InputSource; import org.xml.sax.SAXException; import org.xml.sax.XMLReader; // Imported java.io classes import java.io.*; // FOP import org.apache.fop.messaging.MessageHandler; import org.apache.fop.tools.xslt.XSLTransfo...
package org.eclipse.kura.linux.clock; import java.io.IOException; import java.net.InetAddress; import java.util.Date; import java.util.List; import java.util.stream.Collectors; import org.apache.commons.net.ntp.NTPUDPClient; import org.apache.commons.net.ntp.TimeInfo; import org.eclipse.kura.KuraErrorCode; import org.e...
package org.bdgp.OpenHiCAMM; import ij.IJ; import ij.ImagePlus; import ij.gui.ImageWindow; import ij.plugin.PlugIn; import ij.process.ByteProcessor; import ij.process.ImageConverter; import ij.process.ImageProcessor; import java.awt.Color; import java.io.PrintWriter; import java.io.StringWriter; import java.util.Date; ...
package com.matthewtamlin.spyglass.library.handler_processors; import android.content.res.TypedArray; import com.matthewtamlin.spyglass.library.handler_annotations.BooleanHandler; import static com.matthewtamlin.java_utilities.checkers.NullChecker.checkNotNull; public class BooleanAttributeProcessor implements Attribut...
package org.biojava.bio.seq.impl; import org.biojava.bio.seq.*; import java.util.*; import java.io.*; import java.lang.reflect.*; import org.biojava.bio.*; import org.biojava.utils.*; import org.biojava.bio.seq.homol.*; /** * Wrap up default sets of Feature implementations. * * @author Thomas Down * @author Greg Co...
package org.biojava.bio.symbol; import java.util.*; import java.lang.reflect.*; import java.io.*; import org.biojava.utils.*; import org.biojava.bio.*; import org.biojava.bio.seq.io.*; class EmptyAlphabet implements FiniteAlphabet, Serializable { public String getName() { return "Empty Alphabet"; } publ...
package org.wildfly.extension.messaging.activemq; import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.OP_ADDR; import static org.jboss.dmr.ModelType.BOOLEAN; import static org.jboss.dmr.ModelType.INT; import static org.jboss.dmr.ModelType.LIST; import static org.jboss.dmr.ModelType.LONG; import...
package org.exist.xquery; import org.exist.memtree.DocumentBuilderReceiver; import org.exist.memtree.MemTreeBuilder; import org.exist.memtree.NodeImpl; import org.exist.xquery.util.ExpressionDumper; import org.exist.xquery.value.Item; import org.exist.xquery.value.Sequence; import org.exist.xquery.value.SequenceIterato...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.inceptus.subsystems; /** * * @author inceptus */ import edu.wpi.first.wpilibj.Timer; import edu.wpi.first.wpilibj.camera.AxisCamera; import edu.wpi.first.wpilibj.camera.AxisCamera.ExposureT; import edu.wpi...
package org.jitsi.service.neomedia; /** * The <tt>MediaType</tt> enumeration contains a list of media types * currently known to and handled by the <tt>MediaService</tt>. * * @author Emil Ivov */ public enum MediaType { /** * Represents an AUDIO media type. */ AUDIO("audio"), /** * Repre...
package org.loklak.api.server; import java.io.IOException; import java.util.ArrayList; import java.util.Date; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import javax.servlet.ServletException; import javax.servlet.ServletOutputStream; import javax.servlet.http.HttpServlet; import javax....
package org.pentaho.di.trans.steps.mail; import java.io.BufferedInputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.util.Date; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.zip.ZipEntry; import java.util.zip.ZipOutputStream; impor...
package org.smblott.intentradio; import android.app.Service; import android.content.Intent; import android.content.Context; import android.os.IBinder; import android.os.PowerManager; import android.os.StrictMode; import android.app.PendingIntent; import android.app.Notification; import android.app.NotificationManager; ...
package org.ssgwt.client.ui.form; import java.util.Date; import java.util.HashMap; import java.util.List; import org.ssgwt.client.validation.FormValidator; import com.google.gwt.event.dom.client.KeyDownEvent; import com.google.gwt.event.dom.client.KeyDownHandler; import com.google.gwt.user.client.ui.Composite; import c...
package org.usfirst.frc.team4533.robot; import org.usfirst.frc.team4533.robot.subsystems.ClimbSystem; import org.usfirst.frc.team4533.robot.subsystems.DriveSystem; import org.usfirst.frc.team4533.robot.subsystems.ShooterSystem; import org.usfirst.frc.team4533.robot.utils.SensorData; import edu.wpi.first.wpilibj.Iterati...
package org.usfirst.frc.team5275.robot; import org.usfirst.frc.team5275.robot.OI; import org.usfirst.frc.team5275.robot.commands.BKAuto; import org.usfirst.frc.team5275.robot.commands.LeftGear; import org.usfirst.frc.team5275.robot.commands.MechDrive; import org.usfirst.frc.team5275.robot.commands.MiddleGear; import or...
package org.yuanheng.cookcc.lexer; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.yuanheng.cookcc.doc.ShortcutDoc; import org.yuanheng.cookcc.exception.*; /** * Hand written rule parser. * * @author Heng Yuan * @version $Id$ */ public class RuleParser { private final static Pattern ...
package org.zoodb.index.critbit; /** * This version of CritBit uses Copy-On-Write to create new versions of the tree * following each write operation. * */ import java.util.Iterator; import java.util.NoSuchElementException; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; /**...
package com.xqbase.java;/* ListSorts.java */ import com.xqbase.java.list.LinkedQueue; import com.xqbase.java.list.QueueEmptyException; import java.util.Random; public class ListSorts { private final static int SORTSIZE = 10; /** * makeQueueOfQueues() makes a queue of queues, each containing one item *...
package imj3.draft.segmentation2; import static imj3.draft.segmentation2.DataSourceArrayProperty.CLASS; import static imj3.draft.segmentation2.DataSourceArrayProperty.INPUT; import imj3.core.Channels; import imj3.draft.machinelearning.Classification; import imj3.draft.machinelearning.Classifier; import imj3.draft.machi...
package lv.ctco.cukesrest; import com.google.inject.*; import com.yammer.dropwizard.*; import com.yammer.dropwizard.config.*; import lv.ctco.cukesrest.gadgets.*; import lv.ctco.cukesrest.healthcheck.*; public class SampleApplication extends Service<SampleConfiguration> { public static void main(String[] args) throw...
package io.oversky524.myhttp; import java.io.IOException; import java.net.Socket; import java.net.SocketException; import java.net.SocketTimeoutException; import java.util.LinkedHashMap; import java.util.Map; public class Connection { private static final boolean DEBUG = true; private Map<Request, Response> req...
package org.eclipse.paho.client.mqttv3.internal; import java.io.IOException; import javax.net.ssl.SSLSocket; import javax.net.ssl.SSLSocketFactory; import org.eclipse.paho.client.mqttv3.MqttException; import org.eclipse.paho.client.mqttv3.logging.Logger; import org.eclipse.paho.client.mqttv3.logging.LoggerFactory; /** ...
package org.lamport.tla.toolbox.tool.tlc.ui.editor.page; import java.net.Inet4Address; import java.net.Inet6Address; import java.net.InetAddress; import java.net.NetworkInterface; import java.net.SocketException; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; import java.util.Collection...
package sibtra.gps; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.util.TooManyListenersException; import sibtra.imu.UtilMensajesIMU; import sibtra.util.EligeSerial; import gnu.io.CommPortIdentifier; import gnu.io.N...
package at.bitandart.zoubek.mervin.util.vis; import java.text.DecimalFormat; import org.eclipse.jface.viewers.ColumnLabelProvider; public abstract class NumericColumnLabelProvider extends ColumnLabelProvider { private DecimalFormat decimalFormat; public NumericColumnLabelProvider() { super(); de...
package com.redhat.ceylon.eclipse.code.search; import static com.redhat.ceylon.eclipse.code.editor.Navigation.gotoLocation; import static com.redhat.ceylon.eclipse.code.preferences.CeylonPreferenceInitializer.FULL_LOC_SEARCH_RESULTS; import static com.redhat.ceylon.eclipse.code.search.CeylonSearchResultTreeContentProvi...
package eu.cloudscaleproject.env.spotter; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.Collections; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.logging.Han...
package eu.hyvar.feature.validation.adapter; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Map; import java.util.Vector; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.NullProgressMonitor; import org.eclipse.core.runtime.Status; import org.eclipse.e...
package moppydesk; import gnu.io.SerialPort; import javax.sound.midi.MidiMessage; import javax.sound.midi.Receiver; /** * * @author Sammy1Am */ public class MoppyPlayer implements Receiver { /** * The periods for each MIDI note in an array. The floppy drives * don't really do well outside of the defin...
package org.intermine.web; import org.intermine.metadata.Model; import org.intermine.metadata.ClassDescriptor; import org.intermine.metadata.FieldDescriptor; import org.intermine.metadata.AttributeDescriptor; import org.intermine.metadata.ReferenceDescriptor; import org.intermine.util.TypeUtil; /** * Superclass of lef...
package gov.nih.nci.cabig.caaers.tools; import gov.nih.nci.cabig.ctms.tools.DataSourceSelfDiscoveringPropertiesFactoryBean; /** * This class searches through the following directories, looking for a file named * ${databaseConfigurationName}.properties: * <ul> * <li><kbd>${catalina.home}/conf/caaers</kbd></li> * ...
package org.ow2.proactive.scheduler.gui.composite; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.Hashtable; import java.util.List; import java.util.Map.Entry; import javax.swing.JPanel; import org.eclipse.core.runtime.IStatus; import ...
package gov.nih.nci.system.dao.orm.translator; import gov.nih.nci.iso21090.Ad; import gov.nih.nci.iso21090.AddressPartType; import gov.nih.nci.iso21090.Adxp; import gov.nih.nci.iso21090.EntityNamePartQualifier; import gov.nih.nci.iso21090.EntityNamePartType; import gov.nih.nci.iso21090.Enxp; import gov.nih.nci.iso21090...
package net.sf.farrago.test; import java.io.InputStream; import java.io.Reader; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.math.BigDecimal; import java.sql.*; import java.util.*; import java.util.regex.Pattern; import junit.framework.Assert; import junit.framework.T...
package nl.mpi.kinnate.entityindexer; import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import java.io.StringReader; import java.net.URI; import java.util.ArrayList; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel...
package org.eclipse.persistence.sdo.helper.delegates; import commonj.sdo.DataObject; import commonj.sdo.Property; import commonj.sdo.helper.HelperContext; import commonj.sdo.helper.XMLDocument; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.OutputStreamWriter; import...
package com.galois.qrstream.qrpipe; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import com.galois.qrstream.image.BitmapImage; import com.google.zxing.BarcodeFormat; import com.go...
package data_objects.drivers; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.math.BigDecimal; import java.math.BigInteger; import java.net.URI; import java.net.URISyntaxException; import java.sql.Connection; import java.sql.Date; import java.sql.Driver; ...
package org.dspace.curate; import java.io.IOException; import java.io.InputStreamReader; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.net.URL; import java.sql.SQLException; import java.util.List; import java.util.ArrayList; import java.util.Properties; import javax.xml...
/* * This class is the main grid square */ import javax.swing.*; import java.awt.*; import java.awt.event.*; public class BattleshipsGameMainPanel extends JPanel implements MouseListener { private String name; private boolean isPlayer; private boolean hasShip; private boolean isHit; public Battleshi...
package foam.lib.json; import java.util.HashMap; import java.util.List; import java.util.LinkedList; import java.util.Iterator; import java.lang.reflect.InvocationTargetException; import foam.core.ClassInfo; import foam.core.PropertyInfo; import foam.lib.parse.*; public class ModelParserFactory { private static HashM...
package org.jpos.space; import java.util.StringTokenizer; import org.jpos.util.NameRegistrar; /** * Creates a space based on a space URI. * * <p>A space URI has three parts: * <ul> * <li>scheme * <li>name * <li>optional parameter * </ul> * <p> * <p> * * Examples: * * <pre> * // default unnamed ...
package Gui2D; import Gui2D.Maps.Cellar; import Gui2D.Maps.Forest; import Gui2D.Maps.House2; import Gui2D.Maps.Forest; import Gui2D.Maps.GruulsLair; import Gui2D.Maps.Map; import Gui2D.Maps.Menu; import Gui2D.SpriteController.SpriteController; import javafx.application.Application; import javafx.stage.Stage; import jav...