answer stringlengths 17 10.2M |
|---|
package edu.umd.cs.findbugs.anttask;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Task;
import org.apache.tools.ant.types.Path;
import org.apache.tools.ant.types.Reference;
import org.apache.tools.ant.taskdefs.Java;
import java.io.File;
import java.io.FileInputStream;
import java.util.ArrayLi... |
package edu.umd.cs.findbugs.anttask;
import edu.umd.cs.findbugs.ExitCodes;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Task;
import org.apache.tools.ant.types.Path;
import org.apache.tools.ant.types.Reference;
import org.apache.tools.ant.taskdefs.Java;
import java.io.File;
import java.util.A... |
package test.http.router.handler;
import com.firefly.client.http2.*;
import com.firefly.codec.http2.frame.SettingsFrame;
import com.firefly.codec.http2.model.*;
import com.firefly.codec.http2.stream.HTTP2Configuration;
import com.firefly.codec.http2.stream.HTTPConnection;
import com.firefly.codec.http2.stream.HTTPOutpu... |
package org.zkoss.ganttz.data;
import static java.util.Arrays.asList;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.LinkedH... |
package verification.timed_state_exploration.zoneProject;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import lpn.parser.ExprTree;
import lpn.parser.LhpnFile;
import lpn.parser.Transition;
import lpn.parser.... |
package ilg.gnuarmeclipse.core;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.Path;
/**
* A collection of utilities used for string processing.
*/
public class StringUtils {
/**
* Join an array of string.
*
* @param strArra... |
package info.limpet.ui.editors;
import info.limpet.ICommand;
import info.limpet.IDocument;
import info.limpet.IStoreGroup;
import info.limpet.IStoreItem;
import info.limpet.impl.DoubleListDocument;
import info.limpet.impl.LocationDocument;
import info.limpet.impl.NumberDocument;
import info.limpet.impl.StringDocument;
... |
package uk.ac.ebi.biosamples;
import java.net.URI;
import java.time.Instant;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.SortedSet;
import java.util.TreeSet;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework... |
package org.intermine.dataloader;
import java.io.File;
import java.io.FileInputStream;
import org.apache.tools.ant.Task;
import org.apache.tools.ant.BuildException;
/**
* Uses an IntegrationWriter to load data from XML format
*
* @author Richard Smith
* @author Andrew Varley
* @author Matthew Wakeling
*/
public c... |
package org.intermine.web;
import java.util.Iterator;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.intermine.cache.InterMineCache;
import org.intermine.objectstore.ObjectStore;
import o... |
package org.intermine.web.struts;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.log4j.Logger;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action... |
package org.javarosa.j2me.file;
import java.util.Enumeration;
import java.util.Vector;
import javax.microedition.io.file.FileSystemRegistry;
import org.javarosa.core.reference.ReferenceManager;
import org.javarosa.core.services.Logger;
import org.javarosa.core.services.PropertyManager;
import org.javarosa.core.services... |
package com.intellij.ide.actions;
import com.intellij.codeInsight.daemon.JavaErrorBundle;
import com.intellij.codeInsight.daemon.impl.analysis.HighlightClassUtil;
import com.intellij.codeInsight.daemon.impl.analysis.HighlightingFeature;
import com.intellij.core.JavaPsiBundle;
import com.intellij.ide.fileTemplates.*;
im... |
package org.jbehave.core.embedder;
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Properties;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import java.util.concurrent.ThreadPoolE... |
package org.lionsoul.jcseg.util;
import org.lionsoul.jcseg.tokenizer.core.ADictionary;
import org.lionsoul.jcseg.tokenizer.core.ILexicon;
/**
* Entity format manager class
*
* @author chenxin<chenxin619315@gmail.com>
*/
public class EntityFormat
{
/**
* check if the specified string is an email address or ... |
package com.jme3.shader.plugins;
import com.jme3.asset.*;
import com.jme3.asset.cache.AssetCache;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.Reader;
import java.util.*;
/**
* GLSL File parser that supports #import pre-processor statement
*/
public class... |
package jsettlers.graphics.map.draw;
import go.graphics.GLDrawContext;
import go.graphics.GLDrawContext.GLBuffer;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.util.BitSet;
import jsettlers.common.CommonConstants;
import jsettlers.common.landscape.ELandscapeType;
import ... |
package com.googlecode.jslint4java.cli;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.lang.reflect.Field;
import java.nio.charset.Charset;
import java.util.List;
import c... |
package org.junit.gen5.engine;
import static org.junit.gen5.commons.meta.API.Usage.Experimental;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import org.junit.gen5.commons.meta.API;
import org.junit.gen5.commons.util.ToStringBuilde... |
package org.junit.gen5.launcher;
/**
* The {@code Launcher} API is the main entry point for client code that
* wishes to <em>discover</em> and <em>execute</em> tests using one or more
* {@linkplain org.junit.gen5.engine.TestEngine test engines}.
*
* <p>Implementations of this interface are responsible for determin... |
package com.fsck.k9.fragment;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.EnumMap;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.concurrent.Fu... |
package com.intellij.injected.editor;
import com.intellij.ide.DataManager;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.actionSystem.PlatformDataKeys;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.editor.RangeMarker;
import c... |
package org.jboss.as.web;
import static io.undertow.util.Headers.X_FORWARDED_FOR_STRING;
import static io.undertow.util.Headers.X_FORWARDED_PROTO_STRING;
import org.jboss.as.controller.OperationContext;
import org.jboss.as.controller.OperationFailedException;
import org.jboss.as.controller.OperationStepHandler;
import ... |
package com.handmark.pulltorefresh.library;
import android.graphics.drawable.Drawable;
import android.view.View;
import com.handmark.pulltorefresh.library.PullToRefreshBase.Mode;
import com.handmark.pulltorefresh.library.PullToRefreshBase.OnRefreshListener;
import com.handmark.pulltorefresh.library.PullToRefreshBase.On... |
package com.facebook.litho.widget;
import android.content.res.ColorStateList;
import android.content.res.TypedArray;
import android.graphics.Color;
import android.graphics.Path;
import android.graphics.Rect;
import android.graphics.RectF;
import android.graphics.Typeface;
import android.os.Build;
import android.support... |
package org.multibit.hd.ui.languages;
import com.google.common.base.Optional;
import com.google.common.base.Preconditions;
import com.google.common.base.Strings;
import com.google.common.collect.Lists;
import org.bitcoinj.core.Address;
import org.bitcoinj.core.Coin;
import org.bitcoinj.protocols.payments.PaymentSession... |
package com.github.dreamhead.moco;
import com.google.common.eventbus.Subscribe;
public interface MocoMonitor {
@Subscribe
void onMessageArrived(Request request);
@Subscribe
void onException(Throwable t);
@Subscribe
void onMessageLeave(Response response);
@Subscribe
void onUnexpectedMessa... |
package org.vrjuggler.vrjconfig.ui;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Point;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.EventListenerList;
import org.vrjuggler.vrjconfig.ui.placer.*;
/**
* Allows the user ... |
package bisq.monitor.metric;
import bisq.monitor.OnionParser;
import bisq.monitor.Reporter;
import bisq.core.dao.monitoring.model.StateHash;
import bisq.core.dao.monitoring.network.messages.GetBlindVoteStateHashesRequest;
import bisq.core.dao.monitoring.network.messages.GetDaoStateHashesRequest;
import bisq.core.dao.mo... |
package org.whattf.checker;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
public class UncheckedSubtreeWarner extends Checker {
private boolean alreadyWarnedAboutRdf;
private boolean alreadyWarnedAboutOpenMath;
private boolean alreadyWarnedAboutInkscape;
private boolean alreadyWarnedAb... |
package obvious.ivtk.data;
import infovis.Column;
import infovis.column.ColumnFactory;
import infovis.table.DefaultDynamicTable;
import infovis.utils.TableIterator;
import java.text.FieldPosition;
import java.text.ParsePosition;
import java.util.ArrayList;
import java.util.Collection;
import org.apache.log4j.BasicConfi... |
package org.folio.okapi.common;
import io.vertx.core.Handler;
import io.vertx.core.MultiMap;
import io.vertx.core.Vertx;
import io.vertx.core.buffer.Buffer;
import io.vertx.core.http.HttpClient;
import io.vertx.core.http.HttpClientRequest;
import io.vertx.core.http.HttpMethod;
import io.vertx.core.logging.Logger;
impor... |
package org.folio.okapi.common;
import io.vertx.core.Handler;
import io.vertx.core.MultiMap;
import io.vertx.core.Vertx;
import io.vertx.core.buffer.Buffer;
import io.vertx.core.http.HttpClient;
import io.vertx.core.http.HttpClientRequest;
import io.vertx.core.http.HttpMethod;
import io.vertx.core.logging.Logger;
impor... |
package org.openlca.core.model;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.OneToMany;
import javax.persistence.Table;
@Entity
@Table(name = "tbl_i... |
package org.lamport.tla.toolbox;
import org.eclipse.core.resources.IResourceChangeEvent;
import org.eclipse.core.resources.IResourceChangeListener;
import org.eclipse.core.resources.IWorkspace;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.lamport.tla.toolb... |
package org.lamport.tla.toolbox.spec;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.r... |
package aQute.bnd.osgi;
import static java.util.Objects.requireNonNull;
import java.lang.annotation.ElementType;
import java.lang.annotation.RetentionPolicy;
import java.util.Arrays;
import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
imp... |
package Models;
import Helpers.Json;
import java.util.LinkedList;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
import Helpers.JsonObject;
import Models.Tile.TileType;
public class BoardModel implements Serializable<BoardModel> {
private JavaCell[][] map;
private LinkedList<Ja... |
package Models;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import CellsAndComponents.Inhabitant;
import CellsAndComponents.Sugar;
import CellsAndComponents.Agent;
import javafx.geometry.Point2D;
import java... |
package ly.count.android.sdk;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.util.Log;
import java.io.PrintWriter;
import java.io.StringWriter;
import jav... |
package ly.count.android.sdk;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.util.Base64;
import android.util.Log;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInput... |
package ru.ifmo.nds.dcns;
import ru.ifmo.nds.NonDominatedSorting;
import ru.ifmo.nds.util.ArrayHelper;
import ru.ifmo.nds.util.DominanceHelper;
import ru.ifmo.nds.util.ArraySorter;
import ru.ifmo.nds.util.MathEx;
public abstract class DCNSBase extends NonDominatedSorting {
private double[][] points;
private int... |
package org.pdxfinder.dataloaders;
import org.pdxfinder.graph.dao.*;
import org.pdxfinder.services.DataImportService;
import org.pdxfinder.services.UtilityService;
import org.pdxfinder.services.ds.Standardizer;
import org.pdxfinder.services.dto.LoaderDTO;
import org.pdxfinder.services.dto.NodeSuggestionDTO;
import org.... |
package com.exedio.cope.instrument;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.SortedSet;
import java.util.TreeSet;
import com.exedio.cope.Attribute;
import com.exedio.cope.BooleanAttribute;
import com.exedio.cope.ComputedFunction;
import... |
package tests;
import static org.fest.assertions.Assertions.assertThat;
import java.io.File;
import org.fest.assertions.GenericAssert;
import org.kercoin.magrit.Configuration;
import org.kercoin.magrit.Configuration.Authentication;
public class ConfigurationAssert extends GenericAssert<ConfigurationAssert, Configuratio... |
public class Test {
private String field;
public Test fluentNoop() {
return this;
}
public Test indirectlyFluentNoop() {
return this.fluentNoop();
}
public Test fluentSet(String x) {
this.field = x;
return this;
}
public static Test identity(Test t) {
return t;
}
public String ge... |
package databaseconnectortest.test;
import com.mendix.logging.ILogNode;
import com.mendix.modules.microflowengine.actions.actioncall.parameters.stringtemplate.TemplateParameter;
import com.mendix.systemwideinterfaces.core.IContext;
import com.mendix.systemwideinterfaces.core.IMendixObject;
import com.mendix.systemwidei... |
package databaseconnectortest.test;
import com.mendix.logging.ILogNode;
import com.mendix.systemwideinterfaces.core.IContext;
import com.mendix.systemwideinterfaces.core.IMendixObject;
import com.mendix.systemwideinterfaces.core.meta.IMetaObject;
import com.mendix.systemwideinterfaces.core.meta.IMetaPrimitive;
import c... |
package com.scg.domain;
import java.util.Formatter;
/**
* Footer for Small Consulting Group Invoices.
* @author Brian Stamm
*/
public final class InvoiceFooter {
private final String businessName;
private final String dashes = "===============================";
private int pageNumber = 1;
/**
* ... |
package org.ccnx.ccn.utils.explorer;
import java.awt.Color;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swing... |
package common;
import java.awt.Graphics2D;
/**
* This class describes projectile in the game
* @author smaboshe
*/
public class Projectile extends Actor
{
protected Position startPos;
protected Position direction;
protected int owner;
public Projectile(Position startPos, Position direction, float... |
package net.acomputerdog.ircbot.command;
import com.sorcix.sirc.*;
import net.acomputerdog.core.logger.CLogger;
import net.acomputerdog.ircbot.command.types.*;
import net.acomputerdog.ircbot.command.util.CommandLine;
import net.acomputerdog.ircbot.config.Config;
import net.acomputerdog.ircbot.main.IrcBot;
import java.u... |
package net.sourceforge.pebble.web.view;
import java.io.ByteArrayInputStream;
import java.io.BufferedOutputStream;
import java.io.IOException;
import java.io.File;
import java.io.FilenameFilter;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
import org.w3c.dom.Document;
import javax.xml.parsers.Docume... |
package org.slf4j.helpers;
/**
* An internal utility class.
*
* @author Alexander Dorokhine
* @author Ceki Gülcü
*/
public final class Util {
private Util() {
}
public static String safeGetSystemProperty(String key) {
if (key == null)
throw new IllegalArgumentException("nu... |
package com.intellij.lang.xml;
import com.intellij.codeInsight.folding.CodeFoldingSettings;
import com.intellij.lang.ASTNode;
import com.intellij.lang.Language;
import com.intellij.lang.folding.FoldingBuilder;
import com.intellij.lang.folding.FoldingDescriptor;
import com.intellij.openapi.diagnostic.Logger;
import com.... |
package com.intellij.pom.xml.impl;
import com.intellij.lang.ASTNode;
import com.intellij.lang.Language;
import com.intellij.lang.StdLanguages;
import com.intellij.pom.PomModel;
import com.intellij.pom.PomModelAspect;
import com.intellij.pom.event.PomModelEvent;
import com.intellij.pom.tree.TreeAspect;
import com.intell... |
package be.ibridge.kettle.core.dialog;
import java.util.Hashtable;
import java.util.StringTokenizer;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.SashForm;
import org.eclipse.swt.dnd.DND;
import org.eclipse.swt.dnd.DragSource;
import org.eclipse.swt.dnd.DragSourceEvent;
import org.eclipse.swt.dnd.DragSourc... |
package be.ibridge.kettle.core.widget;
import java.util.ArrayList;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.ControlAdapter;
import org.eclipse.swt.events.ControlEvent;
import org.eclipse.swt.events.DisposeEvent;
import org.eclipse.swt.events.DisposeListener;
import org.eclipse.swt.events.ModifyEvent;
i... |
package ru.job4j.chess;
public class Horse extends Figure {
Board board = new Board();
public Horse(Cell cell) {
super(cell);
}
public void initHorse() {
Horse horse = new Horse(new Cell(1, 0));
}
private Cell[] MoveHorse = new Cell[8];
public void moveHorse(int x, int y) {
... |
package ca.ualberta.cs.lonelytwitter;
import java.util.Date;
public class LonelyTweetModel {
private String text;
private Date timestamp;
public String getText() {
return text;
}
public LonelyTweetModel(String text) {
super();
this.text = text;
timestamp = new Date();... |
package org.boreas.spring.jdbc.dao;
import java.beans.PropertyDescriptor;
import java.lang.reflect.Method;
import java.sql.PreparedStatement;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import java.u... |
package org.jsimpledb.kv.mvcc;
import com.google.common.base.Converter;
import com.google.common.base.Preconditions;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Map;
import java.util.NavigableMap;
import java.util.NavigableSet;
import java.util.TreeMap;
import o... |
package com.fsck.k9.mailstore;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.Date;
import android.content.ContentValues;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.support.annotation.VisibleForTesting;
im... |
package opendap.bes.dapResponders;
import opendap.bes.BESDataSource;
import opendap.bes.BesDapResponder;
import opendap.coreServlet.*;
import opendap.dap.DapResponder;
import org.jdom.Element;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpS... |
package org._3pq.jgrapht.ext;
import java.awt.Color;
import java.awt.Font;
import java.awt.geom.Rectangle2D;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
i... |
package org.adligo.i.util.client;
public class HashCollection implements I_Collection {
//Math.abs(Integer.MIN_VALUE) = 2147483648
// but java wouln't compute it :(
public static final long INT_SPAN = (long) (21474836.48 * 100) + 1 + Integer.MAX_VALUE;
private int max = Integer.MAX_VALUE;
private i... |
package org.appwork.storage;
import java.io.IOException;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map.Entry;
import java.util.logging.Level;
import org.appwork.utils.logging.Log;
import org.codehaus.jackson.JsonGenerationException;
import org.codehaus.jackson.map.JsonMappingException;
publi... |
package org.biojava.bio.symbol;
import java.util.*;
import java.io.*;
import org.biojava.bio.*;
import org.biojava.utils.*;
import org.biojava.bio.seq.*;
import org.biojava.bio.seq.io.*;
/**
* Basic implementation of SymbolList. This
* is currently backed by a normal Java array.
* <p>
* SimpleSymbolList is now ed... |
package org.encog.neural.prune;
import java.util.ArrayList;
import java.util.List;
import org.encog.StatusReportable;
import org.encog.neural.data.Indexable;
import org.encog.neural.data.NeuralDataSet;
import org.encog.neural.data.buffer.BufferedNeuralDataSet;
import org.encog.neural.networks.BasicNetwork;
import org.e... |
package net.fortuna.ical4j.data;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.net.URISyntaxException;
import java.nio.charset.Charset;
import java.text.ParseException;
import net.fortuna.ical4j.model.Calendar;
import net.fortuna.ical4j.mode... |
package org.exist.storage.journal;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.exist.storage.DBBroker;
import javax.annotation.Nullable;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.SeekableByteChannel;
import java.nio.file.Files;
im... |
package net.fortuna.ical4j.data;
import java.io.IOException;
import java.io.PushbackReader;
import java.io.Reader;
import java.util.Arrays;
import net.fortuna.ical4j.util.CompatibilityHints;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* A reader which performs iCalendar unf... |
package com.lotsofun.farkle;
import java.awt.Color;
import java.awt.Dialog.ModalityType;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.Image;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseEvent;... |
package am.app.ontology;
import java.util.ArrayList;
import java.util.HashMap;
import am.GlobalStaticVariables;
import am.app.mappingEngine.AbstractMatcher.alignType;
import am.app.mappingEngine.qualityEvaluation.JoslynStructuralQuality;
import am.userInterface.sidebar.vertex.Vertex;
import com.hp.hpl.jena.ontology.Dat... |
package ch.ntb.inf.deep.eclipse.ui.wizard;
import java.io.BufferedWriter;
import java.io.ByteArrayInputStream;
import java.io.FileWriter;
import java.io.InputStream;
import java.lang.reflect.InvocationTargetException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Calendar;
import java.uti... |
package org.jasig.portal;
import org.jasig.portal.services.LogService;
import org.jasig.portal.utils.SmartCache;
import org.w3c.dom.Document;
import java.sql.SQLException;
/**
* Manages the channel registry which is a listing of published channels
* that one can subscribe to (add to their layout).
* Also currently ... |
import java.util.concurrent.CyclicBarrier;
public class TestCyclicBarrier {
private static CyclicBarrier barrier = new CyclicBarrier(2, ()-> {System.out.println("All threads have arrived");});
public static void main(String[] args) throws Exception{
new Thread(()-> {
try {
Sy... |
package org.fcrepo.api;
import static javax.ws.rs.core.MediaType.TEXT_HTML;
import static javax.ws.rs.core.Response.created;
import static javax.ws.rs.core.Response.noContent;
import static javax.ws.rs.core.Response.status;
import static org.apache.jena.riot.WebContent.contentTypeSPARQLUpdate;
import static org.fcrepo.... |
package org.jlib.core.collections.matrix;
import java.util.AbstractCollection;
import java.util.Collection;
import java.util.Iterator;
import org.jlib.core.collections.ListIndexOutOfBoundsException;
import org.jlib.core.collections.array.Array;
/**
* <p>
* Fixed sized matrix. Replacement for two-dimensional arrays wi... |
package org.jfree.data.general;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.jfree.chart.util.ArrayUtilities;
import org.jfree.data.DomainInfo;
import org.jfree.data.KeyToGroupMap;
import org.jfree.data.KeyedValues;
import org.jfree.data.Range;
import org.jfree.data.RangeInfo... |
package edu.umd.cs.daveho.ba;
import java.util.*;
// We require BCEL 5.0 or later.
import org.apache.bcel.*;
import org.apache.bcel.classfile.*;
import org.apache.bcel.generic.*;
/**
* Build a control flow graph for a method.
* This is an ad-hoc implementation which does not do type
* analysis of the stack, and thus... |
package org.opencms.db.generic;
import org.opencms.db.CmsDriverManager;
import org.opencms.db.CmsExportPointDriver;
import org.opencms.db.I_CmsDriver;
import org.opencms.db.I_CmsProjectDriver;
import org.opencms.lock.CmsLock;
import org.opencms.main.OpenCms;
import org.opencms.report.I_CmsReport;
import org.opencms.wor... |
package org.pentaho.di.core.database;
import java.io.StringReader;
import java.sql.BatchUpdateException;
import java.sql.Blob;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.DriverManager;
import java.sql.ParameterMetaData;
import java.sql.PreparedStatem... |
package org.opencms.ui.editors;
import org.opencms.file.CmsObject;
import org.opencms.file.CmsResource;
import org.opencms.file.types.I_CmsResourceType;
import org.opencms.i18n.CmsEncoder;
import org.opencms.main.CmsException;
import org.opencms.main.CmsLog;
import org.opencms.main.OpenCms;
import org.opencms.ui.A_CmsU... |
package com.edinarobotics.zed.vision;
import com.sun.squawk.util.Arrays;
import com.sun.squawk.util.MathUtils;
import com.sun.squawk.util.StringTokenizer;
public class TargetCollection {
private Target[] targets;
public TargetCollection(String targetData) {
if(!(targetData.equals(""))) {
Str... |
package org.phoenix.assetdatabase;
import java.io.IOException;
import java.util.Collection;
import java.util.Map;
/**
*
* @author Vince
*/
public interface AssetDatabase {
public void save() throws IOException;
public void load() throws IOException;
public boolean contains(TypeGroupInstance tgi);
pub... |
package org.prx.android.playerhater;
import java.io.FileDescriptor;
import java.io.IOException;
import android.app.Activity;
import android.media.MediaPlayer.OnBufferingUpdateListener;
import android.media.MediaPlayer.OnCompletionListener;
import android.media.MediaPlayer.OnErrorListener;
import android.media.MediaPlay... |
package com.github.klondike.android.campfire;
import android.app.ListActivity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.ArrayAdapter;
im... |
package org.jboss.as.patching.cli;
import static java.lang.System.getProperty;
import static java.lang.System.getSecurityManager;
import static java.lang.System.getenv;
import static java.security.AccessController.doPrivileged;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.uti... |
package com.hp.hpl.jena.vocabulary;
import com.hp.hpl.jena.rdf.model.*;
import com.hp.hpl.jena.reasoner.ReasonerRegistry;
public class ReasonerVocabulary {
/** The namespace used for system level descriptive properties of any reasoner */
public static String JenaReasonerNS = "http://www.hpl.hp.com/semweb/2003/J... |
package org.twak.siteplan.campskeleton;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.GridLayout;
import java.awt.Point;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import... |
package com.jayantkrish.jklol.ccg.lambda2;
import java.io.Serializable;
import java.util.Arrays;
import java.util.List;
import com.google.common.base.Joiner;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;
import com.google.common.prim... |
package ar.renderers;
import java.awt.Rectangle;
import java.awt.geom.AffineTransform;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;
import java.util.concurrent.ForkJoinPool;
import java.util.concurrent.RecursiveTask;
import ar.Aggregates;
import ar.Aggregator;
import ar.Glyph;
import ar.Glyphset;
imp... |
package com.nokia.dempsy;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import org.junit.Ignore;
import com.nokia.dempsy.config.ClusterId;
import com.nokia.dempsy.mpcluster.MpCluster;
import com.nokia.dempsy.mpcluster.MpClusterException;
import com.nokia.dempsy.mpcluster.MpClusterSessi... |
package com.menny.android.anysoftkeyboard;
import java.lang.reflect.Field;
import android.util.Log;
import android.view.inputmethod.EditorInfo;
public class Workarounds
{
//Determine whether this device has the fix for RTL in the suggestions list
private static final boolean ms_requiresRtlWorkaround;
privat... |
package com.ramblingwood.minecraft.jsonapi;
import java.io.File;
import java.io.FilenameFilter;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.List;
import java.util.Properties;
i... |
package hudson.cli;
import java.io.BufferedReader;
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.util.UUID;
import java.util.logging.Level;
import java.util.logging.Logger;
import... |
package com.simplegeo.android.service;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.FutureTask;
import org.apache.http.client.ClientProtocolException;
import org.json.JSONArray;
import org.... |
package mitzi;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
public class NaiveBoard implements IBoard {
protected static Side[] initial_side_board = { Side.BLACK, Side.BLACK,
Side.BLACK, Side.BLACK, Side... |
/**
* This file is part of the Harmony package.
*/
package com.tactfactory.mda.template;
import java.io.File;
import java.util.ArrayList;
import com.google.common.base.CaseFormat;
import com.tactfactory.mda.Harmony;
import com.tactfactory.mda.meta.ApplicationMetadata;
import com.tactfactory.mda.plateforme.BaseAdapter... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.