answer
stringlengths
17
10.2M
package de.slackspace.openkeepass.domain; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.Xm...
package de.themoep.inventorygui; import org.bukkit.entity.HumanEntity; import org.bukkit.inventory.ItemStack; /** * This is an element that allows for controlling the pagination of the gui. * <b>Untested und potentially unfinished.</b> */ public class GuiPageElement extends StaticGuiElement { private PageAction ...
package edu.hm.hafner.analysis; import java.util.Optional; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.stream.Stream; import java.util.Stack; import edu.hm.hafner.util.LookaheadStream; /** * Parses a report file line by line for issues using a pre-defined regular expression. If the...
package edu.wright.hendrix11.conway.logic; import java.util.ArrayList; import java.util.List; import java.util.Objects; /** * @author Joe Hendrix */ public class Cell { private Grid grid; private boolean alive = false; private Cell northernCell; private Cell southernCell; private Cell easternCell;...
package innovimax.mixthem.arguments; /** * <p>This is the representation of a parameter value.</p> * @author Innovimax * @version 1.0 */ public class ParamValue { private final String text; private final int number; /** * Constructor * @param text The String value of the parameter. */ public...
package io.schinzel.basicutils.thrower; import io.schinzel.basicutils.Checker; import java.util.List; import java.util.Map; /** * The purpose of this class is to offer less verbose exception throwing in * general and variable checking in particular. * * @author schinzel */ @SuppressWarnings({"WeakerAccess", "Unuse...
package lmo.tcp.bridge.client; import java.net.URI; import java.util.Date; import java.util.Timer; import java.util.TimerTask; import lmo.tcp.bridge.listener.BridgeClientListener; import lmo.tcp.bridge.server.BridgeServer; import org.apache.log4j.BasicConfigurator; import org.apache.log4j.Logger; /** * * @author LMO ...
package mcjty.immcraft.blocks.book; import mcjty.immcraft.api.book.IBook; import mcjty.immcraft.api.handles.ActionInterfaceHandle; import mcjty.immcraft.api.helpers.InventoryHelper; import mcjty.immcraft.blocks.generic.GenericImmcraftTE; import mcjty.immcraft.books.BookPage; import mcjty.immcraft.books.BookParser; impo...
package me.abje.lingua.interpreter; import me.abje.lingua.Phase; import me.abje.lingua.interpreter.obj.Obj; import me.abje.lingua.lexer.Lexer; import me.abje.lingua.lexer.Morpher; import me.abje.lingua.parser.ParseException; import me.abje.lingua.parser.Parser; import me.abje.lingua.parser.expr.Expr; import java.io.*; ...
package mezz.jei.gui.ingredients; import javax.annotation.Nullable; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.Objects; import java.util.Set; import java.util.stream.Collectors; import com.mojang.blaze3d.platform.GlStateManager; import ...
package mx.com.geexco.test.undertow.us; import io.undertow.Handlers; import io.undertow.Undertow; import io.undertow.server.handlers.form.EagerFormParsingHandler; import java.net.InetAddress; import mx.com.geexco.test.undertow.us.dao.RegistrationSource; import mx.com.geexco.test.undertow.us.handlers.ListaRegistradosHan...
package net.aicomp.javachallenge2015; import java.util.ArrayList; import java.util.Random; import java.util.Scanner; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.CommandLineParser; import org.apache.commons.cli.DefaultParser; import org.apache.commons.cli.HelpFormatter; import org.apache.com...
package net.bramp.ffmpeg.builder; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableList; import net.bramp.ffmpeg.FFmpegUtils; import net.bramp.ffmpeg.probe.FFmpegProbeResult; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.net.URI; import java.util.ArrayList; i...
package net.morematerials.listeners; import net.morematerials.MoreMaterials; import net.morematerials.materials.CustomFuel; import net.morematerials.materials.MMCustomBlock; import org.bukkit.GameMode; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.event.EventHandler; import org.bukkit.event....
package tlc2.tool.fp; import java.io.IOException; import java.text.DecimalFormat; import java.util.Random; public abstract class FPSetTest extends AbstractFPSetTest { private long previousTimestamp; private long previousSize; private final DecimalFormat df = new DecimalFormat(" public void testSimpleFil...
package net.openhft.chronicle.map; import net.openhft.chronicle.core.Jvm; import net.openhft.chronicle.core.OS; import net.openhft.chronicle.hash.ChronicleFileLockException; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.io.File; import java.io.IOException; import java....
package net.wyun.wcrs.wechat.po; /** * * * @author qikuo * @date 2017-2-28 */ public class WeixinUserInfo { private String openId; private int subscribe; private String subscribeTime; private String nickname; // 120 private int sex; private String country; private String province; ...
package to.etc.domui.login; public interface IUser { /** * The user's login ID. * @return */ String getLoginID(); /** * Return a display name for the user; this usually is the full formal name. * @return */ String getDisplayName(); // /** // * The set of name...
package net.xprova.verilogparser; import java.io.FileInputStream; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.antlr.v4.runtime.ANTLRInputStream; import org.antlr.v4.runtime.CommonTokenStream; import org.antlr.v4.runtime.Parser...
package nl.yacht.lakesideresort.domain; import javax.persistence.*; import javax.validation.constraints.AssertTrue; import java.time.LocalDate; @Entity public class Booking { //variabelen @Id @GeneratedValue(strategy = GenerationType.AUTO) private long bookingnumber; @ManyToOne private Guest gue...
package openblocks.common.item; import java.util.List; import net.minecraft.block.Block; import net.minecraft.client.model.ModelBiped; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.monster.EntityM...
package org.dynmap.kzedmap; import java.awt.Color; import java.awt.image.BufferedImage; import java.awt.image.WritableRaster; import java.io.File; import java.io.IOException; import java.util.Map; import javax.imageio.ImageIO; import org.bukkit.World; import org.dynmap.debug.Debug; public class DefaultTileRenderer impl...
package org.formula.binding; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java....
package org.lightmare.jpa.jta; import java.io.IOException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collection; import javax.ejb.EJBException; import javax.ejb.TransactionAttribute; import javax.ejb.TransactionAttributeType; import javax.ejb.TransactionManagementType; import javax.p...
package org.lightmare.jpa.jta; import java.io.IOException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collection; import javax.ejb.EJBException; import javax.ejb.TransactionAttribute; import javax.ejb.TransactionAttributeType; import javax.ejb.TransactionManagementType; import javax.p...
package org.osiam.storage.entities; import javax.persistence.Basic; import javax.persistence.Entity; import javax.persistence.Table; import org.osiam.resources.scim.Email; import org.osiam.storage.entities.jpa_converters.EmailTypeConverter; /** * Email Entity */ @Entity @Table(name = "scim_email") public class EmailE...
package org.osiam.storage.query; import java.util.Date; import java.util.HashMap; import java.util.Map; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.Expression; import javax.persistence.criteria.JoinType; import javax.persistence.criteria.Predicate; import javax.persistence.crite...
package org.realityforge.getopt4j; import java.text.ParseException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; /** * Parser for command line arguments. * * This parses command lines according to the standard (?) of * GNU utilities. Note that CLArgs uses a backing hash table for the...
package org.ringingmaster.engine; //TODO where should this live? import org.ringingmaster.engine.method.Bell; import org.ringingmaster.engine.notation.Place; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import static com.google.common.base.Preconditions.checkArgument; /** * Represents the...
package permafrost.tundra.data; import com.wm.data.IData; import com.wm.data.IDataCursor; import com.wm.data.IDataFactory; import com.wm.data.IDataPortable; import com.wm.data.IDataUtil; import com.wm.util.Table; import com.wm.util.coder.IDataCodable; import com.wm.util.coder.ValuesCodable; import permafrost.tundra.io....
package se.claremont.autotest.common; import java.io.File; import java.text.SimpleDateFormat; import java.util.Date; public class LogFolder { public static String testRunLogFolder = null; //Used for test case logging @SuppressWarnings("FieldCanBeLocal") private static String baseLogFolder = null; //Rea...
package seedu.address.commons.core; import java.awt.Point; import java.io.Serializable; import java.util.Objects; /** * A Serializable class that contains the GUI settings. */ public class GuiSettings implements Serializable { private static final double DEFAULT_HEIGHT = 600; private static final double DEFAU...
package seedu.taskboss.model.task; import seedu.taskboss.model.category.UniqueCategoryList; /** * A read-only immutable interface for a Task in TaskBoss. * Implementations should guarantee: details are present and not null, field values are validated. */ public interface ReadOnlyTask { Name getName(); Priori...
package six.com.crawler.work.downer; import java.io.Serializable; /** * @author six * @date 201671 3:36:49 */ public enum DownerType implements Serializable { OKHTTP(1), HTTPCLIENT(2), CHROME(3), PHANTOMJS(4), FILE(5); final int value; DownerType(int value) { this.value = value; ...
package test.api.rest.activity; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import javastrava.api.v3.model.StravaActivity; import javastrava.api.v3.model.StravaSegmentEffort; import ...
package uk.co.jemos.podam.api; import net.jcip.annotations.Immutable; import net.jcip.annotations.ThreadSafe; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import uk.co.jemos.podam.common.*; import uk.co.jemos.podam.exceptions.PodamMockeryException; import java.lang.annotation.Annotation; import java.lang.re...
package uk.co.jemos.podam.api; import java.lang.annotation.Annotation; import java.lang.reflect.Array; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.GenericArrayType; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.re...
package io.branch.referral; import android.annotation.SuppressLint; import android.annotation.TargetApi; import android.app.Activity; import android.app.Application; import android.content.Context; import android.net.Uri; import android.os.AsyncTask; import android.os.Build; import android.os.Bundle; import android.os....
package org.codehaus.groovy.control; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.security.CodeSource; import java.util.*; import org.codehaus.groovy.GroovyBugError; import org.codehaus.groovy.ast.ASTNode; import org.codeh...
/* * Without any limit of programming knowledge, * let's try to produce an awesome class for generating that song! */ public class SongCrazy { public static void main(String[] args) { String[] animals = {"spider", "bird", "cat", "dog", "fennekin"}; String[] secondline = { "That wriggl...
package tutorial.outlier; import de.lmu.ifi.dbs.elki.algorithm.AbstractDistanceBasedAlgorithm; import de.lmu.ifi.dbs.elki.algorithm.outlier.OutlierAlgorithm; import de.lmu.ifi.dbs.elki.data.type.TypeInformation; import de.lmu.ifi.dbs.elki.data.type.TypeUtil; import de.lmu.ifi.dbs.elki.database.Database; import de.lmu.i...
package etomica.nbratom.cell; import etomica.Atom; import etomica.AtomIterator; import etomica.Phase; import etomica.PhaseCellManager; import etomica.PhaseEvent; import etomica.PhaseListener; import etomica.SimulationEvent; import etomica.Space; import etomica.action.AtomActionTranslateBy; import etomica.action.AtomGro...
/* * Thibaut Colar Sep 2, 2009 */ package net.colar.netbeans.fan.indexer; import java.io.IOException; import java.util.Collection; import java.util.Iterator; import org.netbeans.modules.parsing.api.Snapshot; import org.netbeans.modules.parsing.spi.indexing.Context; import org.netbeans.modules.parsing.spi.indexing.Emb...
package net.finmath.montecarlo; import java.util.HashMap; import java.util.Map; import net.finmath.exception.CalculationException; import net.finmath.stochastic.RandomVariableInterface; /** * Base class for product needing an MonteCarloSimulationInterface * * @author Christian Fries */ public abstract class Abstrac...
package net.jayschwa.android.preference; import android.content.Context; import android.content.res.TypedArray; import android.preference.DialogPreference; import android.util.AttributeSet; import android.view.View; import android.widget.SeekBar; /** * @author Jay Weisskopf */ public class SliderPreference extends Di...
// DistanceMatrix.java // This package may be distributed under the package net.maizegenetics.popgen.distance; import net.maizegenetics.util.FormattedOutput; import net.maizegenetics.util.TableReport; import net.maizegenetics.taxa.TaxaList; import net.maizegenetics.taxa.Taxon; import java.io.IOException; import java.io...
package net.mcft.copy.betterstorage.item; import java.util.List; import net.mcft.copy.betterstorage.content.Items; import net.mcft.copy.betterstorage.misc.Constants; import net.mcft.copy.betterstorage.misc.CurrentItem; import net.mcft.copy.betterstorage.utils.StackUtils; import net.minecraft.block.Block; import net.min...
package net.sf.mzmine.visualizers.rawdata.tic; import java.util.Date; import net.sf.mzmine.interfaces.Scan; import net.sf.mzmine.io.RawDataFile; import net.sf.mzmine.io.RawDataFile.PreloadLevel; import net.sf.mzmine.taskcontrol.Task; import net.sf.mzmine.taskcontrol.TaskController; import net.sf.mzmine.taskcontrol.Task...
package com.db.gui; import java.awt.Color; import java.awt.Dimension; import java.awt.FontMetrics; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Insets; import java.awt.Rectangle; import javax.swing.JComponent; import javax.swing.LookAndFeel; import javax.swing.UIManager; import javax.swing.plaf...
package ol; import ol.control.FullScreen; import ol.control.MousePosition; import ol.control.Rotate; import ol.control.ScaleLine; import ol.control.ZoomSlider; import ol.control.ZoomToExtent; import ol.interaction.DragAndDrop; import ol.interaction.KeyboardPan; import ol.interaction.KeyboardZoom; import ol.layer.Image;...
import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.ByteArrayOutputStream; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FilterInputStream; import java.io.FilterOutputStream; import java.io.IOException; import java.io.Input...
package pl.shockah.godwit.asset; import com.badlogic.gdx.assets.AssetLoaderParameters; import com.badlogic.gdx.assets.AssetManager; import javax.annotation.Nonnull; import javax.annotation.Nullable; import pl.shockah.godwit.Godwit; public class Asset<T> { @Nonnull public final String fileName; @Nonnull public f...
package org.eddy; import org.assertj.core.util.Lists; import org.eddy.classLoader.Some; import org.junit.Test; import javax.script.*; import java.util.*; public class JsTest { @Test public void test() throws ScriptException { ScriptEngineManager engineManager = new ScriptEngineManager(); ScriptE...
package wombat.util.files; import java.awt.Component; import java.awt.FileDialog; import java.awt.event.FocusEvent; import java.awt.event.FocusListener; import java.io.*; import java.net.InetAddress; import java.util.*; import javax.swing.JOptionPane; import javax.swing.text.BadLocationException; import javax.swing.und...
package hex.glm; import hex.*; import hex.glm.GLMModel.GLMParameters.Family; import water.*; import water.DTask.DKeyTask; import water.H2O.H2OCountedCompleter; import water.fvec.Chunk; import water.fvec.Frame; import water.fvec.Vec; import water.util.JCodeGen; import water.util.MathUtils; import water.util.SB; import w...
package hex.tree.drf; import hex.Model; import static hex.genmodel.GenModel.getPrediction; import hex.schemas.DRFV2; import hex.tree.*; import hex.tree.DTree.DecidedNode; import hex.tree.DTree.LeafNode; import hex.tree.DTree.UndecidedNode; import static hex.tree.drf.TreeMeasuresCollector.asSSE; import static hex.tree.d...
package to.mmo.cmdlineoptions; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.HashMap; import java.util.List; public class CmdOptions { private static CmdOptions instance; public static class Option { private String name; private ArrayList<Stri...
package org.jpos.q2; import org.jline.reader.LineReader; import org.jpos.util.Loggeable; import java.io.*; import java.util.LinkedHashMap; import java.util.Map; public class CLIContext { private boolean stopped = false; private OutputStream out; private OutputStream err; private InputStream in; priv...
package com.allforfunmc.refineddiamond; import com.allforfunmc.scaffolding.BlockOfScaffolding; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.Item;...
package foam.nanos.http; import com.sun.net.httpserver.*; import foam.core.*; import foam.dao.DAO; import foam.nanos.*; import java.io.IOException; import java.net.URI; import javax.servlet.http.HttpServlet; public class NanoHttpHandler extends ContextAwareSupport implements HttpHandler { public NanoHttpHandle...
package leapTools; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.Task; import org.apache.tools.ant.DirectoryScanner; import java.io.*; /** ANT-task preprocessing JADE sources into JADE-LEAP sources for J2SE, PJAVA and MIDP environments @author Giovanni Caire - TILAB */ public class P...
package cgeo.geocaching.network; import cgeo.geocaching.files.LocalStorage; import cgeo.geocaching.settings.Settings; import cgeo.geocaching.utils.Log; import cgeo.geocaching.utils.TextUtils; import ch.boye.httpclientandroidlib.HttpEntity; import ch.boye.httpclientandroidlib.HttpResponse; import ch.boye.httpclientandro...
package com.google.refine; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Timer; import java.util.TimerTask; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servl...
package com.app.fixthys.widget; import android.content.Context; import android.content.res.TypedArray; import android.graphics.PorterDuff; import android.graphics.Typeface; import android.graphics.drawable.Drawable; import android.support.v4.content.ContextCompat; import android.support.v4.graphics.drawable.DrawableCom...
package com.rho.sync; import com.xruby.runtime.builtin.RubyHash; import com.xruby.runtime.lang.RubyValue; /** * The Class SyncObject. */ public class SyncObject { /* track the database operation to use */ private String _db_operation; /** The _primary key. */ private int _primaryKey = -1; /** The ...
package net.sf.jaer.graphics; import java.beans.PropertyChangeEvent; import java.nio.FloatBuffer; import java.util.Arrays; import java.util.Iterator; import java.util.Random; import net.sf.jaer.chip.AEChip; import net.sf.jaer.event.ApsDvsEvent; import net.sf.jaer.event.ApsDvsEventPacket; import net.sf.jaer.event.BasicE...
package net.wurstclient.features.mods; import java.lang.reflect.Field; import java.util.Collection; import java.util.Comparator; import java.util.TreeMap; import net.wurstclient.features.Mod; import net.wurstclient.features.mods.blocks.*; import net.wurstclient.features.mods.chat.AntiSpamMod; import net.wurstclient.fea...
package org.bouncycastle.asn1.x9; import java.math.BigInteger; import java.util.Enumeration; import java.util.Hashtable; import org.bouncycastle.asn1.DERObjectIdentifier; import org.bouncycastle.math.ec.ECCurve; import org.bouncycastle.util.encoders.Hex; /** * table of the current named curves defined in X.962 EC-DSA....
package org.concord.framework.logging; public interface LogManager { void logAction(int level, String message); void logAction(int level, String message, int priority); void logObservation(int level, String message); void logObservation(int level, String message, int priority); void logLoggable(Logg...
package afk.ge.tokyo.ems.systems; import afk.ge.ems.Engine; import afk.ge.ems.ISystem; import afk.ge.tokyo.ems.components.TextLabel; import afk.ge.tokyo.ems.nodes.TextLabelNode; import java.awt.Color; import java.awt.Font; import java.awt.Graphics2D; import java.awt.Rectangle; import java.awt.RenderingHints; import jav...
package org.dita.dost.invoker; import static org.dita.dost.util.Constants.*; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Properties; i...
package algorithms.imageProcessing; import algorithms.util.PairInt; import java.util.Set; import java.util.logging.Logger; /** * The erosion filter iterates over all pixels in the image, checking whether * the current non-null pixel can be nulled without disconnecting any adjacent * pixels. * * TODO: the erosion f...
package org.ensembl.healthcheck.test; import org.ensembl.healthcheck.Species; import junit.framework.TestCase; /** * Junit test case for Species */ public class SpeciesTest extends TestCase { public SpeciesTest(String arg) { super(arg); } public void testToString() { Species s = Species.HO...
// 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 org.exist.xquery.test; import junit.framework.TestCase; import junit.textui.TestRunner; import org.exist.storage.DBBroker; import org.exist.xmldb.DatabaseInstanceManager; import org.xmldb.api.DatabaseManager; import org.xmldb.api.base.Collection; import org.xmldb.api.base.Database; import org.xmldb.api.base.Res...
package org.apache.xerces.validators.common; import org.apache.xerces.framework.XMLAttrList; import org.apache.xerces.framework.XMLContentSpec; import org.apache.xerces.framework.XMLDocumentHandler; import org.apache.xerces.framework.XMLDocumentScanner; import org.apache.xerces.framework.XMLErrorReporter; import org.ap...
package org.broad.igv.hic.matrix; import org.broad.igv.hic.MainWindow; import org.broad.igv.util.ObjectCache; import org.broad.igv.util.ParsingUtils; import org.broad.tribble.util.LittleEndianInputStream; import org.broad.tribble.util.LittleEndianOutputStream; import org.broad.tribble.util.SeekableStream; import org.br...
package io.moquette; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import io.netty.handler.codec.CorruptedFrameException; import io.netty.handler.codec.mqtt.MqttMessage; import io.netty.util.Attribute; import io.netty.util.AttributeKey; import io.netty.util.AttributeMap; import org.slf4j.LoggerFactor...
package org.opencms.configuration; import org.opencms.i18n.CmsLocaleComparator; import org.opencms.main.CmsLog; import org.opencms.main.OpenCms; import org.opencms.search.CmsSearchAnalyzer; import org.opencms.search.CmsSearchDocumentType; import org.opencms.search.CmsSearchIndex; import org.opencms.search.CmsSearchInde...
package org.pikater.core.agents.system; import jade.content.lang.Codec.CodecException; import jade.content.onto.OntologyException; import jade.content.onto.basic.Action; import jade.content.onto.basic.Result; import jade.domain.FIPAAgentManagement.NotUnderstoodException; import jade.domain.FIPAAgentManagement.RefuseExc...
package org.epics.pvmanager.sys; import org.epics.util.time.Timestamp; import org.epics.util.time.TimestampFormat; import static org.epics.vtype.ValueFactory.*; /** * * @author carcassi */ class TimeChannelHandler extends SystemChannelHandler { private static final TimestampFormat timeFormat = new TimestampForma...
package be.ibridge.kettle.core.database; import java.io.StringReader; import java.sql.BatchUpdateException; import java.sql.CallableStatement; import java.sql.Connection; import java.sql.DatabaseMetaData; import java.sql.DriverManager; import java.sql.ParameterMetaData; import java.sql.PreparedStatement; import java.sq...
/* Open Source Software - may be modified and shared by FRC teams. The code */ /* the project. */ // FILE NAME: Autonomous.java (Team 339 - Kilroy) // ABSTRACT: // This file is where almost all code for Kilroy will be // written. All of these functions are functions that should // override methods in the base class (It...
/* Open Source Software - may be modified and shared by FRC teams. The code */ /* the project. */ // FILE NAME: Autonomous.java (Team 339 - Kilroy) // ABSTRACT: // This file is where almost all code for Kilroy will be // written. Some of these functions are functions that should // override methods in the base class (I...
package org.usfirst.frc.team3335.robot.subsystems; import edu.wpi.first.wpilibj.DoubleSolenoid; import edu.wpi.first.wpilibj.DoubleSolenoid.Value; import edu.wpi.first.wpilibj.Solenoid; import edu.wpi.first.wpilibj.command.Subsystem; @SuppressWarnings("unused") public class Dumper extends Subsystem implements LoggableS...
package ca.cumulonimbus.pressurenetsdk; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.security.MessageDigest; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import android.ap...
/* Open Source Software - may be modified and shared by FRC teams. The code */ /* the project. */ // FILE NAME: Autonomous.java (Team 339 - Kilroy) // ABSTRACT: // This file is where almost all code for Kilroy will be // written. All of these functions are functions that should // override methods in the base class (It...
package org.usfirst.frc.team997.robot.subsystems; import edu.wpi.first.wpilibj.Counter; import edu.wpi.first.wpilibj.DigitalInput; import edu.wpi.first.wpilibj.Servo; import edu.wpi.first.wpilibj.VictorSP; import edu.wpi.first.wpilibj.command.Subsystem; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; public...
package ca.eandb.jdcp.worker; import java.rmi.RemoteException; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.UUID; import java.util.concurrent.BlockingQueue; import java.util.concurrent.Executor; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurre...
package ca.kanoa.RodsTwo.Helpers; import ca.kanoa.RodsTwo.Objects.Rod; import ca.kanoa.RodsTwo.RodsTwo; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.entity.Pl...
package ca.mcgill.mcb.pcingola.bigDataScript; import ca.mcgill.mcb.pcingola.bigDataScript.util.Gpr; public class Zzz { public static void main(String[] args) throws Exception { Gpr.debug("PATH: " + System.getenv("PATH")); } }
package ch.deletescape.jterm.commandcontexts; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.NoSuchFileException; import java.nio.file.Path; import ch.deletescape.jterm.CommandUtils; import ch.deletescape.jterm.JTerm; import ch.del...
package algorithms.imageProcessing; import algorithms.compGeometry.LinesAndAngles; import algorithms.util.PairIntArray; import java.util.Arrays; /** * * @author nichole */ public class PartialShapeMatcher { /** * in sampling the boundaries of the shapes, one can * choose to use the same number for each...
package co.epitre.aelf_lectures; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.GregorianCalendar; import java.util.List; import android.accounts.Account; import android.accounts.AccountManager; import android.annotation.SuppressLint; import android.app.UiMod...
package co.epitre.aelf_lectures; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.GregorianCalendar; import java.util.List; import android.accounts.Account; import android.accounts.AccountManager; import android.annotation.SuppressLint; import android.app.UiMod...
package com.akjava.lib.common.form; import java.util.ArrayList; import java.util.List; import com.akjava.lib.common.tag.LabelAndValue; import com.google.common.base.Joiner; import com.google.common.collect.Lists; public class FormFieldData { private String name; private String key; private int type; private FormData pa...
package bitronix.tm.resource.jdbc; import bitronix.tm.internal.BitronixRollbackSystemException; import bitronix.tm.internal.BitronixSystemException; import bitronix.tm.resource.common.*; import bitronix.tm.resource.jdbc.lrc.LrcXADataSource; import bitronix.tm.utils.Decoder; import bitronix.tm.utils.ManagementRegistrar;...
package VASSAL.tools; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import j...
package caris.framework.handlers; import caris.framework.basehandlers.Handler; import caris.framework.basereactions.MultiReaction; import caris.framework.basereactions.Reaction; import caris.framework.library.Constants; import caris.framework.library.Variables; import caris.framework.reactions.ReactionMessage; import c...
package ch.unizh.ini.jaer.projects.rnnfilter; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.RenderingHints; import java.awt.image.BufferedImage; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import java.io.File; import java.io.IOException; import java.util.Arra...