answer stringlengths 17 10.2M |
|---|
package musician101.common.java.util;
public class Utils
{
public static boolean isInteger(String string)
{
if (string == null)
return false;
int length = string.length();
if (length == 0)
return false;
int i = 0;
if (string.charAt(0) == '-')
... |
package mx.nic.rdap.server;
import java.io.IOException;
import java.io.InputStream;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Properties;
import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotat... |
package org.openprovenance.prov.model;
import java.util.Collection;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.HashMap;
import java.util.Set;
/** This class provides a set of indexes over information contained in
* an Document, facilitating its navigation. Its constructor takes an
* Docu... |
package net.databinder.components;
import java.io.Serializable;
import net.databinder.DataRequestCycle;
import net.databinder.models.HibernateObjectModel;
import org.hibernate.Session;
import wicket.markup.html.form.Form;
import wicket.model.BoundCompoundPropertyModel;
/**
* Form for a persistant model object nested i... |
package net.explorviz.model.landscape;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.github.jasminb.jsonapi.annotations.Relationship;
import com.github.jasminb.jsonapi.annotations.Type;
import net.explorviz.model.application.Application;
import net.exp... |
package net.floodlightcontroller.hand;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Timer;
import java.util.TimerTask;... |
package org.icij.extract.spewer;
import java.io.*;
import java.nio.file.Files;
import java.nio.file.Path;
import java.time.Duration;
import java.util.Arrays;
import java.util.Map;
import java.util.HashMap;
import java.util.concurrent.Semaphore;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.zip.GZIP... |
package org.jboss.virtual.spi.zip;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.HashMap;
import java.util.Map;
import org.jboss.logging.Logger;
import org.jboss.virtual.spi.zip.jdk.JDKZipFactory;
/**
* Zip utils.
* This is the entry point to the ZipFactory.
*
* @aut... |
package org.jfree.chart.text;
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.Graphics2D;
import java.awt.Paint;
import java.awt.Shape;
import java.awt.font.FontRenderContext;
import java.awt.font.LineMetrics;
import java.awt.font.TextLayout;
import java.awt.geom.AffineTransform;
import java.awt.geom... |
package org.lightmare.config;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
import org.apache.log4j.Logger;... |
package org.lightmare.config;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
import org.apache.log4j.Logger;
import org.lightmare.cac... |
package org.lightmare.config;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
import org.apache.log4j.Logger;
import org.lightmare.cac... |
package org.ohdsi.webapi.util;
import org.ohdsi.sql.SqlTranslate;
public final class SessionUtils {
public static final String sessionId() {
return SqlTranslate.generateSessionId();
}
} |
package org.scijava.ui.headless;
import java.io.File;
import org.scijava.Priority;
import org.scijava.display.Display;
import org.scijava.log.LogService;
import org.scijava.plugin.AbstractRichPlugin;
import org.scijava.plugin.Plugin;
import org.scijava.ui.DialogPrompt;
import org.scijava.ui.UserInterface;
import org.sc... |
package org.synyx.sybil.out;
import com.tinkerforge.BrickletLEDStrip;
import com.tinkerforge.NotConnectedException;
import com.tinkerforge.TimeoutException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.synyx.sybil.common.Bricklet;
import java.util.Arrays;
/**
* Controls a single LED strip.
*
*... |
package org.vaadin.backend.domain;
import com.vividsolutions.jts.geom.Point;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.io.Serializable;
import java.util.Date;
/**
* A standard JPA entity, like in any other Java application.
*/
@Na... |
package com.timepath.plaf.linux.test;
import com.timepath.plaf.linux.GtkFixer;
import java.awt.Dimension;
import java.util.logging.Logger;
import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import javax.swing.SwingUtilities;
@SuppressWarnings("serial")
public... |
package org.webjars.servlet;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;... |
package pixlepix.auracascade.data;
import net.minecraft.entity.item.EntityTNTPrimed;
import net.minecraft.entity.monster.EntityCreeper;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.world.Explosion;
import net.minecraft.world.World;
import net.minecraftforge.common.util.ForgeDirection;
import pixlepix.a... |
package refinedstorage.tile;
import cofh.api.energy.EnergyStorage;
import cofh.api.energy.IEnergyReceiver;
import io.netty.buffer.ByteBuf;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.EnumFacing;
import net.minecraft.... |
package gov.lanl.adore.djatoka.util;
import gov.lanl.adore.djatoka.io.FormatConstants;
import gov.lanl.adore.djatoka.openurl.OpenURLJP2KService;
import ij.io.Opener;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.RenderingHints;
import java.awt.Transparency;
import java.awt.image.BufferedImage;
impo... |
package gov.nih.nci.calab.dto.administration;
import gov.nih.nci.calab.domain.Aliquot;
import gov.nih.nci.calab.service.util.CalabConstants;
import gov.nih.nci.calab.service.util.StringUtils;
/**
* This class includes all properties of an aliquot that need to be viewed and
* saved.
*
* @author pansu
*
*/
/* CVS $... |
package securbank.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.authentication.AuthenticationTrustResolver;
import org.springframework.security.au... |
package seedu.tasklist.logic.parser;
import static seedu.tasklist.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import static seedu.tasklist.commons.core.Messages.MESSAGE_UNKNOWN_COMMAND;
import java.util.Hashtable;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import seedu.tasklist.logic.comm... |
package seedu.todoList.logic.parser;
import seedu.todoList.logic.commands.*;
import seedu.todoList.commons.exceptions.IllegalValueException;
import seedu.todoList.commons.util.StringUtil;
import static seedu.todoList.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import static seedu.todoList.commons.core.Message... |
package test.api.model;
import static org.junit.Assert.assertNotNull;
import javastrava.api.v3.model.StravaPhotoUrls;
import test.utils.BeanTest;
/**
* @author Dan Shannon
*
*/
public class StravaPhotoUrlsTest extends BeanTest<StravaPhotoUrls> {
/**
* @see test.utils.BeanTest#getClassUnderTest()
*/
... |
package example;
//-*- mode:java; encoding:utf-8 -*-
// vim:set fileencoding=utf-8:
//@homepage@
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import java.util.List;
import javax.swing.*;
import javax.swing.plaf.basic.*;
import javax.swing.plaf.metal.MetalComboBoxUI;
import javax.swing.table.*;
public... |
package org.xins.common;
import org.xins.logdoc.ExceptionUtils;
import org.xins.common.text.FastStringBuffer;
/**
* Exception thrown when a programming error is detected.
*
* @version $Revision$ $Date$
* @author Ernst de Haan (<a href="mailto:ernst.dehaan@nl.wanadoo.com">ernst.dehaan@nl.wanadoo.com</a>)
*
* @sinc... |
package org.xins.server;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintWriter;
import java.lang.reflect.Field;
import java.util.Enumeration;
import java.util.Properties;
import javax.servlet.ServletConfig;
import javax.servlet.... |
package org.jamocha.parser.clips;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.Iterator;
import java.util.List;
import org.jamocha.parser.Expression;
import org.jamocha.parser.Formatter;
import org.jamocha.parser.JamochaValue;
import org.jamocha.parser.ParserFactory;
import org.jamoch... |
package com.sarality.app.view.action;
/**
* Base implementation for {@link ViewAction}.
* <p>
* Defines the Id of the View on which the Action is trigger and
* the type of event that triggers the action.
*
* @author abhideep@ (Abhideep Singh)
*/
public abstract class BaseViewAction implements ViewAction {
// T... |
package com.sun.facelets.impl;
import java.io.IOException;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Set;
import javax... |
// Narya library - tools for developing networked games
// This library is free software; you can redistribute it and/or modify it
// (at your option) any later version.
// This library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// You should ... |
// Narya library - tools for developing networked games
// This library is free software; you can redistribute it and/or modify it
// (at your option) any later version.
// This library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// You should ... |
package org.bouncycastle.crypto.test;
import org.bouncycastle.crypto.InvalidCipherTextException;
import org.bouncycastle.crypto.engines.AESFastEngine;
import org.bouncycastle.crypto.modes.GCMBlockCipher;
import org.bouncycastle.crypto.modes.gcm.BasicGCMMultiplier;
import org.bouncycastle.crypto.modes.gcm.GCMMultiplier;... |
package net.kaleidos.hibernate.usertype;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import org.apache.commons.lang.ObjectUtils;
import org.hibernate.HibernateException;
import org.hibernate.engine.spi.SessionImplementor;
import org.hibernate.usertype.UserType;
import java.io.Serializable;
import j... |
package net.sf.picard.analysis;
import net.sf.picard.annotation.Gene;
import net.sf.picard.annotation.GeneAnnotationReader;
import net.sf.picard.annotation.LocusFunction;
import net.sf.picard.annotation.Transcript;
import net.sf.picard.cmdline.Option;
import net.sf.picard.cmdline.StandardOptionDefinitions;
import net.s... |
package org.apache.commons.collections;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.lang.ref.Reference;
import java.lang.ref.ReferenceQueue;
import java.lang.ref.SoftReference;
import java.lang.ref.WeakReference;
import java.util.AbstractCollection;
impor... |
package org.apache.velocity.tools.struts;
import org.apache.struts.action.ActionErrors;
/**
* <p>View tool to work with the Struts error messages.</p>
* <p><pre>
* Template example(s):
* #if( $errors.exist() )
* <div class="errors">
* #foreach( $e in $errors.all )
* $e <br>
* #en... |
package org.jdesktop.swingx.painter.gradient;
/**
* Indicates how resizing of a gradient paint should occur for a gradient based
* painter. If HORIZONTAL, then the control point (or whatnot) will be resized
* horizontally in coordination with the width of the component. If VERTICAL
* then the control point (or what... |
package org.orbeon.oxf.xforms;
import org.apache.log4j.Logger;
import org.dom4j.*;
import org.dom4j.io.DocumentSource;
import org.orbeon.oxf.common.OXFException;
import org.orbeon.oxf.common.ValidationException;
import org.orbeon.oxf.pipeline.api.ExternalContext;
import org.orbeon.oxf.pipeline.api.PipelineContext;
impo... |
package com.sailthru.client.http;
import com.sailthru.client.AbstractSailthruClient.HttpRequestMethod;
import com.sailthru.client.SailthruClient;
import org.apache.http.NameValuePair;
import org.apache.http.client.ResponseHandler;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.... |
package ahlers.phantom.embedded;
import com.google.common.base.Function;
import com.google.common.collect.Iterables;
import de.flapdoodle.embed.process.distribution.IVersion;
import org.apache.commons.lang3.StringUtils;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.EnumSet;
/**
* ... |
package main.java.author.view.tabs;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.IOException;
import java.text.NumberFormat;
import java.util.ArrayLi... |
package main.java.author.view.tabs;
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.text.NumberFormat;
import java.util.List;
im... |
package br.com.dbsoft.ui.bean.crud;
import java.math.BigDecimal;
import java.sql.Connection;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import br.com.dbsoft.core.DBSApproval... |
package com.ecyrd.jspwiki.plugin;
import java.util.Properties;
import com.ecyrd.jspwiki.TestEngine;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
public class InsertPageTest extends TestCase
{
protected TestEngine testEngine;
protected Properties props = new Pro... |
package br.com.dbsoft.ui.bean.crud;
import java.math.BigDecimal;
import java.sql.Connection;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.Map.Entry;
import java.util.SortedMap;
import javax.enterprise.context.Conve... |
package org.voltdb.utils;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import junit.framework.TestCase;
import org.voltcore.logging.VoltLogger;
import org.voltdb.ServerThread;
import org.voltdb.VoltDB;
import org.voltdb.VoltDB.C... |
package co.aikar.commands;
import org.bukkit.Bukkit;
import org.bukkit.Server;
import org.bukkit.command.Command;
import org.bukkit.command.CommandMap;
import org.bukkit.plugin.Plugin;
import java.lang.reflect.Method;
import java.util.Map;
@SuppressWarnings("WeakerAccess")
public class BukkitCommandManager implements C... |
package com.areen.jlib.gui.accordion;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Rectangle;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.util.LinkedLis... |
package com.bananity.util;
import com.bananity.util.Jaccard;
import java.util.Comparator;
import java.util.HashMap;
/**
* Comparator class, compares search results using a String as a reference
*
* @author Andreu Correa Casablanca
* @see java.util.Comparator
*/
public class ResultItemComparator implements ... |
package com.bigcommerce.api.resources;
import java.util.ArrayList;
import java.util.List;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import com.bigcommerce.api.Connection;
import com.bigcommerce.api.Filter;
import com.bigcommerce.api.Form;
import com.bigcommerce.api.Product;
/**
* Facade for managing a B... |
package com.bigcommerce.api.resources;
import java.util.List;
import com.bigcommerce.api.Filter;
import com.bigcommerce.api.Form;
import com.bigcommerce.api.Response;
public interface Resource {
public List<? extends Response> listAll();
public List<? extends Response> listAll(Filter filter);
public Respons... |
package com.blockscore.models;
import com.fasterxml.jackson.annotation.JsonProperty;
public class AnsweredQuestion {
@JsonProperty("question_id")
private int mQuestionId;
@JsonProperty("answer_id")
private int mAnswerId;
public AnsweredQuestion() {
//Nothing is initialized.
}
public ... |
package com.codeborne.selenide;
import com.codeborne.selenide.files.FileFilter;
import com.google.errorprone.annotations.CanIgnoreReturnValue;
import org.openqa.selenium.By;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.TakesScreenshot;
import org.openqa.selenium.WebElement;
import org.o... |
package com.conveyal.analysis.models;
import com.conveyal.analysis.UserPermissions;
import org.bson.types.ObjectId;
public class BaseModel {
// Can retrieve `createdAt` from here
public ObjectId _id = new ObjectId();
public String createdBy = null;
public String updatedBy = null;
// Who owns this?
... |
package com.frostwire.jlibtorrent;
import com.frostwire.jlibtorrent.swig.settings_pack;
/**
* The ``settings_pack`` struct, contains the names of all settings as
* enum values. These values are passed in to the ``set_str()``,
* ``set_int()``, ``set_bool()`` functions, to specify the setting to
* change.
*
* @auth... |
package com.gh.mygreen.xlsmapper.util;
import java.awt.Point;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import j... |
package com.github.ansell.csvsum;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.io.Reader;
import java.io.Writer;
import java.nio.file.Files;
im... |
package com.infogroup.infoboard.utils;
import com.infogroup.infoboard.InfoBoardReborn;
import java.util.ArrayList;
import java.util.List;
public class Settings {
private InfoBoardReborn plugin;
public List<String> changeable = new ArrayList<>();
public List<String> conditions = new ArrayList<>();
public... |
package com.machinezoo.sourceafis;
import static java.util.stream.Collectors.*;
import java.util.*;
class JsonTemplate {
String version = "3.7";
int width;
int height;
List<JsonMinutia> minutiae;
JsonTemplate(IntPoint size, ImmutableMinutia[] minutiae) {
width = size.x;
height = size... |
package com.nincraft.ninbot.command;
import com.nincraft.ninbot.util.MessageUtils;
import lombok.val;
import net.dv8tion.jda.core.entities.Message;
import net.dv8tion.jda.core.events.message.MessageReceivedEvent;
public class DabCommand extends AbstractCommand {
public DabCommand() {
length = 3;
nam... |
package com.ociweb.iot.maker;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.ociweb.gl.api.MsgCommandChannel;
import com.ociweb.gl.api.PubSubWriter;
import com.ociweb.gl.impl.schema.MessagePubSub;
import com.ociweb.iot.hardware.HardwareImpl;
import com.ociweb.iot.hardware.impl.SerialDataSchema;
imp... |
package com.philihp.weblabora.model;
import static com.philihp.weblabora.model.TerrainTypeEnum.*;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.util.List;
import com.philihp.weblabora.model.building.*;
import com.philihp.weblabora.util.IntegerUtil;
public class Co... |
package com.redhat.ceylon.compiler.js;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.i... |
package com.rjew.ArenaScheduler;
import java.sql.*;
import java.io.*;
import java.util.*;
public class ArenaScheduler {
static final Map<Integer , String> SUBJECT_ID = new HashMap<Integer , String>() {{
put(1, "Math");
put(2, "Science");
put(3, "English");
put(4, "SocialSci");
... |
// samskivert library - useful routines for java programs
package com.samskivert.servlet;
import java.util.Collections;
import java.util.Iterator;
import javax.servlet.http.HttpServletRequest;
/**
* {@link SiteIdentifier} utility methods.
*/
public class SiteIdentifiers
{
/** A site identifier that always returns... |
package com.westudio.java.proxy;
import com.sun.net.httpserver.HttpExchange;
import com.sun.net.httpserver.HttpHandler;
import com.westudio.java.socket.pool.HostInfo;
import com.westudio.java.socket.pool.SocketConnection;
import com.westudio.java.socket.pool.SocketPool;
import com.westudio.java.util.Numbers;
import com... |
package de.st_ddt.crazyutil.geo.block;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.block.Block;
import de.st_ddt.crazyutil.geo.location.GeoLocation;
public class GeoBlock extends GeoLocation
{
protected Material material;
protected byte data;
// protected BlockState state;
... |
package edu.harvard.iq.dataverse;
import edu.harvard.iq.dataverse.UserNotification.Type;
import edu.harvard.iq.dataverse.authorization.Permission;
import edu.harvard.iq.dataverse.authorization.users.AuthenticatedUser;
import edu.harvard.iq.dataverse.engine.command.Command;
import edu.harvard.iq.dataverse.engine.command... |
package hprose.io.unserialize;
import hprose.common.HproseException;
import hprose.io.HproseTags;
import java.io.IOException;
import java.io.InputStream;
import java.lang.reflect.Type;
import java.nio.ByteBuffer;
import java.util.UUID;
final class UUIDUnserializer implements HproseUnserializer, HproseTags {
public ... |
package im.tox.upsourcebot;
import com.google.common.collect.ImmutableMap;
import org.glassfish.jersey.linking.DeclarativeLinkingFeature;
import org.kohsuke.github.GitHub;
import org.skife.jdbi.v2.DBI;
import im.tox.upsourcebot.client.GitHubConnector;
import im.tox.upsourcebot.filters.GitHubHMACFilter;
import im.tox.up... |
package io.github.elytra.engination;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import io.github.elytra.engination.block.BlockConveyor;
import io.github.elytra.engination.block.BlockCosmetic;
import io.githu... |
package kihira.tails.client.event;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.gameevent.TickEvent;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiMainMenu;
import net.minecraft.client.gui.GuiYesNo;
public class EventGuiTick {
public Minecraft mc = M... |
package org.amc.game.chess.view;
import org.amc.game.ChessApplication;
import org.amc.game.chess.BishopPiece;
import org.amc.game.chess.ChessBoard;
import org.amc.game.chess.ChessGame;
import org.amc.game.chess.ChessGamePlayer;
import org.amc.game.chess.ChessPiece;
import org.amc.game.chess.Colour;
import org.amc.game.... |
package me.Hoot215.LevelFlare.api;
import java.io.File;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.HashMap;
import java.util.HashSe... |
package org.animotron.bridge.web;
import org.animotron.cache.FileCache;
import org.animotron.expression.JExpression;
import org.animotron.graph.serializer.CachedSerializer;
import org.animotron.statement.compare.WITH;
import org.animotron.statement.query.ANY;
import org.animotron.statement.query.GET;
import javax.servl... |
package org.apdplat.superword.tools;
import org.apdplat.superword.model.Word;
import org.apdplat.superword.tools.WordLinker.Dictionary;
import org.apdplat.word.WordSegmenter;
import org.apdplat.word.segmentation.SegmentationAlgorithm;
import java.io.IOException;
import java.util.*;
import java.util.concurrent.Concurren... |
package org.encog.ml.data.versatile;
import org.encog.ml.data.MLData;
/**
* The normalizer interface defines how to normalize a column. The source of the
* normalization can be either string or double.
*/
public interface Normalizer {
/**
* Determine the normalized size of the specified column.
* @par... |
package org.jbibtex.citation;
import java.util.*;
import org.jbibtex.*;
public class ACSReferenceStyle extends ReferenceStyle {
public ACSReferenceStyle(){
addFormat(BibTeXEntry.TYPE_ARTICLE, createArticleFormat());
addFormat(BibTeXEntry.TYPE_BOOK, createBookFormat());
addFormat(BibTeXEntry.... |
package org.lantern;
import org.jboss.netty.buffer.ChannelBuffer;
import org.jboss.netty.channel.Channel;
import org.jboss.netty.channel.ChannelHandlerContext;
import org.littleshoot.proxy.ProxyHttpResponse;
import org.littleshoot.proxy.ProxyHttpResponseEncoder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
... |
package org.lightmare.deploy;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import java.util.concurrent.ThreadFactory;
import org.lightmare.cache.MetaContainer;
import org.lightmare.libraries.LibraryLoader;
i... |
package org.lightmare.ejb.handlers;
import java.io.IOException;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java... |
package org.lightmare.jpa.jta;
import java.io.IOException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collection;
import javax.ejb.EJBException;
import javax.ejb.TransactionAttribute;
import javax.ejb.TransactionAttributeType;
import javax.ejb.TransactionManagementType;
import javax.p... |
package org.lightmare.utils.reflect;
import java.io.IOException;
import java.lang.annotation.Annotation;
import java.lang.reflect.AccessibleObject;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Member;
import java.lang.... |
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.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.opencloudb.heartbeat;
import java.util.Map;
import java.util.concurrent.atomic.AtomicBoolean;
import org.opencloudb.backend.PhysicalDBPool;
import org.opencloudb.backend.PhysicalDatasource;
import org.opencloudb.config.model.DataHostConfig;
import org.opencloudb.mysql.nio.MySQLDataSource;
import org.openclo... |
package org.pfaa.chemica.processing;
import java.util.Collections;
import java.util.List;
import java.util.stream.Collectors;
import org.pfaa.chemica.model.Condition;
import org.pfaa.chemica.model.IndustrialMaterial;
import org.pfaa.chemica.model.MaterialState;
import org.pfaa.chemica.model.Mixture;
import org.pfaa.che... |
package org.phoenixframework.channels;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.JsonNode;
public class Envelope {
@JsonProperty(value = "topic")
private String topic;
@JsonProperty(value = "event")
private String event;
@JsonProperty(value = "payloa... |
package org.vaadin.viritin.layouts;
import com.vaadin.shared.ui.MarginInfo;
public class MMarginInfo extends MarginInfo {
private static final long serialVersionUID = -3559703824387291269L;
public MMarginInfo(boolean enabled) {
super(enabled);
}
@Deprecated
public MMarginInfo(int bitMask) {
... |
package py.una.pol.web.tarea3.rest;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.slf4j... |
package reborncore.common.tile;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.ISidedInventory;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemS... |
package ru.r2cloud.jradio.eseo.funcube;
import java.util.HashMap;
import java.util.Map;
public enum OBDMode {
OBDH_POWER_UP(0x00), AOCS_INITIALIZATION(0x01), AOCS_DAMPING(0x02), AOCS_NORMAL_SUN(0x04), AOCS_NORMAL_ECLIPSE(0x08), SAFE_MODE_S1(0x10), SAFE_MODE_S2(0x20), SAFE_MODE_S3(0x40);
private final int code;
... |
package scrum.client.workspace;
import scrum.client.ScrumGwtApplication;
import scrum.client.common.ABlockWidget;
import scrum.client.common.BlockListWidget;
import scrum.client.common.StyleSheet;
import scrum.client.img.Img;
import com.allen_sauer.gwt.dnd.client.DragContext;
import com.allen_sauer.gwt.dnd.client.VetoD... |
package sds.classfile.bytecode;
import java.io.IOException;
import sds.classfile.ClassFileStream;
import sds.classfile.ConstantPool;
public class InvokeInterface extends CpRefOpcode {
private int count;
/**
* constructor.
* @param pc index into the code array
*/
public InvokeInterface(int pc)... |
package six.com.crawler.entity;
/**
* @author
* @E-mail: 359852326@qq.com
* @date 2017414 3:54:25 job
*/
public class JobRelationship extends BasePo {
private static final long serialVersionUID = 2801633321033342662L;
public static int EXECUTE_TYPE_SERIAL = 1;
public static int EXECUTE_TYPE_PARALLEL = 2... |
package tigase.server.sreceiver;
import java.util.Arrays;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Queue;
import java.util.Set;
import java.util.concurrent.ConcurrentSkipListMap;
import java.util.logging.Level;
import java.util.logging.Lo... |
package uk.co.jemos.podam.api;
import net.jcip.annotations.Immutable;
import net.jcip.annotations.NotThreadSafe;
import org.apache.commons.lang3.ArrayUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import uk.co.jemos.podam.api.DataProviderStrategy.Order;
import uk.co.jemos.podam.common.AttributeStrategy... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.