answer
stringlengths
17
10.2M
package technology.tabula.detectors; import org.apache.pdfbox.pdfparser.PDFStreamParser; import org.apache.pdfbox.pdfwriter.ContentStreamWriter; import org.apache.pdfbox.pdmodel.PDDocument; import org.apache.pdfbox.pdmodel.PDPage; import org.apache.pdfbox.pdmodel.common.PDStream; import org.apache.pdfbox.util.ImageIOUt...
package com.cmput301f17t07.ingroove.HabitStats; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.widget.CalendarView; import android.widget.ProgressBar; import android.widget.TextView; import com.cmput301f17t07.ingroove.DataManagers.Command.DataManagerAP...
package io.spine.gradle.compiler.lookup.valrule; import io.spine.gradle.compiler.GradleProject; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.nio.file.Path; import java.nio.file.Pa...
package org.sagebionetworks; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOExcep...
package fi.iot.iiframework.controllers; import fi.iot.iiframework.views.ViewParams; import fi.iot.iiframework.views.ViewUtils; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; @Controller public class IndexController { ...
package dk.statsbiblioteket.newspaper.processmonitor.backend; import dk.statsbiblioteket.newspaper.processmonitor.datasources.Batch; import dk.statsbiblioteket.newspaper.processmonitor.datasources.DataSource; import dk.statsbiblioteket.newspaper.processmonitor.datasources.Event; import dk.statsbiblioteket.newspaper.pro...
package dk.statsbiblioteket.newspaper.processmonitor.backend; import java.sql.SQLException; import java.util.Date; import java.util.List; import javax.annotation.Resource; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.annotation.Scope; import org.springframework.stereotype....
package com.ctrip.xpipe.redis.checker.healthcheck.actions.sentinel; import com.ctrip.xpipe.api.monitor.Task; import com.ctrip.xpipe.api.monitor.TransactionMonitor; import com.ctrip.xpipe.concurrent.AbstractExceptionLogTask; import com.ctrip.xpipe.exception.ExceptionUtils; import com.ctrip.xpipe.redis.checker.Persistenc...
package org.apache.derbyTesting.functionTests.tests.jdbcapi; import java.lang.reflect.Method; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Savepoint; import java.sql.Statement; import junit.framework.Test; import junit.framework.TestSuite; import org.apache.derbyT...
package com.ge.research.sadl.jena; import java.io.IOException; import java.math.BigDecimal; import java.net.URISyntaxException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import org....
package com.ge.research.sadl.jena; import java.io.IOException; import java.math.BigDecimal; import java.net.URISyntaxException; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Objects; import org.ecli...
package org.jtalks.jcommune.service.jmx; import com.google.common.collect.Lists; import org.apache.log4j.Level; import org.apache.log4j.Logger; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import java.util.ArrayList; import java.util.List; import static org.mockito.Mockito.doReturn; i...
package com.pholser.util.properties.internal.conversions; import java.lang.reflect.Constructor; import com.pholser.util.properties.internal.exceptions.ValueConversionException; import com.pholser.util.properties.testonly.ForTriggeringIllegalAccess; import org.junit.Test; import static org.hamcrest.CoreMatchers.*; impor...
package com.sdl.dxa.modules.ish.providers; import com.sdl.dxa.api.datamodel.model.SitemapItemModelData; import com.sdl.dxa.common.dto.SitemapRequestDto; import com.sdl.dxa.tridion.navigation.dynamic.DynamicNavigationModelProviderImpl; import com.sdl.web.api.dynamic.taxonomies.WebTaxonomyFactory; import com.tridion.taxo...
package am.extension.userfeedback.experiments; import java.io.Serializable; import am.extension.userfeedback.UFLRegistry.CSEvaluationRegistry; import am.extension.userfeedback.UFLRegistry.CandidateSelectionRegistry; import am.extension.userfeedback.UFLRegistry.ExperimentRegistry; import am.extension.userfeedback.UFLReg...
package com.atlassian.jira.plugins.dvcs.spi.bitbucket.clientlibrary.request; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.net.URI; import java.net.URISyntaxException; import java.net.URLEncoder; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import ...
package com.fsck.k9.activity; import android.app.AlertDialog; import android.app.Dialog; import android.app.NotificationManager; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.os.Handler; import andr...
package com.fsck.k9.service; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.net.NetworkInfo.State; import andr...
package com.googlecode.ant_deb_task; import org.apache.tools.ant.*; import org.apache.tools.ant.taskdefs.Tar; import org.apache.tools.ant.types.*; import java.io.*; import java.util.*; import java.util.regex.*; import java.security.MessageDigest; /** * Task that creates a Debian package. * * @antTaskName deb */ pub...
// vim: et sw=4 sts=4 tabstop=4 package com.issc.ui; import com.issc.Bluebit; import com.issc.gatt.Gatt; import com.issc.gatt.GattCharacteristic; import com.issc.gatt.GattDescriptor; import com.issc.gatt.GattService; import com.issc.impl.LeService; import com.issc.impl.GattTransaction; import com.issc.R; import com.iss...
package com.jmex.awt.swingui; import java.awt.AWTEvent; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.Container; import java.awt.Dimension; import java.awt.Frame; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.KeyboardFocusManager; import java.awt...
package com.miviclin.droidengine2d; import android.app.Activity; import android.view.KeyEvent; import android.view.MotionEvent; import android.view.View; import android.view.View.OnClickListener; import android.view.View.OnKeyListener; import android.view.View.OnLongClickListener; import android.view.View.OnTouchListen...
package com.relteq.sirius.db; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.util.Properties; import org.apache.commons.configuration.BaseConfiguration; public class Parameters { /** The database type: <code>derby</code>, <code>postgresql</code>, etc */ priv...
package com.spiral.gallery; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import com.nostra13.universalimageloader.core.DisplayImageOptions; import com.nostra13.universalimageloader.core.ImageLoader; import com.nostra13.universalimageloader.core.imageaware.ImageAware; import andr...
package com.untamedears.civchat; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.event.Listener; import org.bukkit.plugin.java.JavaPlugin; /* * Coded by Rourke750 & ibbignerd */ public class CivChat extends JavaPlugin implements Listener { private ChatManager chat = null; private Cha...
package com.willhains.equality; import static java.util.stream.Collectors.*; import java.lang.reflect.*; import java.util.*; import java.util.function.*; import java.util.stream.*; /** * A fast, safe, helpful utility for implementing {@link Object#equals} and * {@link Object#hashCode} easily and correctly. See {@link...
package org.lwjgl.opengl; public abstract class GLContext { final ContextCapabilities capabilities; protected GLContext(ContextCapabilities capabilities) { this.capabilities = capabilities; GL.setCurrent(this); } public ContextCapabilities getCapabilities() { return capabilities;...
package de.st_ddt.crazylogin; import java.io.File; import java.security.NoSuchAlgorithmException; import java.util.List; import org.bukkit.OfflinePlayer; import org.bukkit.command.CommandSender; import org.bukkit.command.ConsoleCommandSender; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.confi...
package codearea.demo; import java.util.Collections; import java.util.HashSet; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; import javafx.application.Application; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.scene.Scene; impo...
package pkgSwing; import javax.swing.*; class Main { public static void main(String[] args) { //entry point SwingUtilities.invokeLater(MainFrame::new); System.out.println("This might well be displayed before the other message."); //some server changes 1 } }
/* * Singleton class representing the Brackets of the tournament, with getters for size, number and brackets */ public class Brackets { private Brackets(){} private static Bracket[] brackets; private static int bSize; public static void setBrackets(int num, int size) { bSize = size; br...
package ui; import javafx.beans.InvalidationListener; import javafx.beans.property.ReadOnlyStringWrapper; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.ListIterator; import javafx.application.Application; import javaf...
package analysis; import java.text.NumberFormat; import java.util.HashMap; import main.Gui; import org.apache.commons.math3.linear.Array2DRowRealMatrix; import org.apache.commons.math3.linear.ArrayRealVector; import org.apache.commons.math3.linear.RealMatrix; import org.apache.commons.math3.linear.RealVector; import or...
package hex; import hex.quantile.Quantile; import hex.quantile.QuantileModel; import water.*; import water.fvec.Chunk; import water.fvec.Frame; import water.fvec.Vec; import water.util.MathUtils; import water.util.PrettyPrint; import water.util.TwoDimTable; import java.util.Arrays; public class GainsLift extends Iced {...
package water; import static org.junit.Assert.*; import org.junit.*; import java.util.concurrent.ExecutionException; import jsr166y.CountedCompleter; import water.fvec.Chunk; import water.fvec.FileVec; import water.fvec.Vec; public class MRThrow extends TestUtil { @BeforeClass static public void setup() { stall_till_...
import java.net.URI; import java.util.Arrays; import java.util.ArrayList; import java.util.Collections; import java.util.Hashtable; import org.apache.hadoop.conf.Configured; import org.apache.hadoop.filecache.DistributedCache; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.h...
package view; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.BufferedReader; import java.io.InputStreamReader; import java.sql.SQLException; import java.util.Scanner; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; im...
package org.skyve.util; import java.util.HashSet; import java.util.List; import java.util.Set; import org.skyve.domain.Bean; import org.skyve.domain.ChildBean; import org.skyve.domain.messages.DomainException; import org.skyve.metadata.MetaDataException; import org.skyve.metadata.customer.Customer; import org.skyve.met...
package com.intellij.openapi.wm.impl; import com.intellij.ide.DataManager; import com.intellij.ide.GeneralSettings; import com.intellij.ide.RecentProjectsManager; import com.intellij.ide.ui.UISettings; import com.intellij.ide.ui.UISettingsListener; import com.intellij.ide.ui.customization.CustomizableActionsSchemas; im...
/** * @author cdr */ package com.intellij.unscramble; import com.intellij.execution.ExecutionManager; import com.intellij.execution.ExecutionRegistry; import com.intellij.execution.impl.ConsoleViewImpl; import com.intellij.execution.runners.JavaProgramRunner; import com.intellij.execution.ui.*; import com.intellij.id...
/** * @author cdr */ package com.intellij.unscramble; import com.intellij.execution.ExecutionManager; import com.intellij.execution.ExecutionRegistry; import com.intellij.execution.impl.ConsoleViewImpl; import com.intellij.execution.runners.JavaProgramRunner; import com.intellij.execution.ui.*; import com.intellij.id...
/** * @author cdr */ package com.intellij.unscramble; import com.intellij.execution.ExecutionManager; import com.intellij.execution.Executor; import com.intellij.execution.executors.DefaultRunExecutor; import com.intellij.execution.filters.TextConsoleBuilderFactory; import com.intellij.execution.ui.ConsoleView; impor...
import java.security.SecureRandom; import javax.crypto.spec.PBEKeySpec; import javax.crypto.SecretKeyFactory; import java.security.NoSuchAlgorithmException; import java.security.spec.InvalidKeySpecException; import java.util.Base64; public class PasswordStorage { @SuppressWarnings("serial") static public class ...
package org.jasig.portal.utils; import org.jasig.portal.PortalException; import org.jasig.portal.utils.SAX2FilterImpl; import org.xml.sax.ContentHandler; import org.xml.sax.Attributes; import org.xml.sax.helpers.AttributesImpl; /** * <p>Replaces all relative URLs with absolute URLs.</p> * @author Ken Weiner, kweiner@...
package scalac.symtab.classfile; import ch.epfl.lamp.util.Position; import scalac.*; import scalac.util.*; import scalac.symtab.*; import java.io.*; import java.util.*; //todo: don't keep statics module in scope. public class ClassfileParser implements ClassfileConstants { static final int CLASS_ATTR = SOURCEFILE_...
package setGame; public class Board extends Deck { public Board() { super(0); } public Board(int deckSize) { super(deckSize); } public Board(Card[] cards) { super(cards); } public Set removeRevealedSet() { if (this.size() < 3) { return null; ...
package edu.uci.ics.hyracks.control.nc.resources.memory; import java.util.concurrent.atomic.AtomicLong; import edu.uci.ics.hyracks.api.resources.memory.IMemoryManager; public class MemoryManager implements IMemoryManager { private final long maxMemory; private final AtomicLong memory; public MemoryManager(l...
package org.phenotips.matchingnotification.storage.internal; import org.phenotips.matchingnotification.match.PatientMatch; import org.phenotips.matchingnotification.storage.MatchStorageManager; import org.xwiki.component.annotation.Component; import java.util.Collections; import java.util.List; import javax.inject.Inje...
package dr.app.seqgen; import dr.evolution.alignment.Alignment; import dr.evolution.alignment.SimpleAlignment; import dr.evolution.datatype.Nucleotides; import dr.evolution.io.NewickImporter; import dr.evolution.sequence.Sequence; import dr.evolution.tree.NodeRef; import dr.evolution.tree.Tree; import dr.evomodel.branc...
package edu.mit.transitlab; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintStream; import java.sql.Connection; import java.sq...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.stuy.commands; import edu.wpi.first.wpilibj.command.CommandGroup; /** * * @author admin */ public class AutonSetting1 extends CommandGroup { /* For inches to fender */ private static final int DIST...
package fr.jayasoft.ivy; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.InetAddress; import java.net.MalformedURLException; import java.net.URL; import java.net.UnknownHos...
package boa.types; /** * A type variable for use with functions that return types dependent on their argument types. * * @author rdyer */ public class BoaTypeVar extends BoaScalar { private String name; public BoaTypeVar (String name) { this.name = name; } public String getName() { r...
/* description: The linkdb output by nutch contain the url and the urls \ that direct to the first url in every single line.Then we \ need to convert it to the url and the urls that the url direct \ to in every single line. input: linkdb_data Text. output: linkdb_data2 Text. Mappe...
package Database; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import Cars.Car; import Freeways.Freeway; public class ExecuteCommands { public static void main(String[] args) { try { ExecuteCommands demo = new ExecuteCommands(); ...
import java.awt.BasicStroke; import java.awt.Color; import java.awt.Font; import java.text.SimpleDateFormat; import java.util.Iterator; import java.util.List; import org.jfree.chart.ChartFactory; import org.jfree.chart.JFreeChart; import org.jfree.chart.axis.DateAxis; import org.jfree.chart.axis.LogarithmicAxis; import...
package sudoku; import common.Pair; import common.Universe; import common.time.TimeBuilder; import java.io.File; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.function.BiFunction; import java.util.function.Function; import java.ut...
package example; // -*- mode:java; encoding:utf-8 -*- // vim:set fileencoding=utf-8: // @homepage@ import java.awt.*; import javax.swing.*; import javax.swing.plaf.basic.BasicTabbedPaneUI; public final class MainPanel extends JPanel { public static final Color SELECTED_BG = new Color(255, 150, 0); public static...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package flowreader.utils; import flowreader.FlowReader; import flowreader.model.Document; import flowreader.model.Page; import flowreader.model.WordCloud; import flowreader.view.MainView; import flowreader.view.PageView;...
package galileo.dataset.feature; import java.io.IOException; import galileo.serialization.ByteSerializable; import galileo.serialization.SerializationException; import galileo.serialization.SerializationInputStream; import galileo.serialization.SerializationOutputStream; import galileo.serialization.Serializer; /** * ...
package gov.nih.nci.camod.util; import java.util.*; import javax.mail.*; import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeMessage; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; /** * Static helper class for sending e-mail. Propeteries are defined in "ma...
import java.lang.annotation.Annotation; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; public class Testable { /** * Simple test annotation, to indicate that a method is a test method. ...
package afc.ant.modular; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; /** * <p>An entity that serves as a prototype of a {@link Module}. Each module is identified * by its {@link #getPath() path} relative to ...
package ie.omk.smpp.util; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import java.net.URL; import java.util.HashMap; import java.util.Map; import java.util.Properties; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Internal API configuration. This class holds th...
package meetup.beeno; import java.util.ArrayList; import java.util.List; import java.util.Map; import meetup.beeno.util.HUtil; import meetup.beeno.util.PBUtil; import org.apache.hadoop.hbase.KeyValue; import org.apache.hadoop.hbase.client.Put; import org.apache.hadoop.hbase.util.Bytes; import org.apache.log4j.Logger; /...
package org.apache.fop.apps; // FOP import org.apache.fop.fo.ElementMapping; import org.apache.fop.fo.FOTreeBuilder; import org.apache.fop.fo.FOUserAgent; import org.apache.fop.fo.FOInputHandler; import org.apache.fop.fo.FOTreeHandler; import org.apache.fop.mif.MIFHandler; import org.apache.fop.render.Renderer; import ...
package org.apache.fop.apps; // FOP import org.apache.fop.area.AreaTree; import org.apache.fop.area.RenderPagesModel; import org.apache.fop.fo.ElementMapping; import org.apache.fop.fo.FOTreeBuilder; import org.apache.fop.fo.FOInputHandler; import org.apache.fop.fo.FOTreeHandler; import org.apache.fop.mif.MIFHandler; im...
package simdevice; /** * * @author andreaswassmer */ public class HumiditySensor extends Sensor implements Measuring, SensorType { public HumiditySensor() { super(); this.setRange(0.0, 100.0); name = "Humidity"; type = SensorType.HUMIDITY; } @Override public String mea...
package main; import grid.GridAndGoals; import grid.GridGraph; import grid.StartGoalPoints; import java.util.ArrayList; import javax.swing.JFrame; import main.analysis.MazeAnalysis; import main.mazes.MazeAndTestCases; import main.mazes.StoredTestMazes; import uiandio.CloseOnExitWindowListener; import uiandio.GraphImpor...
package R.helper; import android.app.Activity; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; public class BaseFragment extends Fragment { public BaseFragment() { super(); } public <T extends BaseActivity> T getActivityRef(Class<T> cls) ...
package abra; import joptsimple.OptionParser; /** * Manages ABRA command line options * * @author Lisle E. Mose (lmose at unc dot edu) */ public class ReAlignerOptions extends Options { private static final String INPUT_SAM = "in"; private static final String OUTPUT_SAM = "out"; private static final Str...
package main.java.binBeats.ui; import java.awt.EventQueue; import java.awt.Toolkit; import java.awt.Color; import java.awt.BorderLayout; import java.awt.Component; import java.awt.Dimension; import javax.swing.JFrame; import javax.swing.JTabbedPane; import javax.swing.JPanel; import javax.swing.JLabel; import javax.swi...
package com.adam58.model; public class User { private final String username; public User(String username) { this.username = username; } public String getUsername() { return username; } @Override public boolean equals(Object o) { if (this == o) return true; if ...
package com.mycompany.app; /** * Hello world! * */ public class App { public static void main( String[] args ) { System.out.println( "Hello World!" ); build(); } public static void build( ) { System.out.println( "building!" ); } }
package com.physalix.jfx; import java.util.Date; import javafx.application.Application; import static javafx.application.Application.launch; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.geometry.Insets; import javafx.scene.Group; import javafx.scene.Scene; import java...
package com.rox.emu.p6502; import com.rox.emu.Memory; import com.rox.emu.UnknownOpCodeException; /** * A emulated representation of MOS 6502, 8 bit * microprocessor functionality. * * @author Ross Drew */ public class CPU { private final Memory memory; private final Registers registers = new Registers(); ...
package com.rox.emu.p6502; import com.rox.emu.Memory; import com.rox.emu.UnknownOpCodeException; /** * A emulated representation of MOS 6502, 8 bit * microprocessor functionality. * * @author Ross Drew */ public class CPU { private final Memory memory; private final Registers registers = new Registers(); ...
package datability; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; public class Postgresql implements Database { private static final Logger LOG = LoggerFactory.getLogger...
package de.tarent.mica; import de.tarent.mica.model.Coord; public class Action { public static enum Type { MISSED, ATTACK, CLUSTERBOMB, WILDFIRE, SPY_DRONE, TORPEDO_NORD, TORPEDO_OST, TORPEDO_SUED, TORPEDO_WEST } private final Type type; private final Coord coord; public Action(Type ...
package freemarker.core; import java.io.IOException; import java.util.*; import freemarker.template.*; import freemarker.template.utility.StringUtil; /** * An element representing a macro declaration. */ public final class Macro extends TemplateElement implements TemplateModel { private final String name; pri...
package interpres.ast; import java.util.List; import java.util.ArrayList; import interpres.language.DefinitionTable; import interpres.language.values.Value; import interpres.language.values.String; public class Program extends AST { private List<AST> expressions; public Program(List<AST> expressions) { this.exp...
package io.javalin; import io.javalin.embeddedserver.jetty.websocket.WebSocketConfig; import io.javalin.security.AccessManager; import io.javalin.security.Role; import java.util.ArrayDeque; import java.util.Deque; import java.util.List; import java.util.stream.Collectors; import org.jetbrains.annotations.NotNull; /** ...
package mcjty.rftools; import cpw.mods.fml.common.Loader; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.*; import cpw.mods.fml.common.network.FMLEmbeddedChannel; import cpw.mods.fml.common.network.NetworkRegistry; imp...
package model; import dataObjects.Document; import javafx.collections.ObservableList; import model.similarity.DotProduct; import model.similarity.Similarity; import model.weight.IDF; import model.weight.Weight; import utilities.TermExtractor; import java.sql.Connection; import java.sql.SQLException; import java.util.Co...
package nl.ovapi.rid; public class Database { public final static String journeyQuery = "SELECT validdate||':'||journey.privatecode as key,journey.id,journeypatternref,timedemandgroupref,departuretime,(lowfloor or hasliftorramp) as wheelchairaccessible,o.privatecode as operatorcode,validdate::text,journ...
package org.febit.util; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import java.lang.reflect.Array; import java.lang.reflect.InvocationTargetException; import java...
package org.jenetics; import static org.jenetics.util.object.Verify; import static org.jenetics.util.object.eq; import static org.jenetics.util.object.hashCodeOf; import static org.jenetics.util.object.nonNull; import java.util.Iterator; import javolution.lang.Immutable; import javolution.lang.Realtime; import javoluti...
package org.opennars.main; import org.apache.commons.lang3.StringUtils; import org.opennars.entity.*; import org.opennars.interfaces.Timable; import org.opennars.interfaces.pub.Reasoner; import org.opennars.io.ConfigReader; import org.opennars.io.Narsese; import org.opennars.io.Narsese.InvalidInputException; import org...
package org.opennars.main; import org.apache.commons.lang3.StringUtils; import org.opennars.entity.*; import org.opennars.interfaces.Timable; import org.opennars.interfaces.pub.Reasoner; import org.opennars.io.ConfigReader; import org.opennars.io.Narsese; import org.opennars.io.Narsese.InvalidInputException; import org...
package plotter.tail; import java.awt.AWTEvent; import java.awt.Color; import java.awt.Dimension; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.Shape; import java.awt.Stroke; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java...
package services; import java.util.Collection; import java.util.Date; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import org.springframework.util.Assert; import domain.Route; import domain....
package water.api; import java.util.ArrayList; import water.Futures; import water.Key; import water.util.FileIntegrityChecker; public class ImportFiles extends Request { static final int API_WEAVER=1; // This file has auto-gen'd doc & json fields static public JSONDoc[] DOC_JSON; // Initialized from Auto-Gen code. ...
// V e r t i c a l s B u i l d e r // // This software is released under the terms of the GNU General Public // // to report bugs & suggestions. // package omr.sheet; import omr.Main; import omr.ProcessingException; import omr.check.Check; ...
package cc3k; import character.*; import floor.*; import java.util.*; import town.MainInteraction; /* * CC3K Ver 0.1.2 * Danny & Louis version * This is the main App class, still under construction */ public class App { final int maxRow = 25; final int maxCol = 79; private int level = 1; private boo...
package def; import java.io.*; import java.util.*; import java.net.*; //import net.sf.json.*; public class Main implements Runnable{ Printer p; int pageBegin,pageEnd; ArrayList<String> topicsString; ArrayList<Topic> topics; FileWriter fw; public static void main(String[] args) throws Exception{ ...
package eco; import java.util.Random; import eco.Eco; import org.lwjgl.LWJGLException; import org.lwjgl.input.Keyboard; import org.lwjgl.opengl.Display; import org.lwjgl.opengl.DisplayMode; public class Main { public static Random random = new Random(); public static final int fov = 90; public static final ...
package nl.sense_os.commonsense.client.viz.data; import nl.sense_os.commonsense.client.viz.data.timeseries.BackEndDataPoint; import com.google.gwt.core.client.JavaScriptObject; import com.google.gwt.core.client.JsArray; public class GetSensorDataResponseJso extends JavaScriptObject { protected GetSensorDataResponse...
package org.adaptlab.chpir.android.participanttracker.models; import java.util.ArrayList; import java.util.List; import java.util.UUID; import org.adaptlab.chpir.android.activerecordcloudsync.SendReceiveModel; import org.json.JSONException; import org.json.JSONObject; import android.util.Log; import com.activeandroid.a...
package org.ensembl.healthcheck.testcase.generic; import org.ensembl.healthcheck.DatabaseRegistry; import org.ensembl.healthcheck.DatabaseType; import org.ensembl.healthcheck.testcase.MultiDatabaseTestCase; /** * Check that the attrib_type table is the same in all necessary databases. */ public class AttribTypeAcross...
package hangman; import java.awt.BorderLayout; import java.io.FileNotFoundException; import javax.swing.JFrame; public class HangmanRunner { public static void main(String[] args) throws FileNotFoundException { JFrame frame = new JFrame("HANGMAN!"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOS...