answer stringlengths 17 10.2M |
|---|
/**
* EVE Swagger Interface
* An OpenAPI for EVE Online
*/
package net.troja.eve.esi.auth;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStreamRe... |
package cpw.mods.fml.common;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.net.MalformedURLException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import jav... |
package ru.atom;
import org.junit.Assert;
import org.junit.Test;
import ru.atom.geometry.Point;
import ru.atom.model.GameObject;
import ru.atom.model.GameSession;
import ru.atom.model.Movable;
import java.util.List;
public class GameModelTest {
@Test
public void gameIsCreated() {
GameSession gameSession... |
package openmods.liquids;
import java.util.*;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;
import net.minecraftforge.common.ForgeDirection;
import net.minecraftforge.fluids.*;
import openmods.Log;
import openmods.OpenMods;
import openmods.integration.modules.BuildCraftPipes;
import open... |
package creator;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.reflect.Type;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import org.json.JSONObject;
import age.api... |
package org.I0Itec.zkclient;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.OutputStream;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.uti... |
package org.hibernate.ogm.datastore.mongodb.test.performance;
import static org.fest.assertions.Assertions.assertThat;
import org.hibernate.Session;
import org.hibernate.Transaction;
import org.hibernate.ogm.backendtck.associations.collection.types.Child;
import org.hibernate.ogm.backendtck.associations.collection.type... |
package cx.cad.nfsn.objects;
import cx.cad.nfsn.API;
import cx.cad.nfsn.net.APIResponse;
import java.util.ArrayList;
import java.util.List;
public class Member extends APIObject {
private static final String type = "member";
public Member(String username, API api) {
super(username, api, type);
}
... |
package org.amc.game.chess;
public class KingPiece extends SimplePiece {
public KingPiece(Colour colour) {
super(colour);
}
/**
* @see SimplePiece#validMovement(Move)
*/
@Override
boolean validMovement(Move move) {
return move.getAbsoluteDistanceX() <= 1 &&
... |
package org.navalplanner.business.planner.entities;
import static org.navalplanner.business.workingday.EffortDuration.hours;
import static org.navalplanner.business.workingday.EffortDuration.seconds;
import static org.navalplanner.business.workingday.EffortDuration.zero;
import java.math.BigDecimal;
import java.math.Ro... |
package de.hdm.wim;
import de.hdm.wim.events.MessageEvent;
import de.hdm.wim.patterns.SenderPattern;
import de.hdm.wim.patterns.TestPattern;
import de.hdm.wim.source.MessageEventSource;
import org.apache.flink.streaming.api.datastream.DataStream;
import org.apache.flink.streaming.api.environment.StreamExecutionEnvironm... |
package org.apache.jmeter;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.lang.Thread.Unca... |
import hzarrabi_CSCI201_Assignment3.CantAddShipException;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Event;
import java.awt.FlowLayout;
import java.awt.Graphics;
import java.awt.GridLayout;
import java.awt.Image;
import java.awt.MenuBar;
im... |
package org.navalplanner.business.workreports.entities;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import org.apache.commons.lang.StringUtils;
import org.hibernate.validator.AssertTrue;
import org.hibernate.validator.NotNull;
import org.hibernate.validator.Valid;
import org.joda.time.LocalDa... |
/**
* <h2>YAML GOlr Configuration</h2>
*
* <p>
* This package supplies the tools necessary to parse, probe, and dump the YAML file configurations
* for BBOP-JS constrained Solr indexes. Specifically, it takes multiple YAML files and turn them
* into a Solr schema that is compatible {@link org.bbop.schema.SolrSche... |
package org.davidmoten.hilbert;
import java.util.Collections;
import java.util.List;
import com.github.davidmoten.guavamini.Lists;
public final class Range {
private final long low;
private final long high;
public Range(long low, long high) {
this.low = low;
this.high = high;
}
publi... |
package org.eclipse.mylyn.internal.tasks.ui.views;
import java.util.regex.Pattern;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.viewers.IColorProvider;
import org.eclipse.jface.viewers.IFontProvider;
import org.eclipse.jface.viewers.LabelProvider;
import org.eclipse.mylyn.internal.tasks.c... |
package github.jcext;
abstract class EnqueuerStats {
/**
* Stats usage only, never use it for the logic of your App.
*/
public int queueSize() {
return enq().queueSize();
}
/**
* user associated id.
*/
public Object id() {
return enq().id();
}
abstract Enq... |
package org.jtrfp.trcl.gpu;
import java.awt.Canvas;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Window;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent... |
package org.osgi.impl.service.application;
import java.io.*;
import java.security.AccessController;
import java.security.PrivilegedActionException;
import java.security.PrivilegedExceptionAction;
import java.util.*;
import org.osgi.service.application.*;
import org.osgi.service.application.ApplicationDescriptor.Delegat... |
package hangman.core.secret;
import hangman.core.guess.Guess;
import java.io.Serializable;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import org.apache.commons.lang3.Validate;
public final class Secret implements Serializable {
private static final long serialVersionUID = 74313770... |
package org.lightmare.jpa;
import java.io.IOException;
import java.net.URL;
import java.util.Collection;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import javax.naming.Cont... |
package org.osgi.impl.service.application;
import java.io.*;
import java.util.*;
import java.security.*;
import org.osgi.framework.*;
import org.osgi.service.application.*;
import org.osgi.service.application.ApplicationDescriptor.Delegate;
public class ApplicationDescriptorImpl implements Delegate {
private Applic... |
package io.yancey.menufetcher;
import io.yancey.menufetcher.data.*;
import io.yancey.menufetcher.fetchers.*;
import java.io.*;
import java.nio.file.*;
import java.time.*;
import java.util.*;
import joptsimple.*;
public class Main {
public static void main(String[] stringArgs) throws IOException {
OptionPars... |
package org.lightmare.jpa;
import java.io.IOException;
import java.net.URL;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
import org.apache.... |
package org.ontoware.rdf2go.impl.jena24;
import org.ontoware.rdf2go.exception.ModelRuntimeException;
import org.ontoware.rdf2go.model.Statement;
import org.ontoware.rdf2go.model.impl.AbstractStatement;
import org.ontoware.rdf2go.model.node.Resource;
import org.ontoware.rdf2go.model.node.URI;
import org.slf4j.Logger;
im... |
package javax.jmdns.impl;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.InetAddress;
import java.net.MulticastSocket;
import java.net.SocketException;
import java.util.AbstractMap;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashM... |
package com.intellij.ide.actions.searcheverywhere;
import com.intellij.codeInsight.navigation.NavigationUtil;
import com.intellij.ide.IdeBundle;
import com.intellij.ide.actions.CopyReferenceAction;
import com.intellij.ide.actions.GotoClassPresentationUpdater;
import com.intellij.ide.structureView.StructureView;
import ... |
package javax.jmdns.impl;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.Inet4Address;
import java.net.Inet6Address;
import java.net.InetAddress;
import java.net.MulticastSocket;
import java.net.SocketException;
import java.util.AbstractMap;
import java.util.ArrayList;
import java.util.Coll... |
package org.minimalj.backend;
import java.util.List;
import java.util.Objects;
import org.minimalj.application.Application;
import org.minimalj.application.Configuration;
import org.minimalj.backend.repository.CountTransaction;
import org.minimalj.backend.repository.DeleteEntityTransaction;
import org.minimalj.backend.... |
package com.redhat.ceylon.eclipse.code.refactor;
import static com.redhat.ceylon.eclipse.util.EditorUtil.getDocument;
import static com.redhat.ceylon.eclipse.util.Indents.getDefaultLineDelimiter;
import static com.redhat.ceylon.eclipse.util.Nodes.getNodeLength;
import static com.redhat.ceylon.eclipse.util.Nodes.getNode... |
package org.nuxeo.common;
import java.io.File;
import java.util.Properties;
/**
* @author <a href="mailto:bs@nuxeo.com">Bogdan Stefanescu</a>
*/
public class Environment {
/**
* Constants that identifies possible hosts for the framework.
*/
public static final String JBOSS_HOST = "JBoss";
public... |
package me.coley.recaf.ui;
import javafx.scene.Node;
import javafx.scene.control.*;
import javafx.stage.FileChooser;
import javafx.stage.FileChooser.ExtensionFilter;
import javafx.stage.Stage;
import me.coley.recaf.Recaf;
import me.coley.recaf.command.impl.Export;
import me.coley.recaf.config.ConfBackend;
import me.col... |
package org.nybatis.core.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
import jav... |
package nbrenwald;
/* Solutions to Chapter 1, Arrays and Strings */
public class ArraysAndStrings {
/* Exercise 1-3 */
public static boolean isPermutation(String a, String b) {
if (a != null && b != null && (a.length() == b.length())) {
// One option, count chars in each one - perhaps in a hash map.
... |
package org.pignat.app.qr2gerber;
import java.awt.Graphics;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.image.BufferedImage;
import javax.swing.JButton;
import javax.swing.JFileChooser;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import j... |
package quantisan.qte_lmax;
import com.lmax.api.Callback;
import com.lmax.api.FailureResponse;
import com.lmax.api.LmaxApi;
import com.lmax.api.Session;
import com.lmax.api.account.LoginCallback;
import com.lmax.api.account.LoginRequest;
import com.lmax.api.orderbook.OrderBookEvent;
import com.lmax.api.orderbook.OrderB... |
package org.yakindu.sct.ui.editor.preferences;
import org.eclipse.gmf.runtime.diagram.ui.figures.DiagramColorConstants;
import org.eclipse.gmf.runtime.diagram.ui.preferences.DiagramPreferenceInitializer;
import org.eclipse.gmf.runtime.diagram.ui.preferences.IPreferenceConstants;
import org.eclipse.jface.preference.IPre... |
package org.oasis_eu.portal.core.model.catalog;
import com.fasterxml.jackson.annotation.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.*;
public class CatalogEntry {
private static final Logger logger = LoggerFactory.getLogger(CatalogEntry.class);
private String id;
private Ca... |
package se.kits.gakusei.dto;
public class EventDTO {
private long timestamp;
private String gamemode;
private String type;
private String data;
private String nuggetid;
private String nuggetcategory;
private String username;
private String lesson;
public EventDTO() {}
public long... |
package nl.ovapi.rid.model;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
import java.util.Map;
import java.util.TimeZone;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import nl.ovapi.bison.model.K... |
package selling.sunshine.model;
import java.util.List;
public class Order extends Entity {
private String orderId;
private Agent agent;
private double price;
private OrderStatus status;
private List<OrderItem> orderItems;
public Order() {
super();
this.status = OrderStatus.SUBMIT... |
package com.opengamma.masterdb.historicaltimeseries;
import java.sql.Date;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.sql.Types;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import javax.time.Duration;
import ja... |
package no.javazone.ems;
import net.hamnaberg.json.Collection;
import net.hamnaberg.json.Item;
import net.hamnaberg.json.Link;
import net.hamnaberg.json.parser.CollectionParser;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.WebTarget;
import java.io.IOException;
im... |
package tld.testmod.client.gui;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiButton;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.inventory.Container;
import org.lwjgl.input.Keyboard;
import org.lwjgl.input.Mo... |
package org.basex.index.ft;
import static org.basex.core.Text.*;
import static org.basex.data.DataText.*;
import static org.basex.util.Token.*;
import static org.basex.util.ft.FTFlag.*;
import java.io.IOException;
import org.basex.core.Prop;
import org.basex.data.Data;
import org.basex.data.DataText;
import org.basex.i... |
package trinity.visitors;
import com.google.common.collect.ImmutableList;
import org.antlr.v4.runtime.ParserRuleContext;
import trinity.customExceptions.SymbolAlreadyDefinedException;
import trinity.customExceptions.SymbolNotFoundException;
import trinity.*;
import trinity.types.*;
import java.util.ArrayList;
import ja... |
package org.geoscript.js;
import java.math.BigDecimal;
import java.net.URI;
import java.sql.Date;
import java.sql.Time;
import java.sql.Timestamp;
import org.geotools.feature.FeatureCollection;
import org.geotools.geometry.jts.ReferencedEnvelope;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.Nati... |
package ui.issuecolumn;
import backend.interfaces.IModel;
import javafx.geometry.Insets;
import javafx.scene.Node;
import javafx.scene.input.KeyEvent;
import javafx.scene.layout.HBox;
import prefs.Preferences;
import ui.GUIController;
import ui.UI;
import ui.components.KeyboardShortcuts;
import ui.issuepanel.IssuePanel... |
package denominator.ultradns;
import static com.google.common.base.Preconditions.checkNotNull;
import static com.google.common.base.Preconditions.checkState;
import static com.google.common.collect.Iterators.concat;
import static com.google.common.collect.Iterators.filter;
import static com.google.common.collect.Iterat... |
package org.htmlcleaner;
import java.io.*;
import java.util.*;
/**
* <p>Basic abstract serializer - contains common logic for descendants (methods <code>writeXXX()</code>.</p>
*/
public abstract class Serializer {
/**
* Used to implement serialization with missing envelope - omiting open and close tags, just... |
package weixin.popular.api;
import java.awt.image.BufferedImage;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.nio.charset.Charset;
import javax.imageio.ImageIO;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpUriRequest;
import org.a... |
package org.jacis.store;
import org.jacis.container.JacisContainer;
import org.jacis.container.JacisContainer.StoreIdentifier;
import org.jacis.container.JacisObjectTypeSpec;
import org.jacis.container.JacisTransactionHandle;
import org.jacis.exception.JacisStaleObjectException;
import org.jacis.exception.JacisTransact... |
package mondrian.olap.fun;
import mondrian.olap.*;
import mondrian.olap.type.Type;
import mondrian.olap.type.TupleType;
import mondrian.olap.type.SetType;
import mondrian.resource.MondrianResource;
import mondrian.calc.*;
import mondrian.calc.impl.AbstractListCalc;
import mondrian.mdx.ResolvedFunCall;
import java.util.... |
package org.javafunk.funk;
import com.google.common.collect.Multiset;
import org.javafunk.funk.builders.*;
import org.javafunk.funk.datastructures.tuples.*;
import java.util.*;
import static java.util.Arrays.asList;
import static org.javafunk.funk.Classes.uncheckedInstantiate;
public class Literals {
private Litera... |
package core;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import org.apache.commons.codec.binary.Hex;
/**
*
* @author dark
*/
public class Hash {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
MessageDigest md = nu... |
package com.arnaudpiroelle.muzei.marvel.source.command;
import android.content.Context;
import android.content.Intent;
import com.arnaudpiroelle.muzei.marvel.R;
import com.arnaudpiroelle.muzei.marvel.core.inject.Injector;
import com.google.android.apps.muzei.api.Artwork;
import com.google.android.apps.muzei.api.UserCom... |
package com.example.u_nation.passcodelocksample.activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.View;
import com.example.u_nation.passcodelocksample.AppConfig;
import com.example.u_nation.passcodelock... |
package jnacl.crypto;
public class curve25519
{
final int CRYPTO_BYTES = 32;
final int CRYPTO_SCALARBYTES = 32;
static byte[] basev = { 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
static long[] minusp = { 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,... |
package com.josenaves.android.cloud.json;
import com.google.gson.JsonArray;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonDeserializer;
import com.google.gson.JsonElement;
import com.google.gson.JsonParseException;
import com.josenaves.android.cloud.model.ForecastResponse;
import com.jos... |
package es.makingtests.main
public class Dummy {
private String dummy = "Dummy!";
} |
package io.dwak.holohackernews.app.ui.storydetail;
import android.annotation.SuppressLint;
import android.app.ProgressDialog;
import android.content.Intent;
import android.content.res.Configuration;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.widget.SwipeRefreshLayout;
import android.sup... |
package io.github.froger.instamaterial.ui.activity;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
im... |
package it.polimi.dima.giftlist.presentation.module;
import android.app.Application;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.reflect.TypeToken;
import or... |
package com.exedio.cope.instrument;
import java.io.File;
import java.util.ArrayList;
import java.util.Iterator;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.DirectoryScanner;
import org.apache.tools.ant.Task;
import org.apache.tools.ant.types.FileList;
import org.apache.tools.ant.types.FileSe... |
package org.intermine.bio.dataconversion;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.Map.Entry;
import org.inter... |
package org.intermine.bio.dataconversion;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.... |
package org.intermine.bio.dataconversion;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util... |
package org.intermine.bio.dataconversion;
import org.apache.tools.ant.Task;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.DirectoryScanner;
import org.apache.tools.ant.types.FileSet;
import java.util.Set;
import java.util.HashSet;
import java.util.StringTokenizer;
import java.util.Iterator;
im... |
package de.afbb.bibo.servlet.server;
import java.io.IOException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* collection of utility methods
*
* @author fi13.pendrulat
*/
public final class Utils {
private Utils() {
}
public static int nthOccurrence(f... |
package se.kth.infosys.smx.ladok3;
import java.util.ArrayList;
import org.apache.camel.Exchange;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.test.blueprint.CamelBlueprintTestSupport;
import org.junit.Test;
public class Ladok3EnrichTest extends CamelBlueprintTestSupport {
@Override
... |
package org.lantern;
import static org.lantern.Tr.*;
import java.awt.AWTException;
import java.awt.Image;
import java.awt.MenuItem;
import java.awt.PopupMenu;
import java.awt.SystemTray;
import java.awt.TrayIcon;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.u... |
package org.nanopub;
import java.util.ArrayList;
import java.util.List;
import org.openrdf.model.Resource;
import org.openrdf.model.Statement;
import org.openrdf.model.URI;
import org.openrdf.model.Value;
import org.openrdf.model.impl.ContextStatementImpl;
import org.openrdf.model.impl.StatementImpl;
import org.openrdf... |
// File path shortening code adapted from:
package org.scijava.util;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FilenameFilter;
import java.io.IOException;
import java.net.JarURLConnection;
import java.net.MalformedURLException;
i... |
package org.takes.rs;
import java.io.IOException;
import java.io.InputStream;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import lombok.EqualsAndHashCode;
import org.takes.Response;
/**
* Response decorator, with an additional headers.
*
* <p>The class is immutable and thread-safe.
... |
package ru.lj.alamar.microbe;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.text.DecimalFormat;
import java.util.Properties;
import java.util.Random;
import java.util.Arrays;
import ru.yandex.bolts.collection.Cf;
import ru.yandex.bolts.collectio... |
package seedu.unburden.ui;
import javafx.fxml.FXML;
import javafx.scene.Node;
import javafx.scene.control.Label;
import javafx.scene.layout.HBox;
import seedu.unburden.model.task.ReadOnlyTask;
//@@Gauri Joshi A0143095H
public class TaskCard extends UiPart{
private static final String FXML = "TaskListCard.fxml";
... |
package bonsai.examples.model;
import bonsai.examples.model.*;
import org.chocosolver.solver.constraints.*;
import org.chocosolver.solver.variables.*;
import org.chocosolver.solver.*;
import java.util.HashSet;
import java.util.Set;
import java.util.function.Consumer;
public class ModelFactory {
/* Create a Location *... |
package vexpressed;
import org.antlr.v4.runtime.ANTLRErrorListener;
import org.antlr.v4.runtime.ANTLRInputStream;
import org.antlr.v4.runtime.BaseErrorListener;
import org.antlr.v4.runtime.CommonTokenStream;
import org.antlr.v4.runtime.RecognitionException;
import org.antlr.v4.runtime.Recognizer;
import org.antlr.v4.ru... |
package io.cogswell.sdk.pubsub;
import android.util.Log;
import com.google.common.base.Function;
import com.google.common.util.concurrent.AsyncFunction;
import com.google.common.util.concurrent.FutureCallback;
import com.google.common.util.concurrent.Futures;
import com.google.common.util.concurrent.ListenableFuture;
i... |
package com.gmail.liamgomez75.parkourroll.utils;
import org.bukkit.ChatColor;
import org.bukkit.World;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.plugin.Plugin;
/**
* Utility methods that interact with a configuration file for Level values.
*
* @author JamesHealey94 <... |
package com.mebigfatguy.fbcontrib.detect;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.bcel.classfile.Code;
import com.mebigfatguy.fbcontrib.utils.BugType;
import com.mebigfatguy.fbcontrib.utils.UnmodifiableSet;
import edu.umd.cs.findbugs.BugInstance;
import ed... |
package com.mebigfatguy.fbcontrib.detect;
import java.util.ArrayList;
import java.util.BitSet;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.apache.bcel.Constants;
import org.apache.bcel.Repository;
import org.apache.bcel.classfile.Code;
import org.apache.b... |
package com.swabunga.spell.engine;
import java.io.*;
import java.util.*;
/**
* Yet another <code>SpellDictionary</code> this one is based on Damien Guillaume's
* Diskbased dictionary but adds a cache to try to improve abit on performance.
*
* @author Robert Gustavsson
* @version 0.01
*/
public class SpellDicti... |
package com.untamedears.ItemExchange.command.commands;
import java.util.Iterator;
import org.apache.commons.lang.StringUtils;
import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.command.CommandSender;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.entity.Player;
import org.bukkit.i... |
package de.dhbw.mannheim.cloudraid.fs;
import java.io.File;
import java.nio.file.Files;
import java.util.Vector;
import java.util.concurrent.ConcurrentHashMap;
public class RecursiveFileSystemWatcher extends Thread {
private File dir;
private final static String TMP = System.getProperty("os.name")
.... |
package dr.evomodel.treedatalikelihood;
import beagle.Beagle;
import dr.evomodel.branchmodel.BranchModel;
import dr.evomodel.substmodel.EigenDecomposition;
import dr.evomodel.substmodel.SubstitutionModel;
import dr.evomodel.treedatalikelihood.BeagleDataLikelihoodDelegate.PreOrderSettings;
import dr.evolution.tree.Tree;... |
package dr.inference.operators.hmc;
import dr.inference.hmc.GradientWrtParameterProvider;
import dr.inference.hmc.PathGradient;
import dr.inference.model.Likelihood;
import dr.inference.model.Parameter;
import dr.inference.operators.AbstractAdaptableOperator;
import dr.inference.operators.AdaptationMode;
import dr.infe... |
package edu.ucla.cens.genjson;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.json.JSONArray;
public class PromptGroupThreeJsonMessageCreator implements JsonMessageCreator {
// # Diary group
// "date":"2009-11-03 10:18:33",
// "time":125727... |
package level;
import java.awt.image.BufferedImage;
import java.io.IOException;
import javax.imageio.ImageIO;
public class LoadLevel extends Level {
public LoadLevel(String path) {
super(path);
}
protected void loadLevel(String path) {
try {
BufferedImage image = ImageIO.read(Loa... |
package org.jivesoftware.messenger.user;
import org.jivesoftware.database.DbConnectionManager;
import org.jivesoftware.util.Log;
import org.jivesoftware.util.StringUtils;
import org.jivesoftware.util.LocaleUtils;
import java.sql.*;
import java.util.*;
import java.util.Date;
/**
* Default implementation of the UserProv... |
package com.intellij.lang.jsgraphql.types.language;
import com.google.common.collect.ImmutableList;
import com.intellij.lang.jsgraphql.types.Internal;
import com.intellij.lang.jsgraphql.types.PublicApi;
import com.intellij.lang.jsgraphql.types.util.TraversalControl;
import com.intellij.lang.jsgraphql.types.util.Travers... |
package HxCKDMS.XEnchants.hooks;
import java.util.Random;
import HxCKDMS.XEnchants.XEnchants;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import net.minecraft.block.Block;
import net.minecraft.enchantment.EnchantmentHelper;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import... |
package bammerbom.ultimatecore.bukkit.commands;
import bammerbom.ultimatecore.bukkit.UltimateCommand;
import bammerbom.ultimatecore.bukkit.r;
import bammerbom.ultimatecore.bukkit.resources.classes.MetaItemStack;
import bammerbom.ultimatecore.bukkit.resources.utils.InventoryUtil;
import bammerbom.ultimatecore.bukkit.res... |
package br.com.jq.syncthia.bdcreator.table;
import br.com.jq.syncthia.bdcreator.annotations.GetAnnotation;
import br.com.jq.syncthia.bdcreator.exceptions.CantPersistAutomaticException;
public abstract class TableEntity {
private GetAnnotation getAnnotation;
public TableEntity() {
getAnnotation = new Get... |
package com.bouncestorage.swiftproxy.v1;
import static com.google.common.base.Throwables.propagate;
import java.io.IOException;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.util.Base64;
import java.util.Date;
import java.util.Iterator;
import java.util... |
package com.cc4102.stringDict;
import java.util.ArrayList;
import com.cc4102.stringDict.linearProbing.Par;
/**
* @author Lucas Puebla Silva
*
*/
public class LinearProbingHashingTree implements StringDictionary {
private int[] hashLength;
private int[] hashOccupation;
private int[] maxOccupation;
private Par... |
package com.conveyal.analyst.server.utils;
import com.vividsolutions.jts.geom.Envelope;
import com.vividsolutions.jts.geom.Geometry;
import com.vividsolutions.jts.index.SpatialIndex;
import com.vividsolutions.jts.index.strtree.STRtree;
import models.Query;
import models.Shapefile;
import models.Shapefile.ShapeFeature;
... |
package com.crawljax.core.configuration;
import java.io.File;
import org.apache.commons.configuration.ConfigurationException;
import org.apache.commons.configuration.PropertiesConfiguration;
/**
* This class is used to create a CrawljaxConfiguration object configured with settings from a file.
*
* @author Frank Groe... |
package com.ctrip.zeus.service.build.conf;
import com.ctrip.zeus.model.entity.Group;
import com.ctrip.zeus.model.entity.GroupSlb;
import com.ctrip.zeus.model.entity.Slb;
import com.ctrip.zeus.model.entity.VirtualServer;
import com.ctrip.zeus.service.model.PathRewriteParser;
import com.ctrip.zeus.util.AssertUtils;
impor... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.