answer stringlengths 17 10.2M |
|---|
package pixy.meta.jpeg;
import java.io.BufferedInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import pixy.image.tiff.IFD;
import pixy.image.tiff.TiffTag;
import pixy.image.jpeg.... |
package org.goplayer.game;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import org.goplayer.go.Goban;
import org.goplayer.go.Stone;
import org.goplayer.go.... |
package authoring.concretefeatures.menus;
import gamedata.gamecomponents.Game;
import gamedata.gamecomponents.Grid;
import gamedata.gamecomponents.Level;
import gamedata.gamecomponents.SquareGrid;
import gamedata.goals.Goal;
import gamedata.goals.PlayerPiecesRemovedGoal;
import gamedata.rules.MoveCountRule;
import game... |
package org.catacombae.io;
public class ConcatenatedStream extends BasicConcatenatedStream<RandomAccessStream> implements RandomAccessStream {
public ConcatenatedStream(RandomAccessStream firstPart, long startOffset, long length) {
super(firstPart, startOffset, length);
}
public void write(byte[] da... |
package caris.framework.embedbuilders;
import caris.framework.library.Constants;
import caris.framework.library.UserInfo;
import caris.framework.tokens.Mail;
import sx.blah.discord.handle.obj.IUser;
import sx.blah.discord.util.EmbedBuilder;
public class MailCheckBuilder extends Builder {
public UserInfo userInfo;
... |
package com.plugin.gcm;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.res.Resources;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Notifica... |
package cc.adjusting.piece;
import cc.moveable_type.piece.PieceMovableTypeTzu;
import cc.moveable_type.rectangular_area.RectangularArea;
/**
*
*
* @author Ihc
*/
public class extends
{
/**
*
*
* @param
*
*/
public (MergePieceAdjuster )
{
super();
.add("");
... |
package com.awsmithson.tcx2nikeplus.convert;
import com.awsmithson.tcx2nikeplus.util.Log;
import com.awsmithson.tcx2nikeplus.util.Util;
import flanagan.interpolation.CubicSpline;
import java.io.File;
import java.io.IOException;
import java.net.MalformedURLException;
import java.text.SimpleDateFormat;
import java.util.A... |
package com.awsmithson.tcx2nikeplus.convert;
import com.awsmithson.tcx2nikeplus.util.Log;
import com.awsmithson.tcx2nikeplus.util.Util;
import flanagan.interpolation.CubicSpline;
import java.io.File;
import java.io.IOException;
import java.net.MalformedURLException;
import java.text.SimpleDateFormat;
import java.util.A... |
package be.kuleuven.cs.distrinet.rejuse.tree;
import be.kuleuven.cs.distrinet.rejuse.action.Nothing;
import be.kuleuven.cs.distrinet.rejuse.predicate.Predicate;
import be.kuleuven.cs.distrinet.rejuse.predicate.UniversalPredicate;
public abstract class TreePredicate<D, E extends Exception> extends UniversalPredicate<D,E... |
package polyglot.ast;
import java.util.StringTokenizer;
import polyglot.util.CodeWriter;
import polyglot.util.Position;
import polyglot.util.SerialVersionUID;
import polyglot.visit.PrettyPrinter;
/**
* An Immutable representation of a Javadoc
*/
public class Javadoc_c extends Node_c implements Javadoc {
private s... |
package burlap.behavior.singleagent.learning;
import java.util.LinkedList;
import java.util.List;
import burlap.behavior.singleagent.EpisodeAnalysis;
import burlap.oomdp.core.State;
/**
* This is the standard interface for defining an agent that learns how to behave in the world through experience. The primary method
... |
package org.postgresql.util;
import java.sql.*;
import java.text.*;
import java.util.*;
/**
* This class extends SQLException, and provides our internationalisation handling
*/
public class PSQLException extends SQLException
{
private String message;
// Cache for future errors
static ResourceBundle bundle... |
package org.xins.common.text;
import org.xins.common.Log;
/**
* Fast, unsynchronized string buffer implementation.
*
* @version $Revision$ $Date$
* @author Ernst de Haan (<a href="mailto:ernst.dehaan@nl.wanadoo.com">ernst.dehaan@nl.wanadoo.com</a>)
*
* @since XINS 1.0.0
*/
public class FastStringBuffer extends O... |
package com.jaeksoft.searchlib.request;
import java.io.Externalizable;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
import java.util.Iterator;
import javax.xml.xpath.XPathExpressionException;
import org.apache.lucene.queryParser.ParseException;
import org.apache.lucene.queryParse... |
package com.idunnolol.ragefaces;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.List;
import android.app.Activity;
import android.app.AlertDialog.Builder;
import android.app.Dialog;
i... |
package com.jaeksoft.searchlib.result;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import java.util.TreeSet;
import com.jaeksoft.searchlib.SearchLibException;
import com.jaeksoft.searchlib.function.expression.SyntaxError;
import com.jaek... |
package com.chasehaddleton.smartalarmclock;
import com.chasehaddleton.smartalarmclock.UI.TimeUpdate;
import com.chasehaddleton.smartalarmclock.UI.WeatherUpdate;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
public class SmartAlarmClock... |
package com.jcwhatever.bukkit.rental.region;
import com.jcwhatever.bukkit.generic.file.GenericsByteReader;
import com.jcwhatever.bukkit.generic.file.GenericsByteWriter;
import com.jcwhatever.bukkit.generic.pathing.InteriorFinder;
import com.jcwhatever.bukkit.generic.pathing.InteriorFinder.InteriorResults;
import com.jc... |
// $Id: ClientManager.java,v 1.32 2003/07/22 02:50:49 mdb Exp $
package com.threerings.presents.server;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import com.samskivert.util.IntervalManager;
import com.samskivert.util.StringUtil... |
package com.jetbrains.ther.parsing;
import com.intellij.lang.PsiBuilder;
import com.intellij.openapi.diagnostic.Logger;
import com.jetbrains.ther.lexer.TheRTokenTypes;
import org.jetbrains.annotations.NotNull;
public class TheRFunctionParsing extends Parsing {
private static final Logger LOG = Logger.getInstance(TheR... |
package org.apache.commons.dbcp;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.SQLWarning;
import java.sql.Statement;
import java.util.List;
import java.util.Map;
/**
* A base delegating ... |
package com.jme.widget.renderer;
import com.jme.image.Texture;
import com.jme.renderer.Renderer;
import com.jme.scene.state.AlphaState;
import com.jme.scene.state.TextureState;
import com.jme.system.DisplaySystem;
import com.jme.util.TextureManager;
import com.jme.widget.Widget;
import com.jme.widget.WidgetRenderer;
/*... |
package org.apache.velocity.anakia;
import org.jdom.Element;
import org.jdom.Namespace;
import org.jdom.input.DefaultJDOMFactory;
/**
* A customized JDOMFactory for Anakia that produces {@link AnakiaElement}
* instances instead of ordinary JDOM {@link Element} instances.
*
* @author <a href="mailto:szegedia@freemai... |
package org.apache.velocity.tools.generic;
import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols;
import java.text.NumberFormat;
import java.util.Locale;
/**
* Tool for working with {@link Number} in Velocity templates.
* It is useful for accessing and
* formatting arbitrary {@link Number} objects. A... |
package org.jivesoftware.sparkimpl.settings;
public class JiveInfo {
private JiveInfo() {
}
public static String getVersion() {
return "2.0.5";
}
public static String getOS() {
return System.getProperty("os.name");
}
} |
import java.util.Scanner;
public class ExpectedSalary {
public static void main(String[] args) {
Scanner userInput = new Scanner(System.in);
final int baseBSc = 28000;
final int expBSc = 6000;
final int baseMSc = 35000;
final int expMSc = 5000;
final int basePhD = 450... |
package com.mebigfatguy.fbcontrib.detect;
import java.util.BitSet;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.Map;
import java.util.Set;
import org.apache.bcel.Constants;
import org.apache.bcel.classfile.AnnotationEntry;
import org.apache... |
package com.valkryst.generator;
import java.util.List;
import java.util.concurrent.ThreadLocalRandom;
public final class ConsonantVowelNameGenerator implements NameGenerator {
/** The consonants. */
private final String[] consonants;
/** The vowels. */
private final String[] vowels;
/**
* Const... |
package com.vinsol.sms_scheduler.activities;
import java.io.InputStream;
import java.util.ArrayList;
import android.app.Activity;
import android.content.ContentResolver;
import android.content.ContentUris;
import android.content.Intent;
import android.database.Cursor;
import android.graphics.BitmapFactory;
import andro... |
package java.awt.peer;
import java.awt.*;
import java.awt.event.*;
import java.awt.image.BufferedImage;
import org.videolan.Logger;
public class BDFramePeer extends BDComponentPeer implements FramePeer
{
public BDFramePeer(Frame frame, BDRootWindow rootWindow) {
super(frame.getToolkit(), frame);
thi... |
package SW9.presentations;
import SW9.HUPPAAL;
import SW9.abstractions.Component;
import SW9.controllers.ComponentController;
import SW9.utility.colors.Color;
import SW9.utility.helpers.MouseTrackable;
import SW9.utility.helpers.SelectHelper;
import SW9.utility.mouse.MouseTracker;
import javafx.beans.property.BooleanPr... |
package de.codemakers.bot.supreme.plugin;
import de.codemakers.plugin.PluginLoader;
import de.codemakers.plugin.impl.StandardPluginFilter;
import java.io.File;
import java.util.ArrayList;
/**
* PluginManager
*
* @author Panzer1119
*/
public class PluginManager implements PluginProvider {
private final PluginLoa... |
package de.mrapp.android.preference;
import static de.mrapp.android.preference.util.Condition.ensureAtLeast;
import static de.mrapp.android.preference.util.Condition.ensureGreaterThan;
import static de.mrapp.android.preference.util.Condition.ensureNotNull;
import static de.mrapp.android.preference.util.DisplayUtil.conv... |
package de.mrapp.android.preference;
import java.util.Collection;
import android.app.Activity;
import android.app.Fragment;
import android.app.FragmentTransaction;
import android.os.Bundle;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.ListView;
import... |
package com.alessiodp.parties.utils;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.UUID;
import java.util.logging.Level;
import org.bukkit.Bukkit;
import org.bukkit.Location;
imp... |
package com.bloatit.web.pages.demand;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import com.bloatit.framework.Demand;
import com.bloatit.framework.Translation;
import com.bloatit.framework.managers.DemandManager;
import com.bloatit.web.htmlrenderer.htmlcomponent.HtmlBlock;
import com.bloat... |
package edu.mit.streamjit.impl.distributed;
import java.util.concurrent.CountDownLatch;
import edu.mit.streamjit.impl.blob.Buffer;
import edu.mit.streamjit.impl.distributed.common.TCPConnection.TCPConnectionInfo;
import edu.mit.streamjit.impl.distributed.common.TCPConnection.TCPConnectionProvider;
import edu.mit.stream... |
package com.conveyal.taui.models;
import com.conveyal.geojson.GeometryDeserializer;
import com.conveyal.geojson.GeometrySerializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.vividsolutions.jts.geom.Geometry;
import java.u... |
package com.coremedia.iso;
import com.coremedia.iso.boxes.Box;
import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.net.URL;
import java.util.Enumeration;
import java.util.Propert... |
package com.elmakers.mine.bukkit.block;
import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.UUID;
import com.elmakers.mine.bukkit.api.action.Ca... |
package com.example.resource;
import java.net.URI;
import java.util.List;
import java.util.concurrent.TimeUnit;
import java.util.logging.Logger;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.... |
package org.voltdb.sysprocs;
import java.io.File;
import java.net.InetAddress;
import java.util.HashMap;
import java.util.List;
import java.util.Map.Entry;
import org.voltdb.BackendTarget;
import org.voltdb.DependencyPair;
import org.voltdb.ExecutionSite.SystemProcedureExecutionContext;
import org.voltdb.HsqlBackend;
i... |
package com.facebook.litho;
import java.util.Iterator;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.Application;
import android.content.Context;
import android.content.ContextWrapper;
import android.content.res.... |
package com.justjournal.ctl.api;
import com.justjournal.WebLogin;
import com.justjournal.db.*;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import ... |
package gov.nih.nci.calab.service.util;
public class CananoConstants {
public static final String PARTICLE_PROPERTY = "particle.properties";
public static final String PHYSICAL_CHARACTERIZATION = "Physical";
public static final String COMPOSITION_CHARACTERIZATION = "Composition";
public static final Str... |
package com.k13n.soliton;
import java.util.Random;
public class RobustSolitonGenerator implements SolitonGenerator {
private Random random;
private int k, M;
private double c, delta, R, beta;
public RobustSolitonGenerator(int k, double c, double delta, long seed) {
this.k = k;
this.c = c;
this.delta... |
/**
* @author dgeorge
*
* $Id: UserManagerImpl.java,v 1.11 2005-11-08 22:32:44 georgeda Exp $
*
* $Log: not supported by cvs2svn $
* Revision 1.10 2005/11/07 13:58:29 georgeda
* Dynamically update roles
*
* Revision 1.9 2005/10/24 13:28:06 georgeda
* Cleanup changes
*
* Revision 1.8 2005/10/17 13:10:16... |
package com.laytonsmith.core.functions;
import com.laytonsmith.annotations.api;
import com.laytonsmith.core.*;
import com.laytonsmith.core.constructs.*;
import com.laytonsmith.core.exceptions.CancelCommandException;
import com.laytonsmith.core.exceptions.ConfigCompileException;
import com.laytonsmith.core.exceptions.Co... |
package gov.nih.nci.rembrandt.web.ajax;
import java.io.IOException;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import java.util.TreeMap;
import gov.nih.nci.caintegrator.application.configuration.SpringContext;
import gov.nih.nci.cain... |
package gov.nih.nci.sdk.server.management;
import java.util.List;
import org.apache.log4j.Logger;
import gov.nih.nci.sdk.common.ApplicationException;
import gov.nih.nci.security.authorization.domainobjects.ProtectionElement;
import net.sf.hibernate.Criteria;
import net.sf.hibernate.Session;
import net.sf.hibernate.Sess... |
package com.machinezoo.sourceafis;
import static java.util.stream.Collectors.*;
import java.util.*;
import java.util.stream.*;
import com.machinezoo.fingerprintio.*;
import com.machinezoo.fingerprintio.ansi378v2004.*;
import com.machinezoo.fingerprintio.ansi378v2009.*;
import com.machinezoo.fingerprintio.ansi378v2009am... |
package ie.broadsheet.app.fragments;
import ie.broadsheet.app.BaseFragmentActivity;
import ie.broadsheet.app.BroadsheetApplication;
import ie.broadsheet.app.CommentListActivity;
import ie.broadsheet.app.PostDetailActivity;
import ie.broadsheet.app.PostListActivity;
import ie.broadsheet.app.R;
import ie.broadsheet.app.d... |
package com.oneliang.tools.builder.base;
import java.io.File;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
public class Project {
public static final String CLASSES = "classes";
public static final String CACHE = "cache";
public static final String BUILD... |
package com.plaid.client;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import org.joda.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper... |
package com.redhat.ceylon.compiler.js;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import com.redhat.ceylon.compiler.loader.MetamodelGenerator;
import com.redhat.ceylon.compiler.typecheck... |
package com.rox.emu.p6502.dbg.ui;
import com.rox.emu.Memory;
import com.rox.emu.p6502.CPU;
import com.rox.emu.p6502.Registers;
import com.rox.emu.SimpleMemory;
import javax.swing.*;
import java.awt.*;
import static com.rox.emu.p6502.InstructionSet.*;
import static com.rox.emu.p6502.InstructionSet.OP_BNE;
import static ... |
package com.rox.emu.processor.mos6502;
import com.rox.emu.env.RoxByte;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* A representation of the MOS 6502 CPU registers
*
* @author Ross Drew
*/
public class Registers {
private final Logger LOG = LoggerFactory.getLogger(this.getClass());
/**
... |
package com.suse.salt.netapi.calls.modules;
import com.google.gson.reflect.TypeToken;
import com.suse.salt.netapi.calls.LocalCall;
import java.util.Map;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Arrays;
import java.util.Collections;
import java.util.Optional;
/**
* Basic operations on fil... |
package com.techcavern.wavetact.utils;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.techcavern.wavetact.commandline.perms.PermLevelC;
import com.techcavern.wavetact.commandline.utils.AddServer;
import com.techcavern.wavetact.commandline.utils.BasicCommands;
import com.techcavern.wavetact.... |
package com.telekom.m2m.cot.restsdk.util;
import com.telekom.m2m.cot.restsdk.devicecontrol.OperationStatus;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.*;
import java.util.stream.Collectors;
/**
* Filter to build as criteria for collection queries.
*
* @author Patrick Steinert... |
package com.totalchange.bunman.jd7;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.totalchange.bunman.Catalogue;
import com.totalchange.bunma... |
package com.whirvis.jraknet.server;
import static com.whirvis.jraknet.protocol.MessageIdentifier.*;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.util.UUID;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentLinkedQueue;
import org.slf4j.Logger;
import org... |
package com.zhokhov.interview.sorting;
import static com.zhokhov.interview.util.Console.*;
/**
* @author <a href='mailto:alexey@zhokhov.com'>Alexey Zhokhov</a>
*/
public class MergeSort {
public void sort(int[] array) {
mergeSort(array, 0, array.length - 1);
}
/*
* The mergeSort algorithm imp... |
package de.binarytree.plugins.qualitygates;
import hudson.DescriptorExtensionList;
import hudson.ExtensionPoint;
import hudson.Launcher;
import hudson.model.BuildListener;
import hudson.model.Describable;
import hudson.model.AbstractBuild;
import hudson.model.Hudson;
import de.binarytree.plugins.qualitygates.result.Gat... |
package de.dhbw.humbuch.view;
import java.util.Collection;
import java.util.Date;
import java.util.Map;
import java.util.Map.Entry;
import java.util.NoSuchElementException;
import java.util.Set;
import com.google.common.eventbus.EventBus;
import com.google.inject.Inject;
import com.vaadin.data.Container.Filter;
import ... |
package de.j4velin.wifiAutoOff;
import android.content.Context;
import android.graphics.Color;
import android.net.ConnectivityManager;
import android.net.wifi.WifiInfo;
import android.net.wifi.WifiManager;
import android.preference.Preference;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import... |
package de.jformchecker.themes;
import java.util.Map;
import de.jformchecker.FormCheckerElement;
import de.jformchecker.GenericFormBuilder;
import de.jformchecker.TagAttributes;
import de.jformchecker.Wrapper;
import de.jformchecker.criteria.ValidationResult;
public class BasicFormBuilder extends GenericFormBuilder {
... |
package dmillerw.lore.command;
import net.minecraft.command.ICommandSender;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.ChunkCoordinates;
import net.minecraft.util.IChatComponent;
import net.minecraft.world.World;
/**
* @author dmillerw
*/
public class LoreCommandSender implements IComm... |
package edu.neumont.java.playlistpug;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;... |
package edu.oregonstate.carto.mapcomposer;
import com.jhlabs.composite.MultiplyComposite;
import com.jhlabs.image.BicubicScaleFilter;
import com.jhlabs.image.BoxBlurFilter;
import com.jhlabs.image.ImageUtils;
import com.jhlabs.image.LightFilter;
import com.jhlabs.image.ShadowFilter;
import com.jhlabs.image.TileImageFil... |
package es.ucm.fdi.iw.controller;
import java.security.Principal;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.EntityManager;
import javax.servlet.http.HttpSession;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.se... |
package foodtruck.alexa;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import java.util.logging.Level;
import java.util.logging.Logger;
import com.amazon.speech.slu.Intent;
import com.amazon.speech.slu.Slot;
import com.amazon.speech.speechlet.Session;
import com.amazon.speech.speechlet.Spee... |
package fr.liglab.lcm.internals;
import java.util.Arrays;
import java.util.Calendar;
import fr.liglab.lcm.internals.FrequentsIterator;
import fr.liglab.lcm.internals.Dataset.TransactionsIterable;
import fr.liglab.lcm.internals.Selector.WrongFirstParentException;
import fr.liglab.lcm.io.FileReader;
import fr.liglab.lcm.... |
package io.github.bonigarcia.wdm;
import static org.apache.commons.lang3.SystemUtils.IS_OS_MAC;
import java.io.BufferedReader;
import java.io.File;
import java.io.InputStreamReader;
import java.io.Reader;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collection... |
package dk.netarkivet.harvester.scheduler;
import java.io.File;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.Iterator;
import java.util.List;
import java.util.Timer;
import java.util.TimerTask;
import org... |
package jp.fujiu.TweetNicoMovieForQuerychan;
import java.io.IOException;
import java.util.Random;
import javax.ws.rs.core.MediaType;
import org.apache.commons.lang3.StringEscapeUtils;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.sun.jersey.api.client.Client;
import com.sun.jersey.api.client.WebResourc... |
package leetcode191_200;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
public class BinaryTreeRightSideView {
public class TreeNode {
int val;
TreeNode left;
TreeNode right;
TreeNode(int x) { val = x; }
}
//Core idea: ... |
package mho.wheels.iterables;
import mho.wheels.math.Combinatorics;
import mho.wheels.math.MathUtils;
import mho.wheels.misc.FloatingPointUtils;
import mho.wheels.ordering.Ordering;
import mho.wheels.structures.*;
import org.jetbrains.annotations.NotNull;
import java.math.BigDecimal;
import java.math.BigInteger;
import... |
package net.bootsfaces.component;
import java.io.IOException;
import java.util.Map;
import javax.faces.application.ResourceDependencies;
import javax.faces.application.ResourceDependency;
import javax.faces.component.UIComponentBase;
import javax.faces.context.FacesContext;
import javax.faces.context.ResponseWriter;
im... |
package org.xins.util.service.ldap;
/**
* LDAP search request. Combines
* {@link AuthenticationDetails authentication details} and a
* {@link Query query}.
*
* @version $Revision$ $Date$
* @author Ernst de Haan (<a href="mailto:znerd@FreeBSD.org">znerd@FreeBSD.org</a>)
*
* @since XINS 0.115
*/
final class Requ... |
package net.databinder.components;
import java.awt.Color;
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.io.InputStream;
import wicket.Component;
import wicket.Resource;
import wicket.WicketRuntimeException;
import wicket.markup.ComponentTag;
i... |
package org.xins.server;
import java.util.List;
import java.util.StringTokenizer;
import org.xins.util.MandatoryArgumentChecker;
import org.xins.util.text.ParseException;
/**
* Authorization filter for IP addresses. An <code>IPFilter</code> object is
* created and used as follows:
*
* <blockquote><code>IPFilter fil... |
package net.databinder.components;
import java.awt.Color;
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.image.BufferedImage;
import java.io.InputStream;
import java.util.LinkedList;
import java.util.List;
import wicket.Component;
import wi... |
package com.elusivehawk.util.storage;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.CharBuffer;
import java.nio.DoubleBuffer;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import java.nio.LongBuffer;
import java.nio.ShortBuffer;
import java.util.Collection;
import com.elusivehawk.util... |
// samskivert library - useful routines for java programs
// 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 shoul... |
// samskivert library - useful routines for java programs
// 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 shoul... |
// samskivert library - useful routines for java programs
// 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 shoul... |
package net.openhft.chronicle.map;
import com.sun.nio.file.SensitivityWatchEventModifier;
import net.openhft.chronicle.core.util.ThrowingFunction;
import org.jetbrains.annotations.NotNull;
import java.io.*;
import java.nio.file.*;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
import java.util.funct... |
// Nenya 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 ... |
// Vilya 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 com.weblyzard.api.client;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.ws.rs.BadRequestException;
import javax.ws.rs.InternalServerErrorException;
import javax.ws.rs.NotAllowedException;
import javax.ws.rs.NotA... |
package net.sf.xenqtt.client;
import java.net.ConnectException;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.Executor;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.... |
package net.tropicraft.world.worldgen;
import net.minecraft.block.Block;
import net.minecraft.init.Blocks;
import net.minecraft.util.MathHelper;
import net.minecraft.world.World;
import net.minecraft.world.gen.feature.WorldGenerator;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import jav... |
package net.whydah.identity.admin;
import net.whydah.identity.admin.config.AppConfig;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
public class CookieMan... |
package nl.mpi.kinnate.gedcomimport;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URI;
import java.util.ArrayList;
import java.util.HashMap;
import javax.swing.JTextArea;
import nl.mpi.arbil.util.ArbilBugCatcher;
import nl.mpi.kinnate.... |
package org.apache.commons.jexl.parser;
import org.apache.commons.jexl.JexlContext;
import org.apache.commons.jexl.util.Coercion;
/**
* Addition : either integer addition or string concatenation
*
* @author <a href="mailto:geirm@apache.org">Geir Magnusson Jr.</a>
* @version $Id: ASTAddNode.java,v 1.5 2003/12/18 ... |
package no.difi.sdp.client2.internal;
import no.difi.begrep.sdp.schema_v10.SDPAvsender;
import no.difi.begrep.sdp.schema_v10.SDPDigitalPost;
import no.difi.begrep.sdp.schema_v10.SDPDigitalPostInfo;
import no.difi.begrep.sdp.schema_v10.SDPDokument;
import no.difi.begrep.sdp.schema_v10.SDPDokumentData;
import no.difi.beg... |
package org.apache.commons.vfs.tasks;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.Date;
import org.apache.commons.vfs.FileContent;
import org.apache.commons.vfs.FileObject;
import org.apache.commons.vfs.FileType;
import org.apache.tools.ant.BuildExceptio... |
package org.jsimpledb.kv.fdb;
import com.foundationdb.Database;
import com.foundationdb.FDB;
import com.foundationdb.FDBException;
import com.foundationdb.NetworkOptions;
import java.util.concurrent.Executor;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import org.jsimpledb.kv.KVDatabase;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.