answer stringlengths 17 10.2M |
|---|
package org.jtrfp.trcl.beh;
import org.jtrfp.trcl.beh.phy.RotationalMomentumBehavior;
import org.jtrfp.trcl.obj.WorldObject;
public class SpinAccellerationBehavior extends Behavior {
private double spinAccelleration=.004;
private SpinMode spinMode=SpinMode.EQUATORIAL;
@Override
public void _tick(long mi... |
package org.kohsuke.groovy.sandbox;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;
/**
* Interceptor of Groovy method calls
*
* @author Kohsuke Kawaguchi
*/
public abstract class GroovyInterceptor {
/**
* Intercepts an instance method call on some obj... |
package org.mastodon.linking.mamut;
import static org.mastodon.detection.DetectorKeys.DEFAULT_MAX_TIMEPOINT;
import static org.mastodon.detection.DetectorKeys.DEFAULT_MIN_TIMEPOINT;
import static org.mastodon.detection.DetectorKeys.KEY_MAX_TIMEPOINT;
import static org.mastodon.detection.DetectorKeys.KEY_MIN_TIMEPOINT;
... |
package org.nunnerycode.facecore.utilities;
import org.bukkit.ChatColor;
import org.nunnerycode.kern.apache.commons.lang3.StringUtils;
import org.nunnerycode.kern.apache.commons.lang3.Validate;
import org.nunnerycode.kern.apache.commons.lang3.math.NumberUtils;
import java.util.ArrayList;
import java.util.HashMap;
impor... |
package org.mybatis.jpetstore.domain;
import java.io.Serializable;
import java.math.BigDecimal;
public class Calculate implements Serializable {
public void hello()
{
System.out.println("JPET Store Application");
System.out.println("Class name: Calculate.java");
System.out.println("Hello World");
System.out.println("Ma... |
package org.odlabs.wiquery.core.util;
import org.apache.wicket.Component;
import org.apache.wicket.MarkupContainer;
import org.apache.wicket.Component.IVisitor;
/**
* $Id$
* <p>
* Class to retrieve the Wicket component with the specified markup identifiant
* </p>
*
* @author Julien Roche
* @since 1.0
*/
public ... |
package org.mybatis.jpetstore.domain;
import java.io.Serializable;
import java.math.BigDecimal;
public class Calculate implements Serializable {
public void hello()
{
System.out.println("JPET Store Application");
System.out.println("Class name: Calculate.java");
System.out.println("Hello World");
System.out.println("Ma... |
package org.opentripplanner.profile;
import com.beust.jcommander.internal.Lists;
import com.google.common.collect.HashMultimap;
import com.google.common.collect.Iterables;
import com.google.common.collect.Multimap;
import gnu.trove.iterator.TIntIntIterator;
import gnu.trove.iterator.TIntIterator;
import gnu.trove.itera... |
package org.mybatis.jpetstore.domain;
import java.io.Serializable;
import java.math.BigDecimal;
public class Calculate implements Serializable {
public void hello()
{
System.out.println("JPET Store Application");
System.out.println("Class name: Calculate.java");
System.out.println("Hello World");
System.out.println("Ma... |
package org.opentripplanner.profile;
import com.beust.jcommander.internal.Lists;
import com.google.common.collect.HashMultimap;
import com.google.common.collect.Iterables;
import com.google.common.collect.Multimap;
import gnu.trove.iterator.TIntIntIterator;
import gnu.trove.iterator.TIntIterator;
import gnu.trove.itera... |
package com.dtstack.logstash.filters;
import java.net.InetAddress;
import java.util.Map;
import java.util.Set;
import org.joda.time.DateTime;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.dtstack.logstash.annotation.Required;
@SuppressWarnings("serial")
public class Add extends BaseFilter {
pr... |
package org.rakam.server.http;
import com.google.common.collect.ImmutableSet;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import io.netty.channel.ChannelFutureListener;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.DecoderResult;
import io.netty.handler.codec.http.Def... |
package org.spongepowered.api.event.cause;
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkNotNull;
import com.google.common.base.MoreObjects;
import com.google.common.base.Objects;
import org.spongepowered.api.block.BlockSnapshot;
import org.spo... |
package org.team2471.frc.lib.motion_profiling;
import com.squareup.moshi.JsonAdapter;
import com.squareup.moshi.Moshi;
import org.team2471.frc.lib.math.Vector2;
public class Path2D {
public String name;
private Path2DCurve m_xyCurve; // positive y is forward in robot space, and positive x is to the robot's r... |
package permafrost.tundra.data;
import com.wm.data.IData;
import com.wm.data.IDataCursor;
import com.wm.data.IDataPortable;
import com.wm.data.IDataUtil;
import com.wm.util.Table;
import com.wm.util.coder.IDataCodable;
import com.wm.util.coder.ValuesCodable;
import permafrost.tundra.html.HTMLEntity;
import permafrost.t... |
package pl.chormon.ultimateclans;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import org.bukkit.Bukkit;
import pl.chormon.ultimateclans.commands.CmdUC;
import pl.chormon.ultimateclans.entity.Clan;
import pl.chormon.ultimateclans.entity.UCPlayer;
import pl.chormon.ultimateclans.listeners.PlayerL... |
package ru.r2cloud.jradio.demod;
import java.io.IOException;
import ru.r2cloud.jradio.ByteInput;
import ru.r2cloud.jradio.Context;
import ru.r2cloud.jradio.FloatInput;
import ru.r2cloud.jradio.blocks.ClockRecoveryMM;
import ru.r2cloud.jradio.blocks.DcBlocker;
import ru.r2cloud.jradio.blocks.FloatToChar;
import ru.r2clo... |
package pacman.entries.pacman.logging;
import pacman.game.Constants.DM;
import pacman.game.Constants.GHOST;
import pacman.game.Constants.MOVE;
import pacman.game.Game;
public class GhostState
{
public static final int FEATURE_COUNT = 19;
public GHOST ghost;
public boolean requiresAction;
public int leve... |
package pl.hycom.pip.messanger.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.secu... |
package scrum.client.dashboard;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import scrum.client.admin.User;
import scrum.client.common.AScrumWidget;
import scrum.client.issues.Issue;
import scrum.client.project.Project;
import scrum.cl... |
package pl.mkrystek.mkbot.pl.mkrystek.mkbot;
import static java.awt.event.KeyEvent.*;
import java.awt.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class Keyboard {
private static final Logger LOGGER = LoggerFactory.getLogger(Keyboard.class);
private Robot robot;
public Keyboard(Robot r... |
package biz.dfch;
/**
* This is the plugin. Your class should implement one of the existing plugin
* interfaces. (i.e. AlarmCallback, MessageInput, MessageOutput)
*/
import java.io.*;
import java.util.List;
import javax.script.ScriptContext;
import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;
... |
package uk.ac.ebi.phenotype.solr.indexer;
import org.apache.commons.lang3.StringUtils;
import org.apache.solr.client.solrj.SolrServer;
import org.apache.solr.client.solrj.SolrServerException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import o... |
//@@author A0139925U
package seedu.tache.logic.commands;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Optional;
import seedu.tache.commons.core.EventsCenter;
import seedu.tache.commons.core.Messages;
import seedu.tache.commons.events.ui.JumpToListRequestEvent;
import seedu.... |
package ch.tkuhn.hashuri.rdf;
import java.io.InputStream;
import java.util.Map;
import org.openrdf.model.BNode;
import org.openrdf.model.Resource;
import org.openrdf.model.URI;
import org.openrdf.model.impl.URIImpl;
import org.openrdf.rio.RDFFormat;
import org.openrdf.rio.RDFParser;
import org.openrdf.rio.Rio;
import c... |
package uk.ac.ebi.phenotype.stats;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.TreeSet;
import org.apache.solr.client.solrj.SolrQuery;
import org.apache.solr.client.solrj.SolrServerException;
import org.apache.solr.client.... |
package seedu.todo.controllers;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import seedu.todo.MainApp;
import seedu.todo.commons.core.Config;
import seedu.todo.commons.exceptions.CannotConfigureException;
import seedu.todo.commons.util.ConfigUtil;
import seedu.todo.controllers.concerns.Rend... |
package seedu.unburden.model.task;
import seedu.unburden.commons.exceptions.IllegalValueException;
import seedu.unburden.model.tag.UniqueTagList;
/**
* A read-only immutable interface for a Task in the task manager.
* Implementations should guarantee: details are present and not null, field values are validated.
* ... |
package com.akiban.ais.model;
import com.akiban.ais.AISCloner;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.akiban.ais.model.validation.AISValidations;
import com.akiban.server.error.JoinToMultipleParentsException;
import com.akiban.server.error.JoinToUnknownTableException;
import com.akiban.serv... |
package tigase.cluster;
import tigase.cluster.api.ClusterCommandException;
import tigase.cluster.api.ClusterControllerIfc;
import tigase.cluster.api.ClusteredComponentIfc;
import tigase.cluster.api.CommandListener;
import tigase.cluster.strategy.ClusteringStrategyIfc;
import tigase.cluster.strategy.ConnectionRecord;
im... |
package xdi2.core.impl.json.mongodb;
import java.io.IOException;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.regex.Pattern;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import xdi2.core.impl.json.AbstractJSONStore;
import xdi2.co... |
package top.quantic.sentry.discord;
import com.google.common.collect.Multimap;
import com.google.common.collect.MultimapBuilder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import sx.blah.discord... |
package com.axelmonroy;
import java.util.LinkedList;
import java.util.List;
import java.util.Random;
class Game_TicTacToe {
String[] actualGame = new String[9];
List<String> winnerPositions = new LinkedList<String>();
private String lastPlayer;
public Game_TicTacToe() {
winnerPositions.add("0,1,... |
package org.anyline.map;
import org.anyline.amap.util.AmapUtil;
import org.anyline.baidu.map.util.BaiduMapUtil;
import org.anyline.entity.Coordinate;
import org.anyline.exception.AnylineException;
import org.anyline.qq.map.util.QQMapUtil;
import org.anyline.util.BasicUtil;
import org.anyline.util.DateUtil;
import org.a... |
package uk.ac.ebi.phenotype.stats;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
import org.apache.commons.lang.WordUtils;
import org.apache.commons.lang3.time.D... |
package com.blockscore.models;
import com.blockscore.common.CorporationType;
import com.blockscore.common.ValidityStatus;
import com.blockscore.models.base.BasicResponse;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import jav... |
package org.openmrs.api;
import static org.hamcrest.Matchers.containsInAnyOrder;
import static org.hamcrest.Matchers.empty;
import static org.hamcrest.Matchers.hasItems;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.nullValue;
import static org.junit.Assert.assertEquals;
import static org.... |
package com.fishercoder.solutions;
import java.util.ArrayList;
import java.util.List;
public class _77 {
public static class Solution1 {
/**
* I'm glad that I worked this one out completely on my own on 10/11/2021! Enjoy the beauty of backtracking!
*/
public List<List<Integer>> com... |
package com.gmail.nossr50;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import com.gmail.nossr50.config.Config;
import com.gmail.nossr50.datatypes.PlayerStat;
import com.gmail.nossr50.datatypes.SkillType... |
package com.jcabi.manifests;
import com.jcabi.aspects.Immutable;
import com.jcabi.log.Logger;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.Serializable;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.Enumeration;
import java.... |
package com.quantum.utils;
import com.perfectomobile.httpclient.device.DeviceParameter;
import com.perfectomobile.httpclient.device.DeviceResult;
import com.qmetry.qaf.automation.ui.WebDriverTestBase;
import com.qmetry.qaf.automation.ui.webdriver.QAFExtendedWebDriver;
import com.qmetry.qaf.automation.util.Validator;
im... |
package com.salesforce.saml;
import java.io.IOException;
import javax.servlet.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class TLSFilter implements Filter {
@Override
public void init(FilterConfig filterConfig) throws ServletException {
}
publi... |
package com.soundcloud.api;
import org.apache.http.ConnectionReuseStrategy;
import org.apache.http.Header;
import org.apache.http.HeaderElement;
import org.apache.http.HttpEntity;
import org.apache.http.HttpException;
import org.apache.http.HttpHost;
import org.apache.http.HttpResponse;
import org.apache.http.HttpRespo... |
package com.stripe.model;
import com.google.gson.FieldNamingPolicy;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.stripe.net.StripeResponse;
import java.lang.reflect.Field;
public abstract class StripeObject {
public static final Gson PRETTY_PRINT_GSON = new GsonBuilder()
.setPrett... |
import java.util.*;
public class AtaqueIntercalado implements Estrategia {
ArrayList<Elfo> ordemAtaque = new ArrayList<Elfo>();
ArrayList<Elfo> delayed = new ArrayList<>();
public void atacar(HashMap<Status, ArrayList<Elfo>> exercitoElfos, ArrayList<Dwarf> dwarfs) {
ArrayList<Elfo> exercitoElfosVivo... |
package com.uz.emojione.fx;
import javafx.scene.image.Image;
import java.lang.ref.WeakReference;
import java.util.concurrent.ConcurrentHashMap;
public class ImageCache {
private ConcurrentHashMap<String, WeakReference<Image>> map;
private static final ImageCache INSTANCE = new ImageCache();
public static Im... |
package net.java.sip.communicator.util.swing;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.plaf.basic.*;
import org.jvnet.lafwidget.animation.*;
/**
* A custom JButton that contains only text. A custom background could be set,
* which will result in a round cornered background ... |
package com.vzome.core.algebra;
import java.util.Arrays;
public class Fields
{
public interface Element
{
Element times( Element that );
Element plus( Element that );
Element reciprocal();
Element negate();
boolean isZero();
boolean isOne();
}
public stati... |
package net.maizegenetics.analysis.numericaltransform;
import net.maizegenetics.trait.Phenotype;
import net.maizegenetics.trait.SimplePhenotype;
import net.maizegenetics.trait.Trait;
import net.maizegenetics.util.SimpleTableReport;
import net.maizegenetics.util.TableReport;
import net.maizegenetics.matrixalgebra.Matrix... |
package dbpedia;
import com.hp.hpl.jena.graph.Triple;
import com.hp.hpl.jena.rdf.model.Model;
import com.hp.hpl.jena.rdf.model.Resource;
import com.hp.hpl.jena.rdf.model.Statement;
import com.hp.hpl.jena.rdf.model.StmtIterator;
import com.hp.hpl.jena.vocabulary.RDF;
import edu.stanford.nlp.ling.CoreLabel;
import edu.st... |
package me.coley.recaf.ui.component;
import java.lang.reflect.Field;
import java.util.List;
import org.objectweb.asm.Handle;
import org.objectweb.asm.Type;
import org.objectweb.asm.tree.*;
import me.coley.event.Bus;
import me.coley.recaf.event.ClassDirtyEvent;
import me.coley.recaf.ui.component.editor.*;
/**
* Refecti... |
package de.retest.recheck;
import static de.retest.recheck.util.FileUtil.normalize;
import java.io.File;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import de.retest.recheck.co... |
package nl.sense_os.service.ambience;
import nl.sense_os.service.R;
import nl.sense_os.service.constants.SenseDataTypes;
import nl.sense_os.service.constants.SensePrefs;
import nl.sense_os.service.constants.SensePrefs.SensorSpecifics;
import nl.sense_os.service.constants.SensorData.DataPoint;
import nl.sense_os.service... |
package musician101.itembank.listeners;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.sql.SQLException;
import java.util.Map.Entry;
import musician101.itembank.ItemBank;
import musician101.itembank.lib.Constants;
import musician101.itembank.lib.Messages;
import musician101.itembank.util.... |
package edu.chl.proton.model;
import java.io.File;
import java.io.IOException;
import java.util.*;
public class Document {
private Cursor cursor;
private FileUtility file;
private List<String> lines = new ArrayList<String>();
IDoc docType;
public Document(IDoc type){
this.docType = type;
... |
package org.ensembl.healthcheck.testcase.generic;
import java.sql.Connection;
import java.util.Set;
import java.util.Map;
import java.util.logging.Logger;
import org.ensembl.healthcheck.DatabaseRegistryEntry;
import org.ensembl.healthcheck.ReportManager;
import org.ensembl.healthcheck.Team;
import org.ensembl.healthche... |
package net.dlogic.kryonet.common.utility;
import net.dlogic.kryonet.common.request.JoinRoomRequest;
import net.dlogic.kryonet.common.request.LeaveRoomRequest;
import net.dlogic.kryonet.common.request.LoginRequest;
import net.dlogic.kryonet.common.request.LogoutRequest;
import net.dlogic.kryonet.common.request.PrivateM... |
package edu.depaul.agent;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.json.Json;
import javax.json.stream.JsonParser;
import org.apache.commons.lang.time.DateUtils;
i... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package net.kirauks.pixelrunner.scene.base;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.physics.box2d.Body;
import com.badlogic.gdx.physics.box2d.BodyDef;
import com.badlogic.gdx.physics.box2d.Contact;
... |
package edu.hm.hafner.analysis;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Iterator;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.Splite... |
package edu.jhu.prim.util.random;
import java.util.Random;
import java.util.concurrent.ThreadLocalRandom;
import edu.jhu.prim.util.random.UnlockedXORShiftRNG.DeterministicSeedGenerator;
/**
* A "no-dependencies" version of Prng.
* @author mgormley
*/
public class Prng {
public enum PrngSetting {
REPLICAB... |
package org.opencms.workplace.galleries;
import org.opencms.file.CmsObject;
import org.opencms.file.CmsProperty;
import org.opencms.file.CmsPropertyDefinition;
import org.opencms.file.CmsRequestContext;
import org.opencms.file.CmsResource;
import org.opencms.file.CmsResourceFilter;
import org.opencms.file.types.CmsReso... |
package cc.arduino.packages.uploaders;
import cc.arduino.packages.Uploader;
import com.jcraft.jsch.*;
import org.apache.commons.codec.binary.Base64;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.HttpStatus;
import org.apache.commons.httpclient.NameValuePair;
import org.apache.com... |
package net.ssehub.kernel_haven.feature_effects;
import java.io.PrintStream;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import net.ssehub.kernel_haven.PipelineConfigurator;
import net.ssehub.kernel_haven.SetUpException;
import net.ssehub.kernel_haven.build_model.Buil... |
package cav.pdst.ui.activity;
import android.app.TimePickerDialog;
import android.content.Context;
import android.content.SharedPreferences;
import android.graphics.Color;
import android.graphics.PorterDuff;
import android.os.Bundle;
import android.os.Environment;
import android.preference.Preference;
import android.pr... |
package net.x4a42.volksempfaenger.ui;
import net.x4a42.volksempfaenger.R;
import net.x4a42.volksempfaenger.borrowed.PinProgressButton;
import net.x4a42.volksempfaenger.data.Columns.Episode;
import net.x4a42.volksempfaenger.data.Constants;
import net.x4a42.volksempfaenger.data.EpisodeCursor;
import net.x4a42.volksempfae... |
package eu.goodlike.functional;
import eu.goodlike.neat.Null;
import java.util.NoSuchElementException;
import java.util.Objects;
import java.util.Optional;
import java.util.function.*;
/**
* <pre>
* Contains one of two possible type of objects, never both; it can, however, contain neither
*
* This class mimics java... |
package org.pentaho.di.core.config;
import java.util.Collection;
import java.util.LinkedHashSet;
import org.pentaho.di.core.Const;
import org.pentaho.di.core.annotations.Inject;
import org.pentaho.di.core.annotations.Step;
import org.pentaho.di.core.exception.KettleConfigException;
import org.pentaho.di.core.logging.Lo... |
package com.coolweather.app.util;
import android.text.TextUtils;
import com.coolweather.app.db.CoolWeatherDB;
import com.coolweather.app.model.City;
import com.coolweather.app.model.County;
import com.coolweather.app.model.Province;
public class Utility {
public synchronized static boolean handleProvincesResponse(C... |
package eu.greyson.print;
import eu.greyson.Bookkeeper;
import eu.greyson.file.StarterFileChooser;
import eu.greyson.parser.*;
import eu.greyson.payment.Payable;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.List;
public class PrintMan... |
package com.evgenii.maptest;
import android.Manifest;
import android.content.pm.PackageManager;
import android.os.Build;
import android.support.v4.app.FragmentActivity;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.widget.Toast;
import com.google.android.gms.maps.CameraUpdate... |
package exnihilocreatio.util;
import lombok.Getter;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
import net.mine... |
package com.noprestige.kanaquiz;
public class Fraction
{
private int whole;
private int numerator;
private int denominator;
static final private int[] PRIME_NUMBERS = {2, 3, 5};
static final private int RESOLUTION = 240;
static final private char NUL = '\u0000';
static final private char[][]... |
package mystikos.pollen;
import android.content.Context;
import android.content.Intent;
import android.preference.PreferenceManager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.widget.Button;
import android... |
package org.concord.datagraph.engine;
import java.awt.geom.Point2D;
/**
* AutoScaleGraphable
* Class name and description
*
* Date created: Oct 21, 2004
*
* @author imoncada<p>
*
*/
public class DataGraphAutoScaler extends DataGraphDaemon
{
public static final int DEFAULT_MARGIN = 10;
protected boolean ... |
package hprose.server;
import hprose.common.HproseContext;
import hprose.common.HproseMethods;
import hprose.io.ByteBufferStream;
import java.io.IOException;
import java.lang.reflect.Type;
import java.net.InetSocketAddress;
import java.net.ServerSocket;
import java.net.Socket;
import java.net.URI;
import java.net.URISy... |
package org.commcare.android.logic;
public class GlobalConstants {
public static final String FILE_CC_INSTALL = "commcare/install";
public static final String FILE_CC_UPGRADE = "commcare/upgrade/sandbox/";
public static final String FILE_CC_CACHE = "commcare/cache";
public static final String FILE_CC_ME... |
package javax.time.calendar;
import java.io.Serializable;
import javax.time.calendar.field.HourOfDay;
import javax.time.calendar.field.MinuteOfHour;
import javax.time.calendar.field.NanoOfSecond;
import javax.time.calendar.field.SecondOfMinute;
import javax.time.calendar.format.FlexiDateTime;
import javax.time.period.P... |
package org.exist.xmldb;
import java.net.URISyntaxException;
import java.util.Date;
import org.apache.log4j.Logger;
import org.exist.EXistException;
import org.exist.dom.DocumentImpl;
import org.exist.security.PermissionDeniedException;
import org.exist.security.User;
import org.exist.security.xacml.AccessContext;
impo... |
package kr.jm.utils.helper;
import static kr.jm.utils.helper.JMPredicate.getIsEmpty;
import java.util.Collection;
import java.util.Map;
import java.util.Optional;
import java.util.function.BiFunction;
import java.util.function.Consumer;
import java.util.function.Function;
import java.util.function.Predicate;
import jav... |
package org.gridlab.gridsphere.layout;
import org.gridlab.gridsphere.core.persistence.PersistenceManagerException;
import org.gridlab.gridsphere.portlet.*;
import org.gridlab.gridsphere.portlet.impl.SportletLog;
import org.gridlab.gridsphere.portlet.impl.SportletProperties;
import org.gridlab.gridsphere.portletcontaine... |
package org.acra.sender;
import android.app.IntentService;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import org.acra.ACRA;
import org.acra.ACRAConstants;
import org.acra.config.ACRAConfiguration;
import org.acra.file.CrashReportFileNameParser;
... |
package org.ajgl.sp.tree;
import java.util.List;
import java.util.Vector;
public abstract class QuadTreeNode<T> {
public static int maxObjects; // The max objects the nodes can have
public static int maxLevels; // The max levels the QuadTree can have
private double x, y; // The x... |
package org.netmelody.cii.witness.jenkins;
import static com.google.common.collect.Collections2.filter;
import static com.google.common.collect.Collections2.transform;
import static org.netmelody.cii.domain.Build.buildAt;
import static org.netmelody.cii.domain.Percentage.percentageOf;
import java.util.ArrayList;
import... |
package org.objectweb.proactive.core.runtime;
/**
* DeployerTag allows applications to utilize topographic informations
* to speed up calculations.
*
* Deployment descriptors describe how to acquire ressources. This, static, information
* can be used to organize Nodes in groups. Two Nodes in the same group are lik... |
package org.cactoos.iterator;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
import org.cactoos.list.ListOf;
/**
* Reverse iterator.
*
* <p>This loads the whole wrapped Iterator in memory in order
* to be able to reverse it.
*
* <p>There is no thread-safety guarantee.
*
* @para... |
package org.opencms.publish;
import org.opencms.main.CmsLog;
import org.opencms.main.OpenCms;
import org.opencms.staticexport.CmsAfterPublishStaticExportHandler;
import org.opencms.util.CmsUUID;
import java.util.Iterator;
import java.util.Vector;
import org.apache.commons.logging.Log;
/**
* Publish job information bea... |
package org.pentaho.di.trans;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import org.pentaho.di.cluster.SlaveServer;
import org.pe... |
package com.github.wz2cool.dynamic;
import com.github.pagehelper.PageRowBounds;
import com.github.wz2cool.dynamic.mybatis.db.mapper.UserDao;
import com.github.wz2cool.dynamic.mybatis.db.model.entity.table.User;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.A... |
package org.jboss.aesh.util;
import org.jboss.aesh.console.Config;
import org.jboss.aesh.io.Resource;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
public class FileUtils {
public static void saveFile(Resource file, String text, boolean app... |
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// Java from RobotBuilder. Do not put any code or make any change in
// the blocks indicating autogenerated code o... |
package com.wizzardo.tools.collections.flow;
import com.wizzardo.tools.collections.flow.flows.FlowCount;
import org.junit.Assert;
import org.junit.Test;
import java.util.*;
import java.util.concurrent.atomic.AtomicInteger;
public class FlowTest {
@Test
public void test_grouping_1() {
List<List<Integer>>... |
package org.jenetics;
import static java.lang.Double.NaN;
import static java.lang.String.format;
import static org.jenetics.util.object.eq;
import static org.jenetics.util.object.hashCodeOf;
import javolution.xml.XMLFormat;
import javolution.xml.stream.XMLStreamException;
import org.jscience.mathematics.number.Float64;... |
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// Java from RobotBuilder. Do not put any code or make any change in
// the blocks indicating autogenerated code o... |
package com.wizzardo.tools.collections.flow;
import com.wizzardo.tools.collections.flow.flows.FlowProcessOnEnd;
import org.junit.Assert;
import org.junit.Test;
import java.util.*;
import java.util.concurrent.Executors;
import java.util.concurrent.atomic.AtomicInteger;
public class FlowTest {
@Test
public void t... |
package org.jfree.chart.ui;
/**
* Used to indicate the position of an anchor point for a text string. This is
* frequently used to align a string to a fixed point in some coordinate space.
*/
public enum TextAnchor {
/** Top/left. */
TOP_LEFT,
/** Top/center. */
TOP_CENTER,
/** Top/right. */
... |
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// Java from RobotBuilder. Do not put any code or make any change in
// the blocks indicating autogenerated code o... |
package de.dhbw.humbuch.viewmodel;
import static de.dhbw.humbuch.test.TestUtils.PASSWORD;
import static de.dhbw.humbuch.test.TestUtils.USERNAME;
import static de.dhbw.humbuch.test.TestUtils.standardUser;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import java.security.NoSu... |
package org.jtrfp.trcl;
import java.util.TimerTask;
import org.jtrfp.trcl.core.Features;
import org.jtrfp.trcl.core.TRFactory.TR;
import org.jtrfp.trcl.game.TVF3Game;
import org.jtrfp.trcl.obj.PositionedRenderable;
import org.jtrfp.trcl.shell.GameShellFactory.GameShell;
public class UpfrontDisplay extends RenderableSpa... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.usfirst.frc4682.Audacity.commands;
import org.usfirst.frc4682.Audacity.RobotMap;
import edu.wpi.first.wpilibj.Timer;
/**
*
* @author luis
*/
public class Autonomous extends CommandBase {
public double ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.