answer stringlengths 17 10.2M |
|---|
package edu.oakland.OUSoft.linkedList;
import java.util.*;
public class cseLinkedList<E extends LLNode<E>> implements List<E> {
private E indexZero;
/**
* Returns the number of elements in this list. If this list contains
* more than <tt>Integer.MAX_VALUE</tt> elements, returns
* <tt>Integer.MAX... |
package edu.wustl.xipHost.gui;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Frame;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
im... |
package com.example.mo_;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.animation.Animation;
import android.view.animation.ScaleAnimation;
import android.widget.Button;
import android.widget.ImageVi... |
package fitnesse.responders.testHistory;
import fitnesse.responders.run.TestSummary;
import fitnesse.FitNesseContext;
import fitnesse.wiki.WikiPage;
import util.FileUtil;
import java.io.File;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.*;
public class PageHistory {
private Sim... |
package org.voltcore.messaging;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.InetSocketAddress;
import java.net.Socket;
import java.nio.ByteBuffer;
import java.nio.channels.SocketChannel;
import java.util.Set;
import java.util.concurrent.atomic.AtomicInteger;
import java.util... |
package net.minecraftforge.client;
import java.util.BitSet;
import org.lwjgl.opengl.Display;
import net.minecraft.block.Block;
import net.minecraft.entity.Entity;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.world.World;
imp... |
package org.mg.client;
import java.nio.ByteBuffer;
import java.nio.channels.ClosedChannelException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import org.apache.commons.codec.binary.Base64;
import org.apache.com... |
package org.neo4j.server.database;
import static org.hamcrest.Matchers.containsString;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.io.IOException;
import java.net.Socket;
import org.apache.commons.io.FileUtils;
import org.junit.After;
import org... |
package org.pcmm.rcd.impl;
import java.util.concurrent.atomic.AtomicBoolean;
import org.pcmm.PCMMConstants;
import org.pcmm.PCMMProperties;
import org.pcmm.concurrent.IWorkerPool;
import org.pcmm.concurrent.impl.WorkerPool;
import org.pcmm.rcd.IPCMMServer;
import org.pcmm.state.IState;
import org.slf4j.Logger;
import o... |
package com.peer1.internetmap;
import java.io.IOException;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.Iterator;
import org.json.JSONException;
import org.json.JSONObject;
import android.annotation.SuppressL... |
package com.dmdirc.ui.swing.dialogs.wizard;
import com.dmdirc.Main;
import com.dmdirc.ui.swing.MainFrame;
import static com.dmdirc.ui.swing.UIUtilities.SMALL_BORDER;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.GraphicsConfiguration;
import java.awt.GraphicsDevice;
imp... |
package gov.nih.nci.calab.ui.core;
/**
* This class calls the Struts ForwardAction to forward to a page, aslo
* extends AbstractBaseAction to inherit the user authentication features.
*
* @author pansu
*/
/* CVS $Id: BaseForwardAction.java,v 1.4 2007-10-25 20:56:51 cais Exp $ */
import javax.servlet.http.HttpServl... |
// 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... |
// $Id: PathSequence.java,v 1.3 2003/09/25 21:07:20 mdb Exp $
package com.threerings.media.util;
import java.awt.Graphics2D;
import java.awt.Rectangle;
import java.util.ArrayList;
import java.util.List;
import com.threerings.media.Log;
/**
* Used to create a path that is a sequence of several other paths.
*/
public c... |
// 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 org.apache.commons.logging;
import java.util.logging.Level;
import java.util.logging.Logger;
public final class Jdk14Logger implements Log {
/**
* Construct a named instance of this Logger.
*
* @param name Name of the logger to be constructed
*/
public Jdk14Logger(String name) {
... |
package org.apache.commons.math.stat;
/**
* StatUtils provides easy static implementations of common double[] based
* statistical methods. These return a single result value or in some cases, as
* identified in the javadoc for each method, Double.NaN.
*
* @author <a href="mailto:mdiggory@apache.org">Mark Diggory</... |
package com.github.ufologist.http.example;
import java.net.URI;
import java.util.LinkedList;
import java.util.Queue;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import org.apache.http.Consts;
impo... |
package com.mebigfatguy.fbcontrib.detect;
import java.util.HashSet;
import java.util.Set;
import org.apache.bcel.Repository;
import org.apache.bcel.classfile.Code;
import org.apache.bcel.classfile.Constant;
import org.apache.bcel.classfile.ConstantClass;
import org.apache.bcel.classfile.ConstantPool;
import org.apache.... |
package org.orbeon.oxf.xforms;
import org.orbeon.oxf.resources.OXFProperties;
import java.util.Map;
import java.util.HashMap;
import java.util.Collections;
import java.util.Iterator;
public class XFormsProperties {
public static final String XFORMS_PROPERTY_PREFIX = "oxf.xforms.";
// Document properties
pub... |
package ru.agolovin;
import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;
/**
* File sort class.
*
* @author agolovin (agolovin@list.ru)
* @version $Id$
* @since 0.1
*/
public class FileSort {
private RandomAccessFile rafSource;
private RandomAccessFile rafDistance;
privat... |
package com.opencms.core;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;
/**A class to aid in reading multipart/form-data from a ServletInputStream.
* <p>
* It keeps track of how many bytes have been read and detects when the
* Content-Length limit has been reached. This ... |
package org.helioviewer.gl3d.math;
public class GL3DMat4d {
/**
* 0 4 8 12 1 5 9 13 2 6 10 14 3 7 11 15
*/
public final double[] m = new double[16];
public GL3DMat4d(double M0, double M4, double M8, double M12, double M1, double M5, double M9, double M13, double M2, double M6, double M10, double M... |
package ru.job4j.semapfore;
import net.jcip.annotations.GuardedBy;
import net.jcip.annotations.ThreadSafe;
/**
* Multithreading counter.
*
* @author Alexander Bondarev(mailto:bondarew2507@gmail.com).
* @since 25.10.2017.
*/
@ThreadSafe
public class Counter implements Runnable {
/**
* Guard object.
*/... |
package com.intellij.jsp.impl;
import com.intellij.xml.XmlAttributeDescriptor;
import com.intellij.psi.xml.*;
import com.intellij.psi.*;
import com.intellij.psi.jsp.JspFile;
import com.intellij.psi.impl.source.jsp.tagLibrary.TeiClassLoader;
import com.intellij.psi.impl.source.jsp.tagLibrary.TldUtil;
import com.intellij... |
package com.lmax.disruptor;
import com.lmax.disruptor.dsl.Disruptor;
import com.lmax.disruptor.dsl.ProducerType;
import com.lmax.disruptor.util.Constants;
import com.lmax.disruptor.util.DaemonThreadFactory;
import com.lmax.disruptor.util.SimpleEvent;
import com.lmax.disruptor.util.SimpleEventHandler;
import org.openjdk... |
package com.jbooktrader.platform.util;
import com.jbooktrader.platform.model.*;
import org.apache.commons.net.ntp.*;
import java.net.*;
import java.util.concurrent.*;
public class NTPClock {
private static final String HOST_NAME = "ntp2.usno.navy.mil";
private final NTPUDPClient ntp;
private final InetAddre... |
package com.sojostudios.as3.visitors;
import japa.parser.ast.CompilationUnit;
import japa.parser.ast.ImportDeclaration;
import japa.parser.ast.Node;
import japa.parser.ast.PackageDeclaration;
import japa.parser.ast.body.ClassOrInterfaceDeclaration;
import japa.parser.ast.body.FieldDeclaration;
import japa.parser.ast.bo... |
package com.coala.core.utils;
import org.apache.commons.exec.CommandLine;
import org.apache.commons.exec.DefaultExecuteResultHandler;
import org.apache.commons.exec.DefaultExecutor;
import org.apache.commons.exec.ExecuteException;
import org.apache.commons.exec.ExecuteWatchdog;
import org.apache.commons.exec.Executor;
... |
package com.untamedears.PrisonPearl;
import java.util.Map.Entry;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.command.ConsoleCommandSender;
impor... |
package com.wrapp.localization;
import java.io.*;
public class LocalizedStrings2Android {
private static class LocalizedStringsConverter {
public void convertLocalizationFiles(String localizedStringsRoot, String androidProjectRoot) {
File androidProjectResPath = new File(new File(androidProjectRoot), "res")... |
package it.backbox.security;
import it.backbox.bean.Chunk;
import it.backbox.exception.BackBoxException;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.security.MessageDigest;
import java.security.NoSuchAlgorit... |
package org.bimserver.servlets;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.Reader;
import java.nio.ByteBuffer;
import java.util.GregorianCalendar;
import org.bimserver.BimServer;
import org.bimserver.endpoints.EndPoint;
import org.bimserver.longac... |
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.event.*;
public class MainPanel extends JPanel {
private final JSpinner spinner = new JSpin... |
package com.andela.webservice;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.method.ScrollingMovementMethod;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
private TextView... |
package com.bedrock.padder.model.sound;
import android.app.Activity;
import android.content.res.Resources;
import android.os.Handler;
import android.os.Looper;
import android.util.Log;
import android.view.View;
import com.bedrock.padder.helper.OnSwipeTouchListener;
import static com.bedrock.padder.activity.MainActivity... |
package com.example.cesarsk.say_it;
import android.app.Activity;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.media.MediaPlayer;
import android.media.Med... |
package com.erudika.para.utils;
import com.erudika.para.InitializeListener;
import com.erudika.para.Para;
import com.erudika.para.core.App;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ScheduledFuture;
import java.util.concurrent.TimeUnit;
import org.apache.commons.lang3.StringUtils;
i... |
package dbcache;
import dbcache.anno.ThreadSafe;
import dbcache.cache.CacheUnit;
import dbcache.cache.ValueWrapper;
import dbcache.conf.CacheConfig;
import dbcache.conf.DbConfigFactory;
import dbcache.conf.Inject;
import dbcache.dbaccess.DbAccessService;
import dbcache.index.DbIndexService;
import dbcache.index.IndexVa... |
package com.t28.rxweather.model;
import android.location.Criteria;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.Bundle;
import android.os.Looper;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.j... |
package net.fortuna.ical4j.model;
import java.io.Serializable;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
/**
* Defines a list of iCalendar parameters. A parameter list may be specified as
* unmodifiable at instantiat... |
package ru.nsu.ccfit.bogush.view;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
public class ConnectView extends JFrame {
private static final Logger logger = LogManager.getLogger();
private static ... |
package com.trickbz.pingerful;
import android.app.AlarmManager;
import android.app.AlertDialog;
import android.app.FragmentManager;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Intent;
import android.content.SharedPreferences;
import a... |
package com.mongodb.rhino;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.bson.BSONObject;
import org.bson.types.ObjectId;
import org.bson.types.Symbol;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.NativeArray;
import org.mozilla.javascript.NativeJavaObject;... |
package com.turlir.abakgists.api;
import com.turlir.abakgists.api.data.GistJson;
import com.turlir.abakgists.api.data.GistOwnerJson;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Locale;
import java.util.UUID;
import okhttp3.OkHttpClient;
i... |
package net.ilexiconn.hipster;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.graphics.*;
import android.os.AsyncTask;
import android.os.Build;
import android.os.Bundle;
import android.support.design.widget.NavigationView;... |
package net.ilexiconn.hipster;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.*;
import android.os.AsyncTask;
import android.os.Build;
import android.os.Bundle;
import and... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package moppydesk.ui;
import java.io.File;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JFileChooser;
import javax.swing.JOptionPane;
import javax.swing.JSlider;
import moppydesk.*;... |
package net.squanchy.tweets;
import android.content.Context;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.widget.RecyclerView;
import android.util.AttributeSet;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.twitter.sdk.android.core.Callback;
import com.... |
/*
* $Log: LdapSender.java,v $
* Revision 1.22 2007-07-16 09:40:33 europe\L190409
* added deepSearch
*
* Revision 1.21 2007/07/10 07:20:56 Gerrit van Brakel <gerrit.van.brakel@ibissource.org>
* improved javadoc
*
* Revision 1.20 2007/05/31 06:59:58 Gerrit van Brakel <gerrit.van.brakel@ibissource.org>
* f... |
package client;
import java.awt.*;
import java.awt.event.*;
import java.awt.geom.*;
import javax.swing.*;
import java.util.Vector;
import client.audio.*;
import client.gui.*;
import common.*;
/**
* This class manages displaying the current play area
* @author dvanhumb
*/
public class ClientViewArea extends JComponen... |
package info.justaway;
import android.app.ActionBar;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.ContentValues;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.pm.Pa... |
package org.commcare.activities;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.content.res.Configuration;
import android.database.DataSetObserver;
import android.os.Build;
import and... |
package org.commcare.dalvik.activities;
import java.math.BigInteger;
import java.security.MessageDigest;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import org.commcare.android.database.SqlStorage;
import org.commcare.android.database.app.models.UserKeyRecord;
import org.commcare.android... |
package de.lmu.ifi.dbs.elki.utilities;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
/**
* <p>
* Utils for handling class instantiation especially with respect to Java
* generics.
* </p>
*
* <p>
* Due to the way generics are implemented - via erasure - type safety cannot be
... |
package de.ptb.epics.eve.editor.views.scanview;
import java.io.File;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.apache.log4j.Logger;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widget... |
package org.pentaho.di.ui.core.gui;
import java.util.Collection;
import java.util.Hashtable;
import java.util.Map;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.dialogs.MessageDialogWithToggle;
import org.eclipse.swt.SWT;
import org.eclipse.swt.dnd.Clipboard;
import org.eclipse.swt.dnd.TextTr... |
package algorithms.graphs;
import algorithms.util.PairInt;
import gnu.trove.map.TIntObjectMap;
import gnu.trove.map.TObjectFloatMap;
import gnu.trove.map.hash.TIntObjectHashMap;
import gnu.trove.map.hash.TObjectFloatHashMap;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
impor... |
package org.pentaho.di.ui.spoon.trans;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Timer;
import java.util.TimerTask;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.dialogs.MessageDialogWithToggle;
im... |
package authenticator.network;
import java.io.BufferedReader;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.InetAddress;
import java.net.InterfaceAddress;
import java.net.MalformedURLEx... |
package blue.lapis.common.economy;
import blue.lapis.common.economy.account.AccountSystem;
import javax.annotation.Nullable;
public interface Economy {
@Nullable
AccountSystem getAccountSystem();
} |
package com.contentful.java.api;
import com.contentful.java.lib.Constants;
import com.contentful.java.model.*;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import retrofit.ErrorHandler;
import retrofit.RequestInterceptor;
import retrofit.RestAdapter;
import retrofit.client.Client;
import retrofit.cl... |
package xal.app.mpsclient;
import java.util.concurrent.Callable;
import java.util.*;
import xal.tools.messaging.MessageCenter;
import xal.service.mpstool.MPSPortal;
import xal.tools.UpdateListener;
import xal.tools.services.*;
import xal.tools.dispatch.DispatchQueue;
import xal.service.pvlogger.RemoteLogging;
public cl... |
package com.levelup.logutils;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import jav... |
package eu.greenlightning.hypercubepdf.align;
import java.io.IOException;
import java.util.Objects;
import org.apache.pdfbox.pdmodel.common.PDRectangle;
import org.apache.pdfbox.pdmodel.edit.PDPageContentStream;
import eu.greenlightning.hypercubepdf.HCPElement;
public class HCPAligned implements HCPElement {
public... |
package com.github.chat;
import java.io.*;
import java.net.*;
import java.util.*;
class ChatClientHandler extends Thread
{
ArrayList<ChatClientHandler> clients = new ArrayList<ChatClientHandler>();
private Socket socket;
private BufferedReader in;
private BufferedWriter out;
String name;
private... |
package com.github.jkschoen.jsma;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.github.jkschoen.jsma.misc.SmugMugException;
import com.github.jkschoen.jsma.model.Album;
import com.github.jkschoen.jsma.mod... |
package com.justjournal.repository;
import com.justjournal.model.Tag;
import org.springframework.data.repository.CrudRepository;
/**
* Tag Dao
*
* @author Lucas Holt
*/
public interface TagDao extends CrudRepository<Tag, Integer> {
public Tag findByName(String name);
} |
package com.kurento.kmf.media;
import java.io.IOException;
import java.io.Serializable;
import org.apache.thrift.TException;
import org.apache.thrift.async.AsyncMethodCallback;
import org.apache.thrift.transport.TTransportException;
import com.kurento.kmf.media.internal.MediaServerServiceManager;
import com.kurento.kms... |
package com.lagodiuk.agent.evolution;
import java.awt.BorderLayout;
import java.awt.Graphics2D;
import java.awt.GridLayout;
import java.awt.RenderingHints;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.awt.event.... |
package com.lousylynx.asciidots.cli;
import lombok.Data;
import org.apache.commons.cli.*;
@Data
public class ADCLI {
private boolean exit = false;
private String[] args;
private String code;
private int ticks;
private boolean silent;
private boolean debug;
private int debugLines;
private... |
/**
* CCM Modding, Nucleum Omnium
*/
package ccm.nucleum.omnium.utils.helper;
import static ccm.nucleum.omnium.utils.helper.MathHelper.random;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.inventory.IInventory;
import ... |
package com.pablissimo.sonar;
import com.pablissimo.sonar.model.TsLintIssue;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.sonar.api.batch.fs.FileSystem;
import org.sonar.api.batch.rule.ActiveRule;
import org.sonar.api.batch.sensor.Sensor;
import org.sonar.api.batch.sensor.SensorContext;
import or... |
package com.rhinoforms;
import java.io.IOException;
import javax.servlet.ServletContext;
import org.htmlcleaner.CleanerProperties;
import org.htmlcleaner.DefaultTagProvider;
import org.htmlcleaner.HtmlCleaner;
import org.htmlcleaner.SimpleHtmlSerializer;
import org.htmlcleaner.TagInfo;
import org.mozilla.javascript.Con... |
package com.servioticy.api.internal;
import java.io.IOException;
import java.util.Date;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.HttpHeaders;
impor... |
package com.sksamuel.jqm4gwt.list;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import com.google.gwt.dom.client.Document;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.event.dom.client.HasClickHandlers;
i... |
package com.storage.mywarehouse;
import com.storage.mywarehouse.Entity.Customer;
import com.storage.mywarehouse.Entity.Product;
import com.storage.mywarehouse.Entity.Warehouse;
import com.storage.mywarehouse.Hibernate.NewHibernateUtil;
import com.storage.mywarehouse.View.WarehouseProduct;
import java.awt.Component;
imp... |
package com.suse.studio.client;
import java.io.IOException;
import java.util.List;
import com.suse.studio.client.model.Appliance;
import com.suse.studio.client.model.Appliances;
import com.suse.studio.client.model.Configuration;
import com.suse.studio.client.model.Gallery;
import com.suse.studio.client.model.ScheduleBu... |
package com.yahoo.memory;
import static com.yahoo.memory.UnsafeUtil.ARRAY_BYTE_BASE_OFFSET;
import static com.yahoo.memory.UnsafeUtil.ARRAY_BYTE_INDEX_SCALE;
import java.lang.reflect.Field;
import java.nio.ByteBuffer;
/**
* Acquires access to a ByteBuffer.
*
* @author Lee Rhodes
* @author Praveenkumar Venkatesan
*... |
package courgette.runtime;
import com.fasterxml.jackson.databind.ObjectMapper;
import courgette.integration.extentreports.ExtentReportsBuilder;
import courgette.integration.extentreports.ExtentReportsProperties;
import courgette.integration.reportportal.ReportPortalProperties;
import courgette.integration.reportportal.... |
package cubicchunks.world;
import cubicchunks.util.Bits;
import cubicchunks.util.Coords;
import cubicchunks.world.cube.Cube;
import mcp.MethodsReturnNonnullByDefault;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.i... |
/**
* @author sguruswami
*
* $Id: ViewModelAction.java,v 1.56 2008-02-05 17:10:09 pandyas Exp $
*
* $Log: not supported by cvs2svn $
* Revision 1.55 2008/02/05 17:09:34 pandyas
* Removed debug statement for build to dev
*
* Revision 1.54 2008/01/31 22:27:52 pandyas
* remove log printouts now that b... |
package cgeo.geocaching;
import cgeo.geocaching.activity.AbstractActivity;
import cgeo.geocaching.enumerations.LoadFlags;
import cgeo.geocaching.utils.Log;
import com.googlecode.androidannotations.annotations.EActivity;
import com.googlecode.androidannotations.annotations.Extra;
import com.googlecode.androidannotations... |
package gov.nih.nci.ncicb.cadsr.loader.parser;
import com.infomata.data.CSVFormat;
import com.infomata.data.DataFile;
import com.infomata.data.DataRow;
import gov.nih.nci.ncicb.cadsr.domain.*;
import gov.nih.nci.ncicb.cadsr.domain.Property;
import gov.nih.nci.ncicb.cadsr.loader.ElementsLists;
import gov.nih.nci.ncicb.c... |
package cgeo.geocaching;
import cgeo.geocaching.concurrent.BlockingThreadPool;
import cgeo.geocaching.files.LocalStorage;
import cgeo.geocaching.geopoint.GeopointFormatter.Format;
import cgeo.geocaching.network.Network;
import cgeo.geocaching.network.Parameters;
import cgeo.geocaching.utils.Log;
import org.apache.commo... |
package cgeo.geocaching;
import cgeo.geocaching.filter.cgFilter;
import cgeo.geocaching.geopoint.Geopoint;
import cgeo.geocaching.sorting.CacheComparator;
import cgeo.geocaching.sorting.DistanceComparator;
import cgeo.geocaching.sorting.VisitComparator;
import org.apache.commons.collections.CollectionUtils;
import org.... |
package edu.jhu.gm.train;
import static edu.jhu.data.simple.SimpleAnnoSentenceCollection.getSingleton;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import org.junit.Test;
import edu.jhu.data.conll.CoNL... |
package io.github.Aaron1011.InventoryBomb;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import net.minecraft.server.v1_7_R3.EntityTypes;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.ent... |
package edu.ufl.cise.cnt5106c;
import edu.ufl.cise.cnt5106c.conf.CommonProperties;
import edu.ufl.cise.cnt5106c.conf.PeerInfo;
import edu.ufl.cise.cnt5106c.conf.RemotePeerInfo;
import edu.ufl.cise.cnt5106c.log.LogHelper;
import java.io.FileReader;
import java.io.Reader;
import java.util.Collection;
import java.util.Lin... |
package org.xins.common.http;
import org.xins.common.service.CallConfig;
/**
* Call configuration for the HTTP service caller.
*
* @version $Revision$ $Date$
* @author Ernst de Haan (<a href="mailto:ernst.dehaan@nl.wanadoo.com">ernst.dehaan@nl.wanadoo.com</a>)
*
* @since XINS 1.1.0
*/
public final class HTTPCall... |
package eu.newsreader.conversion;
import com.hp.hpl.jena.query.Dataset;
import com.hp.hpl.jena.rdf.model.Model;
import com.hp.hpl.jena.rdf.model.Statement;
import com.hp.hpl.jena.rdf.model.StmtIterator;
import com.hp.hpl.jena.tdb.TDBFactory;
import eu.newsreader.util.Util;
import org.apache.jena.riot.RDFDataMgr;
import... |
package afc.ant.modular;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.IdentityHashMap;
import java.util.Iterator;
import java.util.LinkedHashSet;
import java.util.Set;
import java.util.concurrent.LinkedBlockingQueue;
public class ParallelDependencyResolver im... |
// $Id: XMLTileSetParser.java,v 1.4 2001/07/20 23:41:12 shaper Exp $
package com.threerings.miso.tile;
import com.threerings.miso.Log;
import com.samskivert.util.StringUtil;
import com.samskivert.xml.XMLUtil;
import org.xml.sax.*;
import org.xml.sax.helpers.DefaultHandler;
import java.io.*;
import java.util.ArrayList;
... |
package fr.insee.rmes.api.utils;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import org.joda.time.DateTime;
import org.joda.time.format.DateTimeFormat;
import org.joda.time.format.DateTimeFormatter;
public class DateUtils {
public static DateTime getDateTimeFromDateString(String date) {
... |
package org.apache.commons.digester;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.w3c.dom.Attr;
import org.w3c.dom.DOMException;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Nod... |
package fr.ritaly.graphml4j;
import java.io.IOException;
import java.io.Writer;
import java.util.Set;
import java.util.Stack;
import java.util.TreeSet;
import java.util.concurrent.atomic.AtomicInteger;
import javanet.staxutils.IndentingXMLStreamWriter;
import javax.xml.stream.FactoryConfigurationError;
import javax.xml... |
package org.apache.commons.lang.exception;
import java.io.PrintStream;
import java.io.PrintWriter;
/**
* An interface to be implemented by {@link java.lang.Throwable}
* extensions which would like to be able to nest root exceptions
* inside themselves.
*
* @author <a href="mailto:dlr@collab.net">Daniel Rall</a>
*... |
package freemarker.ext.beans;
import java.beans.BeanInfo;
import java.beans.IndexedPropertyDescriptor;
import java.beans.IntrospectionException;
import java.beans.Introspector;
import java.beans.MethodDescriptor;
import java.beans.PropertyDescriptor;
import java.io.InputStream;
import java.lang.reflect.AccessibleObject... |
package org.apache.velocity.tools.generic;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Calendar;
import java.util.Locale;
import java.util.TimeZone;
public class DateTool
{
/**
* The default format to be used when none is specified.
*
* @sin... |
package gateway.controller;
import gateway.controller.util.GatewayUtil;
import java.security.Principal;
import messaging.job.JobMessageFactory;
import model.data.FileRepresentation;
import model.job.type.IngestJob;
import model.job.type.SearchQueryJob;
import model.request.PiazzaJobRequest;
import model.response.ErrorR... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.