answer
stringlengths
17
10.2M
package com.github.dreamhead.moco.verification; public abstract class UnaryTimesVerification extends AbstractTimesVerification { protected abstract boolean doMeet(int size, int count); private final int count; protected UnaryTimesVerification(final int count) { this.count = count; } @Overrid...
package org.navalplanner.web.resourceload; import static org.navalplanner.web.I18nHelper._; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.LinkedList; import java.util.List; import java.util.ListIterator; import java.util.Map; import java.util.S...
package dr.inference.operators.hmc; import dr.inference.hmc.GradientWrtParameterProvider; import dr.inference.model.Likelihood; import dr.inference.model.Parameter; import dr.inference.operators.CoercionMode; import dr.inference.operators.GeneralOperator; import dr.inference.operators.GibbsOperator; import dr.math.Math...
package edu.asu.diging.gilesecosystem.nepomuk.core.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import edu.asu.diging.gilesecosystem.nepomuk.core.service.properties.Properties; impo...
package org.ngrinder.script.service; import static org.ngrinder.common.util.Preconditions.checkNotEmpty; import static org.ngrinder.common.util.Preconditions.checkNotNull; import java.io.File; import java.io.IOException; import java.util.List; import net.grinder.engine.agent.LocalScriptTestDriveService; import net.grin...
package edu.cmu.minorthird.text.model; import edu.cmu.minorthird.text.*; import java.io.*; import java.util.*; /** Unigram Language Model * * @author William Cohen */ public class UnigramModel { // avoid re-creating a zillion copies of Double(1), etc final private static Double[] CACHED_DOUBLES = new Double[...
package io.github.voidzombie.nhglib.graphics.shaders.tiled; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.*; import com.badlogic.gdx.graphics.g3d.Attributes; import com.badlogic.gdx.graphics.g3d.Environment; import com.badlogic.gdx.graphics.g3d.Renderable; import com.badlogic.gdx.graphics.g3d.Shader; im...
package net.mm2d.dmsexplorer; import android.content.Intent; import android.content.res.Configuration; import android.graphics.Point; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.os.Handler; import android.support.v7.app.AppCompatActivity; import android.view.Display; import...
package com.yahoo.vespa.hosted.provision.maintenance; import com.yahoo.config.provision.ApplicationId; import com.yahoo.config.provision.Deployer; import com.yahoo.config.provision.NodeResources; import com.yahoo.config.provision.NodeType; import com.yahoo.jdisc.Metric; import com.yahoo.transaction.Mutex; import com.ya...
/** * EditEntityScreen * * Class representing the screen that allows users to edit properties of * grid entities, including triggers and appearance. * * @author Willy McHie * Wheaton College, CSCI 335, Spring 2013 */ package edu.wheaton.simulator.gui; import java.awt.BorderLayout; import java.awt.Color; import ...
/** * EditEntityScreen * * Class representing the screen that allows users to edit properties of * grid entities, including triggers and appearance. * * @author Willy McHie * Wheaton College, CSCI 335, Spring 2013 */ package edu.wheaton.simulator.gui; import java.awt.BorderLayout; import java.awt.Color; import ...
package edu.wpi.first.wpilibj.templates; import edu.wpi.first.wpilibj.AnalogChannel; import edu.wpi.first.wpilibj.Relay; import edu.wpi.first.wpilibj.DigitalInput; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; /** * * @author Enforers */ public class Compressor implements Component{ Relay compresso...
package com.axelor.db; import java.io.InputStream; import java.util.Date; import java.util.Map; import org.joda.time.DateTime; import org.joda.time.DateTimeZone; import org.joda.time.LocalDate; import org.joda.time.LocalDateTime; import org.yaml.snakeyaml.TypeDescription; import org.yaml.snakeyaml.Yaml; import org.yaml...
package eg.utils; /** * Static methods to search for elements in text */ public class LinesFinder { /** * Returns the line which includes the specified position * * @param text the text * @param pos the pos that is in the searched line * @return the line that includes '{@code pos}' */ ...
package eu.ydp.empiria.player.client.util; import com.google.gwt.core.client.GWT; import com.google.gwt.dom.client.Document; import com.google.gwt.dom.client.Element; import com.google.gwt.dom.client.NodeList; import com.google.gwt.user.client.Window; public class PathUtil { public static String resolvePath(String ...
// This file is part of the OpenNMS(R) Application. // OpenNMS(R) is a derivative work, containing both original code, included code and modified // and included code are below. // OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. // This program is free software; you can redistribute it and/or modify // ...
package org.caleydo.view.datagraph.bandlayout; import gleem.linalg.Vec3f; import java.awt.geom.Point2D; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.media.opengl.GL2; import org.caleydo.core.data.container.ADimensionGroupData; import org.caleydo.core.ut...
package org.lamport.tla.toolbox.spec.manager; import java.util.Collection; import java.util.HashMap; import java.util.Hashtable; import java.util.Iterator; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IResource; import org.eclipse.core.resources.IResourceChangeEvent; import org.eclipse....
package org.xillium.base.beans; import java.beans.*; import java.lang.reflect.*; import java.util.*; import org.xillium.base.type.typeinfo; import org.xillium.base.util.ValueOf; /** * A collection of commonly used bean manipulation utilities. */ public class Beans { /** * Tests whether a non-primitive type i...
package fr.inria.jessy.benchmark.tpcc; import java.util.Random; /** * @author Wang Haiyun & ZHAO Guang * */ /*according to tpcc section 4.3.2.2, this class is used for generate random string, length: [x..y], * the character set must has at least 26 lower case and 26 upper case, and the digits from 1...9 */ public...
package org.voltcore.utils; import org.voltcore.logging.VoltLogger; public class EstTimeUpdater { //Report inconsistent update frequency at most every sixty seconds public static final long maxErrorReportInterval = 60 * 1000; public static long lastErrorReport = System.currentTimeMillis() - maxErrorReportIn...
package com.twu.biblioteca; import org.junit.Test; import static org.junit.Assert.assertEquals; import java.io.ByteArrayOutputStream; import java.io.ByteArrayInputStream; import java.io.PrintStream; import java.lang.StringBuilder; import java.util.List; import java.util.ArrayList; public class BibliotecaAppTest { @...
package at.rags.morpheus; import com.google.gson.Gson; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.lang.reflect.Field; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.HashMap; import java.util.I...
package gov.nih.nci.calab.ui.core; import gov.nih.nci.calab.dto.common.UserBean; import gov.nih.nci.calab.dto.inventory.AliquotBean; import gov.nih.nci.calab.dto.inventory.ContainerBean; import gov.nih.nci.calab.dto.inventory.ContainerInfoBean; import gov.nih.nci.calab.dto.inventory.SampleBean; import gov.nih.nci.calab...
package nakadi; import java.util.UUID; import java.util.concurrent.ThreadLocalRandom; class ResourceSupport { public static final String CHARSET_UTF_8 = "UTF-8"; public static final String APPLICATION_JSON_CHARSET_UTF_8 = "application/json; charset=" + CHARSET_UTF_8; static String nextEid() { return UUI...
package jade.tools.introspector.gui; import java.awt.*; import javax.swing.*; import javax.swing.tree.*; /** This panel contains the behaviour tree for a given agent. It adds a TreeMouseListener component to the tree. @author Andrea Squeri, - Universita` di Parma */ public class BehaviourPanel extends JSplitP...
package com.tepidpond.tum.PlateTectonics; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Graphics2D; import java.awt.Insets; import java.awt.image.BufferedImage; import java.io.File; import javax.imageio.ImageIO; import javax.swing.ImageIcon; import javax.swing.JDialog; import javax.swing.JFrame; ...
package org.apache.commons.lang; import java.util.Iterator; import java.util.Map; /** * <p>Performs basic variable interpolation on a String for variables within a Map. * Variables of the form, ${var}, are supported.</p> * * @author Ken Fitzpatrick * @author Henri Yandell * @since 2.1 * @version $Id: Interpolati...
package org.apache.velocity.anakia; import java.util.Iterator; import java.util.Vector; import org.jdom.Document; import org.jdom.Element; import org.jdom.JDOMException; /** * This class allows you to walk a tree of JDOM Element objects. * It first walks the tree itself starting at the Element passed * into allEleme...
package scal.io.liger; import android.content.Context; import android.content.res.AssetManager; import android.os.Environment; import android.util.Log; import com.android.vending.expansion.zipfile.ZipResourceFile; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.reflect.TypeToken;...
package com.izforge.izpack.panels; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.Font; import java.io.IOException; import javax.swing.BoxLayout; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JProgressBar; import javax.swing.JScrollPane; import javax.swing.JTextArea;...
package com.faveset.khttp; import java.nio.BufferOverflowException; import java.nio.ByteBuffer; class RequestStartHandler implements StateHandler { /** * @param conn is not used currently. * @param state will be reset for the header parsing stage on success. * * @throws InvalidRequestException o...
package com.socks.library; import android.support.annotation.Nullable; import android.text.TextUtils; import com.socks.library.klog.BaseLog; import com.socks.library.klog.FileLog; import com.socks.library.klog.JsonLog; import com.socks.library.klog.XmlLog; import java.io.File; import java.io.PrintWriter; import java.io...
package ameba.core; import org.glassfish.jersey.server.ResourceConfig; import java.util.Map; import java.util.Set; /** * @author icode */ class ExcludeResourceConfig extends ResourceConfig { private Set<String> excludes; public ExcludeResourceConfig(Set<String> excludes) { this.excludes = excludes; ...
package org.holoeverywhere.widget; import org.holoeverywhere.R; import org.holoeverywhere.text.AllCapsTransformationMethod; import org.holoeverywhere.text.TransformationMethod; import android.content.Context; import android.content.res.ColorStateList; import android.content.res.Resources; import android.content.res.Typ...
package betterwithaddons.util; import net.minecraft.block.BlockBanner; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; import net.minecraft.inventory.EntityEquipmentSlot; import net.minecraft.item.ItemBanner; import net.minecraft.item.ItemS...
package br.com.imobiliaria.dao; import br.com.imobiliaria.model.Imagem; import br.com.imobiliaria.model.Imovel; import java.io.File; import java.io.FileInputStream; import java.sql.Blob; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import javax.ejb.Stateless; import javax.persistence...
package com.attask.jenkins; import hudson.EnvVars; import hudson.Extension; import hudson.FilePath; import hudson.Launcher; import hudson.model.*; import hudson.tasks.BatchFile; import hudson.tasks.BuildStepDescriptor; import hudson.tasks.Builder; import hudson.tasks.Shell; import hudson.util.ListBoxModel; import jenki...
package com.bdh.automation; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStreamReader; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import j...
package com.codahale.shore; import static com.google.common.base.Preconditions.*; import java.util.Properties; import java.util.Map.Entry; import java.util.logging.Logger; import net.jcip.annotations.Immutable; import org.mortbay.jetty.Connector; import org.mortbay.jetty.Handler; import org.mortbay.jetty.Server; import...
package com.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.ModelAttribu...
package com.es.lib.common.model; import com.es.lib.common.collection.CollectionUtil; import com.es.lib.common.text.FioChopper; import com.es.lib.common.text.TextUtil; import org.apache.commons.lang3.StringUtils; import java.util.Arrays; import java.util.List; /** * @author Zuzoev Dmitry - zuzoev.d@ext-system.com * @s...
package com.gadawski.day; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import java.time.DayOfWeek; import java.util.List; import java.util.Map; public class DayStatsFactory { private Map<DayOfWeek, List<DayData>> data; private DayStatsFactory(Map<DayOfWeek, List<DayData>> data)...
package com.github.fjdbc.sql; import java.math.BigDecimal; import java.net.URL; import java.sql.Array; import java.sql.Blob; import java.sql.Clob; import java.sql.PreparedStatement; import java.sql.Ref; import java.sql.SQLException; import java.sql.Time; import java.sql.Timestamp; import java.util.ArrayList; import jav...
package com.github.lstephen.ootp.ai; import com.github.lstephen.ootp.ai.config.Config; import com.github.lstephen.ootp.ai.data.Id; import com.github.lstephen.ootp.ai.draft.DraftReport; import com.github.lstephen.ootp.ai.io.Printables; import com.github.lstephen.ootp.ai.ootp5.report.SpringTraining; import com.github.lst...
package com.hearthsim.card.minion; import com.hearthsim.card.Card; import com.hearthsim.card.Deck; import com.hearthsim.card.ImplementedCardList; import com.hearthsim.event.attack.AttackAction; import com.hearthsim.event.deathrattle.DeathrattleAction; import com.hearthsim.exception.HSException; import com.hearthsim.exc...
package com.jsoniter.spi; import java.lang.reflect.*; import java.util.*; import static java.lang.reflect.Modifier.isTransient; public class ClassDescriptor { public ClassInfo classInfo; public Class clazz; public Map<String, Type> lookup; public ConstructorDescriptor ctor; public List<Binding> fiel...
package com.justjournal.rss; import com.justjournal.utility.Xml; import lombok.NonNull; import lombok.extern.slf4j.Slf4j; import org.springframework.context.annotation.Scope; import org.springframework.context.annotation.ScopedProxyMode; import org.springframework.stereotype.Component; import org.w3c.dom.Document; impo...
// This file is part of the Kaltura Collaborative Media Suite which allows users // to do with audio, video, and animation what Wiki platfroms allow them to do with // text. // This program is free software: you can redistribute it and/or modify // published by the Free Software Foundation, either version 3 of the // T...
package com.matt.forgehax.mods; import com.google.common.collect.Lists; import com.matt.forgehax.Wrapper; import com.matt.forgehax.util.Utils; import com.matt.forgehax.util.command.*; import com.matt.forgehax.util.mod.loader.RegisterMod; import com.sun.xml.internal.ws.message.Util; import net.minecraft.util.text.TextCo...
package com.moandjiezana.toml; import static com.moandjiezana.toml.ValueConverterUtils.INVALID; import static com.moandjiezana.toml.ValueConverterUtils.parse; import static com.moandjiezana.toml.ValueConverterUtils.parser; import java.util.List; import java.util.regex.Pattern; class TomlParser { private static final ...
package com.molina.cvmfs.catalog; import com.molina.cvmfs.common.DatabaseObject; import com.molina.cvmfs.directoryentry.DirectoryEntry; import java.io.File; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; /** * @author Jose Molina Colmenero * * Wraps the basic functionality of Ce...
package com.peak.salut; import android.content.Context; import com.peak.salut.Callbacks.SalutDataCallback; public class SalutDataReceiver { protected SalutDataCallback dataCallback; protected Context context; public SalutDataReceiver(Context applicationContext, SalutDataCallback dataCallback) { this...
package com.wanasit.chrono; import java.util.Calendar; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import com.wanasit.chrono.filter.LowProbabilityFormatFilter; import com.wanasit.chrono.filter.PrefixCheckFilter; import com.wanasit.chrono.parser.en.*; import com.wa...
package com.whammich.sstow; import com.whammich.sstow.util.EntityMapper; import net.minecraftforge.common.config.Configuration; import java.io.File; import java.util.ArrayList; import java.util.List; public class ConfigHandler { public static Configuration config; public static List<String> entityList = new Arr...
package com.yahoo.sketches.fdt; import static com.yahoo.sketches.Util.MAX_LG_NOM_LONGS; import java.util.List; import com.yahoo.memory.Memory; import com.yahoo.sketches.BinomialBoundsN; import com.yahoo.sketches.SketchesArgumentException; import com.yahoo.sketches.tuple.strings.ArrayOfStringsSketch; /** * A Frequent D...
package de.predic8.routes; import de.predic8.Endpoints; import de.predic8.util.*; import org.apache.camel.builder.RouteBuilder; public class ArchiverRoutes extends RouteBuilder { public void configure() throws Exception { //from("file:document-archive/in?noop=true").routeId("Archiver") from("file:do...
package de.prob2.ui; import java.io.IOException; import java.util.HashMap; import com.google.inject.Inject; import com.google.inject.Singleton; import de.prob2.ui.animations.AnimationsView; import de.prob2.ui.history.HistoryView; import de.prob2.ui.modelchecking.ModelcheckingController; import de.prob2.ui.operations.Op...
package de.prob2.ui.prob2fx; import java.io.IOException; import java.util.Map; import com.google.inject.Inject; import com.google.inject.Singleton; import de.prob.animator.IAnimator; import de.prob.animator.command.GetCurrentPreferencesCommand; import de.prob.exception.CliError; import de.prob.exception.ProBError; impo...
package de.retest.recheck; import java.lang.annotation.Annotation; import java.lang.reflect.Method; import java.util.Arrays; import java.util.HashSet; import java.util.Set; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class TestCaseFinder { private static final Logger logger = LoggerFactory.getLo...
package delta_service.web; import SPARQLParser.SPARQL.InvalidSPARQLException; import SPARQLParser.SPARQL.SPARQLQuery; import com.fasterxml.jackson.databind.ObjectMapper; import delta_service.config.Configuration; import delta_service.query.QueryInfo; import delta_service.query.QueryService; import delta_service.query.R...
package edu.ucsf.mousedatabase; import java.sql.*; import java.sql.Date; import java.util.*; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.naming.Context; import javax.naming.InitialContext; import javax.sql.DataSource; import edu.ucsf.mousedatabase.beans.MouseSubmission; import edu.ucsf....
package fr.minepod.bootstrap; import java.awt.HeadlessException; import java.io.File; import java.io.IOException; public class CrashReport { public static void SendReport(String exception, String when) { try { if(Config.Logger != null) Config.Logger.severe(exception); ...
package frc.team4215.stronghold; import java.util.ArrayList; import edu.wpi.first.wpilibj.I2C; public class I2CAccel { private static I2C accel; private static final double coeff = .061; private static boolean pingFlag; private final static byte WHO_AM_I = 0x0F, CTRL_REG = 0x1F, OUT_REG = 0x28, ...
package io.bdrc.gittodbs; import static io.bdrc.libraries.Models.getMd5; import static io.bdrc.gittodbs.FusekiHelpers.printUsage; import java.io.IOException; import java.net.MalformedURLException; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.concurre...
package io.tokra.audio.wav; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.DataOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.n...
package io.webfolder.cdp.command; import io.webfolder.cdp.annotation.Domain; import io.webfolder.cdp.annotation.Experimental; import io.webfolder.cdp.annotation.Optional; import io.webfolder.cdp.annotation.Returns; import io.webfolder.cdp.type.network.ConnectionType; import io.webfolder.cdp.type.network.Cookie; import ...
package lee.study.down.util; import io.netty.bootstrap.Bootstrap; import io.netty.channel.Channel; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelFutureListener; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelInboundHandlerAdapter; import io.netty.channel.ChannelIni...
package libshapedraw.internal; import java.util.LinkedHashSet; import java.util.logging.Level; import java.util.logging.Logger; import libshapedraw.ApiInfo; import libshapedraw.LibShapeDraw; import libshapedraw.MinecraftAccess; import libshapedraw.animation.trident.TridentConfig; import libshapedraw.event.LSDEventListe...
package net.imagej.ops.topology; import java.util.ArrayList; import java.util.List; import java.util.Spliterator; import java.util.stream.IntStream; import java.util.stream.LongStream; import java.util.stream.Stream; import java.util.stream.StreamSupport; import net.imagej.ops.Ops; import net.imagej.ops.special.functio...
package net.krinsoft.chat; import net.krinsoft.chat.api.Manager; import net.krinsoft.chat.api.Target; import net.krinsoft.chat.targets.Channel; import net.krinsoft.chat.targets.ChatPlayer; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.e...
package nicolecade.controller; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Set; import org.neo4j.ogm.session.Session; import org.neo4j.ogm.session.result.Result; import nicolecade.recipe....
package org.apdplat.word.vector; import org.apdplat.word.analysis.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.InputStreamReader; import java.util.*; import java.util.Map.Entry; import java.util.concurrent.atomic.AtomicInteger;...
package org.cojen.tupl.repl; import java.io.File; import java.io.InterruptedIOException; import java.io.IOException; import java.nio.ByteOrder; import java.nio.MappedByteBuffer; import java.nio.channels.FileChannel; import java.nio.file.StandardOpenOption; import java.util.ArrayList; import java.util.Iterator; import j...
package org.fcrepo.binary; import org.fcrepo.utils.FedoraJcrTypes; import org.modeshape.jcr.value.binary.NamedHint; import org.modeshape.jcr.value.binary.StrategyHint; import org.slf4j.Logger; import javax.jcr.Node; import javax.jcr.RepositoryException; import static org.fcrepo.utils.FedoraJcrTypes.FEDORA_CONTENTTYPE; ...
package org.jtrfp.trcl.objects; import org.apache.commons.math3.geometry.euclidean.threed.Vector3D; public interface Velocible {public void setVelocity(Vector3D vel); public Vector3D getVelocity(); public void accellerate(Vector3D scalarMultiply); }
package org.kohsuke.github; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import org.apache.commons.lang3.StringUtils; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Date; import java.util.List; import jav...
package org.lantern.natty; import io.netty.bootstrap.Bootstrap; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelInitializer; import io.netty.channel.ChannelOption; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.udt.UdtChannel; import io.netty.channel.udt.nio.NioUdtProvider;...
package org.magellan.faleiro; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import com.google.protobuf.ByteString; import org.apache.mesos.Protos; import org.json.JSONArray; import org.json.JSONObject; import java.util.ArrayList; import java.util.List; import java.util.Queue; import java.util.c...
package org.oscii.neural; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.oscii.concordance.SentenceExample; import org.oscii.lex.Lexicon; import org.oscii.lex.Order; import org.oscii.math.VectorMath; import java.io.File; import java.io.IOException; import java.util.Arrays...
package org.scijava.io.handle; import java.io.Closeable; import java.io.DataInput; import java.io.DataInputStream; import java.io.DataOutput; import java.io.EOFException; import java.io.IOException; import java.io.InputStreamReader; import java.nio.ByteBuffer; import java.nio.ByteOrder; import org.scijava.io.location.L...
package org.twuni.common.net.http; import org.twuni.common.Filter; import org.twuni.common.net.http.responder.RequestMapping; import org.twuni.common.net.http.responder.Responder; import org.twuni.common.net.http.response.Response; import org.twuni.common.net.http.response.filter.DateFilter; public class Server extends...
package pl.mjasion.springdata.model; import org.joda.time.DateTime; import pl.mjasion.springdata.model.entity.AbstractEntity; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.ManyToOne; /** * @author Marcin Jasion <marcin.jasion@gmail.com> */ @Entity public class Post extends...
package redis.clients.jedis; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.regex.Pattern; import redis.clients.jedis.BinaryClient.LIST_POSITION; import redis.clients.util.Hashing; public class ShardedJedis extends BinaryShardedJedis implements JedisComma...
package refinedstorage.proxy; import net.minecraft.block.Block; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostIni...
package seedu.flexitrack.model.task; import java.util.Objects; import seedu.flexitrack.commons.exceptions.IllegalValueException; import seedu.flexitrack.commons.util.CollectionUtil; /** * Represents a Person in the address book. Guarantees: details are present and * not null, field values are validated. */ public cl...
//@@author A0139772U package seedu.whatnow.model; import javafx.collections.FXCollections; import javafx.collections.transformation.FilteredList; import javafx.collections.transformation.SortedList; import seedu.whatnow.commons.core.ComponentManager; import seedu.whatnow.commons.core.Config; import seedu.whatnow.common...
package xml.commands; import utility.Command; import xml.Element; public class SetAttributeCommand extends ElementCommand implements Command { private String attName; private String attVal; private String oldVal; private final String NAME = "Set Attribute"; public SetAttributeCommand(Element element...
package yanagishima.servlet; import java.io.IOException; import java.io.PrintWriter; import java.nio.charset.StandardCharsets; import java.util.List; import java.util.Map; import javax.inject.Inject; import javax.inject.Singleton; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import java...
package org.deidentifier.arx; import java.util.HashSet; import java.util.Iterator; import java.util.Set; import org.deidentifier.arx.ARXLattice.ARXNode; import org.deidentifier.arx.framework.check.INodeChecker; import org.deidentifier.arx.framework.check.NodeChecker; import org.deidentifier.arx.framework.data.Data; imp...
package cgeo.geocaching; import butterknife.ButterKnife; import butterknife.InjectView; import cgeo.calendar.CalendarAddon; import cgeo.geocaching.activity.AbstractActivity; import cgeo.geocaching.activity.AbstractActivity.ActivitySharingInterface; import cgeo.geocaching.activity.AbstractViewPagerActivity; import cgeo....
package cgeo.geocaching; import cgeo.geocaching.activity.AbstractActionBarActivity; import cgeo.geocaching.databinding.ImageselectActivityBinding; import cgeo.geocaching.enumerations.LoadFlags; import cgeo.geocaching.models.Geocache; import cgeo.geocaching.models.Image; import cgeo.geocaching.settings.Settings; import ...
package cgeo.geocaching; import cgeo.geocaching.concurrent.BlockingThreadPool; import cgeo.geocaching.files.LocalStorage; import cgeo.geocaching.geopoint.GeopointFormatter.Format; import cgeo.geocaching.network.Network; import cgeo.geocaching.network.Parameters; import cgeo.geocaching.utils.Log; import org.apache.commo...
package minesweeper; /** * * @author veeti "walther" haapsamo */ public class Square { private boolean visible; private int value; public Square() { this.visible = false; this.value = 0; // 0-8 = amount of mines in the square's surroundings, 9 = mine } public void setVisible() { ...
package com.fkxpjj.mikoto.api; import java.io.IOException; import java.io.PrintWriter; import java.util.List; import javax.servlet.http.HttpServletResponse; import com.fkxpjj.mikoto.Mikoto; import com.fkxpjj.mikoto.model.MsgType; import com.fkxpjj.mikoto.model.req.ReqBase; import com.fkxpjj.mikoto.model.req.ReqText; im...
package mod.gamenature.skullforge.common; import mod.gamenature.skullforge.update.ConnectionHandler; import net.minecraft.block.Block; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraftforge.common.MinecraftForge; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.Even...
package org.jpos.qi; import com.vaadin.annotations.Theme; import com.vaadin.annotations.Title; import com.vaadin.data.ValueContext; import com.vaadin.server.*; import com.vaadin.ui.*; import com.vaadin.ui.themes.ValoTheme; import org.jdom2.DataConversionException; import org.jdom2.Element; import org.jpos.core.Configur...
package wyc.builder; import static wyc.lang.WhileyFile.internalFailure; import static wyc.lang.WhileyFile.syntaxError; import static wycc.lang.SyntaxError.internalFailure; import static wycc.lang.SyntaxError.syntaxError; import static wyil.util.ErrorMessages.*; import java.io.IOException; import java.math.BigDecimal; i...
package nars.inference; import java.util.HashMap; import nars.config.Parameters; import nars.entity.BudgetValue; import nars.entity.Concept; import nars.control.DerivationContext; import nars.entity.Sentence; import nars.entity.Task; import nars.entity.TruthValue; import static nars.inference.TruthFunctions.comparison;...
package nars.regulation.twopoint; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Insets; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import java.util.List; import java.util.Random; import ja...