answer
stringlengths
17
10.2M
package org.jboss.netty.channel; /** * An I/O event or I/O request associated with a {@link Channel}. * <p> * A {@link ChannelEvent} is supposed to be handled by the * {@link ChannelPipeline} which is owned by the {@link Channel} that * the event belongs to. Once an event is sent to a {@link ChannelPipeline}, * ...
package org.jitsi.impl.neomedia.codec; import org.jitsi.util.*; import java.nio.*; /** * Provides the interface to the native FFmpeg library. * * @author Lyubomir Marinov * @author Sebastien Vincent */ public class FFmpeg { /** * No pts value. */ public static final long AV_NOPTS_VALUE = 0x800000...
package org.lantern.geoip; import java.io.IOException; import java.io.InputStream; import java.net.InetAddress; import java.util.ArrayList; import java.util.List; import java.util.TreeMap; import org.lantern.GeoData; import org.littleshoot.util.BitUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import c...
package org.libgit2.jagged.core; import java.io.File; import org.libgit2.jagged.core.Platform.OperatingSystem; /** * A wrapper around the system library loader to provide improved semantics for * installations containing libraries for multiple platforms. */ public class NativeLoader { private static String nativ...
package org.lightmare.remote.rpc; import java.net.Inet4Address; import java.net.InetSocketAddress; import java.net.UnknownHostException; import java.util.concurrent.ExecutorService; import java.util.concurrent.TimeUnit; import org.apache.log4j.Logger; import org.jboss.netty.bootstrap.ServerBootstrap; import org.jboss.n...
package org.neo4j.remote; import java.io.Serializable; import java.net.URI; import java.net.URISyntaxException; import java.util.Map; import org.neo4j.graphdb.GraphDatabaseService; import org.neo4j.graphdb.Node; import org.neo4j.graphdb.Relationship; import org.neo4j.graphdb.RelationshipType; import org.neo4j.graphdb.T...
package org.neo4j.server.web; import java.net.InetAddress; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.net.UnknownHostException; import org.mortbay.jetty.Server; import org.mortbay.jetty.servlet.Context; import org.mortbay.jetty.servlet.ServletHolder; import org.mortbay.jet...
package org.opentripplanner.analyst; import com.bedatadriven.geojson.GeometryDeserializer; import com.bedatadriven.geojson.GeometrySerializer; import com.csvreader.CsvReader; import com.fasterxml.jackson.core.JsonFactory; import com.fasterxml.jackson.core.JsonGenerationException; import com.fasterxml.jackson.core.JsonG...
package org.purl.linkedepcis.eem; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.GregorianCalendar; import java.util.Map; import java.util.concurrent.TimeUnit; import java.util.logging.Level; import javax.xml.datatype.DatatypeConfigurationE...
package org.simpleframework.xml.load; import org.simpleframework.xml.Attribute; import org.simpleframework.xml.Element; import org.simpleframework.xml.ElementArray; import org.simpleframework.xml.ElementList; import org.simpleframework.xml.ElementMap; import org.simpleframework.xml.Order; import org.simpleframework.xml...
package org.tapestry.dao; import java.sql.ResultSet; import java.sql.SQLException; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.RowMapper; import org.springframework.jdbc.support.GeneratedKeyHolder; import org.springframework.jdbc.support.Key...
package org.treetank.service; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import org.mortbay.jetty.Connector; import org.mortbay.jetty.Handler; import org.mortbay.jetty.Server; import org.mortbay.jetty.bio.SocketConnector; public class TreeTankService { /** * @param args */ public sta...
package org.yukung.tutorial.junit; public class Calculator { public int multiply(int x, int y) { return x * y; } public float divide(int x, int y) { if (y == 0) throw new IllegalArgumentException(); return (float) x / (float) y; } }
package refinedstorage.tile; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.network.datasync.DataSerializers; import net.minecraftforge.fluids.FluidStack; import refinedstorage.RS; import refinedstorage.RSBlocks; import refinedstorage.RSUtils; import refinedstorage.api.network.INetworkMaster; import refi...
package ru.doublebyte.telegramWeatherBot; import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.JsonNode; import com.mashape.unirest.http.Unirest; import org.json.JSONArray; import org.json.JSONObject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import ru.doublebyte.telegramWeatherB...
package sagex.phoenix.menu; import java.io.IOException; import java.io.OutputStream; import java.util.List; import java.util.Map; import org.apache.commons.lang.StringUtils; import org.dom4j.Document; import org.dom4j.DocumentFactory; import org.dom4j.DocumentHelper; import org.dom4j.Element; import org.dom4j.io.Output...
package seedu.address.storage; import seedu.address.commons.util.XmlUtil; import seedu.address.commons.exceptions.DataConversionException; import javax.xml.bind.JAXBException; import java.io.File; import java.io.FileNotFoundException; /** * Stores taskmanager data in an XML file */ public class XmlFileStorage { /...
package us.myles.ViaVersion; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelHandler; import io.netty.channel.ChannelInitializer; import io.netty.channel.socket.SocketChannel; import lombok.NonNull; import org.bukkit.Bukkit; import org.bukkit.entity.Player; import o...
/** * Abstract Syntax Tree for JUnit. * * <pre> * CompilationUnit ::= ClassDecl * * ClassDecl ::= TestMethod* * * TestMethod ::= Binding* ActionStatement* TestStateMent* ActionStatement* * * Binding ::= Expr * * Expr ::= QuotedExpr | StubExpr * * StubExpr ::= QuotedExpr StubBehavior * StubBehavior ::= Me...
package views; import java.util.ArrayList; import java.util.Stack; import controllers.GroupController; import utlils.Console; import models.Group; import models.User; public class GroupView implements View{ private boolean done; private Group group; private final static int WIDTH = 60; public GroupView(...
package bisq.core.app; import bisq.core.account.sign.SignedWitness; import bisq.core.account.sign.SignedWitnessService; import bisq.core.account.witness.AccountAgeWitnessService; import bisq.core.alert.Alert; import bisq.core.alert.AlertManager; import bisq.core.alert.PrivateNotificationManager; import bisq.core.alert....
package hudson.maven; import hudson.FilePath; import hudson.Util; import hudson.maven.agent.Main; import hudson.model.AbstractBuild; import hudson.model.AbstractProject; import hudson.model.BuildListener; import hudson.model.DependencyGraph; import hudson.model.Hudson; import hudson.model.Result; import hudson.model.Ru...
package me.benjozork.onyx.object; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.math.Intersector; import com.badlogic.gdx.math.Polygon; import com.badlogic.gdx.math.Vector2; import me.benjozork.onyx.internal.PolygonHelper; import me.benjozork.onyx.utils.Utils; /** * Describes an object that is to be drawn on th...
package pt.fccn.arquivo.tests.util; import java.io.IOException; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.net.URLEncoder; import java.util.Map; public class AnalyzeURLs { /** * Check if link exists * @param URLName * @param text * ...
package org.antlr.codebuff; import org.antlr.v4.runtime.CommonTokenStream; import org.antlr.v4.runtime.ParserRuleContext; import org.antlr.v4.runtime.Token; import org.antlr.v4.runtime.Vocabulary; import org.antlr.v4.runtime.tree.TerminalNode; import org.antlr.v4.runtime.tree.Tree; import org.antlr.v4.runtime.tree.Tree...
package com.sun.jna.examples; import java.awt.AlphaComposite; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.Container; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.GraphicsConfiguration; import java.awt.GraphicsDevice; import java.awt.GraphicsEn...
import org.apache.kafka.clients.producer.KafkaProducer; import org.apache.kafka.clients.producer.Producer; import util.MyProperties; public class ProducerMain { public static void main(String[] args) { //Properties for initializing the Kafka producer MyProperties myProperties1 = new MyProperties...
package battle; import java.time.Duration; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; public class Unit implements Subscriber { /** * The name of the Unit. */ private final String name; /** * The Row this Unit starts battles in. */ private Row battleRow; /*...
package YOUR_PACKAGE_NAME; import android.app.Activity; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.util.Log; import com.applovin.adview.AppLovinIncentivizedInterstitial; import com.applovin.sdk.AppLovinAd; import com.applovin.sdk.AppLovinAdClickListener; import...
package com.letscode.lcg.screens; import net.engio.mbassy.listener.Handler; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.scenes.scene2d.Actor; import com.badlogic.gdx.scenes.scene2d.EventListener; import com.badlogic.gdx.scenes.scene2d.InputEvent; import com.badlogic.gdx.scenes.scene2d.ui.Button; imp...
package com.opengamma.engine.depgraph; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.Map; import java.util.Set; import java.util.concurrent.atomic.AtomicInteger; import org.slf4j.Lo...
package ar.fiuba.tecnicas.output; public interface IOutput { public void out (String mensaje); }
package cn.cerc.mis.core; import cn.cerc.db.core.IHandle; public interface IUserLoginCheck extends IHandle { String getToken(String userCode, String password, String device, String machineCode, String clientIP, String language, String loginType); String getUserCode(String mobile) throws Exception;//...
package com.jetbrains.python.refactoring.move; import com.intellij.openapi.actionSystem.DataContext; import com.intellij.openapi.editor.Editor; import com.intellij.openapi.project.Project; import com.intellij.openapi.vfs.VirtualFile; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiFile; import com.intell...
package cn.cerc.mis.queue; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.fasterxml.jackson.core.JsonProcessingException; import cn.cerc.db.core.DataRow; import cn.cerc.db.core.Datetime; import cn.cerc.db.core.ISession; import cn.cerc.mis.client.ServiceSign; import cn.cerc.mis.core.Application; imp...
package cn.momia.mapi.api.user; import cn.momia.api.user.ChildServiceApi; import cn.momia.api.user.SmsServiceApi; import cn.momia.api.course.CouponServiceApi; import cn.momia.api.im.ImServiceApi; import cn.momia.api.user.AuthServiceApi; import cn.momia.api.user.UserServiceApi; import cn.momia.api.user.dto.Child; import...
package no.deichman.services.patch; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.List; public final class PatchObjectTypeAdapter implements JsonDeserializer<List...
package com.intellij.refactoring.extractMethod; import com.intellij.codeInsight.ChangeContextUtil; import com.intellij.codeInsight.ExceptionUtil; import com.intellij.codeInsight.PsiEquivalenceUtil; import com.intellij.codeInsight.highlighting.HighlightManager; import com.intellij.openapi.diagnostic.Logger; import com.i...
package com.scwang.smartrefresh.layout; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ValueAnimator; import android.animation.ValueAnimator.AnimatorUpdateListener; import android.annotation.SuppressLint; import android.content.Context; import android.conte...
package uk.gov.dvla.domain; import java.util.ArrayList; import java.util.Date; import java.util.List; import com.google.code.morphia.annotations.Entity; import com.google.code.morphia.annotations.Indexed; import com.google.code.morphia.annotations.Property; @Entity(value = "drivers", noClassnameStored = true) public cl...
package org.wiztools.restclient; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.net.URL; import java.nio.charset.Charset; import java.nio.charset.IllegalCharsetNameException; import java.nio.charset.Un...
package com.github.underscore.lodash; import com.github.underscore.BiFunction; import com.github.underscore.Function; import java.util.*; public final class Xml { private static final String NULL = "null"; private static final String ELEMENT_TEXT = "element"; private static final String CDATA = "#cdata-sect...
// Unless required by applicable law or agreed to in writing, software // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. package com.google.sps.data; import com.google.api.gax.rpc.FixedHeaderProvider; import com.google.api.gax.rpc.HeaderProvider; import com.google.api.gax.rpc.InvalidArgumentEx...
package com.graphicsengine.sprite; import com.nucleus.vecmath.VecMath; import com.nucleus.vecmath.Vector2D; /** * Base sprite class, a sprite is a 2D geometry object * Has data needed for movement, animation and graphics - increase size of data storage and use together * with logic. This is to avoid a very large num...
package com.hearthsim.card.minion; import com.hearthsim.card.*; import com.hearthsim.event.attack.AttackAction; import com.hearthsim.event.effect.EffectCharacter; import com.hearthsim.event.effect.EffectCharacterSummon; import com.hearthsim.event.effect.EffectOnResolveTargetable; import com.hearthsim.event.filter.Filte...
package com.jaamsim.Thresholds; import java.util.ArrayList; import com.jaamsim.events.ProcessTarget; import com.jaamsim.input.Keyword; import com.jaamsim.input.Output; import com.jaamsim.math.Color4d; import com.jaamsim.units.DimensionlessUnit; import com.sandwell.JavaSimulation.BooleanInput; import com.sandwell.JavaSi...
// 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...
// 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 org.spine3.server.aggregate; import com.google.common.base.Optional; import com.google.protobuf.Message; import org.spine3.server.BoundedContext; import static java.lang.String.format; /** * A helper class for finding and checking {@code AggregatePartRepository}. * * <p>This class is used by {@link Aggregate...
// 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.microsoft.sqlserver.jdbc; import static java.nio.charset.StandardCharsets.UTF_16LE; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.io.UnsupportedEncodingException; import java.math.BigDecimal; import java.math.BigInteger; import j...
package com.minelittlepony.client; import net.fabricmc.api.ClientModInitializer; import net.fabricmc.fabric.api.event.client.ClientTickCallback; import net.fabricmc.loader.api.FabricLoader; import net.minecraft.client.MinecraftClient; import com.minelittlepony.client.gui.hdskins.MineLPHDSkins; import com.minelittlepony...
package org.jeffpiazza.derby.gui; import jssc.SerialPort; import org.jeffpiazza.derby.*; import org.jeffpiazza.derby.devices.TimerDevice; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import org.jeffpiazza.derby.devices.TimerTask; // On the HTTP side, ...
package com.skelril.aurora.util; import java.util.Calendar; public class TimeUtil { private static Calendar calendar = Calendar.getInstance(); /** * Gets the ticks till the start of the next hour * * @return the number of ticks till the next hour */ public static long getTicksTillHour() ...
package com.tale.service; import com.blade.exception.ValidatorException; import com.blade.ioc.annotation.Bean; import com.blade.kit.BladeKit; import com.blade.kit.DateKit; import com.tale.bootstrap.TaleConst; import com.tale.extension.Commons; import com.tale.model.dto.Comment; import com.tale.model.entity.Comments; im...
package com.tightdb.lib; import com.tightdb.TableQuery; public class LongRowsetColumn<Cursor, View, Query> extends LongQueryColumn<Cursor, View, Query> implements RowsetColumn<Long> { public LongRowsetColumn(EntityTypes<?, View, Cursor, Query> types, IRowsetBase rowset, int index, String name) { this(types,...
package com.tinkerrocks.storage; import com.tinkerrocks.structure.*; import org.apache.tinkerpop.gremlin.structure.*; import org.apache.tinkerpop.gremlin.structure.util.ElementHelper; import org.rocksdb.*; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.Map; import java....
package daris.lifepool.client; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.OutputStream; import java.nio.file.FileVisitResult; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.SimpleFileVisitor; import java....
package de.retest.recheck; import java.lang.annotation.Annotation; import java.lang.reflect.Method; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Optional; import java.util.Set; import java.util.function.Function; import org.apache.commons.lang3.Stri...
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 edu.neu.ccs.pyramid.eval; import edu.neu.ccs.pyramid.dataset.MultiLabel; import edu.neu.ccs.pyramid.dataset.MultiLabelClfDataSet; import edu.neu.ccs.pyramid.multilabel_classification.MultiLabelClassifier; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.stream.IntStream; p...
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 eu.amidst.examples; import COM.hugin.HAPI.*; import COM.hugin.HAPI.Class; import eu.amidst.core.database.Attributes; import eu.amidst.core.database.DataBase; import eu.amidst.core.database.DataInstance; import eu.amidst.core.database.DataOnDisk; import eu.amidst.core.database.filereaders.DynamicDataOnDiskFromFi...
package fr.eisti.web; import com.vividsolutions.jts.geom.Coordinate; import com.vividsolutions.jts.geom.GeometryFactory; import com.vividsolutions.jts.geom.Point; import fr.eisti.domain.Direction; import fr.eisti.service.DirectionServiceImpl; import org.springframework.beans.factory.annotation.Autowired; import org.spr...
package hr.vsite.mentor.user; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import java.util.UUID; import javax.inject.Inject; import javax.inject.Provider; import org.slf4j.Logger; import org.sl...
package hudson.plugins.ec2; import java.io.IOException; import java.io.PrintStream; import java.net.URL; import java.nio.charset.StandardCharsets; import java.util.*; import java.util.logging.Level; import java.util.logging.Logger; import javax.servlet.ServletException; import hudson.util.Secret; import jenkins.model.J...
package jenkins.plugins.play; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import jenkins.model.Jenkins; import jenkins.plugins.play.commands.PlayCommand; import jenkins.plugins.play.version.Play1x; import jenkins.plugins.play.version.PlayVersion; import jenkins.pl...
package link.webarata3.poi; import org.apache.poi.openxml4j.exceptions.InvalidFormatException; import org.apache.poi.ss.usermodel.*; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Paths; import java.util.regex.Matcher; import java.util.regex.Pattern; import java...
package lv.ctco.scm.mobile.utils; import org.apache.commons.compress.archivers.ArchiveException; import org.apache.commons.compress.archivers.ArchiveOutputStream; import org.apache.commons.compress.archivers.ArchiveStreamFactory; import org.apache.commons.compress.archivers.zip.UnixStat; import org.apache.commons.compr...
package net.alpenblock.bungeeperms; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import net.md_5.bungee.BungeeCord; import net.md_5.bungee.api.config.ServerInfo; /** * The Class Group. */ public class Group implements Comparable<Group> { private Map<String,Lis...
package no.javazone.speaker; import org.joda.time.DateTime; import java.util.Date; public class SpeakerBilde { private static final int CACHELEVETID_MINUTTER = 60; public static final int SMALL = 48; public static final int LARGE = 240; private final byte[] smallPhoto; private final byte[] largePhot...
package org.blitzortung.android.app; import android.app.ActionBar; import android.app.Dialog; import android.content.*; import android.content.SharedPreferences.OnSharedPreferenceChangeListener; import android.content.pm.ApplicationInfo; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; i...
package org.decimal4j.util; import java.math.RoundingMode; import java.util.Objects; import org.decimal4j.api.DecimalArithmetic; import org.decimal4j.scale.ScaleMetrics; import org.decimal4j.scale.Scales; /** * Utility class to round double values to an arbitrary decimal precision between 0 and 18. The rounding is eff...
package org.dita.dost.writer; import static java.util.Arrays.asList; import static javax.xml.XMLConstants.NULL_NS_URI; import static org.dita.dost.util.Constants.*; import static org.dita.dost.util.URLUtils.*; import static org.dita.dost.util.XMLUtils.toList; import java.io.File; import java.net.URI; import java.util.*...
package org.f1x.v1; import org.f1x.api.session.SessionStatus; import org.gflogger.GFLog; import org.gflogger.GFLogFactory; import java.io.IOException; import java.util.TimerTask; // TODO: add disconnect logic final class SessionMonitoringTask extends TimerTask { private static final GFLog LOGGER = GFLogFactory.getL...
package org.gitlab4j.api; import java.util.List; import javax.ws.rs.core.Form; import javax.ws.rs.core.GenericType; import javax.ws.rs.core.Response; import org.gitlab4j.api.GitLabApi.ApiVersion; import org.gitlab4j.api.models.Commit; import org.gitlab4j.api.models.MergeRequest; /** * This class implements the client ...
package org.jenetics; import static java.lang.Math.abs; import static org.jenetics.util.ArrayUtils.sum; import static org.jenetics.util.BitUtils.ulpDistance; import static org.jenetics.util.Validator.nonNull; import java.util.Random; import org.jenetics.util.RandomRegistry; public abstract class ProbabilitySelector<G e...
package org.jtrfp.trcl.flow; import java.util.List; import org.apache.commons.math3.geometry.euclidean.threed.Vector3D; import org.jtrfp.trcl.OverworldSystem; import org.jtrfp.trcl.Tunnel; import org.jtrfp.trcl.beh.ChangesBehaviorWhenTargeted; import org.jtrfp.trcl.beh.CustomNAVTargetableBehavior; import org.jtrfp.trcl...
package org.mastodon.trackmate; import java.util.Map; import org.mastodon.HasErrorMessage; import org.mastodon.detection.mamut.SpotDetectorOp; import org.mastodon.graph.algorithm.RootFinder; import org.mastodon.linking.mamut.SpotLinkerOp; import org.mastodon.revised.model.mamut.Link; import org.mastodon.revised.model.m...
package org.mmog2048.verticles; import io.vertx.core.AbstractVerticle; import io.vertx.core.Future; import io.vertx.core.eventbus.EventBus; import io.vertx.core.json.JsonArray; import io.vertx.core.json.JsonObject; import io.vertx.core.logging.Logger; import io.vertx.core.logging.LoggerFactory; import io.vertx.ext.web....
package org.myrobotlab.service; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.regex.Matcher; impo...
package org.owasp.dependencycheck; import java.util.EnumMap; import java.io.File; import java.util.ArrayList; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Set; import java.util.logging.Level; import java.util.logging.Logger; import org.owasp.dependencycheck.analyzer.Analy...
package org.rspspin.util; import java.util.ArrayList; import java.util.List; import org.apache.jena.query.ParameterizedSparqlString; import org.apache.jena.query.Query; import org.apache.jena.query.QueryExecution; import org.apache.jena.query.QueryExecutionFactory; import org.apache.jena.query.QueryFactory; import org....
package org.scy.common.ds.query; import org.apache.commons.lang3.StringUtils; import org.scy.common.ds.PageInfo; import org.scy.common.utils.ArrayUtilsEx; import java.util.ArrayList; import java.util.List; @SuppressWarnings("unused") public class Selector { private PageInfo pageInfo; private List<Filter> filter...
package org.spout.downpour; 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.net.URL; public class DownpourCache { private boolean offlineMode = false; private long maxAge = 1000...
package practice; import java.io.BufferedReader; import java.io.StringReader; import java.util.*; import java.util.stream.Collectors; import java.util.stream.Stream; public class ConnectedGraphTraversal { static Set<Vertex> createGraph(Stream<String> lines) { // the lines are of the form: 1 2,3,4 i.e. verte...
package redis.clients.jedis; import java.net.URI; import javax.net.ssl.HostnameVerifier; import javax.net.ssl.SSLParameters; import javax.net.ssl.SSLSocketFactory; import org.apache.commons.pool2.PooledObject; import org.apache.commons.pool2.PooledObjectFactory; import org.apache.commons.pool2.impl.DefaultPooledObject;...
package seedu.address.model; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.util.ArrayList; import java.util.Date; import java.util.Set; import java.util.logging.Logger; import javafx.collections.transformation.FilteredList; import seedu.address.commons.core.ComponentManager; imp...
package seedu.address.model; import javafx.collections.transformation.FilteredList; import seedu.address.commons.core.LogsCenter; import seedu.address.commons.core.UnmodifiableObservableList; import seedu.address.commons.util.StringUtil; import seedu.address.commons.events.model.AddressBookChangedEvent; import seedu.ad...
package seedu.address.model; import java.util.Set; import java.util.logging.Logger; import javafx.collections.transformation.FilteredList; import seedu.address.commons.core.ComponentManager; import seedu.address.commons.core.LogsCenter; import seedu.address.commons.core.UnmodifiableObservableList; import seedu.address....
package tigase.xmpp.impl; import tigase.db.NonAuthUserRepository; import tigase.db.TigaseDBException; import tigase.server.Packet; import tigase.xml.Element; import tigase.xmpp.Authorization; import tigase.xmpp.BareJID; import tigase.xmpp.JID; import tigase.xmpp.NoConnectionIdException; import tigase.xmpp.NotAuthorized...
package org.prevayler.demos.demo2; import org.prevayler.Prevayler; import org.prevayler.PrevaylerFactory; import org.prevayler.demos.demo2.business.Bank; public class MainReplica { public static void main(String[] args) throws Exception { out( "This demo shows how your application can be replicated" ...
package sgdk.rescomp.resource; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.util.Arrays; import sgdk.rescomp.Resource; import sgdk.rescomp.tool.Util; import sgdk.rescomp.type.Basics.Compression; import sgdk.rescomp.type.Basics.PackedData; import sgdk.tool.ArrayUtil; public class Bin ext...
package net.sf.cglib; import java.io.*; import java.lang.reflect.*; import java.security.PrivilegedAction; import java.util.*; import org.apache.bcel.generic.*; /** * Abstract base class for code generators * @author baliuka */ public abstract class CodeGenerator implements Constants { protected static final St...
package ru.job4j.max; public class Max { /** * max. * @param first number * @param second number * @return max number */ public int max(int first, int second) { return first > second ? first : second; } /** * max. * @param first number * @param second number...
package rtdc.web.test; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; import rtdc.core.Config; import rtdc.core.event.*; import rtdc.core.json.JSONArray; import rtdc.core.json.JSONObject; import rtdc.core.model.Action; import rtdc.core.model.Message; import rtdc.core.model.Unit; import rt...
package chart; import sesim.OHLCDataItem; import sesim.OHLCData; import java.awt.*; import sesim.Exchange.*; import sesim.Quote; import gui.Globals; import java.awt.geom.Rectangle2D; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.Itera...
package eco; import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ class NameGen { public static String[] uno = new String[] { "new", "wam", "will", "notting", "burn" }; ...
package edu.stuy; import edu.stuy.commands.*; import edu.stuy.commands.tuning.ShooterManualSpeed; import edu.stuy.subsystems.Shooter; import edu.wpi.first.wpilibj.DriverStation; import edu.wpi.first.wpilibj.DriverStationEnhancedIO; import edu.wpi.first.wpilibj.DriverStationEnhancedIO.EnhancedIOException; import edu.wpi...
package devopsdistilled.operp; public class Main { public static void main(String[] args) { System.out.println("OpERP"); System.out.println("Enterprise Resource Planning for Distribution Companies"); } }