answer stringlengths 17 10.2M |
|---|
package org.jboss.resteasy.test.providers.jaxb.regression;
import org.jboss.resteasy.client.ClientRequest;
import org.jboss.resteasy.client.ClientResponse;
import org.jboss.resteasy.plugins.server.tjws.TJWSEmbeddedJaxrsServer;
import org.jboss.resteasy.test.BaseResourceTest;
import org.junit.After;
import static org.jb... |
package org.jfree.data.general.junit;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.jfree.data.KeyToGroupMap;
import org.jfree.data.Range;
import org.jfree.data.category.CategoryDataset;
import org.jfree.data.category.DefaultCategoryDataset;
import org.jfree.... |
package org.jtalks.jcommune.web.controller;
import org.codehaus.jackson.JsonFactory;
import org.codehaus.jackson.JsonGenerator;
import org.codehaus.jackson.map.ObjectMapper;
import org.jtalks.jcommune.model.entity.User;
import org.jtalks.jcommune.service.AvatarService;
import org.jtalks.jcommune.service.SecurityService... |
package com.atlassian.jira.plugins.dvcs.listener;
import com.atlassian.crowd.embedded.api.CrowdService;
import com.atlassian.crowd.embedded.api.UserWithAttributes;
import com.atlassian.jira.mock.component.MockComponentWorker;
import com.atlassian.jira.plugins.dvcs.util.MockitoTestNgListener;
import com.atlassian.jira.u... |
package org.stefaniuk.json.service.example3.datasource;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.datasource.SingleConnectionDataSource;
public class SQLiteFileDataSource extends SingleConnectionDataSource {
@Autowired
p... |
package ro.pub.cs.systems.pdsd.lab07.landmarklister.views;
import java.io.IOException;
import java.util.ArrayList;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.HttpClient;
import org.apache.http.client.ResponseHandler;
import org.apache.http.client.methods.HttpGet;
import org.apa... |
package com.tightdb;
import static org.testng.AssertJUnit.*;
import com.tightdb.test.TestHelper;
import org.testng.annotations.Test;
public class JNIQueryTest {
Table table;
void init() {
table = new Table();
TableSpec tableSpec = new TableSpec();
tableSpec.addColumn(ColumnType.LONG, "nu... |
package com.onelogin.saml2.test;
import static java.util.Collections.singletonMap;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.not;
import static org.hamcrest.CoreMatchers.startsWith;
import static org.hamcrest.Matchers.cont... |
package org.nd4j.linalg.jcublas.blas;
import jcuda.Pointer;
import jcuda.jcublas.JCublas;
import jcuda.jcublas.JCublas2;
import org.nd4j.jita.allocator.Allocator;
import org.nd4j.jita.allocator.impl.AtomicAllocator;
import org.nd4j.linalg.api.blas.impl.BaseLevel1;
import org.nd4j.linalg.api.buffer.DataBuffer;
import or... |
/* This file is automatically generated. Do not edit. */
package net.runelite.api;
public final class ItemID
{
public static final int DWARF_REMAINS = 0;
public static final int TOOLKIT = 1;
public static final int CANNONBALL = 2;
public static final int NULODIONS_NOTES = 3;
public static final int ... |
package nachos.threads;
import nachos.machine.*;
import java.util.LinkedList;
/**
* An implementation of condition variables that disables interrupt()s for
* synchronization.
*
* <p>
* You must implement this.
*
* @see nachos.threads.Condition
*/
public class Condition2 {
/**
* Allocate a new condition... |
package org.bimserver.database;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
import java.util.Random;
i... |
package com.cibuddy.hid.impl;
import com.cibuddy.hid.HIDServiceConstants;
import com.codeminders.hidapi.HIDDeviceInfo;
import com.codeminders.hidapi.HIDManager;
import java.io.IOException;
import java.util.Dictionary;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.Iterator;
import org.osgi.frame... |
package polytheque.view;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JPasswordField;
import javax.swing.JTextField;
import javax.swing.SwingConstants;
import ... |
package cl.aleph.gmailclient;
import android.text.TextUtils;
import android.util.Base64;
import android.util.Log;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedLis... |
package com.molina.cvmfs.test;
import com.molina.cvmfs.catalog.Catalog;
import com.molina.cvmfs.directoryentry.DirectoryEntryWrapper;
import com.molina.cvmfs.repository.Repository;
import com.molina.cvmfs.repository.exception.CacheDirectoryNotFound;
import com.molina.cvmfs.repository.exception.FailedToLoadSourceExcepti... |
package io.branch.referral;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.SharedPreferences;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.Collections;
import java.util.ConcurrentModificationException;
import java.... |
package com.expidev.gcmapp;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.FragmentManager;
import android.support.v4.content.LocalBroadcastManager;
import android.support.v7.app.ActionBarActivity;
import and... |
package com.stanfy.app.service;
import java.lang.ref.WeakReference;
import java.util.concurrent.atomic.AtomicBoolean;
import android.app.Application;
import android.app.Service;
import android.content.Intent;
import android.os.Binder;
import android.os.Bundle;
import android.os.Handler;
import android.os.IBinder;
impor... |
// This file is part of the OpenNMS(R) Application.
// OpenNMS(R) is a derivative work, containing both original code, included code and modified
// and included code are below.
// OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
// This program is free software; you can redistribute it and/or modify
// ... |
// COPIED from spring-ide org.springframework.ide.eclipse.core.SpringCoreUtils
package org.springsource.ide.eclipse.commons.core;
import java.io.File;
import java.io.IOException;
import java.net.URI;
import java.util.LinkedHashSet;
import java.util.Set;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers... |
package com.malmstein.hnews.model;
import android.database.Cursor;
import android.text.TextUtils;
import com.malmstein.hnews.data.HNewsContract;
import java.io.Serializable;
public class Story implements Serializable {
public static String COMMENT_URL_BASE = "https://news.ycombinator.com/item?id=";
public stati... |
package org.strategoxt.imp.testing.strategies;
import static org.spoofax.interpreter.core.Tools.asJavaString;
import static org.spoofax.interpreter.core.Tools.isTermAppl;
import static org.spoofax.interpreter.core.Tools.termAt;
import org.eclipse.core.resources.IProject;
import org.spoofax.interpreter.core.InterpreterE... |
package org.apache.log4j.plugins;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.apache.log4j.FileAppender;
import org.apache.log4j.Hierarchy;
import org.apache.log4j.Level;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import org.apache.... |
package de.danoeh.antennapod;
import android.app.Application;
import android.os.Build;
import android.os.StrictMode;
import com.joanzapata.iconify.Iconify;
import com.joanzapata.iconify.fonts.FontAwesomeModule;
import de.danoeh.antennapod.core.feed.EventDistributor;
import de.danoeh.antennapod.core.preferences.Playback... |
package org.devgateway.ocvn.persistence.repository;
import org.devgateway.ocvn.persistence.dao.VietnamImportSourceFiles;
import org.devgateway.toolkit.persistence.repository.category.TextSearchableRepository;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.spring... |
package fr.insapp.insapp;
import android.app.SearchManager;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.Toolbar;
import andr... |
package com.redhat.ceylon.eclipse.code.correct;
import static com.redhat.ceylon.compiler.typechecker.tree.Util.formatPath;
import static com.redhat.ceylon.eclipse.ui.CeylonResources.IMPORT;
import static com.redhat.ceylon.eclipse.util.ModuleQueries.getModuleQueryType;
import java.util.Collection;
import java.util.List;... |
package org.wikipedia.page;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.res.Configuration;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Bund... |
package de.tudresden.slr.model.bibtex.ui.presentation;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
imp... |
package hex.grep;
import org.junit.*;
import water.DKV;
import water.Key;
import water.TestUtil;
import water.fvec.Frame;
import water.fvec.NFSFileVec;
import water.fvec.Vec;
import java.io.File;
public class GrepTest extends TestUtil {
@BeforeClass() public static void setup() { stall_till_cloudsize(1); }
@Test pu... |
package de.plushnikov.intellij.plugin.processor.modifier;
import com.intellij.psi.PsiClass;
import com.intellij.psi.PsiField;
import com.intellij.psi.PsiFile;
import com.intellij.psi.PsiModifier;
import com.intellij.psi.PsiModifierList;
import com.intellij.psi.augment.PsiAugmentProvider;
import com.intellij.psi.util.Ps... |
package org.yakindu.sct.ui.simulation.launch;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.debug.core.DebugPlugin;
import org.eclipse.debug.core.ILaunchConfiguration;
im... |
package ec327.caffiene;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.util.Log;
public class StoredData {
public static String caffineListTableName;
public static String caffineConsumedTableName;
public static SQLiteDatabase myDB;
//creates the tables that... |
package twitter4j;
import java.io.File;
import java.util.Date;
import java.util.List;
import static twitter4j.DAOTest.*;
/**
* @author Yusuke Yamamoto - yusuke at mac.com
*/
public class TwitterTestUnit extends TwitterTestBase {
public TwitterTestUnit(String name) {
super(name);
}
protected void s... |
package com.segment.analytics.android.integrations.batch;
import android.app.Activity;
import android.content.Context;
import android.text.TextUtils;
import android.util.Log;
import com.batch.android.Batch;
import com.batch.android.Config;
import com.batch.android.json.JSONException;
import com.batch.android.json.JSONO... |
package com.rgi.common.util.jdbc;
import com.mockrunner.mock.jdbc.MockConnection;
import com.rgi.common.Pair;
import com.sun.xml.internal.bind.api.impl.NameConverter;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.sqlite.SQLiteConnection;
import sun.reflect.annotation.ExceptionProxy;... |
package at.cosea.couchpipe;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.Timer... |
package org.jfree.chart.plot.dial;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Paint;
import java.awt.geom.Arc2D;
import java.awt.geom.Rectangle2D;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializ... |
package org.atmosphere.tests;
import com.ning.http.client.AsyncHttpClient;
import org.atmosphere.cpr.AtmosphereHandler;
import org.atmosphere.cpr.AtmosphereResource;
import org.atmosphere.cpr.AtmosphereResourceEvent;
import org.atmosphere.cpr.AtmosphereResourceEventListenerAdapter;
import org.atmosphere.nettosphere.Con... |
package cis234a.nsort.view;
import java.awt.Image;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import cis234a.nsort.model.*;
import cis234a.nsort.controller.*;
/**
* The UserTestFrame Class is the GUI of the user test for the Ranki... |
package com.thoughtworks.proxy;
import org.jmock.MockObjectTestCase;
/**
* @author Dan North
* @author Aslak Hellesøy
* @version $Revision: 1.3 $
*/
public abstract class ProxyTestCase extends MockObjectTestCase {
/**
* A publicly settable <tt>ProxyFactory</tt>.
*
* <p>The value of this fa... |
package com.foc.vaadin;
import java.util.Iterator;
import com.fab.gui.xmlView.IXMLViewDictionary;
import com.foc.Application;
import com.foc.Globals;
import com.foc.IFocEnvironment;
import com.foc.OptionDialog;
import com.foc.access.FocLogger;
import com.foc.admin.UserSession;
import com.foc.dataDictionary.FocDataDicti... |
// PHP.java
package ed.lang.php;
import java.lang.reflect.*;
import javax.script.*;
import ed.lang.*;
import ed.js.engine.*;
import ed.appserver.jxp.*;
import com.caucho.quercus.*;
import com.caucho.quercus.env.*;
import com.caucho.quercus.script.*;
public class PHP extends Language {
static final boolean DEBUG = B... |
// MemUtil.java
package ed.util;
/** @expose */
public class MemUtil {
/** Value is 1 */
public static final long BIT = 1;
/** Value is 1024 */
public static final long KBIT = 1024 * BIT;
/** Value is 1024^2 */
public static final long MBIT = 1024 * KBIT;
/** Value is 1024^3 */
public st... |
/**
*
* @author adamhayes
*/
public class XMLMessage {
private String phoneNum;
private String candidateID;
public XMLMessage(){
phoneNum = null;
candidateID = null;
}
public XMLMessage(String number, String id){
phoneNum = number;
candidateID = id;
}
publi... |
package asteroid;
/**
* Entry point to look up functions and utilities to work with nodes, expressions, statements,
* node utils...etc
*
* @since 0.1.0
*/
public final class A {
/**
* Entry point to get node builders.
*/
public static final Nodes NODES = new Nodes();
/**
* Entry point to... |
package jmail;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Properties;
import javax.annotation.PostConstruct;
import javax.annotation.Resource;
import javax.faces.application.FacesMessage;
import javax.faces.bean.ManagedBean;
import javax... |
package VASSAL.counters;
import VASSAL.build.GameModule;
import VASSAL.build.module.documentation.HelpFile;
import VASSAL.command.ChangeTracker;
import VASSAL.command.Command;
import VASSAL.configure.BooleanConfigurer;
import VASSAL.configure.ConfigurerLayout;
import VASSAL.configure.DoubleConfigurer;
import VASSAL.con... |
package avrora.sim.util;
import avrora.sim.Simulator;
import avrora.sim.State;
import avrora.core.Instr;
/**
* The <code>SequenceProbe</code> is a probe composer that allows a probe to
* be fired for every instruction executed between a specified entrypoint
* and a specified exit point. For example, if the entrypoin... |
package VASSAL.build.widget;
import java.awt.Component;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeList... |
package br.com.domino.view;
import java.awt.GridLayout;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import b... |
package VASSAL.chat;
import java.awt.Component;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import java.io.IOException;
import java.net.InetAddress;
impor... |
// S h e e t //
// This software is released under the terms of the GNU General Public //
// to report bugs & suggestions. //
package omr.sheet;
import omr.Main;
import omr.ProcessingException;
import omr.Step;
import ... |
package VASSAL.counters;
import javax.swing.KeyStroke;
import VASSAL.build.GameModule;
import VASSAL.build.module.Chatter;
import VASSAL.build.module.Map;
import VASSAL.build.module.properties.PropertySource;
import VASSAL.command.Command;
import VASSAL.command.NullCommand;
import VASSAL.tools.FormattedString;
import V... |
package imj3.draft.machinelearning;
import static java.lang.Math.min;
import static java.lang.Math.pow;
import static java.util.stream.Collectors.toList;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Random;
import... |
package imj3.draft.machinelearning;
import static java.lang.Math.min;
import static java.lang.Math.pow;
import static java.util.stream.Collectors.toList;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Random;
import... |
package formfiller;
import java.util.EnumMap;
import models.Individu;
import models.Individu.Civilite;
import models.Individu.IndividuRole;
import models.Individu.Nationalite;
import models.Individu.StatutMarital;
import models.Logement.LogementType;
import models.Situation;
import org.apache.commons.lang3.ArrayUtils;
... |
package com.eddysystems.eddy.engine;
import com.eddysystems.eddy.EddyPlugin;
import com.intellij.ide.util.PropertiesComponent;
import com.intellij.lang.ASTNode;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.application.Result;
import com.intellij.openapi.command.WriteCommandAct... |
/*
* $Log: IbisException.java,v $
* Revision 1.9 2004-07-07 14:30:15 L190409
* toString(): classes, messages and root cause
*
* Revision 1.8 2004/07/07 13:55:06 Gerrit van Brakel <gerrit.van.brakel@ibissource.org>
* improved toString() method, including fields of causes
*
* Revision 1.7 2004/07/06 06:57:57... |
/*
* $Log: XmlValidator.java,v $
* Revision 1.5 2005-08-30 16:04:28 europe\L190409
* rework based on code of Jaco de Groot
*
*/
package nl.nn.adapterframework.pipes;
import nl.nn.adapterframework.configuration.ConfigurationException;
import nl.nn.adapterframework.core.PipeLineSession;
import nl.nn.adapterframewo... |
package org.unitime.timetable.filter;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletReque... |
package nl.sense_os.service;
import android.content.ContentResolver;
import android.net.Uri;
import android.provider.BaseColumns;
public class SensorData {
/**
* Column names for Cursors that represent a set of buffered data points for a certain sensor.
*/
public static class BufferedData implements B... |
import java.awt.geom.Point2D;
import java.nio.charset.*;
import java.nio.file.*;
import java.util.*;
/**@author Thomas Lisankie*/
public class RhymeDictionaryAssembler {
public final static boolean DEBUGGING = true, SAMPLESIZE = true;
public static void main(String[] args){
ArrayList<Phoneme> phonemes =... |
package org.neda.entity;
import javax.persistence.*;
import java.util.Date;
/**
* Make Earthquake table with the related columns
*/
@Entity
@Table(name = "earthquake")
public class Earthquake {
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE)
@Column(nullable = false, name = "e_id")
private Lon... |
package com.felhr.usbserial;
import java.nio.BufferOverflowException;
import java.nio.ByteBuffer;
import java.util.Arrays;
public class SerialBuffer
{
public static final int DEFAULT_READ_BUFFER_SIZE = 16 * 1024;
public static final int DEFAULT_WRITE_BUFFER_SIZE = 16 * 1024;
private ByteBuffer readBuffer;
... |
package nl.b3p.viewer.image;
/**
*
* @author meine
*/
public class CombineTMSUrl extends CombineTileImageUrl {
public CombineTMSUrl(CombineTileImageUrl ctiu) {
super(ctiu);
}
public CombineTMSUrl() {
super();
}
@Override
protected String createUrl(ImageBbox imageBbox, Bbox til... |
package cc.example.awt;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.Stroke;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.awt.font.FontRenderContext;
import java.awt.geom.AffineTr... |
package cellsociety.grid;
import cellsociety.screen.AbstractScreen;
import cellsociety.cell.AbstractCell;
import cellsociety.managers.ConfigManager;
import javafx.scene.Group;
import javafx.scene.Scene;
public class AbstractGrid extends AbstractScreen {
protected AbstractCell[][] map;
protected Scene mapScene;
... |
package com.namelessdev.mpdroid;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import org.a0z.mpd.MPDPlaylist;
import org.a0z.mpd.MPDStatus;
import org.a0z.mpd.Music;
import org.a0z.mpd.event.StatusChangeListener;
import org.a0z.mpd.exception.MPDServerException;
import android.content.Int... |
package org.basex.server;
import static org.basex.core.Text.*;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.net.Socket;
import org.basex.BaseXServer;
import org.basex.core.CommandParser;
import org.basex.core.Context;
import org.basex.core.Main;
import org.bas... |
package org.broad.igv.ga4gh;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import com.google.gson.JsonPrimitive;
import org.apache.log4j.Logger;
import org.broad.igv.PreferenceManager;
import org.broad.igv.batch.CommandListener;
import org.broad.igv.ui.util.MessageUtils;
import org.broad.igv.uti... |
package org.codemonkey.vesijama;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.util.Properties;
import javax.activation.DataHandler;
import javax.activation.DataSource;
import javax.mail.Address;
import javax.mail.Authenticator;
import javax.mail.BodyPart;
import javax.mail.Message;
im... |
package org.exist.xquery;
import org.exist.debuggee.DebuggeeJoint;
import org.exist.dom.DocumentSet;
import org.exist.dom.QName;
import org.exist.memtree.MemTreeBuilder;
import org.exist.storage.UpdateListener;
import org.exist.util.FileUtils;
import org.exist.xmldb.XmldbURI;
import org.exist.xquery.functions.response.... |
package org.jitsi.hammer;
import org.ice4j.ice.*;
import org.jitsi.service.neomedia.*;
import org.jivesoftware.smack.*;
import org.jivesoftware.smackx.muc.*;
import org.jivesoftware.smackx.packet.*;
import org.jivesoftware.smack.packet.*;
import org.jivesoftware.smack.filter.*;
import org.jivesoftware.smack.provider.*;... |
package org.jruby.debug;
import java.io.File;
import org.jruby.MetaClass;
import org.jruby.Ruby;
import org.jruby.RubyArray;
import org.jruby.RubyBinding;
import org.jruby.RubyBoolean;
import org.jruby.RubyFile;
import org.jruby.RubyFixnum;
import org.jruby.RubyFloat;
import org.jruby.RubyKernel;
import org.jruby.RubyM... |
/*
* $Id: TarExploder.java,v 1.8 2008-02-10 03:10:07 dshr Exp $
*/
package org.lockss.crawler;
import java.util.*;
import java.io.*;
import org.lockss.daemon.*;
import org.lockss.util.*;
import org.lockss.util.urlconn.*;
import org.lockss.plugin.*;
import org.lockss.plugin.base.*;
import org.lockss.plugin.exploded.*;... |
package org.opencms.mail;
import org.opencms.main.CmsLog;
import org.opencms.main.OpenCms;
import javax.mail.MessagingException;
import org.apache.commons.logging.Log;
import org.apache.commons.mail.SimpleEmail;
/**
* This class is used to send simple text internet email messages without
* attachments.<p>
*
* It us... |
/**
* Kettle was (re-)started in March 2003
*/
package org.pentaho.di.kitchen;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import org.pentaho.di.core.Const;
import org.pentaho.di.core.Result;
import org.pentaho.di.core.datab... |
package org.royaldev.rcommands;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.royaldev.royalcommands.RUtils;
import org.royaldev.royalcommands.RoyalCommands;
public class Cmd... |
package org.sugarj.common;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.URI;
import java.net.URL;
import java.util.List;... |
package city.roles;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.Semaphore;
import restaurant.test.mock.LoggedEvent;
import market.gui.MarketCustomerGui;
import market.interfaces.MarketCustomer;
import city.MarketAgent;
import city.Person... |
package org.wso2.carbon.uuf.core;
import com.google.common.collect.Multimap;
import java.util.Map;
public class Fragment {
private final String name;
private final String resourceUriPrefix;
private final Renderable renderer;
@Deprecated
public Fragment(String name, Renderable renderer) {
//T... |
package VASSAL.build.module;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import java.awt.event.InputEvent;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.IOException;
import java.io.OutputStream;
import java.net.URL;
import java.nio.charset.StandardCharsets;
import java.... |
package com.quakearts.appbase;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.Properties;
import javax.enterprise.inject.... |
package org.jboss.as.web;
import java.io.IOException;
import java.lang.reflect.Method;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.util.HashSet;
import java.util.concurrent.Executor;
import org.apache.catalina.connector.Connector;
import org.apache.coyote.ajp.AjpAprProtocol;
import org.a... |
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// Java from RobotBuilder. Do not put any code or make any change in
// the blocks indicating autogenerated code o... |
package me.pjq.pushup;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
import android.os.Bundle;
import android.os.Vibrator;
import android.speech.tts.TextToSpeech;
import android.view.KeyEvent;
import android.view.... |
package org.pcap4j.packet;
import static org.pcap4j.util.ByteArrays.*;
import java.io.Serializable;
import java.net.Inet6Address;
import java.util.ArrayList;
import java.util.List;
import org.pcap4j.packet.factory.PacketFactories;
import org.pcap4j.packet.factory.PacketFactory;
import org.pcap4j.packet.namednumber.IpNu... |
package org.spongycastle.openpgp;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import org.spongycastle.asn1.x9.ECNamedCurveTable;
import org... |
package org.openntf.domino;
public interface DateRange extends Base<lotus.domino.DateRange>, lotus.domino.DateRange {
@Override
public DateTime getEndDateTime();
public Session getParent();
@Override
public DateTime getStartDateTime();
@Override
public String getText();
@Override
pub... |
package com.intellij.ide.todo;
import com.intellij.find.FindModel;
import com.intellij.find.impl.FindInProjectUtil;
import com.intellij.icons.AllIcons;
import com.intellij.ide.*;
import com.intellij.ide.actions.NextOccurenceToolbarAction;
import com.intellij.ide.actions.PreviousOccurenceToolbarAction;
import com.intell... |
package com.intellij.ide;
import com.intellij.openapi.actionSystem.Shortcut;
import com.intellij.openapi.keymap.KeymapUtil;
import com.intellij.openapi.ui.popup.ComponentPopupBuilder;
import com.intellij.openapi.ui.popup.JBPopup;
import com.intellij.openapi.ui.popup.JBPopupFactory;
import com.intellij.openapi.util.NlsC... |
package org.xdi.ldap.model;
import java.util.HashMap;
import java.util.Map;
import org.gluu.site.ldap.persistence.annotation.LdapEnum;
public enum GluuBoolean implements LdapEnum {
DISABLED(false, "disabled", "Disabled"), ENABLED(true, "enabled", "Enabled"), FALSE(false, "false", "False"), TRUE(true, "true", "True"... |
package org.wangzw.plugin.cppstyle;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern... |
// FileStitcher.java
package loci.formats;
import java.awt.image.BufferedImage;
import java.io.*;
import java.lang.reflect.InvocationTargetException;
import java.math.BigInteger;
import java.util.*;
public class FileStitcher implements IFormatReader {
// -- Fields --
/** FormatReader to use as a template for consti... |
// ND2Reader.java
package loci.formats.in;
import java.awt.image.*;
import java.io.*;
import java.util.*;
import java.util.zip.*;
import javax.imageio.spi.IIORegistry;
import javax.imageio.spi.ServiceRegistry;
import javax.imageio.stream.MemoryCacheImageInputStream;
import javax.xml.parsers.*;
import loci.formats.*;
im... |
package com.ecyrd.jspwiki;
import java.io.IOException;
import java.util.Properties;
import java.util.Collection;
import java.util.HashMap;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import java.util.ArrayList;
import org.apache.log4j.Logger;
import com.ecyrd.jspwiki.providers.WikiPageProvi... |
package mapix;
import mapix.Photo;
import net.miginfocom.swing.MigLayout;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.net.URL;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.EventQueue;
import java.awt.Graphics2D;
import java.awt.event.Act... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package encryption.algorithm;
import encryption.Configuration;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.