answer stringlengths 17 10.2M |
|---|
package mkremins.fanciful;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import com.google.gson.stream.JsonWriter;
import net.amoebaman.util.ArrayWrapper;
import net.amoebaman.util.Reflection;
import org.bukkit.Achievement;
im... |
package net.dean.jraw.http;
import com.google.common.collect.ImmutableMap;
import com.squareup.okhttp.FormEncodingBuilder;
import com.squareup.okhttp.Request;
import net.dean.jraw.Endpoint;
import net.dean.jraw.Endpoints;
import net.dean.jraw.JrawUtils;
import java.io.UnsupportedEncodingException;
import java.net.URLEn... |
package com.battlelancer.seriesguide.util;
import android.annotation.SuppressLint;
import android.content.ContentProviderOperation;
import android.content.ContentResolver;
import android.content.ContentValues;
import android.content.Context;
import android.content.OperationApplicationException;
import android.database.... |
package net.mcw.gringotts;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.block.Chest;
import org.bukkit.block.Sign;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.block.BlockBreakEvent;
import org.bukkit.inventory.Inventory;
import org.bukk... |
package org.eddy;
import org.eddy.exception.JsoupException;
import org.eddy.xml.XmlContext;
import org.eddy.xml.entity.Url;
import org.junit.Assert;
import org.junit.Test;
import java.util.List;
public class XmlTest {
@Test
public void test() throws JsoupException {
XmlContext context = new XmlContext()... |
package net.usrlib.material.color;
import java.util.Arrays;
import java.util.List;
import net.usrlib.material.ColorCode;
public class Gray {
public static final ColorCode _50 = new ColorCode("#FAFAFA", new int[] {250, 250, 250});
public static final ColorCode _100 = new ColorCode("#F5F5F5", new int[] {245, 245... |
package net.xprova.dot;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.HashMap;
import java.util.HashSet;
import net.xprova.graph.Graph;
public class GraphDotPrinter {
private static final int maxLabelLength = 60;
public static <V>... |
package rjson;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.Field;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.io.FileUtils;
import org.junit.Assert;
import o... |
package nl.irp.sepa;
import static com.google.common.base.Preconditions.checkArgument;
import static nl.irp.sepa.Utils.*;
import iso.std.iso._20022.tech.xsd.pain_001_001.ChargeBearerType1Code;
import iso.std.iso._20022.tech.xsd.pain_001_001.CreditTransferTransactionInformation10;
import iso.std.iso._20022.tech.xsd.pain... |
package org.jgroups.tests;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jgroups.*;
import org.jgroups.blocks.RpcDispatcher;
import org.jgroups.protocols.BasicTCP;
import org.jgroups.protocols.TCPPING;
import org.jgroups.protocols.UDP;
import org.jgroups.protocols.TP;
i... |
package nl.pvanassen.ns.xml;
import nl.pvanassen.ns.error.NsApiException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.w3c.dom.*;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Has... |
package nl.tudelft.jpacman.level;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
import org.slf4j.LoggerFacto... |
package nuclibook.routes;
import nuclibook.constants.P;
import nuclibook.entity_utils.BookingUtils;
import nuclibook.entity_utils.SecurityUtils;
import nuclibook.models.Booking;
import nuclibook.models.BookingSection;
import org.joda.time.DateTime;
import spark.Request;
import spark.Response;
import java.util.List;
pub... |
package nz.co.gregs.dbvolution;
import nz.co.gregs.dbvolution.actions.DBActionList;
import nz.co.gregs.dbvolution.actions.DBInsert;
import java.io.PrintStream;
import java.sql.Date;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.Types;
import java.util.ArrayL... |
package org.browsermob.core.har;
import org.codehaus.jackson.map.annotate.JsonSerialize;
import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
public class HarLog {
private String version = "1.2";
private HarNameVersion creator;
p... |
package org.cojen.tupl.repl;
import java.io.File;
import java.io.InterruptedIOException;
import java.io.IOException;
import java.io.OutputStream;
import java.net.ConnectException;
import java.net.InetSocketAddress;
import java.net.ServerSocket;
import java.net.Socket;
import java.net.SocketAddress;
import java.util.Arr... |
package cocoonClient.Panels;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Map;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.embed.swing.JFXPanel;
import javafx.scene... |
package org.devocative.wickomp;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import org.apache.wicket.Application;
import org.apache.wick... |
package org.jtrfp.trcl.core;
import java.nio.ByteBuffer;
import java.nio.IntBuffer;
import java.util.Collection;
import javax.media.opengl.GL3;
import org.jtrfp.trcl.GPUTriangleVertex;
import org.jtrfp.trcl.ObjectListWindow;
import org.jtrfp.trcl.Submitter;
import org.jtrfp.trcl.gpu.GLFrameBuffer;
import org.jtrfp.trcl... |
package org.jtrfp.trcl.core;
import java.util.concurrent.Callable;
import javax.media.opengl.GLCapabilities;
import javax.media.opengl.GLContext;
import javax.media.opengl.GLProfile;
import javax.media.opengl.awt.GLCanvas;
import javax.swing.JFrame;
import javax.swing.SwingUtilities;
import org.jtrfp.trcl.gpu.CanvasPro... |
package org.jtrfp.trcl.obj;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.concurrent.Callable;
import java.util.concurrent.locks.ReentrantLock;
import org.apache.commons.math3.exception.MathArithmeticEx... |
package org.lightmare.jndi;
import java.io.IOException;
import java.util.Properties;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.naming.spi.InitialContextFactor... |
package org.mamute.search;
import br.com.caelum.vraptor.environment.Environment;
import br.com.caelum.vraptor.events.VRaptorInitialized;
import org.hibernate.Session;
import org.mamute.dao.InvisibleForUsersRule;
import org.mamute.dao.QuestionDAO;
import org.mamute.model.LoggedUser;
import org.mamute.model.Question;
imp... |
package org.myrobotlab.service;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.... |
package org.scm4j.releaser;
import org.scm4j.commons.Version;
import org.scm4j.releaser.actions.ActionKind;
import org.scm4j.releaser.actions.ActionNone;
import org.scm4j.releaser.actions.IAction;
import org.scm4j.releaser.branch.DevelopBranch;
import org.scm4j.releaser.branch.ReleaseBranch;
import org.scm4j.releaser.c... |
package org.tsugi.impl.jdbc;
import org.tsugi.*;
import org.tsugi.base.*;
import org.tsugi.util.TsugiUtils;
import org.tsugi.util.TsugiLTIUtils;
import java.util.Properties;
import java.sql.DriverManager;
import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;
import java.sql.PreparedStatem... |
package org.xbill.DNS;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.UnknownHostException;
import java.time.Duration;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.concurrent.Comple... |
package pl.matsuo.gitlab.file;
import pl.matsuo.gitlab.function.ThrowingExceptionsRunnable;
import java.io.File;
import java.io.FileInputStream;
import java.util.function.Consumer;
import static org.apache.commons.io.FileUtils.*;
import static pl.matsuo.gitlab.file.FileConverterProviderUtil.*;
import static pl.matsuo.g... |
package pro.beam.api.resource;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import pro.beam.api.resource.channel.BeamChannel;
import com.google.gson.annotations.SerializedName;
import pro.beam.api.resource.channel.BeamResource;
public class BeamUser implements Serializable {
publi... |
package scrum.client.admin;
import ilarkesto.core.logging.Log;
import ilarkesto.core.scope.Scope;
import scrum.client.ScrumGwtApplication;
import scrum.client.ScrumScopeManager;
import scrum.client.project.Project;
import scrum.client.workspace.Ui;
import scrum.client.workspace.UsersWorkspaceWidgets;
public class Login... |
package seedu.ezdo.logic.parser;
import static seedu.ezdo.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import static seedu.ezdo.commons.core.Messages.MESSAGE_UNKNOWN_COMMAND;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import seedu.ezdo.logic.commands.AddCommand;
import seedu.ezdo.logic.com... |
package tars.logic.commands;
import tars.commons.exceptions.IllegalValueException;
import tars.model.task.*;
import tars.model.tag.Tag;
import tars.model.tag.UniqueTagList;
import java.util.HashSet;
import java.util.Set;
/**
* Adds a task to tars.
*/
public class AddCommand extends Command {
public static final S... |
// modification, are permitted provided that the following conditions are met:
// and/or other materials provided with the distribution.
// * Neither the name of SimpleProps nor the names of its
// contributors may be used to endorse or promote products derived from
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDI... |
package tars.logic.commands;
import tars.commons.core.EventsCenter;
import tars.commons.core.Messages;
import tars.commons.events.ui.TaskAddedEvent;
import tars.commons.exceptions.DuplicateTaskException;
import tars.commons.exceptions.IllegalValueException;
import tars.model.task.*;
import tars.model.task.UniqueTaskLis... |
package edu.oakland.OUSoft.database;
import edu.oakland.OUSoft.items.Course;
import edu.oakland.OUSoft.items.Instructor;
import edu.oakland.OUSoft.items.Person;
import edu.oakland.OUSoft.items.Student;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import java.util.List;
import static org.j... |
package think.rpgitems.power;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import think.rpgitems.Plugin;
import think.rpgitem... |
package org.antlr.v4.codegen.target;
import org.antlr.v4.codegen.CodeGenerator;
import org.antlr.v4.codegen.Target;
import org.antlr.v4.codegen.UnicodeEscapes;
import org.antlr.v4.parse.ANTLRParser;
import org.antlr.v4.tool.Grammar;
import org.antlr.v4.tool.ast.GrammarAST;
import org.stringtemplate.v4.ST;
import org.st... |
package com.space.invaders.actores.util;
public class Temporizador implements Cloneable{
private float tiempo;
private float contadorTiempo;
public Temporizador clone(){
Temporizador temporizador=null;
try{
temporizador=(Temporizador) super.clone();
}catch(C... |
package ml.alternet.misc;
import static org.assertj.core.api.Assertions.assertThat;
import org.testng.annotations.Test;
@Test
public class TypeTest {
public void primitiveFromNameOrClass_Shoud_beTheSame() {
Type f1 = Type.of(float.class);
Type f2 = Type.of("float");
Type f3 = Type.of(null, "... |
package org.pentaho.di.core.database;
import java.io.StringReader;
import java.sql.BatchUpdateException;
import java.sql.Blob;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.DriverManager;
import java.sql.ParameterMetaData;
import java.sql.PreparedStatem... |
package com.runner.sportsmeter.common;
import android.content.Context;
import android.util.Log;
import android.widget.Toast;
import com.google.android.gms.maps.model.LatLng;
import com.parse.*;
import com.runner.sportsmeter.MainActivity;
import com.runner.sportsmeter.R;
import com.runner.sportsmeter.enums.SportTypes;
i... |
package ui.issuecolumn;
import java.util.Comparator;
import java.util.List;
import java.util.function.Predicate;
import java.util.stream.Collectors;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
imp... |
package uk.me.graphe.client;
import uk.me.graphe.shared.Tools;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.KeyUpEvent;
import com.google.gwt.event.dom.client.MouseDownEvent;
import com.google.gwt.event.dom.client.MouseMoveEvent;
import com.google.gwt.event.dom.client.MouseOutEvent;
imp... |
package net.sf.fmj.media.rtp;
import javax.media.*;
import javax.media.control.*;
import javax.media.format.*;
import javax.media.protocol.*;
import net.sf.fmj.media.*;
import net.sf.fmj.media.protocol.*;
import net.sf.fmj.media.protocol.rtp.DataSource;
import net.sf.fmj.media.rtp.util.*;
import java.awt.*;
/**
*
* @... |
package net.sf.fmj.media.rtp;
import javax.media.*;
import javax.media.control.*;
import javax.media.format.*;
import javax.media.protocol.*;
import net.sf.fmj.media.*;
import net.sf.fmj.media.protocol.*;
import net.sf.fmj.media.protocol.rtp.DataSource;
import net.sf.fmj.media.rtp.util.*;
import java.awt.*;
public clas... |
package WriterInterface;
import Exception.DBManagerException;
import java.util.List;
import Exception.VariableManagerException;
public interface GenericWriterInterface {
public void header(String path);
public void getInputVars(String path, List<String> input) throws VariableManagerException;
public void po... |
package pt.fccn.arquivo.pages;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.Locale;
import java.uti... |
package JavaProject;
import com.drew.lang.BufferReader;
import java.io.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
public class SelectQueryRandom {
/**
* Chooses a batch with regular random sampling.
* @param fileName the filename containing... |
package org.openspaces.jpa;
import java.lang.reflect.Method;
import java.rmi.RemoteException;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.BitSet;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.... |
package mods.themike.modjam.gui;
import org.lwjgl.opengl.GL11;
import mods.themike.modjam.utils.ColorUtils;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.inventory.Container;
public class GuiPapyrusScroll extends GuiContainer {
public GuiPapyrusScroll(Container par1Container) {
... |
package ca.patricklam.judodb.client;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.Set;
import java.util.HashSet;
import java.util.HashMap;
import java.util.Map;
import java.util.LinkedList;
import java.util.List;
import ca.patricklam.judo... |
package net.wurstclient.features.mods;
import java.lang.reflect.Field;
import java.util.Collection;
import java.util.Comparator;
import java.util.TreeMap;
import net.wurstclient.features.Mod;
import net.wurstclient.features.mods.blocks.AntiCactusMod;
import net.wurstclient.features.mods.chat.AntiSpamMod;
import net.wur... |
package nl.mpi.arbil.clarin;
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.math.BigInteger;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URLDecode... |
package com.xqbase.util;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.Socket;
import java.security.GeneralSecurityException;
import java.security.cert.X509Certificate;
import javax.net.ssl.KeyManager;
import javax.net.ssl.SSLContext;
import javax.net.ssl.SSLSocketFactory;
import javax.... |
package com.ecyrd.jspwiki.ui;
import java.io.CharArrayWriter;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpServletResponseWrapper;
import org.apache.log4j.Logger;... |
package com.esotericsoftware.kryo;
import static com.esotericsoftware.minlog.Log.DEBUG;
import static com.esotericsoftware.minlog.Log.debug;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.nio.BufferOverflowException;
import java.nio.ByteBuffer;
/**
* Serializes objects... |
package com.frostwire.jlibtorrent.demo;
import com.frostwire.jlibtorrent.AlertListener;
import com.frostwire.jlibtorrent.DHT;
import com.frostwire.jlibtorrent.Session;
import com.frostwire.jlibtorrent.TcpEndpoint;
import com.frostwire.jlibtorrent.alerts.Alert;
import com.frostwire.jlibtorrent.alerts.DhtBootstrapAlert;
... |
package com.inet.lib.less;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import javax.script.ScriptEngine;
import javax.script.ScriptEngineFactory;
import javax.script.ScriptEngineManager;
/**
* An expression with JavaScript.
*/
public class JavaScriptExpression extends Expression {
pr... |
package com.kii.example.sync;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintWriter;
import org.json.JSONException;
import com.kii.cloud.storage.EasyClient;
import com.kii.cloud.storage.dataType.KiiUser;
import com.kii.cloud.storage.manager.AuthManager;
import... |
package com.maddyhome.idea.vim.group;
import com.intellij.openapi.actionSystem.DataContext;
import com.intellij.openapi.actionSystem.PlatformDataKeys;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.editor.Document;
import com.intell... |
package com.platypii.baseline.data;
import android.content.Context;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
import android.os.AsyncTask;
import android.util.Log;
import java.util.ArrayList;
import com.platyp... |
package com.pleaseignore.BukkitXMPP;
import java.io.File;
import java.util.List;
import java.util.logging.Logger;
import org.bukkit.ChatColor;
import org.bukkit.World;
import org.bukkit.entity.Player;
import org.bukkit.event.Event;
import org.bukkit.plugin.PluginDescriptionFile;
import org.bukkit.plugin.PluginManager;
... |
package com.roboo.like.google;
import java.lang.reflect.Field;
import java.util.ArrayList;
import android.R.integer;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.SearchManager;
import android.content.Context;
import android.content.DialogInterface;
import android.content.DialogInterfa... |
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* the project. */
package com.slidellrobotics.reboundrumble;
import edu.wpi.first.wpilibj.IterativeRobot;
import edu.wpi.first.wpilibj.command.Command;
import edu.wpi.first.wpi... |
package GeneradorMiniexamenes.controllers;
import GeneradorMiniexamenes.Main;
import javafx.event.ActionEvent;
import javafx.scene.Node;
import javafx.stage.FileChooser;
import javafx.stage.Stage;
import java.io.File;
/**
* Imports the subjects from either a .json file or from the .txt legacy
* format to the model
*... |
package com.tjeannin.provigen;
import android.content.ContentProvider;
import android.content.ContentUris;
import android.content.ContentValues;
import android.content.UriMatcher;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import andro... |
package com.untamedears.citadel.entity;
import com.untamedears.citadel.Citadel;
import javax.persistence.Entity;
import javax.persistence.Id;
@Entity
public class Faction {
@Id private String name;
private String founder;
public Faction() {
}
public Faction(String name, String founder) {
thi... |
package org.citydb.database.adapter.h2;
import org.citydb.api.database.DatabaseType;
import org.citydb.database.adapter.AbstractDatabaseAdapter;
public class H2Adapter extends AbstractDatabaseAdapter {
// NOTE: this adapter is currently only used for cache tables
public H2Adapter() {
geometryAdapter = n... |
package com.valkryst.VTerminal.font;
import javax.imageio.ImageIO;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.*;
import java.net.URISyntaxException;
import java.nio.charset.StandardCharsets;
import java.util.HashMap;
import java.util.List;
import java.util.Scanner;
import java.util.regex.Pat... |
package org.encog.neural.thermal;
import org.encog.mathutil.matrices.Matrix;
import org.encog.mathutil.matrices.MatrixMath;
import org.encog.neural.data.NeuralData;
public class HopfieldNetwork extends ThermalNetwork {
public HopfieldNetwork(int neuronCount) {
super(neuronCount);
}
/**
* Train ... |
package com.xruby.compiler.codegen;
import java.io.File;
import java.util.concurrent.atomic.AtomicInteger;
public class NameFactory {
private static AtomicInteger count_ = new AtomicInteger(0);
private static final String DefaultName = "main";
public static void reset() {
count_.set(0);
}
pu... |
package org.helioviewer.jhv.layers;
import java.util.Arrays;
import org.helioviewer.jhv.camera.Camera;
import org.helioviewer.jhv.display.Viewport;
import org.helioviewer.jhv.gui.JHVFrame;
import com.jogamp.opengl.GL2;
public abstract class AbstractLayer implements Layer {
protected boolean enabled;
protected f... |
// JSONCoder.java
// xal
package xal.tools.json;
import xal.tools.ConversionAdaptor;
import java.util.*;
import java.util.regex.*;
/** encode and decode objects with JSON */
public class JSONCoder {
/** custom key identifying a custom type translated in terms of JSON representations */
static final String EXT... |
package bitronix.tm.resource.jms;
import bitronix.tm.internal.BitronixSystemException;
import bitronix.tm.utils.Decoder;
import bitronix.tm.utils.ManagementRegistrar;
import bitronix.tm.utils.Scheduler;
import bitronix.tm.resource.common.*;
import bitronix.tm.resource.jms.lrc.LrcXAConnectionFactory;
import org.slf4j.Lo... |
package br.edu.ifrn.suap.academico.entidades;
import java.util.Collection;
public class Periodo {
private PeriodoEstado estado;
private String valor;
private Collection<Distribuicao> distribuicoes;
private Periodo()
{
super();
this.estado = PeriodoEstado.AbertoParaDistribuicao;
}... |
package org.myrobotlab.opencv;
import org.myrobotlab.logging.LoggerFactory;
import org.slf4j.Logger;
import com.googlecode.javacv.cpp.opencv_core.CvBox2D;
import com.googlecode.javacv.cpp.opencv_core.CvMat;
import com.googlecode.javacv.cpp.opencv_core.CvPoint2D32f;
import com.googlecode.javacv.cpp.opencv_core.CvRect;
i... |
package org.pentaho.di.core.gui;
import java.awt.image.BufferedImage;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Map;
import javax.imageio.ImageIO;
import org.pentaho.di.core.exception.KettleException;
import org.pentaho.d... |
package ca.eandb.util.io;
import java.io.DataInput;
import java.io.DataInputStream;
import java.io.EOFException;
import java.io.IOException;
import java.io.InputStream;
/**
* An <code>InputStream</code> that reads data in little-endian format.
* @author Brad Kimmel
*/
public final class LittleEndianDataInputStream e... |
package org.rejuse.association;
import java.util.Collection;
import java.util.List;
import java.util.ArrayList;
public class SingleAssociation<FROM,TO> extends Association<FROM,TO> {
/*@
@ public invariant getOtherRelation() != null ==>
@ getOtherRelation().contains(this);
@*/
/**
* Init... |
/*
* $Id$
* $URL$
*/
package org.subethamail.web.action;
import lombok.Getter;
import lombok.Setter;
import lombok.extern.java.Log;
import org.subethamail.web.Backend;
import org.subethamail.web.action.auth.AuthAction;
/**
* Performs an action on a held subscription.
*
* @author Jeff Schnitzer
*/
@Log
public cla... |
package org.uct.cs.hough.reader;
import java.awt.image.BufferedImage;
import java.awt.image.DataBufferByte;
import java.awt.image.WritableRaster;
public class ShortImageBuffer
{
private final int width;
private final int height;
private final short[] data;
public ShortImageBuffer(int height, int width)
... |
package com.bryanjswift.simplenote.app;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import com.bryanjswift.simplenote.Constants;
import com.bryanjswift.simplenote.R;
imp... |
package com.comp490.studybuddy.calendar;
import java.util.UUID;
import com.comp490.studybuddy.models.CalendarEventModel;
import com.comp490.studybuddy.todolist.Task;
import android.content.ContentResolver;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import andro... |
package com.crossge.necessities.Commands;
import org.bukkit.GameMode;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import java.util.UUID;
public class CmdGamemode extends Cmd {
public boolean commandUse(CommandSender sender, String[] args) {
if (args.length == 0) {
s... |
package com.dmdirc.addons.nma;
import com.dmdirc.FrameContainer;
import com.dmdirc.commandparser.BaseCommandInfo;
import com.dmdirc.commandparser.CommandArguments;
import com.dmdirc.commandparser.CommandType;
import com.dmdirc.commandparser.commands.Command;
import com.dmdirc.commandparser.commands.context.CommandConte... |
package com.github.lg198.codefray.api.math;
public enum Direction {
NORTH(0, -1), NORTH_EAST(1, -1), EAST(1, 0), SOUTH_EAST(1, 1),
SOUTH(0, 1), SOUTH_WEST(-1, 1), WEST(-1, 0), NORTH_WEST(-1, -1);
Direction(int x, int y) {
xc = x;
yc = y;
}
private int xc, yc;
public int getXChan... |
package org.spine3.test;
import com.google.common.collect.FluentIterable;
import com.google.common.collect.ImmutableCollection;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Multimap;
import org.junit.Assert;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTarg... |
package com.hp.hpl.jena.rdf.model.test;
import com.hp.hpl.jena.graph.*;
import com.hp.hpl.jena.graph.test.*;
import com.hp.hpl.jena.rdf.model.*;
import com.hp.hpl.jena.rdf.model.impl.*;
import com.hp.hpl.jena.shared.*;
import com.hp.hpl.jena.util.CollectionFactory;
import java.util.*;
/**
provides useful functional... |
package com.hp.hpl.jena.rdf.model.test;
import com.hp.hpl.jena.rdf.model.*;
import com.hp.hpl.jena.rdf.model.impl.*;
import com.hp.hpl.jena.shared.test.*;
import com.hp.hpl.jena.util.CollectionFactory;
import java.util.*;
import java.io.*;
import junit.framework.*;
/**
@author kers
*/
public class TestNamespace ex... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package dae.animation.rig;
import com.jme3.math.FastMath;
import com.jme3.math.Vector3f;
import com.jme3.scene.Spatial;
import dae.animation.skeleton.AttachmentPoint;
import dae.animation.skeleton.RevoluteJoint;
import d... |
package com.jensen.game.othello.view;
import com.jensen.game.othello.resource.OthelloImages;
import com.jensen.game.view.DefualtGameView;
import com.jensen.game.view.StretchIcon;
import javax.swing.JLabel;
import java.awt.Color;
/**
* An Extension of the defualt game view to display a othello game.
* Overrides update... |
package com.nilhcem.frcndict.database;
import java.io.File;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import java.util.regex.Pattern;
import android.content.ContentValues;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqli... |
package de.geeksfactory.opacclient.apis;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.net.SocketException;
import java.util.ArrayList;
import java.util.List;
import org.apache.http.HttpHo... |
package RobotsAreCool.commands;
/**
*
* @author Tripp
* @author Jordan
*/
public class DeactivatePlunger extends CommandBase
{
public DeactivatePlunger()
{
requires(plunger);
// Use requires() here to declare subsystem dependencies
// eg. requires(chassis);
}
// Called just b... |
package com.project.ardrone_android_geii;
import android.view.InputDevice;
import android.view.KeyEvent;
import android.view.MotionEvent;
public class GereManette
{
public GereManette()
{
}
/**
* This method gives the state of the button : <i>pressed or released</i>.
* @param keyEvent
* T... |
package com.sigseg.android.worldmap;
import android.net.Uri;
import java.io.InputStream;
import java.io.IOException;
import android.app.Activity;
import android.graphics.Point;
import android.os.Bundle;
import android.util.Log;
import android.view.Window;
import android.view.WindowManager;
public class WorldMapActivity... |
package com.tacticalnuclearstrike.tttumblr;
import java.io.File;
import java.io.InputStream;
import java.io.IOException;
import java.io.FileNotFoundException;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.List;
import org.apache.http.HttpResponse;
import org.apache.http.NameV... |
package nallar.patched.world;
import com.google.common.collect.ImmutableSetMultimap;
import nallar.collections.TreeHashSet;
import nallar.tickthreading.Log;
import nallar.tickthreading.minecraft.DeadLockDetector;
import nallar.tickthreading.minecraft.ThreadManager;
import nallar.tickthreading.minecraft.TickThreading;
i... |
package org.wms.main;
import it.rmautomazioni.database.common.DbConnectionProvider;
import it.rmautomazioni.database.common.DbStatusChecker;
import it.rmautomazioni.security.Security;
import it.rmautomazioni.security.SecurityLevel;
import it.rmautomazioni.view.common.MessageBox;
import it.rmautomazioni.view.factories.F... |
package dr.inference.trace;
import dr.xml.*;
import dr.util.FileHelpers;
import dr.util.Attribute;
import dr.inferencexml.trace.MarginalLikelihoodAnalysisParser;
import dr.stats.DiscreteStatistics;
import java.io.File;
import java.io.FileNotFoundException;
import jebl.evolution.alignments.Alignment;
/**
* @author Phil... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.