answer
stringlengths
17
10.2M
package com.google.gwt.eclipse.wtp; import java.io.BufferedReader; import java.io.File; import java.io.InputStreamReader; import java.net.URISyntaxException; import java.net.URL; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.UUID; import org.eclipse....
package org.jetbrains.plugins.groovy.intentions.base; import com.intellij.codeInsight.CodeInsightUtilBase; import com.intellij.codeInsight.template.Template; import com.intellij.codeInsight.template.TemplateBuilder; import com.intellij.codeInsight.template.TemplateManager; import com.intellij.openapi.editor.Editor; imp...
package com.vaadin.terminal.gwt.client.ui; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Stack; import com.google.gwt.dom.client.NodeList; import com.google.gwt.event.dom.client.FocusEvent; import com.google.gwt.event.dom.client.FocusHandler; import com.google.gwt.event....
package com.webdude.algorithms; import java.math.BigInteger; import java.util.Scanner; public class ExtraLongFactorials { private static BigInteger one = BigInteger.valueOf(1); public static void main(String[] args) { Scanner in = new Scanner(System.in); System.out.println(calcFactorial(in.nextB...
package com.whoshuu.artbox.component; import org.jbox2d.collision.shapes.CircleShape; import org.jbox2d.collision.shapes.EdgeShape; import org.jbox2d.collision.shapes.PolygonShape; import org.jbox2d.common.Vec2; import org.jbox2d.dynamics.Body; import org.jbox2d.dynamics.BodyDef; import org.jbox2d.dynamics.BodyType; im...
package net.langleystudios.avro.ecore; import java.io.EOFException; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import java.util.List; import java.util.Map; import net.langleystudios.avro.AvroEMFConverter; import org.apache.avro.Schema; import org.apa...
package org.jkiss.dbeaver.ext.oracle.oci; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.jkiss.code.Nullable; import org.jkiss.dbeaver.DBException; import org.jkiss.dbeaver.core.DBeaverCore; import org.jkiss.dbeaver.utils.WinRegistry; import org.jkiss.utils.CommonUtils; ...
package org.lockss.plugin.ingenta; import java.io.*; import org.lockss.util.*; import org.lockss.filter.html.HtmlNodeFilters; import org.lockss.test.*; /** * This class tests the IngentaJouranlPluginHtmlFilterFactory. * @author phil * */ public class TestIngentaJournalHtmlFilterFactory extends LockssTestCase { pr...
package org.apache.jmeter.gui.util; import java.awt.event.FocusEvent; import java.awt.event.FocusListener; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; ...
package de.lmu.ifi.dbs.elki.algorithm.outlier; import java.util.ArrayList; import java.util.Collections; import java.util.List; import de.lmu.ifi.dbs.elki.algorithm.DistanceBasedAlgorithm; import de.lmu.ifi.dbs.elki.data.DatabaseObject; import de.lmu.ifi.dbs.elki.database.AssociationID; import de.lmu.ifi.dbs.elki.datab...
package de.superioz.mcuc.scenes; import de.superioz.mcuc.Main; import de.superioz.mcuc.PremiumChecker; import de.superioz.mcuc.UsernameVerifier; import javafx.application.Platform; import javafx.fxml.FXML; import javafx.scene.control.Label; import javafx.scene.control.ProgressIndicator; import javafx.scene.control.Text...
package edu.mit.streamjit.impl.compiler2; import com.google.common.base.Function; import static com.google.common.base.Preconditions.checkState; import com.google.common.collect.FluentIterable; import com.google.common.collect.HashBasedTable; import com.google.common.collect.ImmutableList; import com.google.common.coll...
package experimentalcode.remigius; import de.lmu.ifi.dbs.elki.data.DatabaseObject; import de.lmu.ifi.dbs.elki.database.AssociationID; import de.lmu.ifi.dbs.elki.database.Database; import de.lmu.ifi.dbs.elki.result.AnnotationResult; import de.lmu.ifi.dbs.elki.result.MultiResult; import de.lmu.ifi.dbs.elki.result.Result;...
package gov.nih.nci.ncicb.cadsr.loader.ui; import gov.nih.nci.ncicb.cadsr.loader.event.ReviewListener; import gov.nih.nci.ncicb.cadsr.loader.ui.event.NavigationEvent; import gov.nih.nci.ncicb.cadsr.loader.ui.tree.*; import gov.nih.nci.ncicb.cadsr.loader.ui.util.UIUtil; import gov.nih.nci.ncicb.cadsr.domain.ValueDomain;...
package dr.evomodel.continuous; import dr.evolution.tree.Tree; import dr.evolution.tree.NodeRef; import dr.xml.*; import dr.evomodel.tree.TreeModel; import dr.evomodel.tree.TreeStatistic; import dr.inference.model.Statistic; import dr.evolution.continuous.SphericalPolarCoordinates; /** * @author Marc Suchard * @autho...
package edu.ucsb.cs56.projects.github.jcapi_demo; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import com.jcabi.github.RtGithub; import com.jcabi.github.Issues; import com.jcabi.github.Issue; import com.jcabi.github.Github; import com.jcabi.github.Repos;...
package edu.wheaton.simulator.gui.screen; import java.awt.Dimension; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JList; import...
/** * ViewSimScreen * * Class representing the screen that displays the grid as * the simulation runs. * * @author Willy McHie and Ian Walling * Wheaton College, CSCI 335, Spring 2013 */ package edu.wheaton.simulator.gui.screen; import java.awt.Dimension; import java.awt.GridBagConstraints; import java.awt.Grid...
package edu.wustl.common.querysuite.utils; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import edu.common.dynamicextensions.domaininterface.AttributeInterface; import edu.common.dynamicexte...
package FlightScheduler; // VERTEX.JAVA // Vertex class for the multigraph // A Vertex is created with an integer identifier. Subclass // it if you want to store more complex info. // To enumerate a vertex's adjacency list, you call its adj() // method, which returns an iterator "ei" of type EdgeIterator for // the lis...
package gov.nih.nci.calab.service.common; import gov.nih.nci.calab.db.DataAccessProxy; import gov.nih.nci.calab.db.IDataAccess; import gov.nih.nci.calab.domain.Aliquot; import gov.nih.nci.calab.domain.MeasureUnit; import gov.nih.nci.calab.domain.Sample; import gov.nih.nci.calab.domain.SampleContainer; import gov.nih.nc...
package gov.nih.nci.calab.service.common; import gov.nih.nci.calab.db.DataAccessProxy; import gov.nih.nci.calab.db.IDataAccess; import gov.nih.nci.calab.domain.MeasureUnit; import gov.nih.nci.calab.domain.StorageElement; import gov.nih.nci.calab.dto.administration.AliquotBean; import gov.nih.nci.calab.dto.administratio...
package gov.nih.nci.calab.ui.workflow; /** * This class saves the association between a run and the user selected aliquot IDs and comments . * * @author pansu */ /* CVS $Id: UseAliquotAction.java,v 1.10 2006-04-27 15:56:15 pansu Exp $*/ import gov.nih.nci.calab.service.util.StringUtils; import gov.nih.nci.calab.ser...
package info.curtbinder.reefangel.phone; import android.app.AlertDialog; import android.content.BroadcastReceiver; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.IntentFilter; import android.database.Cursor; import android.database.CursorInd...
package io.flutter.preview; import com.intellij.openapi.util.text.StringUtil; import com.intellij.ui.LayeredIcon; import com.intellij.ui.SimpleTextAttributes; import com.jetbrains.lang.dart.DartComponentType; import com.jetbrains.lang.dart.util.DartPresentableUtil; import org.dartlang.analysis.server.protocol.Element; ...
package jade.content.schema.facets; import jade.content.onto.*; import jade.content.schema.*; import jade.content.abs.*; import jade.util.leap.Iterator; /** * This facet forces the elements in an AbsAggregate * to be instances of a given schema. * @author Giovanni Caire - TILAB */ public class TypedAggregateFacet i...
package org.xins.server; import org.apache.log4j.Logger; import org.xins.util.MandatoryArgumentChecker; import org.xins.util.text.FastStringBuffer; /** * Base class for function implementation classes. * * @version $Revision$ $Date$ * @author Ernst de Haan (<a href="mailto:znerd@FreeBSD.org">znerd@FreeBSD.org</a>) ...
// samskivert library - useful routines for java programs // 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 shoul...
package ui.issuecolumn; import java.util.Comparator; import java.util.List; import java.util.function.Predicate; import java.util.stream.Collectors; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.collections.FXCollections; import javafx.collections.ObservableList; imp...
package FrontEnd; import java.awt.Container; import javax.swing.JFrame; import javax.swing.JPanel; import BackEnd.Empleado; import BackEnd.Producto; import BackEndDAO.ProductoDAO; import java.awt.BorderLayout; import javax.swing.JMenuBar; import javax.swing.BoxLayout; import javax.swing.JTabbedPane; import javax.swing....
package com.gildedrose; import static org.hamcrest.Matchers.is; import static org.junit.Assert.assertThat; import org.junit.Test; public class GildedRoseTest { private static final String BACKSTAGE_PASSES_TO_A_TAFKAL80ETC_CONCERT = "Backstage passes to a TAFKAL80ETC concert"; private static final String JUNK = "jun...
package com.jcabi.github; import org.hamcrest.MatcherAssert; import org.hamcrest.Matchers; import org.junit.Assume; import org.junit.Test; public final class RtRepoITCase { /** * RtRepo can identify itself. * @throws Exception If some problem inside */ @Test public void identifiesItself() thr...
package com.test.generics; import java.math.*; import org.junit.jupiter.api.*; import static org.hamcrest.MatcherAssert.*; import static org.hamcrest.core.Is.is; @DisplayName("Test cases for various \"Number\" classes") public class NumbersTest { @DisplayName("Tests for our domain-specific Integer class") @Test...
package guitests; import static org.junit.Assert.assertEquals; import static org.loadui.testfx.Assertions.assertNodeExists; import static org.loadui.testfx.controls.Commons.hasText; import java.util.List; import java.util.Map; import java.util.Optional; import javafx.scene.input.KeyCode; import javafx.scene.input.KeyCo...
package gwt.react.client.proptypes.html; import elemental2.dom.HTMLLabelElement; import gwt.react.client.api.ReactRef; import gwt.react.client.events.*; import gwt.react.client.proptypes.ReactRefCallback; import gwt.react.client.proptypes.html.attributeTypes.YesNo; import jsinterop.annotations.JsOverlay; import jsinter...
package org.apache.commons.lang; import java.io.IOException; import java.io.Writer; import java.io.PrintWriter; import org.apache.commons.lang.exception.NestableRuntimeException; public class StringEscapeUtils { /** * The entity set to use when escaping and unescaping HTML. */ protected static Entitie...
package net.loxal.example; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.RandomStringUtils; import org.junit.After; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.lang.reflect.Method; import...
package htsquirrel.gui.pages.settings; import static htsquirrel.HTSquirrel.applyTheme; import static htsquirrel.HTSquirrel.getTheme; import static htsquirrel.HTSquirrel.setTheme; import static htsquirrel.utilities.ConfigProperties.saveConfigProperties; import java.io.IOException; import java.util.logging.Level; import ...
package info.tregmine.database.db; import java.sql.Connection; import java.sql.SQLException; import java.sql.Statement; import java.util.HashMap; import java.util.Map; import org.apache.commons.dbcp.BasicDataSource; import org.bukkit.configuration.file.FileConfiguration; import com.mysql.jdbc.exceptions.jdbc4.Communica...
package org.jsoup.select; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.junit.Test; import static org.junit.Assert.*; /** * Tests that the selector selects correctly. * * @author Jonathan Hedley, jonathan@hedley.net */ public class SelectorTest { @Test publi...
package jAudioFeatureExtractor.ACE.DataTypes; import java.io.File; import java.io.Serializable; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedList; import java.util.Map; import java.util.Set; import javax.swing.JOptionPane; import jAudioFeatureExtractor.Aggregators.ZernikeMoments; import j...
package org.orbeon.oxf.test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.dom4j.Document; import org.dom4j.Element; import org.orbeon.exception.OrbeonFormatter; import org.orbeon.oxf.resources.ResourceManager; import org.orbeon.oxf.resources.ResourceManagerWrapper; import org.orbeon.oxf...
package org.osiam.client; import com.github.springtestdbunit.DbUnitTestExecutionListener; import com.github.springtestdbunit.annotation.DatabaseSetup; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.osiam.client.connector.OsiamConnector; import org.osiam.client.exception.Conf...
import java.io.BufferedReader; import java.io.FileInputStream; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.StringTokenizer; import com.xerox.amazonws.sdb.Domain; import com.xerox.amazonw...
package se.lth.cs.connect; import static org.junit.Assert.assertEquals; import org.junit.Rule; import org.junit.Test; import com.jayway.restassured.response.Response; import ro.pippo.test.PippoRule; import ro.pippo.test.PippoTest; public class TestUserAPI extends PippoTest { // This rule ensures that we have a serv...
package org.jdesktop.swingx.decorator; /** * Encapsulates state that depends on the UI and needs * to be updated on LookAndFeel change. * * @author Jeanette Winzenburg * @deprecated (pre-1.6.1) moved; use {@link org.jdesktop.swingx.plaf.UIDependent} instead */ @Deprecated public interface UIDependent { /** ...
package org.jaxen.expr; import org.jaxen.Context; class DefaultNumberExpr extends DefaultExpr implements NumberExpr { private static final long serialVersionUID = -6021898973386269611L; private Double number; DefaultNumberExpr( Double number ) { this.number = number; } public Number getN...
package net.sf.jabref.external; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import java.util.List; import java.util.ArrayList; import javax.swing.*; import net.sf.jabref.*; import net.sf.jab...
package org.apache.xmlrpc.secure; import java.security.KeyStore; import java.security.Provider; import java.security.Security; public class SecurityTool implements SecurityConstants { /** * Class name of the security provider to be * used by the secure web server. */ protected static String s...
package org.jivesoftware; import org.jivesoftware.smack.packet.Message; import org.jivesoftware.spark.ChatManager; import org.jivesoftware.spark.SparkManager; import org.jivesoftware.spark.UserManager; import org.jivesoftware.spark.ui.ChatRoom; import org.jivesoftware.spark.ui.conferences.ConferenceUtils; import org.ji...
package org.tuckey.web.filters.urlrewrite; import org.tuckey.web.filters.urlrewrite.extend.RewriteMatch; import org.tuckey.web.filters.urlrewrite.utils.Log; import org.tuckey.web.filters.urlrewrite.utils.StringMatchingMatcher; import org.tuckey.web.filters.urlrewrite.utils.StringUtils; import javax.servlet.FilterChain;...
package org.helioviewer.jhv.io; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.Reader; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.Comparator; import java.util.HashSet; import java.util.Iterator; im...
package zerocopy; import java.io.DataOutputStream; import java.io.FileInputStream; import java.io.IOException; import java.net.Socket; import java.net.UnknownHostException; public class TraditionalClient { public static void main(String[] args) { int port = 2000; String server = "localhost"; ...
package org.helioviewer.jhv.export; import java.awt.Color; import java.awt.Graphics2D; import java.awt.geom.AffineTransform; import java.awt.image.AffineTransformOp; import java.awt.image.BufferedImage; import org.helioviewer.jhv.opengl.GLInfo; import com.jogamp.opengl.util.awt.ImageUtil; public class ExportUtils { ...
package tk.teamfield3.jTTD.util.math; public class Quaternion { private float x; private float y; private float z; private float w; public Quaternion(float x, float y, float z, float w) { this.x = x; this.y = y; this.z = z; this.w = w; } public float length() ...
package krasa.grepconsole.tail; import com.intellij.execution.DefaultExecutionResult; import com.intellij.execution.ExecutionException; import com.intellij.execution.ExecutionManager; import com.intellij.execution.Executor; import com.intellij.execution.configurations.RunProfile; import com.intellij.execution.configura...
package org.videolan; import java.net.MalformedURLException; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.InputStream; import java.io.IOException; import java.net.URL; import java.net.URLClassLoader; import java.util.ArrayList; import java.util.Enumeration; import javax.tv.xlet.Xlet; import...
package view.experiment.Analyzer.drawing; import static java.awt.event.KeyEvent.VK_F; import static java.awt.event.KeyEvent.VK_I; import static java.awt.event.KeyEvent.VK_O; import static java.awt.event.KeyEvent.VK_S; import static javax.swing.JFrame.EXIT_ON_CLOSE; import java.awt.Component; import java.awt.Frame; impo...
package com.trendrr.strest.server; import java.io.UnsupportedEncodingException; import java.net.MalformedURLException; import java.net.URI; import java.net.URL; import java.util.concurrent.atomic.AtomicLong; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.jboss.netty.buff...
package algorithms.util; /** * A class to estimate the amount of memory an object takes. * The user should know if it is to be on the heap or * stack (method local variables) when comparing the results to * available memory. * * Options for other data-types will be added as needed. * * @author nichole */ publi...
package blang.engines.internals.factories; import java.io.File; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Optional; import java.util.concurrent.TimeUnit; import java.util.stream.Collectors; import org.apache.commons.math3.stat.descriptive....
package blog.sample.resource; import blog.sample.core.Article; import blog.sample.core.User; import blog.sample.dao.ArticleDAO; import blog.sample.dao.UserDAO; import blog.sample.view.ArticleListView; import blog.sample.view.ArticleView; import blog.sample.view.Template; import com.codahale.metrics.annotation.Timed; im...
package br.org.piblimeira.app.view; import java.util.List; import javax.inject.Inject; import javax.inject.Named; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.context.annotation.RequestScope; import br.org.piblimeira.app.security.Identity; import br.org.piblimeira.domain...
package br.ufmg.dcc.latin.util; import java.io.BufferedWriter; import java.io.File; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.IOException; import java.io.OutputStreamWriter; import java.time.Instant; import org.elasticsearch.action.search.SearchResponse; import org.elasticsearch.client....
package cn.cerc.mis.client; import java.io.IOException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import cn.cerc.db.core.Curl; import cn.cerc.db.core.DataSet; import cn.cerc.db.core.IHandle; import cn.cerc.db.core.ISession; import cn.cerc.mis.core.LocalService; import cn.cerc.mis.core.ServiceState; publi...
package com.akiban.qp.rowtype; import com.akiban.ais.model.*; import com.akiban.qp.expression.Expression; import java.util.*; import static java.lang.Math.max; // UserTable RowTypes are indexed by the UserTable's RowDef's ordinal. Derived RowTypes get higher values. public class SchemaAISBased implements Schema { /...
package com.amadeus.pcb.join; import cc.mallet.optimize.LimitedMemoryBFGS; import cc.mallet.optimize.OptimizationException; import net.didion.jwnl.data.Exc; import org.apache.commons.math3.linear.Array2DRowRealMatrix; import org.apache.commons.math3.linear.ArrayRealVector; import org.apache.commons.math3.linear.RealVec...
package com.bacic5i5j.gemini.database; import com.bacic5i5j.gemini.internal.DefaultHibernateAccess; import com.google.inject.ImplementedBy; import java.io.Serializable; /** * * * @(#)Access.java 1.0 10/03/2014 */ public interface Access<T, PK extends Serializable> { /** * * @param persistClass */...
package com.bio4j.model.go.programs; import com.bio4j.model.go.GoGraph; import com.bio4j.model.go.nodes.GoTerm; import com.bio4j.model.go.nodes.SubOntologies; import com.ohnosequences.xml.api.model.XMLElement; import org.jdom2.Element; import com.ohnosequences.typedGraphs.*; import java.io.*; import java.util.*; import...
package com.bnade.wow.handle; import com.bnade.wow.dto.Result; import com.bnade.wow.enums.ResultEnum; import com.bnade.wow.exception.UnknownResourceException; import com.bnade.wow.utils.ResultUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.http.HttpStatus; import org.springfra...
package com.conveyal.r5.analyst; import com.amazonaws.services.sqs.AmazonSQS; import com.amazonaws.services.sqs.AmazonSQSClient; import com.amazonaws.services.sqs.model.MessageAttributeValue; import com.amazonaws.services.sqs.model.SendMessageRequest; import com.conveyal.r5.analyst.cluster.GridRequest; import com.conve...
package com.e16din.alertmanager; import android.app.DatePickerDialog; import android.app.TimePickerDialog; import android.content.Context; import android.content.DialogInterface; import android.content.DialogInterface.OnKeyListener; import android.os.Handler; import android.util.Log; import android.view.KeyEvent; impor...
package com.github.aidanPB.text.ansi; public class SGRTest { private static final String CSI = "\033["; public static void main(String[] args) { for(TextAttributeModifier tam : TextAttributeModifier.values()){ if(tam == TextAttributeModifier.RESET || tam == TextAttributeModifier.DEUNDERLINE ...
package com.gmail.nossr50.party; import java.io.File; import java.util.ArrayList; import java.util.LinkedHashSet; import java.util.List; import org.bukkit.OfflinePlayer; import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.entity.Player; import com.gmail.nossr50.mcMMO; import com.gmail.nossr50.data...
package com.hubspot.jinjava.lib.fn; import static com.hubspot.jinjava.util.Logging.ENGINE_LOG; import java.time.Instant; import java.time.ZoneOffset; import java.time.ZonedDateTime; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Locale; import java.util.Objects; import...
package com.learning.ads.search; public class BinarySearch { public <T extends Comparable<T>> int search(T[] array, T element) { int first = 0, last = array.length - 1, position = -1; while (first <= last) { int mid = (first + last) / 2; int r = element.compareTo(array[mid]);...
import java.io.*; import java.util.*; import java.util.regex.*; import java.text.SimpleDateFormat; import javax.xml.bind.annotation.XmlNs; import javax.xml.parsers.*; import javax.xml.transform.*; import javax.xml.transform.dom.DOMSource; import javax.xml.transform.stream.StreamResult; import org.w3c.dom.Document; impo...
import uucki.game.reversi.Board; import uucki.game.reversi.PossibleMoves; import uucki.algorithm.Algorithm; import uucki.algorithm.Minimax; import uucki.type.FieldValue; import uucki.type.Move; import uucki.type.Position; import uucki.heuristic.reversi.Basic; import uucki.graphics.reversi.Window; import java.io.*; impo...
package com.oneliang.util.logging; import com.oneliang.Constant; import com.oneliang.util.common.StringUtil; import com.oneliang.util.common.TimeUtil; public class BaseLogger extends AbstractLogger { /** * constructor * * @param level */ public BaseLogger(Level level) { super(level);...
package com.openlattice.postgres; import java.sql.ResultSet; import java.sql.SQLException; import java.util.Iterator; import java.util.NoSuchElementException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @author Matthew Tamayo-Rios &lt;matthew@openlattice.com&gt; */ public class KeyIterator<T> imple...
package com.sixtyfour.compression; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.text.DecimalFormat; import java.text.DecimalFormatSymbols; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.u...
package com.wimbli.WorldBorder.cmd; import java.util.List; import org.bukkit.command.*; import org.bukkit.entity.Player; import com.wimbli.WorldBorder.*; public class CmdRadius extends WBCmd { public CmdRadius() { name = permission = "radius"; hasWorldNameInput = true; minParams = 1; ...
package cz.janys.app.person; import cz.janys.app.AbstractController; import cz.janys.app.person.converter.PersonPtoToDtoConverter; import cz.janys.app.person.converter.PersonDtoToPtoConverter; import cz.janys.app.person.pto.PersonPto; import cz.janys.iface.dto.PersonDto; import cz.janys.iface.service.PersonService; imp...
package cz.jcu.prf.uai.javamugs.logic; import sun.reflect.generics.reflectiveObjects.NotImplementedException; public class Parser { public Parser() { // TODO Auto-generated constructor stub } public PressChart parseFile(String fileName, double timeOffset) { throw new NotImplementedException(...
package fgis.server.services; import fgis.server.entity.fgis.Resource; import fgis.server.entity.fgis.ResourceTrack; import fgis.server.entity.fgis.Resource_; import fgis.server.entity.fgis.dao.ResourceRepository; import fgis.server.entity.fgis.dao.ResourceTrackRepository; import fgis.server.support.FieldFilter; import...
package function.genotype.base; import function.genotype.base.Carrier; import function.genotype.base.NonCarrier; import function.genotype.base.Sample; import function.variant.base.Variant; import global.Data; import utils.CommandValue; import utils.DBManager; import utils.ErrorManager; import utils.LogManager; import j...
package function.variant.base; import function.annotation.base.GeneManager; import function.external.knownvar.ClinVar; import function.external.knownvar.DBDSM; import function.external.knownvar.HGMD; import function.external.knownvar.KnownVarManager; import function.genotype.trio.TrioCommand; import utils.ErrorManager;...
package gov.nih.nci.evs.api.aop; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; import org.slf4j.Logger; impor...
package info.u_team.u_team_core.util; import java.util.*; import java.util.stream.Stream; import net.minecraft.block.Block; import net.minecraft.entity.EntityType; import net.minecraft.fluid.Fluid; import net.minecraft.item.*; import net.minecraft.item.crafting.Ingredient; import net.minecraft.item.crafting.Ingredient....
package io.badgeup.sponge; import java.util.ArrayList; import java.util.List; import java.util.Optional; import org.json.JSONObject; import org.spongepowered.api.Sponge; import org.spongepowered.api.entity.living.player.Player; import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.JsonNode; impo...
package net.floodlightcontroller.simpleft; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Random; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import net.floodlightcontrol...
package net.osten.watermap.convert; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.nio.charset.Charset; import java.text.ParseException; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.logging.Logger; impor...
package net.sf.xenqtt.message; import java.nio.ByteBuffer; /** * A PUBLISH message is sent by a client to a server for distribution to interested subscribers. Each PUBLISH message is associated with a topic name (also * known as the Subject or Channel). This is a hierarchical name space that defines a taxonomy of inf...
package net.vexelon.bgrates.remote; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.URL; import java.net.URLConnection; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.List;...
package net.zero918nobita.Xemime.entity; import net.zero918nobita.Xemime.NodeType; import net.zero918nobita.Xemime.ast.FatalException; import net.zero918nobita.Xemime.ast.Node; public class Bool extends Node { private boolean bool; public static Bool T = new Bool(true); public static Bool Nil = new Bool(fal...
package nl.homeserver.klimaat; import static java.lang.String.format; import static java.math.BigDecimal.ZERO; import static java.math.RoundingMode.HALF_UP; import static java.time.LocalDateTime.now; import static java.util.Comparator.comparing; import static java.util.stream.Collectors.toList; import static nl.homeser...
package org.arachb.owlbuilder.lib; import java.util.Collections; import java.util.HashSet; import java.util.Set; import org.semanticweb.owlapi.model.IRI; /** * Utility class for OWL IRI constants * @author pmidford * */ public class Vocabulary { private Vocabulary() {} // prevent instantiation public stati...
package org.basex.gui.view.xquery; import static org.basex.core.Text.*; import static org.basex.gui.GUIConstants.*; import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.io.IOException; imp...
package org.concord.energy3d.gui; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.Dimension; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt...
package org.databene.commons.tree; import org.databene.commons.Filter; import org.databene.commons.TreeModel; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Logs the structure represented by a {@link org.databene.commons.TreeModel} implementor.<br/><br/> * Created: 10.11.2010 10:21:59 * @since 0.5.4 ...