answer
stringlengths
17
10.2M
/** * Origin: jbox2d */ package com.almasb.gameutils.math; import com.almasb.gameutils.pool.Poolable; import java.io.Serializable; /** * A 2D column vector with float precision. * Can be used to represent a point in 2D space. * Can be used instead of JavaFX Point2D to avoid object allocations. * This is also pref...
package s04physics; import com.almasb.fxgl.app.ApplicationMode; import com.almasb.fxgl.app.GameApplication; import com.almasb.fxgl.entity.Entities; import com.almasb.fxgl.entity.Entity; import com.almasb.fxgl.input.Input; import com.almasb.fxgl.input.UserAction; import com.almasb.fxgl.physics.BoundingShape; import com....
package com.continuuity.gateway; import com.continuuity.api.common.Bytes; import com.continuuity.api.data.OperationResult; import com.continuuity.api.flow.flowlet.StreamEvent; import com.continuuity.app.Id; import com.continuuity.app.queue.QueueName; import com.continuuity.data.operation.Operation; import com.continuui...
package com.mfk.web.maker.client; import java.util.Vector; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.core.client.GWT; import com.google.gwt.core.client.JsArray; import com.google.gwt.event.dom.client.ChangeEvent; import com.google.gwt.event.dom.client.ChangeHandler; import com.google.gwt.event...
package com.mfk.web.maker.client; import java.util.Vector; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.core.client.GWT; import com.google.gwt.core.client.JsArray; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.event.d...
package YOUR_PACKAGE_NAME; import android.app.Activity; import android.content.Context; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.text.TextUtils; import android.util.Log; import com.applovin.adview.AppLovinIncentivizedInterstitial; import com.applovin.sdk.AppL...
package io.gomint.server; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.net.HttpURLConnection; import java.net.URL; import j...
package example.domain.web.nodriver; import org.apache.commons.lang.StringUtils; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import org.springframework.mock.web.MockHttpServletResponse; import static org.hamcrest.Matchers.equalTo; import sta...
// Narya library - tools for developing networked games // This library is free software; you can redistribute it and/or modify it // (at your option) any later version. // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // You should ...
package org.jdesktop.swingx.plaf.basic; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Container; import java.awt.Font; import java.awt.Graphics; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.beans.BeanInfo; import java.beans.Introspector; i...
package org.jdesktop.swingx.plaf.macosx; import javax.swing.BorderFactory; import javax.swing.JComponent; import javax.swing.border.Border; import javax.swing.plaf.BorderUIResource; import javax.swing.plaf.ComponentUI; import javax.swing.plaf.UIResource; import org.jdesktop.swingx.JXStatusBar; import org.jdesktop.swing...
package org.jivesoftware.wildfire.spi; import org.dom4j.Document; import org.dom4j.DocumentException; import org.dom4j.DocumentHelper; import org.jivesoftware.util.LocaleUtils; import org.jivesoftware.util.Log; import org.jivesoftware.wildfire.*; import org.jivesoftware.wildfire.auth.UnauthorizedException; import org.j...
package verification.timed_state_exploration.zone; import java.io.PrintStream; import java.util.ArrayList; import java.util.HashMap; import java.util.Arrays; import java.util.HashSet; import java.util.List; import javax.swing.JOptionPane; import lpn.parser.ExprTree; import lpn.parser.LhpnFile; import lpn.parser.Transit...
package aeronicamc.mods.mxtune.sound; import net.minecraft.client.Minecraft; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.MathHelper; import net.minecraft.util.math.vector.Vector3d; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; public class MusicPositione...
package ai.elimu.web.project.app; import ai.elimu.dao.AppCategoryDao; import ai.elimu.dao.AppGroupDao; import java.io.IOException; import java.util.Calendar; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; import org.apache.log4j.Logger; import...
package com.SlothyBear.DungeonMod.Items; import com.SlothyBear.DungeonMod.References.References; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; public class DungeonStaff extends Item { public final String name = References.dungeonStaff; public Integer portal[] = new Integer[3]; ...
package com.athaydes.sparkws; import javax.websocket.CloseReason; import javax.websocket.Endpoint; import javax.websocket.EndpointConfig; import javax.websocket.MessageHandler; import javax.websocket.Session; import java.io.IOException; /** * Internal class, must be public only so that the Tyrus framework can instanti...
package com.bebehp.mc.eewreciever.twitter; import java.io.UnsupportedEncodingException; import java.util.LinkedList; import java.util.List; import com.bebehp.mc.eewreciever.EEWRecieverMod; import com.bebehp.mc.eewreciever.ping.AbstractQuakeNode; import com.bebehp.mc.eewreciever.ping.IQuake; import com.bebehp.mc.eewreci...
package com.cliqueup.controllers; import com.cliqueup.entities.ChatMessage; import com.cliqueup.entities.Group; import com.cliqueup.entities.User; import com.cliqueup.services.ChatMessageRepo; import com.cliqueup.services.GroupRepo; import com.cliqueup.services.UserRepo; import org.springframework.beans.factory.annotat...
/* Programmers: Kris Larson Description: The openning interface for players. */ import java.util.*; import java.awt.*; public class TestGameMenu { Scanner input = new Scanner(System.in); public TestGameMenu() { int choice; for (;;) { options(); choice = input.nextInt(); Syst...
package com.comandante.eyeballs.api; import com.comandante.eyeballs.camera.PictureTakingService; import com.comandante.eyeballs.model.EventsApiResponse; import com.comandante.eyeballs.model.LocalEvent; import com.comandante.eyeballs.storage.LocalEventDatabase; import com.github.sarxos.webcam.Webcam; import com.google.c...
package com.elmakers.mine.bukkit.effect; import java.lang.ref.WeakReference; import java.lang.reflect.Constructor; import java.security.InvalidParameterException; import java.util.Map; import java.util.Random; import org.bukkit.Bukkit; import org.bukkit.Color; import org.bukkit.Effect; import org.bukkit.EntityEffect; i...
package com.redhat.ceylon.cmr.util; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.Enumeration; import java.util.Set; import java.util.jar.JarEntry; import java.util.jar.Jar...
package com.github.fluxw42.smappee.api; import java.time.Duration; public enum StateDuration { INFINITE(-1), FIVE_MINUTES(300), FIFTEEN_MINUTES(900), HALF_HOUR(1800), HOUR(3600); /** * The duration in seconds */ private final long duration; /** * Create a new state duratio...
package com.github.marschal.svndiffstat; import static java.awt.BasicStroke.CAP_ROUND; import static java.awt.BasicStroke.JOIN_ROUND; import static java.awt.Color.WHITE; import static java.lang.Math.abs; import static java.lang.Math.max; import static java.lang.Math.min; import static org.jfree.chart.plot.PlotOrientati...
package com.gmail.nossr50.listeners; import org.bukkit.block.Block; import org.bukkit.entity.Entity; import org.bukkit.entity.LivingEntity; import org.bukkit.entity.Player; import org.bukkit.entity.TNTPrimed; import org.bukkit.entity.Wolf; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; imp...
package com.gocardless.services; import java.util.Map; import com.gocardless.http.*; import com.gocardless.resources.MandateImport; import com.google.common.collect.ImmutableMap; import com.google.gson.annotations.SerializedName; /** * Service class for working with mandate import resources. * * Mandate Imports allo...
package com.hankcs.hanlp.dictionary; import com.hankcs.hanlp.HanLP; import com.hankcs.hanlp.collection.AhoCorasick.AhoCorasickDoubleArrayTrie; import com.hankcs.hanlp.collection.trie.DoubleArrayTrie; import com.hankcs.hanlp.collection.trie.bintrie.BinTrie; import com.hankcs.hanlp.corpus.io.ByteArray; import com.hankcs....
package injection; import java.io.IOException; import java.io.Writer; import java.util.*; import java.lang.reflect.Modifier; import persistence.SystemException; import persistence.UniqueViolationException; public final class Instrumentor implements InjectionConsumer { private final Writer output; /** * Hol...
package com.lothrazar.cyclicmagic.util; import java.util.List; import net.minecraft.block.Block; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.item.EntityItem; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.Item; impor...
package com.mingzuozhibi.modules.disc; import com.mingzuozhibi.commons.base.BaseKeys.Name; import com.mingzuozhibi.commons.base.PageController; import com.mingzuozhibi.commons.logger.LoggerBind; import com.mingzuozhibi.modules.disc.Disc.DiscType; import com.mingzuozhibi.modules.record.RecordService; import com.mingzuoz...
package com.mixpanel.android.mpmetrics; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.AsyncTask; import android.os.Build; import android.util.Log; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Set; // Will be called from both cu...
package com.mixpanel.android.viewcrawler; import android.annotation.TargetApi; import android.app.Activity; import android.app.Application; import android.content.Context; import android.content.SharedPreferences; import android.content.res.Resources; import android.hardware.Sensor; import android.hardware.SensorManage...
package com.mixpanel.android.viewcrawler; import android.annotation.TargetApi; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; import android.text.Editable; import android.text.TextWatcher; import android.util.Log; import android.util.ArrayMap; import android.util.SparseArray; import an...
package com.netflix.priam.compress; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.Iterator; import org.apache.commons.io.IOUtils; import org.xerial.snappy.SnappyInputStream; /** * Class to g...
package com.segment.android.utils; import android.Manifest; import android.content.Context; import android.content.pm.PackageManager; import android.os.Build; import android.telephony.TelephonyManager; import android.text.TextUtils; import java.util.UUID; public final class Utils { private Utils() { throw new Ass...
package com.persado.oss.quality.stevia.testng; import com.persado.oss.quality.stevia.selenium.core.SteviaContext; import com.persado.oss.quality.stevia.selenium.core.WebComponent; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.testng.Assert; import org.testng.Reporter; import java.util.List; public...
package com.primeradiants.oniri.novent; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.hibernate.Criteria; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.criterion.Restrictions; import org.spr...
package annotator.find; import annotator.Main; import java.io.*; import java.util.*; import javax.tools.*; import com.sun.source.tree.*; import com.sun.source.util.*; import com.sun.source.util.TreeScanner; import com.sun.tools.javac.tree.*; import com.sun.tools.javac.tree.JCTree.*; import javax.lang.model.element.Modi...
package com.toomasr.sgf4j.board; import com.toomasr.sgf4j.parser.Util; import javafx.scene.canvas.Canvas; import javafx.scene.canvas.GraphicsContext; public class BoardCoordinateLabel extends Canvas { private int x; private int y; public BoardCoordinateLabel(int x, int y) { super(BoardSquare.width, BoardSquar...
package com.ttaylorr.uhc.pvp.core.gamemodes; import com.ttaylorr.uhc.pvp.PVPManagerPlugin; import com.ttaylorr.uhc.pvp.core.UserManager; import com.ttaylorr.uhc.pvp.util.Continuation; import net.milkbowl.vault.permission.Permission; import nl.dykam.dev.spector.Spector; import org.bukkit.entity.Player; import java.util....
package net.kyori.adventure.audience; import java.util.Arrays; import java.util.Objects; import java.util.function.Consumer; import java.util.function.Predicate; import java.util.stream.Collector; import net.kyori.adventure.bossbar.BossBar; import net.kyori.adventure.identity.Identified; import net.kyori.adventure.iden...
package com.vaguehope.onosendai.provider; import com.vaguehope.onosendai.provider.successwhale.SuccessWhaleProvider; import com.vaguehope.onosendai.provider.twitter.TwitterProvider; public class ProviderMgr { private final TwitterProvider twitterProvider; private final SuccessWhaleProvider successWhaleProvider;...
package com.webside.ofp.controller; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.OutputStream; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import ja...
package joliex.util; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.net.URLConnection; import java.util.Map.Entry; import jolie.Interpreter; import jolie.jap.JapURLConnection; import joli...
package com.yahoo.omid.client.regionserver; import java.io.IOException; import java.net.InetSocketAddress; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; impor...
package crazypants.enderio.base.capability; import javax.annotation.Nonnull; import javax.annotation.Nullable; import com.enderio.core.common.util.ItemUtil; import com.enderio.core.common.util.NNList; import com.enderio.core.common.util.NullHelper; import crazypants.enderio.base.machine.base.te.AbstractMachineEntity; i...
package de.domisum.lib.auxilium.util.java; import de.domisum.lib.auxilium.util.java.annotations.API; import lombok.AccessLevel; import lombok.NoArgsConstructor; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @NoArgsConstructor(access = AccessLevel.PRIVATE) public final class ThreadUtil { private static fi...
package de.domisum.lib.auxilium.util.math; import de.domisum.lib.auxilium.data.container.math.Vector3D; import de.domisum.lib.auxilium.util.java.annotations.APIUsage; import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.Random; @APIUsage public class RandomUtil { // REFERE...
/* * Converter.java * */ package de.uni_stuttgart.vis.vowl.owl2vowl; import de.uni_stuttgart.vis.vowl.owl2vowl.export.Exporter; import de.uni_stuttgart.vis.vowl.owl2vowl.export.JsonGenerator; import de.uni_stuttgart.vis.vowl.owl2vowl.model.OntologyMetric; import de.uni_stuttgart.vis.vowl.owl2vowl.parser.GeneralParse...
package edu.harvard.iq.dataverse.dataset; import com.mashape.unirest.http.Unirest; import com.mashape.unirest.http.exceptions.UnirestException; import com.mashape.unirest.request.GetRequest; import edu.harvard.iq.dataverse.DataFile; import edu.harvard.iq.dataverse.Dataset; import edu.harvard.iq.dataverse.FileMetadata; ...
package edu.umass.ciir.galagotools.scoring; import edu.umass.ciir.galagotools.utils.Util; import org.lemurproject.galago.core.retrieval.iterator.BaseIterator; import org.lemurproject.galago.core.retrieval.traversal.Traversal; import org.lemurproject.galago.utility.Parameters; /** * @author jfoley. */ public class Ite...
package edu.wright.hendrix11.familyTree.entity; import edu.wright.hendrix11.familyTree.entity.event.Event; import java.util.Date; import javax.persistence.Entity; import javax.persistence.OneToMany; import javax.persistence.Temporal; import javax.persistence.TemporalType; /** * * @author Joe Hendrix <hendrix.11@wrigh...
package eu.musesproject.server.rt2ae; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Random; import javax.persistence.EntityTransaction; import org.apache.log4j.Logger; import eu.musesproject.server.db.handler.DBManager; import eu.musesproject.server.entity.RiskPolicy; impo...
package io.github.sporklibrary.utils; import android.app.Activity; import android.app.Application; import android.app.Fragment; import android.content.ContentProvider; import android.content.Context; import android.view.View; import io.github.sporklibrary.exceptions.NotInstantiatableException; import io.github.sporklib...
package array; import org.junit.Test; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; /** * public class BubleSort it sort array the method of buble. * @author greensow25. * @since 30.11.16. * @version 1. */ public class BubleSortTest { /** * method. */ @Test ...
package ru.agolovin; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.RandomAccessFile; import java.util.ArrayList; import java.util.Random; public class Chat { /** * Stop. */ private final String STOP = "закончить"; /** * Pause. */ private f...
package learn_to_code.java_api.stream; import java.util.Arrays; import java.util.HashSet; import java.util.Set; import java.util.function.IntConsumer; import java.util.stream.Collectors; import java.util.stream.IntStream; public class UsingStreamApi { public static void main(String[] args) { int[] array = n...
package cn.jingzhuan.lib.chart; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Point; import android.graphics.PointF; import android.graphics.Rect; import android.graphics.RectF; import android.os.Build; impor...
package net.eldeen.dropwizard; import static com.google.common.base.Preconditions.checkNotNull; import javax.inject.Inject; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.Optional; import java.util.concurrent.atomic.AtomicReference; import java.util.function.Functi...
package net.etalia.client.domain; public class PublicationStandard extends Publication { private Media logo; private Media header; private Boolean published; private Long publishedDate; private Boolean free; private User owner; public Media getLogo() { return logo; } public v...
package net.iponweb.disthene.reader; import com.datastax.driver.core.*; import com.datastax.driver.core.policies.DCAwareRoundRobinPolicy; import com.datastax.driver.core.policies.TokenAwarePolicy; import org.apache.log4j.Logger; /** * @author Andrei Ivanov */ public class CassandraService { private static final S...
package net.openhft.chronicle.network; import net.openhft.chronicle.bytes.Bytes; import net.openhft.chronicle.core.annotation.Nullable; import net.openhft.chronicle.core.io.Closeable; import net.openhft.chronicle.core.util.Time; import net.openhft.chronicle.network.api.TcpHandler; import net.openhft.chronicle.network.a...
package net.rubygrapefruit.platform.file; import javax.annotation.CheckReturnValue; import javax.annotation.concurrent.NotThreadSafe; import java.io.File; import java.util.Collection; import java.util.concurrent.TimeUnit; /** * A handle for watching file system locations. */ @NotThreadSafe public interface FileWatche...
package androidsx.rateme; import android.app.Activity; import android.app.DialogFragment; import android.os.Bundle; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import com.andro...
package nl.topicus.jdbc; import java.sql.Connection; import java.sql.DatabaseMetaData; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.RowIdLifetime; import java.sql.SQLException; import java.sql.SQLFeatureNotSupportedException; import java.sql.Types; import nl.topicus.jdbc.statement.Cloud...
package nl.topicus.jdbc; import java.sql.Connection; import java.sql.DatabaseMetaData; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.RowIdLifetime; import java.sql.SQLException; import java.sql.SQLFeatureNotSupportedException; import java.sql.Types; import nl.topicus.jdbc.statement.Cloud...
package nl.topicus.jdbc; import java.lang.reflect.InvocationHandler; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.sql.CallableStatement; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; import...
package nl.topicus.jdbc; import java.lang.reflect.InvocationHandler; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.sql.CallableStatement; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; import...
package omtteam.omlib.compatability; import net.minecraft.nbt.NBTTagCompound; import net.minecraftforge.fml.common.Loader; import net.minecraftforge.fml.common.event.FMLInterModComms; import omtteam.omlib.OMLib; import omtteam.omlib.reference.Reference; @SuppressWarnings("WeakerAccess") public class ModCompatibility { ...
package org.animotron.graph.builder; import org.animotron.exception.AnimoException; import org.animotron.graph.index.Cache; import org.animotron.statement.Statement; import org.animotron.statement.operator.THE; import org.animotron.utils.MessageDigester; import org.neo4j.graphdb.Node; import org.neo4j.graphdb.Relations...
package org.sana.android.task; import org.sana.android.util.SanaUtil; import android.app.ProgressDialog; import android.content.Context; import android.net.Uri; import android.os.AsyncTask; import android.util.Log; /** * Task for resetting the application database. * * @author Sana Development Team * */ public cla...
package org.bouncycastle.crypto.modes; import java.io.ByteArrayOutputStream; import org.bouncycastle.crypto.BlockCipher; import org.bouncycastle.crypto.CipherParameters; import org.bouncycastle.crypto.DataLengthException; import org.bouncycastle.crypto.InvalidCipherTextException; import org.bouncycastle.crypto.Mac; imp...
package org.ccci.gto.android.common.util; import android.text.TextUtils; public final class StringUtils { private StringUtils() { } @Deprecated public static String join(final String sep, final String... parts) { return TextUtils.join(sep, parts); } }
package org.cdc.gov.sdp.queue; import java.sql.Connection; import java.sql.PreparedStatement; import java.util.Map; import javax.sql.DataSource; import org.apache.camel.CamelContext; import org.apache.camel.Endpoint; import org.apache.camel.impl.UriEndpointComponent; /** * Component for handing messages within a defin...
package org.foo; import java.awt.image.BufferedImage; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.math.BigInteger; import javax.imageio.ImageIO; import javax.servlet.http.HttpServletRequest; import org.apache.chemistry.op...
package org.gavelproject.sanction; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import gavel.api.sanction.SanctionCategory; import gavel.api.sanction.SanctionCategoryBuilder; import gavel.impl.common.Enums; /** * Stati...
package org.grobid.core.utilities; import com.google.common.collect.Iterables; import net.sf.saxon.lib.Logger; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.lang3.tuple.ImmutablePair; import org.apache.commons.lang3.tuple.Pair; import org.grobid.core.data.Measurement; import org.grob...
package org.grouplens.grapht.solver; import com.google.common.base.Functions; import com.google.common.base.Predicates; import com.google.common.collect.*; import org.apache.commons.lang3.tuple.Pair; import org.grouplens.grapht.graph.DAGEdge; import org.grouplens.grapht.graph.DAGNode; import org.grouplens.grapht.graph....
package org.jboss.aesh.console.man; import org.jboss.aesh.console.Buffer; import org.jboss.aesh.console.Config; import org.jboss.aesh.console.command.Command; import org.jboss.aesh.console.command.invocation.CommandInvocation; import org.jboss.aesh.console.command.CommandOperation; import org.jboss.aesh.console.operato...
package author.wizard; import java.awt.Component; import java.io.BufferedReader; //import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; im...
package VASSAL.launch; import java.awt.event.ActionEvent; import java.io.File; import java.io.IOException; import javax.swing.Action; import javax.swing.JFrame; import javax.swing.JMenuBar; import org.apache.commons.lang3.SystemUtils; import VASSAL.Info; import VASSAL.build.GameModule; import VASSAL.build.module.Extens...
package org.realityforge.getopt4j; /** * Basic class describing an type of option. * Typically, one creates a static array of <code>CLOptionDescriptor</code>s, * and passes it to {@link CLArgsParser#CLArgsParser(String[], CLOptionDescriptor[])}. * * @see CLArgsParser * @see CLUtil */ public final class CLOptionD...
package net.antonyho.jodmapper; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.net.URL; import java.util.HashMap; import java.util.Map; import javax.imageio.ImageIO; import com.artofsolving.jodconverter.DefaultDocumentFormatRegistry; import com.artofsolving.jodconverter.Do...
package org.summarly.lib; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.summarly.lib.common.RankedSentence; import org.summarly.lib.common.Text; import org.summarly.lib.segmentation.LuceneSplitter; import org.summarly.lib.segmentation.StanfordNLPSplitter; import org.summarly.lib.segmentation.TextS...
package org.ugate.gui.components; import javafx.application.Application; import javafx.application.Platform; import javafx.beans.InvalidationListener; import javafx.beans.Observable; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.collections.FXCollections; import java...
package pete.metrics.portability; import java.io.File; import java.nio.file.Path; import java.util.ArrayList; import java.util.List; import javax.xml.transform.sax.SAXSource; import javax.xml.xpath.XPathConstants; import javax.xml.xpath.XPathExpression; import javax.xml.xpath.XPathExpressionException; import javax.xml....
package prospector.shootingstar.version; public class VersionUtils { public static boolean isVersionLessOrEqual(Version comparate1, Version comparate2) { if (comparate1.major > comparate2.major) { return false; } else if (comparate1.major == comparate2.major) { if (comparate1...
package uk.co.CyniCode.CyniChat.Command; import org.bukkit.ChatColor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import uk.co.CyniCode.CyniChat.DataManager; import uk.co.CyniCode.CyniChat.PermissionManager; import uk.co.CyniCode.CyniChat.objects.Channel; import uk.co.CyniCode.CyniChat.obj...
package zmaster587.advancedRocketry; import java.io.BufferedWriter; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Locale; import java.util.Map...
package roart.model; import org.hibernate.boot.registry.StandardServiceRegistryBuilder; import org.hibernate.Session; import org.hibernate.Transaction; import org.hibernate.SessionFactory; import org.hibernate.HibernateException; import org.hibernate.cfg.Configuration; import java.util.List; import org.slf4j.Logger; im...
package com.bluedot.efactura.controllers; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.security.GeneralSecurityException; import java.security.KeyStore; import java.security.cert.X509Certificate; import java.util.HashMap;...
package tabletop2; import java.io.File; import java.io.IOException; import java.util.HashSet; import java.util.Random; import java.util.logging.Level; import java.util.logging.Logger; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.swing.JOptionPane; import javax.xml.parsers.DocumentBuilder...
package com.jbooktrader.strategy; import com.jbooktrader.indicator.velocity.*; import com.jbooktrader.platform.indicator.*; import com.jbooktrader.platform.model.*; import com.jbooktrader.platform.optimizer.*; import com.jbooktrader.strategy.base.*; public class Defensive extends StrategyES { // Technical indicator...
package org.spoofax.jsglr; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.BufferedOutputStream; import java.io.OutputStream; public class Tools { private static OutputStream fos; private static String outfile = null; static { initOut...
package qc; import csv.CSVLexer; import csv.CSVParser; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.util.*; import qc.QCMetrics.FreqProb; import qc.QCMetrics.QCMetric; import qc.RandomRespondent.AdversaryType; impor...
package cc.co.traviswatkins; import java.util.HashSet; import java.util.Set; import java.util.logging.Level; import java.util.logging.Logger; import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.event.Event; import or...
package ch.ntb.inf.deep.ssa; import ch.ntb.inf.deep.cfg.CFGNode; import ch.ntb.inf.deep.classItems.ICdescAndTypeConsts; import ch.ntb.inf.deep.classItems.ICjvmInstructionOpcs; import ch.ntb.inf.deep.classItems.Class; import ch.ntb.inf.deep.classItems.StdConstant; import ch.ntb.inf.deep.classItems.DataItem; import ch.nt...
package org.jasig.portal; import java.util.List; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import org.w3c.dom.Document; import org.w3c.dom.Element; /** * Describes a published channel. * @author George Lindholm, ITServices, UBC * @version $Revision$ */ public class ChannelDefinitio...
package org.jasig.portal.tools; import java.sql.Connection; import java.sql.DatabaseMetaData; import java.sql.ResultSet; import java.sql.Statement; import java.sql.SQLException; import org.jasig.portal.RDBMServices; import org.jasig.portal.services.LogService; /** * Adjusts stored layouts in 2.1 database to work in 2....