answer stringlengths 17 10.2M |
|---|
package edu.wustl.catissuecore.action;
import javax.naming.NamingException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionErrors;
import org.apache.str... |
package edu.wustl.catissuecore.domain;
import edu.wustl.catissuecore.domain.StorageContainerCapacity;
/**
* Type of the storage container e.g. Freezer, Box etc.
* @hibernate.class table="CATISSUE_STORAGE_TYPE"
*/
public class StorageType implements java.io.Serializable
{
private static final long serialVersionUI... |
package edu.wustl.query.bizlogic;
import edu.wustl.common.beans.SessionDataBean;
import edu.wustl.common.bizlogic.DefaultBizLogic;
import edu.wustl.common.dao.DAO;
import edu.wustl.common.security.exceptions.UserNotAuthorizedException;
import edu.wustl.common.util.dbManager.DAOException;
import edu.wustl.common.util.lo... |
package tr.xip.wanikani.database;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.util.Log;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import tr.xip.wanikani.models.BaseI... |
package dr.app.beagle.tools;
import java.util.ArrayList;
import java.util.List;
import beagle.Beagle;
import beagle.BeagleFactory;
import dr.app.beagle.evomodel.sitemodel.BranchSubstitutionModel;
import dr.app.beagle.evomodel.sitemodel.EpochBranchSubstitutionModel;
import dr.app.beagle.evomodel.sitemodel.GammaSiteRateM... |
package dr.app.tracer.traces;
import dr.inference.trace.TraceCorrelation;
import dr.inference.trace.TraceDistribution;
import dr.inference.trace.TraceList;
import org.virion.jam.framework.Exportable;
import org.virion.jam.table.TableRenderer;
import javax.swing.*;
import javax.swing.plaf.BorderUIResource;
import javax.... |
package dr.evolution.coalescent;
import dr.evolution.util.Units;
import dr.math.Binomial;
import dr.math.MathUtils;
import org.apache.commons.math.analysis.UnivariateRealFunction;
import org.apache.commons.math.analysis.RombergIntegrator;
import org.apache.commons.math.MaxIterationsExceededException;
import org.apache.... |
package dr.evomodel.treelikelihood;
import dr.evolution.util.TaxonList;
import dr.inference.model.Parameter;
import dr.xml.*;
import java.util.logging.Logger;
/**
* @author Andrew Rambaut
* @version $Id$
*/
public class APOBECErrorModel extends TipPartialsModel {
public enum APOBECType {
ALL("all"),
... |
package fitnesse.testsystems.slim;
import java.io.IOException;
import java.net.ServerSocket;
import java.util.concurrent.atomic.AtomicInteger;
import fitnesse.socketservice.SocketFactory;
import fitnesse.slim.JavaSlimFactory;
import fitnesse.slim.SlimService;
import fitnesse.testsystems.ClientBuilder;
import fitnesse.t... |
package org.voltdb.export;
import static com.google_voltpatches.common.base.Preconditions.checkNotNull;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.lang.management.ManagementFactory;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.Iterator;
impo... |
package gov.nih.nci.calab.dto.particle;
import gov.nih.nci.calab.domain.Keyword;
import gov.nih.nci.calab.domain.nano.characterization.Characterization;
import gov.nih.nci.calab.domain.nano.function.Function;
import gov.nih.nci.calab.domain.nano.particle.Nanoparticle;
import gov.nih.nci.calab.dto.inventory.SampleBean;
... |
package gov.nih.nci.ncicb.cadsr.loader.ui;
import gov.nih.nci.ncicb.cadsr.loader.*;
import gov.nih.nci.ncicb.cadsr.loader.event.ReviewEvent;
import gov.nih.nci.ncicb.cadsr.loader.event.ReviewListener;
import gov.nih.nci.ncicb.cadsr.loader.parser.ElementWriter;
import gov.nih.nci.ncicb.cadsr.loader.ui.tree.*;
import gov... |
package gov.nih.nci.ncicb.cadsr.loader.ui;
import gov.nih.nci.ncicb.cadsr.loader.*;
import gov.nih.nci.ncicb.cadsr.loader.parser.ElementWriter;
import gov.nih.nci.ncicb.cadsr.loader.parser.ParserException;
import gov.nih.nci.ncicb.cadsr.loader.ui.tree.*;
import gov.nih.nci.ncicb.cadsr.loader.ui.event.*;
import gov.nih.... |
// $Id: ResourceBundle.java,v 1.27 2004/06/19 08:09:33 mdb Exp $
package com.threerings.resource;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Enumeration;
import java.u... |
package org.jaxen.function;
import org.jaxen.Context;
import org.jaxen.Function;
import org.jaxen.FunctionCallException;
import org.jaxen.Navigator;
import org.jaxen.UnsupportedAxisException;
import org.jaxen.JaxenRuntimeException;
import java.util.List;
import java.util.Iterator;
/**
* <p><b>4.2</b> <code><i>string</... |
package org.jdesktop.swingx.plaf;
import javax.swing.JComponent;
import javax.swing.plaf.PanelUI;
/**
*
* @author rbair
*/
public abstract class TitledPanelUI extends PanelUI {
/**
* Adds the given JComponent as a decoration on the right of the title
* @param decoration
*/
public abstract void... |
package org.jivesoftware.wildfire.net;
import org.xmlpull.v1.XmlPullParserException;
import org.xmlpull.v1.XmlPullParser;
import java.io.IOException;
import java.io.Reader;
/**
* MXParser that returns an IGNORABLE_WHITESPACE event when a whitespace character or a
* line feed is received. This parser is useful when no... |
package winstone.classLoader;
import java.io.InputStream;
import java.net.URL;
import java.net.URLClassLoader;
import java.net.URLStreamHandlerFactory;
import winstone.Logger;
import winstone.WinstoneResourceBundle;
/**
* Implements the servlet spec model (v2.3 section 9.7.2) for classloading, which
* is different to... |
package de.fzi.cjunit.runners;
import java.util.ArrayList;
import java.util.List;
import org.junit.runners.BlockJUnit4ClassRunner;
import org.junit.runners.model.FrameworkMethod;
import org.junit.runners.model.InitializationError;
import de.fzi.cjunit.ConcurrentTest;
import de.fzi.cjunit.runners.model.ConcurrentFramewo... |
package br.uff.ic.provviewer.Input;
import br.uff.ic.utility.IO.BasePath;
import br.uff.ic.provviewer.EdgeType;
import br.uff.ic.provviewer.GraphFrame;
import br.uff.ic.provviewer.VariableNames;
import br.uff.ic.provviewer.Variables;
import br.uff.ic.provviewer.Vertex.ColorScheme.ColorScheme;
import br.uff.ic.provviewe... |
package ch.tkuhn.memetools;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.nio.file.FileVisitOption;
import java.nio.file.FileVisitResult;
import java.nio.file.Files;
import java.nio.file.Pa... |
package cloud.swiftnode.kspam.util;
import cloud.swiftnode.kspam.KSpam;
import cloud.swiftnode.kspam.abstraction.SpamExecutor;
import cloud.swiftnode.kspam.abstraction.executor.DebugSpamExecutor;
import cloud.swiftnode.kspam.abstraction.executor.PunishSpamExecutor;
import org.bukkit.Bukkit;
import org.bukkit.configurat... |
package com.almasb.fxgl.entity;
import javafx.beans.binding.Bindings;
import javafx.beans.binding.IntegerBinding;
import javafx.beans.binding.NumberBinding;
import javafx.scene.Node;
import javafx.scene.Parent;
import javafx.scene.shape.Circle;
/**
* Represents the visual aspect of entity.
*
* @author Almas Baimagam... |
package com.annimon.ownlang.parser;
import com.annimon.ownlang.exceptions.ParseException;
import com.annimon.ownlang.lib.NumberValue;
import com.annimon.ownlang.lib.StringValue;
import com.annimon.ownlang.lib.UserDefinedFunction;
import com.annimon.ownlang.parser.ast.*;
import java.util.ArrayList;
import java.util.Enum... |
package com.communeup.service;
import java.io.IOException;
import java.io.StringWriter;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Service;
import com.amazonaws.util.json.JSONArray;
import com.amazonaws.util.json.JSONException;
import com.amazonaws.util.... |
package com.datasift.client.cli;
import com.datasift.client.BaseDataSiftResult;
import com.datasift.client.DataSiftClient;
import com.datasift.client.DataSiftConfig;
import com.datasift.client.DataSiftResult;
import com.datasift.client.pylon.PylonQueryParameters;
import com.datasift.client.pylon.PylonQuery;
import com.... |
package com.digium.respokesdk;
import android.content.Context;
import android.media.AudioManager;
import android.opengl.GLSurfaceView;
import android.os.Handler;
import android.os.Looper;
import android.util.Log;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.webrtc.Dat... |
package com.distelli.europa.db;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import javax.inject.Inject;
import com.distelli.europa.models.EuropaSetting;
import com.distelli.europa.models.EuropaSettingType;
import com.distelli.jackson.transform.TransformModule;
import com.distelli.persist... |
package team353;
import battlecode.common.*;
import java.util.*;
public class RobotPlayer {
public static class smuConstants {
public static int roundToLaunchAttack = 1600;
public static int roundToDefendTowers = 500;
public static int roundToFormSupplyConvoy = 1200; // roundToBuildSOLDIERS;... |
package com.flipkart.zjsonpatch;
import java.util.EnumSet;
public enum DiffFlags {
OMIT_VALUE_ON_REMOVE,
OMIT_MOVE_OPERATION, //only have ADD, REMOVE, REPLACE, COPY Don't normalize operations into MOVE
OMIT_COPY_OPERATION; //only have ADD, REMOVE, REPLACE, MOVE, Don't normalize operations into COPY
publ... |
package org.pentaho.di.ui.trans.steps.sapinput;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.ShellAdapter;
import org.eclipse.swt.events.ShellEvent;
import org.ec... |
package net.c4k3.Portals;
import java.util.UUID;
import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import org.buk... |
// This file is part of the "OPeNDAP 4 Data Server (aka Hyrax)" project.
// 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 PURPOS... |
package com.humegatech.inliner;
import java.nio.charset.Charset;
import org.apache.commons.lang.StringUtils;
import com.phloc.css.ECSSVersion;
import com.phloc.css.ICSSWriterSettings;
import com.phloc.css.decl.CSSDeclaration;
import com.phloc.css.decl.CSSSelector;
import com.phloc.css.decl.CSSStyleRule;
import com.phlo... |
package com.jaamsim.render;
import java.util.ArrayList;
import java.util.Arrays;
import com.jaamsim.ui.View;
public class VisibilityInfo {
private static final int[] ALL_VIEWS = new int[0];
private final int[] viewIDs;
private final double minDist;
private final double maxDist;
public VisibilityInfo... |
//Namespace
package com.katujo.web.utils;
//Java imports
import java.io.IOException;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util... |
package org.biojava.bio.structure ;
import org.biojava.bio.structure.StructureException ;
import org.biojava.bio.structure.jama.Matrix;
/** utility operations on Atoms, AminoAcids, etc.
* <p>
* Currently the
* coordinates of an Atom are stored as an array of size 3
* (double[3]). It would be more powerful to use Po... |
package org.biojava.bio.structure ;
import org.biojava.bio.structure.StructureException ;
import org.biojava.bio.structure.jama.Matrix;
/** utility operations on Atoms, AminoAcids, etc.
* <p>
* Currently the
* coordinates of an Atom are stored as an array of size 3
* (double[3]). It would be more powerful to use Po... |
package org.biojava.bio.symbol;
import java.util.List;
import java.util.ArrayList;
import org.biojava.bio.seq.io.SymbolTokenization;
//import org.biojava.bio.seq.Sequence;
//import org.biojava.bio.seq.Feature;
import org.biojava.bio.BioException;
//import org.biojava.utils.ChangeVetoException;
/**
* Class to describe ... |
package com.shc.silenceengine.io;
import com.shc.silenceengine.core.SilenceException;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.Reader;
import java.io.Writer;
import java.n... |
package org.coinjoin.rsa;
import java.math.BigInteger;
import java.security.KeyPair;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.security.SecureRandom;
import java.security.interfaces.RSAPrivateKey;
import java.security.interfaces.RSAPublicKey;
public class BlindSignUtil {
private s... |
package com.skelril.aurora;
import com.sk89q.commandbook.CommandBook;
import com.sk89q.commandbook.util.entity.player.PlayerUtil;
import com.sk89q.minecraft.util.commands.Command;
import com.sk89q.minecraft.util.commands.CommandContext;
import com.sk89q.minecraft.util.commands.CommandException;
import com.sk89q.minecra... |
package com.virjar.sipsoup.util;
import java.math.BigDecimal;
import java.util.Collection;
import java.util.List;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import com.google.common.base.Function;
import com.google.common.base.Predicate;
import com.google.common.collect.Iterables;
import com.goog... |
package collections;
import collections.interfaces.Locator;
import collections.interfaces.OrderedDictionary;
import java.util.Iterator;
/**
* @author yvesbeutler
* Basic implementation of a search tree.
*/
public class MyAVLTree<K extends Comparable<? super K>, E> implements OrderedDictionary<K, E> {
private Nod... |
package com.wizzardo.servlet;
import com.wizzardo.epoll.readable.ReadableData;
import com.wizzardo.http.Path;
import com.wizzardo.http.request.Header;
import com.wizzardo.http.response.CookieBuilder;
import com.wizzardo.http.response.Response;
import com.wizzardo.http.response.Status;
import javax.servlet.ServletOutput... |
package com.backendless;
import java.io.IOException;
import java.util.HashMap;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import android.content.Context;
import android.media.AudioManager;
import android.media.MediaPlayer;
import android.media.MediaPlayer.OnPreparedListener;
import android.view.Sur... |
package com.wuest.prefab.Gui;
import com.wuest.prefab.Gui.Controls.GuiTab;
import com.wuest.prefab.Gui.Controls.GuiTabTray;
import com.wuest.prefab.Structures.Gui.GuiStructure;
import com.wuest.prefab.Tuple;
import net.minecraft.client.gui.widget.button.Button;
import java.util.ArrayList;
/**
* @author WuestMan
*/
pu... |
package org.griphyn.vdl.karajan;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintStream;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.Map;
import org... |
package com.rehab.world;
import com.rehab.world.Phys.Vector;
public class Arena {
// Playable bounds on-screen
private double mWidth, mHeight;
// Percentage of a real second as the game's smallest unit of time
private double mUnitTime;
// Title of the level
private String mName;
// Default g... |
package de.braintags.netrelay;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import de.braintags.io.vertx.util.ExceptionUtil;
import de.braintags.io.vertx.util.exception.ParameterRequiredException;
import io.vertx.core.buffer.Buffer;
import io.vertx.core.http.HttpHeaders;
import io.vertx.core... |
package org.jay3d.engine.math;
public class Matrix4f {
private float[][] m;
public Matrix4f(){
m = new float[4][4];
}
public Matrix4f initIdentity(){
for(int x = 0; x < 4; x++){
for(int y = 0; y < 4; y++){
m[x][y] = 0;
}
}
return th... |
package eu.djakarta.tsEarthquake;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
public class EventSet {
private List<Event> magnitudeAscending;
private List<Event> timeAscending;
public EventSet(List<Event> list) {
this.magnitudeAscending = new LinkedList<>(list);
this.... |
package org.jgroups.jmx;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jgroups.annotations.MBean;
import org.jgroups.annotations.ManagedAttribute;
import org.jgroups.annotations.ManagedOperation;
import javax.management.*;
import java.lang.reflect.Field;
import java.lan... |
package org.jgroups.jmx;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import javax.management.Attribute;
import javax.management.AttributeList;
import javax.manage... |
package foodtruck.schedule;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.script.ScriptEngineManager;
import com.google.appengine.api.memcache.ErrorHandlers;
import com.google.appengine.api.memcache.MemcacheService;
import com.google.appengine.api.memcache.MemcacheServiceFactory;
import ... |
package org.jgroups.protocols;
import org.jgroups.Address;
import org.jgroups.Event;
import org.jgroups.Global;
import org.jgroups.PhysicalAddress;
import org.jgroups.annotations.LocalAddress;
import org.jgroups.annotations.Property;
import org.jgroups.blocks.cs.Receiver;
import org.jgroups.conf.AttributeType;
import j... |
package org.jgroups.protocols;
import org.jgroups.Address;
import org.jgroups.Event;
import org.jgroups.Message;
import org.jgroups.annotations.ManagedAttribute;
import org.jgroups.annotations.Property;
import org.jgroups.stack.Protocol;
import org.jgroups.util.BoundedList;
import org.jgroups.util.Util;
import java.net... |
package main.java.gui.application;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Point;
import java.rmi.RemoteException;
import main.java.data.Data;
import main.java.game.ExceptionForbiddenAction;
import main.java.game.ExceptionGameHasNotStarte... |
package org.jgroups.protocols;
import org.jgroups.*;
import org.jgroups.annotations.MBean;
import org.jgroups.annotations.ManagedAttribute;
import org.jgroups.annotations.ManagedOperation;
import org.jgroups.annotations.Property;
import org.jgroups.stack.Protocol;
import org.jgroups.util.*;
import java.util.*;
import j... |
package gui.scripting;
import com.jfoenix.controls.JFXButton;
import gui.game.GameGUI;
import gui.scripting.enumerations.Conditional;
import gui.scripting.enumerations.ScriptingTypes;
import javafx.event.ActionEvent;
import javafx.event.Event;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.sce... |
package org.jgroups.stack;
import org.jgroups.Event;
import org.jgroups.Global;
import org.jgroups.annotations.DeprecatedProperty;
import org.jgroups.annotations.Property;
import org.jgroups.conf.ClassConfigurator;
import org.jgroups.conf.PropertyHelper;
import org.jgroups.logging.Log;
import org.jgroups.logging.LogFac... |
package org.jgroups.stack;
import org.jgroups.Event;
import org.jgroups.Global;
import org.jgroups.annotations.DeprecatedProperty;
import org.jgroups.annotations.Property;
import org.jgroups.conf.PropertyHelper;
import org.jgroups.logging.Log;
import org.jgroups.logging.LogFactory;
import org.jgroups.protocols.TP;
impo... |
package hdm.pk070.jscheme.eval;
import hdm.pk070.jscheme.error.SchemeError;
import hdm.pk070.jscheme.obj.SchemeObject;
import hdm.pk070.jscheme.obj.builtin.simple.SchemeCons;
import hdm.pk070.jscheme.obj.builtin.simple.SchemeSymbol;
import hdm.pk070.jscheme.reader.SchemeReader;
import hdm.pk070.jscheme.table.environmen... |
package org.jgroups.util;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jgroups.Global;
import java.util.concurrent.*;
/**
* Fixed-delay & fixed-rate single thread scheduler
* <p/>
* The scheduler supports varying scheduling intervals by asking the task
* every time... |
package hudson.plugins.ws_cleanup;
import java.io.Serializable;
import org.kohsuke.stapler.DataBoundConstructor;
/**
* @author <a href="mailto:nicolas.deloof@cloudbees.com">Nicolas De loof</a>
*/
public class Pattern implements Serializable{
private final String pattern;
@DataBoundConstructor
public Patte... |
package org.kelly_ann;
import net.webservicex.GeoIP;
import net.webservicex.GeoIPService;
import net.webservicex.GeoIPServiceSoap;
public class IPLocationFinder
{
public static void main(String[] args)
{
if (args.length != 1)
{
System.out.println("Please pass in an IP address.");
... |
package hudson.remoting;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Map;
import java.util.Vector;
import java.util.List;
... |
package org.lockss.daemon;
import java.io.*;
import java.util.*;
import org.lockss.app.*;
import org.lockss.util.*;
/** LockssThread abstracts out common features of LOCKSS daemon threads,
* notably watchdog timers. The methods in this class should be called
* only from the thread.
*/
public abstract class LockssTh... |
/*
* $Id: LcapSocket.java,v 1.8 2002-12-16 22:13:30 tal Exp $
*/
package org.lockss.protocol;
import java.io.*;
import java.net.*;
import java.util.*;
import org.lockss.util.*;
/** Send and receive unicast and multicast datagrams.
*/
public class LcapSocket {
Logger log;
DatagramSocket sock;
/** Create an Lcap... |
package io.javalin.security;
import io.javalin.Context;
import io.javalin.Handler;
import io.javalin.core.HandlerType;
import java.util.List;
import java.util.Set;
@FunctionalInterface
public interface AccessManager {
void manage(Handler handler, Context ctx, Set<Role> permittedRoles) throws Exception;
} |
package org.nutz.filepool;
import org.nutz.lang.Files;
import org.nutz.lang.Lang;
import org.nutz.lang.random.R;
import java.io.File;
public class UU32FilePool implements FilePool {
File root;
public UU32FilePool(String path) {
this.root = Files.createDirIfNoExists(root);
}
public File createFil... |
package io.reist.visum.view;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.LayoutRes;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import io.reist.visum.ComponentCache;
import io.reist.visum.VisumClientHelper;
import io.reist.v... |
package io.sigpipe.sing.stat;
import java.util.List;
import org.apache.commons.math3.util.FastMath;
import io.sigpipe.sing.dataset.feature.Feature;
public class SquaredError {
private RunningStatistics sqErrs = new RunningStatistics();
private RunningStatistics actualStats = new RunningStatistics();
private... |
package org.ojalgo.array;
import org.ojalgo.OjAlgoUtils;
import org.ojalgo.constant.PrimitiveMath;
import org.ojalgo.function.PrimitiveFunction;
import org.ojalgo.machine.Hardware;
import org.ojalgo.scalar.Scalar;
/**
* To be used by implementations that delegate to a DenseArray
*
* @author apete
*/
final class Den... |
package javaewah32;
import java.util.*;
import java.io.*;
import javaewah.IntIterator;
public final class EWAHCompressedBitmap32 implements Cloneable, Externalizable,
Iterable<Integer>, BitmapStorage32 {
/**
* Creates an empty bitmap (no bit set to true).
*/
public EWAHCompressedBitmap32() {
this.buffer... |
package org.opendroidphp.app;
import android.os.Environment;
public class Constants {
public static final String EXTERNAL_STORAGE = Environment.getExternalStorageDirectory().getPath();
public static final String SERVER_LOCATION = EXTERNAL_STORAGE + "/htdocs";
public static final String PROJECT_LOCATION = EX... |
package jnr.unixsocket.example;
import jnr.enxio.channels.NativeSelectorProvider;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.util.Set;
import java.util.Iterator;
import java.util.logging.Level;
import java.util.logging.Lo... |
package kalang.compiler.codegen;
import kalang.ast.AbstractAstVisitor;
import kalang.ast.AssignExpr;
import kalang.ast.AstVisitor;
import kalang.ast.BinaryExpr;
import kalang.ast.BlockStmt;
import kalang.ast.BreakStmt;
import kalang.ast.CastExpr;
import kalang.ast.CatchBlock;
import kalang.ast.ClassNode;
import kalang.... |
package li.l1t.tingo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.web.ErrorAttributes;
import org.springframework.boot.autoconfigure.web.ErrorController;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.spr... |
package me.geso.jtt;
import java.nio.file.Path;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import me.geso.jtt.vm.Irep;
class CacheEntry {
final Irep irep;
final long mtime;
CacheEntry(Irep irep, long mtime) {
this.irep = irep;
this.mtime = mtime;
}
}
public clas... |
package me.ianhe.isite.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.connection.RedisConnectionFactory;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.seriali... |
package nl.mpi.kinnate.kindata;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "Entity")
public class EntityData {
pub... |
package nl.wiegman.home.config;
import nl.wiegman.home.service.api.*;
import org.glassfish.jersey.server.ResourceConfig;
import org.springframework.context.annotation.Configuration;
import javax.ws.rs.ApplicationPath;
@Configuration
@ApplicationPath("/rest")
public class RestConfig extends ResourceConfig {
public R... |
package polyglot.types;
import java.util.ArrayList;
import java.util.List;
import polyglot.frontend.*;
import polyglot.frontend.goals.FieldConstantsChecked;
import polyglot.frontend.goals.Goal;
import polyglot.types.*;
import polyglot.util.*;
/**
* A <code>FieldInstance</code> contains type information for a field.
*... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.broad.igv.sam;
import org.apache.log4j.Logger;
import org.broad.igv.feature.Range;
import org.broad.igv.feature.Strand;
import java.util.*;
/**
* Packs alignments such that there is no overlap
*
* @author ... |
package org.concord.energy3d.model;
import java.nio.FloatBuffer;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JOptionPane;
import org.concord.energy3d.gui.MainFrame;
import org.concord.energy3d.scene.Scene;
import org.concord.energy3d.shapes.Annotation;
import org.concord.energy3d.shapes.SizeAn... |
package org.jhove2.module.format.tiff;
import java.io.EOFException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import org.jhove2.annotation.ReportableProperty;
import org.jhove2.config.ConfigInfo;
import org.jhove2.core.JHOVE2;
import org.jhove2.core.JHOV... |
package org.lightmare.cache;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.util.Collection;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
impor... |
package org.made.neohabitat.mods;
import org.elkoserver.foundation.json.JSONMethod;
import org.elkoserver.foundation.json.OptInteger;
import org.elkoserver.json.EncodeControl;
import org.elkoserver.json.JSONLiteral;
import org.elkoserver.server.context.User;
import org.made.neohabitat.HabitatMod;
/**
* Habitat Die Mod... |
package org.mastercoin.rpc;
import com.google.bitcoin.core.Address;
import java.math.BigDecimal;
/**
* Balance data for a specific Mastercoin CurrencyID in a single Bitcoin address
*
* A Java representation of the JSON entry returned by getallbalancesforid_MP
*/
public class MPBalanceEntry {
private Address add... |
// If we had PRIVATE packages, e.g., org.owasp.esapi.util.pvt, this would belong
// there. CipherText uses this, but doesn't expose it directly.
package org.owasp.esapi.crypto;
import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import javax.crypto.Cipher;
import org.owasp.esapi.ESAPI;
import org.... |
package org.threeten.extra.chrono;
import static java.time.temporal.ChronoField.ERA;
import static java.time.temporal.ChronoField.YEAR;
import static org.threeten.extra.chrono.PaxChronology.DAYS_IN_MONTH;
import static org.threeten.extra.chrono.PaxChronology.DAYS_IN_WEEK;
import static org.threeten.extra.chrono.PaxChro... |
package org.wyona.webapp.mail;
import com.sun.mail.smtp.SMTPMessage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.util.Assert;
import org.springframework.util.StringUtils;
import org.springframework.web.multipart.MultipartFile... |
package org.xtx.ut4converter.t3d;
import org.xtx.ut4converter.MapConverter;
import org.xtx.ut4converter.UTGames;
/**
* A mover is a brush that moves in level.
*
* @author XtremeXp
*/
public class T3DMover extends T3DBrush {
/**
* Common properties of basic mover
*/
MoverProperties moverProperties;... |
package org.zendesk.client.v2.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Date;
import java.util.List;
/**
* @author stephenc
* @since 05/04/2013 12:03
*/
public class Field {
private Long id;
private String url;
private String type;
private String title;
private... |
package ru.carabi.server.kernel;
import java.sql.SQLException;
import java.text.DateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Properties;
import java.util.ResourceBundle;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.ejb.EJB;
impor... |
package rxbroadcast;
import rxbroadcast.time.Clock;
import rxbroadcast.time.LamportClock;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.SortedSet;
import java.util.TreeSet;
import java.util.function.Consumer;
public final class SingleSourceFifoOrder<T> implements BroadcastO... |
package seedu.taskitty.model;
import javafx.beans.value.ObservableValue;
import javafx.collections.transformation.FilteredList;
import seedu.taskitty.commons.core.ComponentManager;
import seedu.taskitty.commons.core.LogsCenter;
import seedu.taskitty.commons.core.UnmodifiableObservableList;
import seedu.taskitty.commons... |
package sssj.index;
import static sssj.base.Commons.*;
import it.unimi.dsi.fastutil.BidirectionalIterator;
import it.unimi.dsi.fastutil.ints.Int2DoubleMap.Entry;
import it.unimi.dsi.fastutil.ints.Int2ReferenceMap;
import it.unimi.dsi.fastutil.ints.Int2ReferenceOpenHashMap;
import it.unimi.dsi.fastutil.longs.Long2Double... |
package thredds.server.sos.util;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import org.joda.time.DateTime;
import org.joda.time.DateTimeUtils;
public class TimeUtils
{
// time rules
// twice
/**
* <p>A {@link Comparator} that compares {@link DateTime} objects base... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.