answer
stringlengths
17
10.2M
package com.alcedomoreno.sirme.web; import java.io.File; import java.io.FileInputStream; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import javax.annotation.Resource; import org.primefaces.event.CellEdi...
package fr.tcpmfa.dataBase; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.util.ArrayList; import fr.tcpmfa.engine.Point; import fr.tcpmfa.engine.Map; import fr.tcpmfa.util.Coordinate; public class DBTDConnexion { private static...
package edu.wustl.catissuecore.actionForm; import java.util.List; import edu.wustl.catissuecore.domainobject.Biohazard; import edu.wustl.catissuecore.domainobject.CancerResearchGroup; import edu.wustl.catissuecore.domainobject.CellSpecimenReviewParameters; import edu.wustl.catissuecore.domainobject.CheckInCheckOutEvent...
package edu.wustl.catissuecore.bizlogic; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import ...
package gui; import java.awt.AWTEvent; import java.awt.Component; import java.awt.EventQueue; import java.awt.Toolkit; import java.awt.event.AWTEventListener; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.util.HashMap; import java.util.Map; import j...
package org.glob3.mobile.specific; import org.glob3.mobile.generated.IIntBuffer; import com.google.gwt.core.client.JavaScriptObject; public class IntBuffer_WebGL extends IIntBuffer { private final JavaScriptObject _buffer; private int _timestamp = 0; public IntBuffer_Web...
package io.flutter.view; import com.intellij.openapi.Disposable; import com.intellij.openapi.util.Disposer; import com.intellij.openapi.wm.ToolWindow; import com.intellij.ui.JBColor; import com.intellij.ui.JBSplitter; import com.intellij.ui.ScrollPaneFactory; import com.intellij.ui.components.JBLabel; import com.intell...
package jade.content.schema; import jade.content.onto.*; import jade.content.abs.*; import java.util.Hashtable; import java.util.Vector; import java.util.Enumeration; /** * @author Federico Bergenti - Universita` di Parma */ public abstract class ObjectSchema { private class AttributeDescriptor { private ...
package ViewManager; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.RandomAccessFile; import java.nio.file.Files; import java.nio.file.Paths; import java.util.Date; import java.util.Timer; import java.util.T...
// This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // You should have received a copy of the GNU Lesser General ...
package org.jdesktop.swingx; import java.awt.Component; import java.awt.Container; import java.awt.Dimension; import java.awt.Point; import java.awt.Rectangle; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.print.PrinterException; import java.text.DateFormat; import java.text.N...
package org.jdesktop.swingx; import java.awt.Color; import java.awt.Component; import java.awt.ComponentOrientation; import java.awt.Container; import java.awt.Cursor; import java.awt.Dimension; import java.awt.Point; import java.awt.Rectangle; import java.awt.event.ActionEvent; import java.awt.print.PrinterException; ...
package fi.hu.cs.titokone; import fi.hu.cs.ttk91.*; import java.util.*; /** This class represents the processor. It can be told to run for one command cycle at a time. */ public class Processor implements TTK91Cpu { private static final String INVALID_OPCODE_MESSAGE = "Invalid operation code"; private stati...
package dr.inference.model; import dr.inference.loggers.LogColumn; import dr.inference.loggers.NumberColumn; public class AdaptableSizeFastMatrixParameter extends FastMatrixParameter { public AdaptableSizeFastMatrixParameter(String id, int rowDimension, int colDimension, int maxRow, int maxCol, double startingValue...
package edu.ucsb.cs56.projects.games.poker; import static org.junit.Assert.assertEquals; import java.util.ArrayList; import org.junit.Test; /** * Test class for CompareHands, to test if winning hands are judged correctly * *@author Gregory Whiter *@version CS56, Fall 2016 *@see CompareHands */ public class Compa...
package eu.ydp.empiria.player.client.module.math; import java.util.List; import com.google.gwt.core.client.JavaScriptObject; import com.google.gwt.dom.client.Style.Overflow; import com.google.gwt.event.dom.client.ChangeEvent; import com.google.gwt.event.dom.client.ChangeHandler; import com.google.gwt.json.client.JSONAr...
package org.herac.tuxguitar.util; public class TGSynchronizer { private static TGSynchronizer instance; private TGSynchronizerController controller; private TGSynchronizer(){ super(); } public static TGSynchronizer instance(){ if (instance == null) { synchronized (TGSynch...
// -*- mode:java; encoding:utf-8 -*- // vim:set fileencoding=utf-8: // @homepage@ package example; import java.awt.*; import javax.swing.*; public final class MainPanel extends JPanel { private MainPanel() { super(new BorderLayout()); UIManager.put("TabbedPane.tabInsets", new Insets(1, 4, 0, 4)); UIManage...
package edu.wustl.query.annotations.xmi; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Set; import java.ut...
package de.aima13.whoami.support; import java.io.File; import java.sql.*; public class DataSourceManager { private Connection dbConnection = null; public DataSourceManager(File sqliteDatabase) throws ClassNotFoundException, SQLException { Class.forName("org.sqlite.JDBC"); dbConnection = DriverMa...
package de.aima13.whoami.support; import java.io.File; import java.sql.*; public class DataSourceManager { private Connection dbConnection = null; public DataSourceManager(File sqliteDatabase) throws ClassNotFoundException, SQLException { Class.forName("org.sqlite.JDBC"); dbConnection = DriverMa...
package aima.gui.fx.demo.search; import aima.core.environment.nqueens.AttackingPairsHeuristic; import aima.core.environment.nqueens.NQueensBoard; import aima.core.environment.nqueens.NQueensBoard.Config; import aima.core.search.framework.Metrics; import aima.core.search.framework.qsearch.GraphSearch; import aima.core.s...
package ca.codybanman.AstroidEscape.android; import android.annotation.SuppressLint; import android.app.ActionBar.LayoutParams; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.util.Log; import android.view.View;...
package at.irian.ankor.akka; import akka.actor.Props; import akka.actor.UntypedActor; import at.irian.ankor.session.ModelSession; import at.irian.ankor.event.ModelEvent; import at.irian.ankor.event.dispatch.DispatchThreadChecker; import at.irian.ankor.event.dispatch.EventDispatcher; import at.irian.ankor.event.dispatch...
package org.anyline.jdbc.config.db; import org.anyline.jdbc.config.db.SQL.COMPARE_TYPE; import org.anyline.jdbc.config.db.impl.SQLVariableImpl; import org.anyline.util.BasicUtil; public class SQLHelper { public static SQLVariable buildVariable(int signType, String all, String prefix, String fullKey, String afterCha...
package org.anyline.jdbc.util; import org.anyline.jdbc.config.db.SQLAdapter; import org.anyline.jdbc.ds.DataSourceHolder; import org.anyline.util.SpringContextUtil; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.jdbc.datasourc...
package net.signalr.client.transport; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicLong; import net.signalr.client.util.TimeProvider; import net.signalr.client.util.concurrent.Schedulable; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Represents the transport monitor....
package org.jenkinsci.plugins.workflow.graph; import com.google.common.collect.ImmutableList; import hudson.model.Action; import hudson.model.Actionable; import hudson.model.BallColor; import hudson.search.SearchItem; import java.io.IOError; import java.io.IOException; import java.util.AbstractList; import java.util.Ar...
package edu.columbia.gemma.loader.mage; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import org.apa...
package au.gov.dva.sopapi.sopsupport; import au.gov.dva.sopapi.DateTimeUtils; import au.gov.dva.sopapi.dtos.sopsupport.components.ConditionDto; import au.gov.dva.sopapi.exceptions.ProcessingRuleRuntimeException; import au.gov.dva.sopapi.interfaces.ConditionConfiguration; import au.gov.dva.sopapi.interfaces.ProcessingRu...
package com.github.podd.utils; import java.io.IOException; import java.io.InputStream; import java.io.StringReader; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.LinkedHashSet; import java.util.List; import java.util.Map.Entry; impor...
package com.atum.tunetube.youtube; import org.json.JSONArray; import org.json.JSONException; import java.util.LinkedList; import java.util.List; public class YoutubeAutocomplete { /** * The purpose of this code is to return a List of strings representing the suggested autocomplete options for the query specifi...
package com.bkromhout.minerva.adapters; import android.content.Context; import android.graphics.drawable.Drawable; import android.graphics.drawable.LayerDrawable; import android.os.Build; import android.support.annotation.ColorInt; import android.support.v4.graphics.drawable.DrawableCompat; import android.support.v7.wi...
package com.example.android.sunshine.app; import android.content.Intent; import android.content.SharedPreferences; import android.net.Uri; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v7.app.ActionBarActivity; import android.util.Log; import android.view.Menu; import and...
package org.xins.server; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.util.Enumeration; import java.util.Properties; import javax.servlet.ServletConfig; import javax.servlet.ServletContext; import javax.servlet.ServletException; impor...
// Nenya 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 com.fonfon.noloss.ui.map; import android.Manifest; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.location.Location; import andr...
package com.twitter.mesos.scheduler; import java.util.concurrent.CountDownLatch; import java.util.logging.Level; import java.util.logging.Logger; import javax.annotation.Nullable; import com.google.common.base.Optional; import com.google.common.base.Preconditions; import com.google.common.base.Supplier; import com.goog...
package net.sf.jabref.specialfields; import java.util.ArrayList; import java.util.List; import net.sf.jabref.Util; import net.sf.jabref.BibtexEntry; import net.sf.jabref.Globals; import net.sf.jabref.undo.NamedCompound; public class SpecialFieldsUtils { public final static String FIELDNAME_PRIORITY = "priority"; ...
package com.hjwylde.rivers.ui.activities; import android.Manifest; import android.app.Activity; import android.content.res.Configuration; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v4.app.ActivityCompat; import com.google.android.gms.maps.CameraUpdateFactory; import com....
package net.sf.picard.illumina; import net.sf.picard.util.TabbedTextFileWithHeaderParser; import net.sf.picard.PicardException; import net.sf.picard.cmdline.CommandLineProgram; import net.sf.picard.cmdline.Option; import net.sf.picard.cmdline.StandardOptionDefinitions; import net.sf.picard.cmdline.Usage; import net.sf....
package battlecode.world; import battlecode.common.GameConstants; import battlecode.common.MapLocation; import battlecode.common.RobotType; import battlecode.common.Team; import gnu.trove.list.array.TIntArrayList; import gnu.trove.map.hash.TIntObjectHashMap; import gnu.trove.procedure.TIntObjectProcedure; import gnu.tr...
package com.wikijourney.wikijourney.views; import android.app.Activity; import android.app.Fragment; import android.app.FragmentManager; import android.content.Context; import android.graphics.drawable.Drawable; import android.location.Location; import android.location.LocationListener; import android.location.Location...
package com.worldspotlightapp.android.ui; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.FragmentManager; import android.support.v4.view.ViewPager; import android.util.Log; import android.view.View; import com.google.android.gms.maps.GoogleMap; imp...
package br.com.http.utils; import java.util.HashSet; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.commons.lang3.StringUtils; /** * Represents an IPv4 address and uses 32-bit (four-byte) addresses representation. IPv4 addresses may be written in any * notation...
package de.danoeh.antennapod.fragment; import android.app.Activity; import android.content.ActivityNotFoundException; import android.content.ClipboardManager; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.util.Log; import android.view.Lay...
package me.echeung.moemoekyun.service; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.support.v4.app.NotificationCompat; import android.support.v4.med...
package org.jivesoftware.openfire.muc.spi; import org.dom4j.Element; import org.jivesoftware.openfire.PacketException; import org.jivesoftware.openfire.PacketRouter; import org.jivesoftware.openfire.auth.UnauthorizedException; import org.jivesoftware.openfire.muc.*; import org.jivesoftware.openfire.user.UserAlreadyExis...
package com.github.finder; public class Main{ public Main(String[] arguments){ } public static void main(String[] args){ new Main(args); } private Args parseArguments(String[] arguments){ Args args = new Args(); try { CmdLineParser parser = new CmdLineParser(args)...
package nu.yona.app.ui.frinends; import android.content.Context; import android.support.v4.content.ContextCompat; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.timehop.stickyheadersrecyclerview.StickyRecyclerHeaders...
package org.helioviewer.gl3d.view; import java.awt.event.KeyEvent; import java.util.ArrayList; import java.util.List; import javax.media.opengl.GL; import org.helioviewer.base.logging.Log; import org.helioviewer.gl3d.GL3DKeyController; import org.helioviewer.gl3d.GL3DKeyController.GL3DKeyListener; import org.helioviewe...
package edu.berkeley.bid; import java.io.*; import java.util.zip.*; public final class UTILS { private UTILS() {} static { System.loadLibrary("bidmatmkl"); } public static native int getnumthreads( ); public static native void setnumthreads( int n ); public static native void memcpyb...
package org.estgroup.phphub.ui.view; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.net.Uri; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.webkit.WebView; import android.webkit.WebViewClient; import com.ken...
package laas.openrobots.ontology.connectors; import java.io.IOException; import java.io.Serializable; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.nio.channels.ClosedChannelException; import java.nio.chann...
package com.kuxhausen.huemore; import java.util.ArrayList; import java.util.HashMap; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.content.ContentValues; import android.content.DialogInterface; import android.content.SharedPreferences; import android.database.Cur...
package laas.openrobots.ontology.connectors; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.io.Serializable; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.net.ServerSocket; import jav...
package fxlauncher; import javax.xml.bind.annotation.XmlAttribute; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; import java.nio.file.Files; import java.nio.file.Path; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.z...
package org.stepic.droid.ui.activities; import android.content.Intent; import android.content.pm.ShortcutInfo; import android.content.pm.ShortcutManager; import android.graphics.drawable.Icon; import android.os.Bundle; import android.support.annotation.NonNull; import com.google.android.gms.tasks.OnCompleteListener; im...
package ixa.kaflib; import java.util.LinkedHashMap; import java.util.List; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import java.io.File; import java.io.Reader; import java.text.SimpleDateFormat; import java.util.Date; import java.io.IOException; import org.jdom2.JDOMException; import ...
package jkanvas.util; import java.awt.AlphaComposite; import java.awt.Color; import java.awt.Composite; import java.awt.Graphics2D; import java.awt.Shape; import java.awt.geom.Ellipse2D; import java.awt.geom.Path2D; import java.awt.geom.Point2D; import java.awt.geom.Rectangle2D; import java.awt.geom.RectangularShape; i...
package au.com.southsky.jfreesane; import java.io.IOException; import java.io.InputStream; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import au.com.southsky.jfreesane.SaneOption.OptionUnits; import au.com.southsky.jfreesane.SaneSession.SaneParameters; import com.google.commo...
package me.mneri.csv; import me.mneri.csv.exception.CsvConversionException; import me.mneri.csv.exception.CsvException; import me.mneri.csv.exception.UncheckedCsvException; import me.mneri.csv.exception.UnexpectedCharacterException; import java.io.*; import java.nio.charset.Charset; import java.nio.file.Files; import j...
package ch.bind.philib.net.examples; import java.io.IOException; import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.util.Random; import ch.bind.philib.lang.ThreadUtil; import ch.bind.philib.net.SocketAddresses; import ch.bind.philib.net.tcp.TcpConnection; //TODO: reply data validation //TODO: sp...
package io.github.aritzhack.aritzh.bds; import com.google.common.base.Strings; import com.google.common.collect.HashMultimap; import com.google.common.collect.Maps; import com.google.common.collect.Multimap; import com.google.common.collect.Sets; import io.github.aritzhack.aritzh.logging.OSLogger; import io.github.arit...
package ch.rasc.s4ws.grid; import java.io.IOException; import java.util.Collection; import org.springframework.expression.ParseException; import com.fasterxml.jackson.core.JsonParseException; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.JsonMappingException; import com.fas...
package org.cruk.seq; import java.io.BufferedOutputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.UnsupportedEncodingException; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.CommandLineParser; import org.apache.commons.cli.DefaultParser; import org.apache....
package cn.momia.mapi.api.v1.teacher; import cn.momia.api.course.CourseServiceApi; import cn.momia.api.course.dto.Course; import cn.momia.api.course.dto.CourseMaterial; import cn.momia.api.course.dto.CourseSku; import cn.momia.api.course.dto.TeacherCourse; import cn.momia.api.teacher.OldTeacherServiceApi; import cn.mom...
package com.axelor.tools.i18n; import com.axelor.common.Inflector; import com.axelor.common.StringUtils; import com.google.common.base.Charsets; import com.google.common.base.Joiner; import com.google.common.base.Splitter; import com.google.common.collect.HashMultimap; import com.google.common.collect.Multimap; import ...
package org.folio.cataloging; import org.folio.cataloging.integration.GlobalStorage; import org.folio.cataloging.log.Log; import org.folio.cataloging.log.MessageCatalog; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import...
package org.hildan.fxlog; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.net.URL; import java.util.List; import javafx.application.Application; import javafx.application.Platform; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; im...
package org.javacs; import com.google.common.collect.ImmutableList; import com.sun.source.tree.*; import com.sun.source.util.JavacTask; import com.sun.source.util.TreePath; import com.sun.source.util.Trees; import com.sun.tools.javac.api.JavacScope; import com.sun.tools.javac.comp.GetStaticLevel; import org.eclipse.lsp...
package com.conveyal.r5.analyst.scenario; import com.conveyal.r5.transit.PickDropType; import com.conveyal.r5.transit.TransitLayer; import com.conveyal.r5.transit.TransportNetwork; import com.conveyal.r5.transit.TripPattern; import com.conveyal.r5.transit.TripSchedule; import gnu.trove.list.TIntList; import gnu.trove.l...
package org.javacs; import java.net.URI; import java.util.*; import java.io.*; import java.nio.file.*; import java.util.logging.*; import java.util.concurrent.*; import java.util.stream.Collectors; import java.util.stream.Stream; import javax.lang.model.element.ElementKind; import javax.tools.*; import javax.tools.Java...
package org.jpmml.sklearn; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import javax.xml.transform.stream.StreamResult; import com.beust.jcommander.JCommander; import com.beust.jcommander.Parameter; import com.beust.jcommander.ParameterException; import ...
package com.demigodsrpg.stoa.model; import com.censoredsoftware.library.util.CommonSymbol; import com.demigodsrpg.stoa.Stoa; import com.demigodsrpg.stoa.StoaPlugin; import com.demigodsrpg.stoa.StoaServer; import com.demigodsrpg.stoa.battle.Participant; import com.demigodsrpg.stoa.deity.Ability; import com.demigodsrpg.s...
package org.lantern.state; import java.net.URI; import java.util.Locale; import org.apache.commons.lang3.time.FastDateFormat; import org.codehaus.jackson.annotate.JsonIgnore; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion; import org.codehaus.jac...
package net.lightbody.bmp; import net.lightbody.bmp.core.har.Har; import net.lightbody.bmp.filters.RequestFilter; import net.lightbody.bmp.filters.ResponseFilter; import net.lightbody.bmp.proxy.BlacklistEntry; import net.lightbody.bmp.proxy.CaptureType; import net.lightbody.bmp.proxy.auth.AuthType; import net.lightbody...
package com.elmakers.mine.bukkit.utility; import com.elmakers.mine.bukkit.block.Schematic; import org.bukkit.Bukkit; import org.bukkit.DyeColor; import org.bukkit.Location; import org.bukkit.Server; import org.bukkit.World; import org.bukkit.block.BlockFace; import org.bukkit.configuration.file.YamlConfiguration; impor...
package org.mvel; import org.mvel.integration.Interceptor; import org.mvel.ast.LineLabel; import java.util.*; import java.io.Serializable; import java.lang.reflect.Method; /** * The ParserContext is the main enviroment object used for sharing state throughout the entire * parser/compile process. */ public class Pars...
package org.bedework.webclient; //import org.bedework.calfacade.BwDateTime; import org.bedework.appcommon.FormattedFreeBusy; import org.bedework.appcommon.MyCalendarVO; import org.bedework.appcommon.TimeView; import org.bedework.calfacade.BwDuration; import org.bedework.calfacade.BwFreeBusy; import org.bedework.calfaca...
package ucar.unidata.geoloc.projection; import org.junit.Assert; import org.junit.Test; import ucar.unidata.geoloc.*; public class SinusoidalTest { // If we want all of the x-coords in the geographic region to be positive, use this. // Will be roughly 20015.8. private static final double false_easting = new...
package com.fwdekker.randomness.word; import com.fwdekker.randomness.Settings; import com.intellij.openapi.components.PersistentStateComponent; import com.intellij.openapi.components.ServiceManager; import com.intellij.openapi.components.State; import com.intellij.openapi.components.Storage; import com.intellij.util.xm...
package pig.ml.reco.cf.udf; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.Comparator; import java.util.Iterator; import java.util.List; import java.util.Map.Entry; import org.apache.pig.AccumulatorEvalFunc; import org.apache.pig.backend.executionengine.ExecExcepti...
package com.collective.celos; import junit.framework.Assert; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpGet; import org.apache.http.conn.HttpHostConnectException; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.ut...
package com.github.ahitrin.jqexample; import java.lang.Math; import java.util.ArrayList; import java.util.List; /** * @author Andrey Hitrin * @since 25.09.14 */ public class PrimeFactors { public static List<Integer> extract(Integer number) { List<Integer> factors = new ArrayList<>(); for (in...
package com.github.apixandru.games.rummikub; import java.util.Collection; import java.util.HashSet; /** * @author Alexandru-Constantin Bledea * @since Sep 16, 2015 */ final class Cards { private Cards() { } /** * @return */ static boolean isDifferentColors(final Collection<Card> cards) { ...
package seedu.task.ui; import javafx.fxml.FXML; import javafx.scene.control.Label; import javafx.scene.layout.FlowPane; import javafx.scene.layout.HBox; import javafx.scene.layout.Region; import seedu.task.model.task.ReadOnlyTask; //@@author A0146757R public class TaskCard extends UiPart<Region> { private static fi...
package water.api; import hex.Summary2; import water.*; import water.util.Log; import water.util.RString; import water.fvec.*; import water.util.Utils; import java.util.Iterator; public class SummaryPage2 extends Request2 { static final int API_WEAVER=1; // This file has auto-gen'd doc & json fields static public D...
package com.github.dozedoff.commonj.file; import java.io.File; import java.io.IOException; 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.nio.file.attribute.BasicFileAttributes; import java.util...
package com.github.martincooper.datatable; import io.vavr.control.Try; public class DataRow { private final DataTable table; private final Integer rowIdx; /** * Private DataRow constructor. * Use 'build' to create instance. * * @param table The DataTable the DataRow is pointing to. ...
package com.github.pagehelper.util; import com.github.pagehelper.Page; import com.github.pagehelper.PageException; import org.apache.ibatis.reflection.MetaObject; import java.lang.reflect.Method; import java.util.HashMap; import java.util.Map; /** * * * @author liuzh */ public abstract class PageObjectUtil { //...
package mondrian.rolap.sql; import java.io.PrintWriter; import java.io.StringWriter; import java.sql.DatabaseMetaData; import java.sql.SQLException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import mondrian.olap.MondrianDef; import mondrian.olap.MondrianProperties; import mondrian.ol...
package com.hankcs.hanlp.summary; import com.hankcs.hanlp.corpus.tag.Nature; import com.hankcs.hanlp.dictionary.stopword.CoreStopWordDictionary; import com.hankcs.hanlp.seg.common.Term; import com.hankcs.hanlp.tokenizer.StandardTokenizer; import java.util.*; import java.util.regex.*; /** * TextRank * @author hankcs ...
package com.ids1024.whitakerswords; import java.io.InputStream; import java.io.InputStreamReader; import java.io.BufferedReader; import java.io.FileOutputStream; import java.io.File; import java.io.Serializable; import java.io.IOException; import java.util.List; import java.util.ArrayList; import android.app.ListActivi...
package com.kaishiyoku.youtubedownloadhelper; import com.kaishiyoku.youtubedownloadhelper.models.Channel; import de.vandermeer.asciitable.AT_Context; import de.vandermeer.asciitable.AsciiTable; import de.vandermeer.asciithemes.TA_GridThemes; import de.vandermeer.skb.interfaces.transformers.textformat.TextAlignment; imp...
package com.maksofrol.gameoflife.forms; import com.maksofrol.gameoflife.controller.LifeController; import javax.swing.*; import javax.swing.text.AttributeSet; import javax.swing.text.BadLocationException; import javax.swing.text.PlainDocument; import java.awt.*; import java.awt.event.ActionListener; import java.awt.eve...
package com.openlattice.postgres; //@formatter:off //@formatter:on public enum PostgresDatatype { SMALLINT, SMALLINT_ARRAY, INTEGER, INTEGER_ARRAY, BIGINT, BIGINT_ARRAY, DECIMAL, NUMERIC, DOUBLE, DOUBLE_ARRAY, SERIAL, BIGSERIAL, BYTEA, BOOLEAN, TIMESTAMPTZ, TIMESTAMPTZ_ARRAY,...
package com.panzareon.spellcircles.item; import com.panzareon.spellcircles.init.ModBlocks; import com.panzareon.spellcircles.tileentity.TileEntitySpellCircle; import com.panzareon.spellcircles.tileentity.TileEntitySpellCircleGag; import net.minecraft.block.Block; import net.minecraft.block.BlockStoneBrick; import net.m...
package com.pollistics.controllers; import com.pollistics.models.Poll; import com.pollistics.services.PollService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMappi...
package com.rarchives.ripme.ripper; import java.awt.Desktop; import java.io.*; import java.lang.reflect.Constructor; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Observable; import org.apache.log4j.FileAppender; imp...