answer stringlengths 17 10.2M |
|---|
package com.qmetry.qaf.automation.report;
import static com.qmetry.qaf.automation.core.ConfigurationManager.getBundle;
import static com.qmetry.qaf.automation.data.MetaDataScanner.formatMetaData;
import static com.qmetry.qaf.automation.util.JSONUtil.getJsonObjectFromFile;
import static com.qmetry.qaf.automation.util.JS... |
package com.stromberglabs.jopensurf;
public class GaussianConstants {
public static final double[][] Gauss25 = {
{ 0.02546481, 0.02350698, 0.01849125, 0.01239505, 0.00708017, 0.00344629, 0.00142946 },
{ 0.02350698, 0.02169968, 0.01706957, 0.01144208, 0.0065358... |
package com.valkryst.AsciiPanel.component;
import com.valkryst.AsciiPanel.AsciiCharacter;
import com.valkryst.AsciiPanel.AsciiFont;
import com.valkryst.AsciiPanel.AsciiPanel;
import com.valkryst.AsciiPanel.AsciiString;
import javafx.scene.input.MouseButton;
import javafx.scene.input.MouseEvent;
import javafx.scene.pain... |
package com.vdesmet.lib.calendar;
import android.content.Context;
import android.support.v4.view.PagerAdapter;
import android.view.View;
import android.view.ViewGroup;
import com.viewpagerindicator.TitleProvider;
import java.util.Calendar;
public class MultiCalendarAdapter extends PagerAdapter implements TitleProvider{... |
package me.nallar.insecurity;
import java.security.Permission;
import java.util.logging.Handler;
import cpw.mods.fml.common.FMLLog;
import me.nallar.tickthreading.Log;
import net.minecraft.client.Minecraft;
import net.minecraft.server.MinecraftServer;
public class InsecurityManager extends java.lang.SecurityManager {
... |
package fr.masciulli.drinks.adapter;
import android.content.Context;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import java.util.ArrayList;
impor... |
package CreatorMapJavaFx.ObjectsInJavaFXWindow;
import CreatorMapJavaFx.Modules.*;
import Editor.EditorThread;
import Main.Transform;
import Wraps.BackgroundWrap;
import Wraps.DecalWrap;
import com.jfoenix.controls.JFXTextField;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.List... |
package org.xwiki.rendering.internal.wikimodel;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Stack;
import org.wikimodel.wem.IWemConstants;
import org.wikimodel.wem.IWemListener;
import org.wikimodel.wem.WikiFormat;
import org.wikimodel.wem.Wi... |
package org.waterforpeople.mapping.portal.client.widgets.component;
import java.util.ArrayList;
import org.waterforpeople.mapping.app.gwt.client.accesspoint.AccessPointDto.AccessPointType;
import org.waterforpeople.mapping.app.gwt.client.accesspoint.AccessPointSearchCriteriaDto;
import org.waterforpeople.mapping.app.gw... |
package org.unitime.timetable.test;
import java.util.Enumeration;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;
import java.util.Vector;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogF... |
package com.kinancity.core.proxy;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Optional;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import lombok.Getter;
import lombok.Setter;
import com.kinancity.core.proxy.policies.UnlimitedUsePolicy;
/**
* Manager t... |
package com.nlbhub.nlb.domain.export;
import com.nlbhub.nlb.api.Constants;
import com.nlbhub.nlb.api.Obj;
import com.nlbhub.nlb.api.TextChunk;
import com.nlbhub.nlb.api.Theme;
import com.nlbhub.nlb.domain.NonLinearBookImpl;
import com.nlbhub.nlb.exception.NLBExportException;
import com.nlbhub.nlb.util.StringHelper;
imp... |
package com.lothrazar.powerinventory.inventory;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.inventory.ContainerPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.InventoryCrafting;
import net.mine... |
package owltools.graph;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.obolibrary.obo2owl.Obo2OWLConstants.Obo2OWLVocabulary;
import org.obolibrary.obo2owl.Obo2Owl;
import org.obo... |
package course.labs.notificationslab;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.util.ArrayList;
import... |
package com.pennapps.labs.pennmobile;
import android.content.Context;
import android.content.res.Configuration;
import android.os.Bundle;
import android.os.StrictMode;
import android.support.design.widget.NavigationView;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import andro... |
package io.kamax.hboxc.controller;
import io.kamax.hbox.Configuration;
import io.kamax.hbox.HyperboxAPI;
import io.kamax.hbox.comm.Answer;
import io.kamax.hbox.comm.Request;
import io.kamax.hbox.comm._AnswerReceiver;
import io.kamax.hbox.comm._RequestReceiver;
import io.kamax.hbox.comm.in.MachineIn;
import io.kamax.hbo... |
package com.facebook.react.views.progressbar;
import android.content.Context;
import android.util.Pair;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ProgressBar;
import androidx.annotation.Nullable;
import com.facebook.react.bridge.JSApplicationIllegalArgumentException;
import com.face... |
package org.eclipse.birt.report.designer.ui;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
impo... |
package com.alorma.github.ui.fragment.pullrequest;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.widg... |
package org.csstudio.swt.chart;
/** A simple <code>Sample</code> container.
* <p>
* Users can use this to store samples, or implement the Sample interface
* otherwise.
*
* @see ChartSample
* @see ChartSampleSequence
*
* @author Kay Kasemir
*/
public class ChartSampleContainer implements ChartSample
{
... |
package ucar.ma2;
import ucar.nc2.util.Indent;
import java.io.IOException;
import java.util.Formatter;
import java.util.Iterator;
import java.util.List;
import java.nio.ByteBuffer;
/**
* Superclass for implementations of Array of StructureData.
* <p/>
* The general way to access data in an ArrayStructure is to use
... |
package de.gurkenlabs.litiengine.attributes;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
// TODO: Auto-generated Javadoc
/**
* An attribute is a numerical representation of a property that can be adjusted using {@link AttributeModifier}s.
* <p>
* It typically doesn't adjust the r... |
package de.gurkenlabs.litiengine.graphics;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.geom.AffineTransform;
import java.awt.geom.Point2D;
import de.gurkenlabs.litiengine.input.Input;
import de.gurkenlabs.litiengine.input.Mouse;
/**
* The visual representation of the <code>Mouse</code> in the LI... |
import java.io.*;
import javax.swing.*;
import java.util.*;
import java.nio.*;
import java.nio.file.*;
/**
* Reads in all the neccesary csv files and loads the data into the
*
* @author Aidan, Tom, Kevin, Zach
* @version Final
*/
public class CSVreader
{
/**
* Reads in all the data from the four files con... |
package sfBugs;
public class Bug1911620 {
public long getLongMinus1(String longStr) {
long l = Long.valueOf(longStr);
return --l;
}
public long getLongPlus1(String longStr) {
long l = Long.valueOf(longStr);
return ++l;
}
public long getLongWithDLS(String longStr) {
... |
package com.palantir.atlasdb.keyvalue.partition;
import java.util.Map;
import java.util.NavigableMap;
import java.util.NavigableSet;
import java.util.Set;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.common.base.Preconditions;
import com.google.common.collect.HashMultimap;
import com.googl... |
package de.st_ddt.crazylogin;
import java.util.Date;
import java.util.HashMap;
import org.bukkit.Location;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.EntityDamageByBlockEvent;
import org.bukkit.event.entity.EntityDamageByEntity... |
package dr.inference.model;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.ReentrantLock;
import dr.app.beagle.evomodel.treelikelihood.BeagleTreeLikelihood;
import dr.util.NumberFormatter;
/**
* A likelihood function which is simply the... |
package org.apereo.cas.config;
import org.apache.commons.lang3.ClassUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.shiro.ldap.UnsupportedAuthenticationMechanismException;
import org.apereo.cas.authentication.LdapAuthenticationHandler;
import org.apereo.cas.authentication.principal.PrincipalResolv... |
package com.codenvy.factory.storage.mongo;
import com.codenvy.api.factory.FactoryStore;
import com.codenvy.commons.json.JsonHelper;
import com.codenvy.commons.json.JsonParseException;
import com.codenvy.factory.MongoDbConfiguration;
import com.codenvy.factory.storage.InMemoryFactoryStore;
import com.codenvy.inject.Dyna... |
package edu.columbia.slime.service.core;
import java.io.*;
import java.io.Closeable;
import java.io.IOException;
import java.io.ByteArrayInputStream;
import java.util.Map;
import java.net.InetSocketAddress;
import java.nio.channels.SocketChannel;
import java.nio.channels.ServerSocketChannel;
import com.jcraft.jsch.*;
i... |
package edu.dynamic.dynamiz.controller;
import static org.junit.Assert.*;
import org.junit.Test;
import edu.dynamic.dynamiz.parser.CommandLine;
import edu.dynamic.dynamiz.parser.Parser;
import edu.dynamic.dynamiz.structure.MyDateTime;
import edu.dynamic.dynamiz.structure.EventItem;
import edu.dynamic.dynamiz.structure.... |
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* the project. */
package edu.wpi.first.wpilibj.templates;
import edu.wpi.first.wpilibj.DriverStation;
import edu.wpi.first.wpilibj.IterativeRobot;
import edu.wpi.first.wpilibj... |
package it.unibz.inf.ontop.datalog.impl;
import java.util.*;
import com.google.common.collect.ImmutableList;
import it.unibz.inf.ontop.constraints.LinearInclusionDependencies;
import it.unibz.inf.ontop.datalog.*;
import it.unibz.inf.ontop.model.atom.AtomFactory;
import it.unibz.inf.ontop.model.atom.AtomPredicate;
impor... |
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* the project. */
package edu.wpi.first.wpilibj.templates;
import edu.wpi.first.wpilibj.DigitalInput;
import edu.wpi.first.wpilibj.DriverStation;
import edu.wpi.first.wpilibj.D... |
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* the project. */
package edu.wpi.first.wpilibj.templates;
import edu.wpi.first.wpilibj.Relay;
import edu.wpi.first.wpilibj.IterativeRobot;
import edu.wpi.first.wpilibj.Joystic... |
package org.eclipse.birt.data.engine.executor;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import org.eclipse.birt.core.util.IOUtil;
import org.eclipse.birt.data.engine.core.DataException;
import org.eclipse.b... |
//$HeadURL$
package org.deegree.filter.xml;
import static junit.framework.Assert.assertEquals;
import static org.slf4j.LoggerFactory.getLogger;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.stream.Fa... |
package edu.wpi.first.wpilibj.templates;
import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.RobotDrive;
import edu.wpi.first.wpilibj.SpeedController;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
public class TPARobotDrive extends RobotDrive {
private double m_magnitude;
private d... |
package edu.oregonstate.cope.eclipse.branding;
import org.eclipse.core.runtime.Assert;
import org.eclipse.core.runtime.AssertionFailedException;
import org.eclipse.jface.action.IStatusLineManager;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.IWorkbench;
import org... |
package org.camunda.bpm.engine.test.history;
import org.camunda.bpm.engine.ManagementService;
import org.camunda.bpm.engine.RuntimeService;
import org.camunda.bpm.engine.RepositoryService;
import org.camunda.bpm.engine.ProcessEngineException;
import org.camunda.bpm.engine.runtime.ProcessInstance;
import org.camunda.bpm... |
package de.charite.compbio.exomiser.core.factories;
import jannovar.exception.JannovarException;
import jannovar.io.SerializationManager;
import jannovar.reference.Chromosome;
import jannovar.reference.TranscriptModel;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.Map;
import org.slf4j.Logger;... |
package net.sf.taverna.t2.workbench.file.impl.menu;
import java.awt.Component;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.... |
/*
* $Id: LockssTestCase.java,v 1.52 2004-04-05 08:01:58 tlipkis Exp $
*/
package org.lockss.test;
import java.util.*;
import java.io.*;
import java.net.*;
import org.lockss.util.*;
import org.lockss.daemon.*;
import junit.framework.TestCase;
import junit.framework.TestResult;
public class LockssTestCase extends Test... |
package com.dmdirc.parser.irc;
import com.dmdirc.parser.common.BaseSocketAwareParser;
import com.dmdirc.parser.common.ChannelJoinRequest;
import com.dmdirc.parser.common.ChildImplementations;
import com.dmdirc.parser.common.CompositionState;
import com.dmdirc.parser.common.IgnoreList;
import com.dmdirc.parser.common.My... |
package algorithms.imageProcessing.matching;
import algorithms.compGeometry.PerimeterFinder2;
import algorithms.connected.ConnectedPointsFinder;
import algorithms.FixedSizeSortedVector;
import algorithms.imageProcessing.GreyscaleImage;
import algorithms.imageProcessing.Image;
import algorithms.imageProcessing.ImageIOHe... |
package org.knoxcraft.serverturtle;
import static org.knoxcraft.database.DatabaseConfiguration.convert;
import java.io.File;
import java.io.IOException;
import java.util.Collection;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import jav... |
package net.fortuna.ical4j.util;
import java.io.FileInputStream;
import java.io.IOException;
import java.net.URL;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import net.fortuna.ical4j.data.CalendarBuilder;
import net.fortuna.ical4j.data.ParserException;
import net.fortuna.ical4j.model.Cal... |
package org.jfree.chart.axis;
import java.io.Serializable;
import java.text.DateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.TimeZone;
import org.jfree.chart.util.ObjectUtilities;
/**
* A tick unit for use by subclasses of {@link DateAxis}. Instances of this
* class are immutable.
*/
pu... |
package traildb;
import traildb.filters.TrailDBEventFilter;
public class TrailDBTrail
{
private long timestamp;
private long numItems;
private long items;
private long db;
private long cur;
private long currentTrail;
private long numTrails;
public TrailDBTrail(TrailDB tdb, long trailId) ... |
package org.uma.jmetal.util.experiment.component;
import org.apache.commons.lang3.tuple.ImmutablePair;
import org.apache.commons.lang3.tuple.Pair;
import org.uma.jmetal.qualityindicator.QualityIndicator;
import org.uma.jmetal.qualityindicator.impl.GenericIndicator;
import org.uma.jmetal.solution.Solution;
import org.um... |
package org.eclipse.persistence.jpars.test.server;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import java.util.HashMap;
import java.util.Map;
import javax.persistence.Persistence;
import javax.ws.rs.core.MediaType;
import org.eclipse.persistence.config.PersistenceUnitProper... |
package be.ibridge.kettle.core.dialog;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.ShellAdapter;
import org.eclipse.swt.events.ShellEvent;
import org.eclipse.swt.layout.FormAttachment;
import org.eclipse.swt.layo... |
package cpw.mods.fml.common;
import java.io.File;
import java.io.FileInputStream;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.security.cert.Certificate;
import java.util.Arrays;
import java.util.List;
import java... |
package de.mrapp.android.adapter.expandablelist;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.CallSuper;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.annotation.VisibleForTesting;
import android.view.LayoutIn... |
package be.ibridge.kettle.job.entry.shell;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
import org.apache.commons.vfs.FileObject;
import org.eclipse.swt.widgets.Shell;
import org.w3c.dom.Node;
import be.ibridge.kettle.core.C... |
package cat.mobilejazz.utilities.format;
import java.util.Iterator;
public class StringFormatter {
private static final String INDENT_LITERAL_32 = " ";
public static StringBuilder a... |
package org.jboss.wsf.stack.cxf.client.configuration;
import java.net.URL;
import java.util.Map;
import org.apache.cxf.Bus;
import org.apache.cxf.BusFactory;
import org.jboss.wsf.stack.cxf.client.util.SpringUtils;
/**
* JBossWS version of @see{org.apache.cxf.BusFactory}. This detects if Spring is available or not when... |
/**
Convert a String containing space-separated feature-name floating-point-value pairs
into a FeatureVector. For example:
<pre>length=12 width=1.75 blue temperature=-17.2</pre>
Features without a corresponding value (ie those not including the character "=",
such as the feature <code>blue</... |
package com.codenvy.analytics.api;
import com.codenvy.analytics.datamodel.ValueData;
import com.codenvy.analytics.metrics.MetricNotFoundException;
import com.codenvy.analytics.metrics.Parameters;
import com.codenvy.analytics.services.view.CSVFileCleaner;
import com.codenvy.analytics.services.view.SectionData;
import co... |
package com.reactnativenavigation.views;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.g... |
package nl.fhict.happynews.api.controller;
import com.sun.org.apache.regexp.internal.RE;
import nl.fhict.happynews.api.hibernate.PostRepository;
import nl.fhict.happynews.shared.Post;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.sprin... |
package gscrot.processor.watermark;
import gscrot.processor.watermark.WatermarkPlugin.Mode;
import gscrot.processor.watermark.WatermarkPlugin.Position;
import iconlib.IconUtils;
import java.awt.Graphics2D;
import com.redpois0n.gscrot.GraphicsImageProcessor;
public class WatermarkProcessor extends GraphicsImageProcessor... |
package info.northcarolinawaterfalls.app;
import android.app.Activity;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.DialogInterface.OnCancelListener;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.v4.... |
package com.androsz.electricsleepbeta.widget;
import java.io.IOException;
import java.io.StreamCorruptedException;
import java.util.List;
import org.achartengine.GraphicalView;
import org.achartengine.chart.AbstractChart;
import org.achartengine.chart.TimeChart;
import org.achartengine.model.PointD;
import org.acharten... |
package com.education.flashmath.network;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.Formatter;
import android.content.Context;
import android.provider.Settings.Secure;
import com.loopj.android.http.AsyncHttpClient;
imp... |
package org.navalplanner.web.planner.chart;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.SortedMap;
import ja... |
package com.fsck.k9.mail.transport;
import com.fsck.k9.mail.store.TrustManagerFactory;
import org.apache.http.conn.ConnectTimeoutException;
import org.apache.http.conn.scheme.LayeredSocketFactory;
import org.apache.http.params.HttpParams;
import javax.net.ssl.SSLContext;
import javax.net.ssl.SSLSocket;
import javax.net... |
// 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.
// Modifications:
// 2007 Jan 29: Modify to work with TestCase changes; ren... |
package com.jcwhatever.pvs.arenas.managers;
import com.jcwhatever.nucleus.events.manager.EventMethod;
import com.jcwhatever.nucleus.events.manager.IEventListener;
import com.jcwhatever.nucleus.storage.IDataNode;
import com.jcwhatever.nucleus.utils.PreCon;
import com.jcwhatever.nucleus.utils.Rand;
import com.jcwhatever.... |
package org.eclipse.mylar.internal.trac.ui.wizard;
import java.lang.reflect.InvocationTargetException;
import java.net.MalformedURLException;
import java.util.HashMap;
import java.util.Map;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jface.dialogs.IDialogSettings;
import org.eclipse.jface.dialo... |
package com.jetbrains.ther.parsing;
import com.intellij.lang.PsiBuilder;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.psi.tree.IElementType;
import com.jetbrains.ther.lexer.TheRTokenTypes;
import org.jetbrains.annotations.NotNull;
public class TheRStatementParsing extends Parsing {
private stati... |
package org.eclipse.titan.designer.wizards.projectFormat;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.lang.reflect.InvocationTargetException;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util... |
package com.mebigfatguy.fbcontrib.detect;
import java.util.HashSet;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.bcel.Repository;
import org.apache.bcel.classfile.Code;
import org.apache.bcel.classfile.Constant;
import org.apache.bcel.classfile.ConstantClass;
i... |
package org.sagebionetworks.bridge.dynamodb;
import static com.google.common.base.Preconditions.checkNotNull;
import java.util.List;
import javax.annotation.Resource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import org.sagebionetworks.bridge.BridgeUtils;
... |
package org.opentosca.planbuilder.helpers;
import java.util.HashMap;
import java.util.Map;
import org.opentosca.planbuilder.handlers.BuildPlanHandler;
import org.opentosca.planbuilder.model.plan.BuildPlan;
import org.opentosca.planbuilder.model.plan.TemplateBuildPlan;
import org.opentosca.planbuilder.model.tosca.Abstra... |
package com.palette.battlebattle.simulator;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import com.palette.battlebattle.simulator.card.Card;
import com.palette.battlebattle.simulator.card.CardTester.Result;
public class ResultMatrix {
private List<String> cardNames;
pr... |
package com.intellij.execution.configurations;
import com.intellij.execution.process.UnixProcessManager;
import com.intellij.openapi.util.SystemInfo;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.util.EnvironmentUtil;
import com.intellij.util.containers.ContainerUtil;
import org.jetbrains.annota... |
package ca.antonious.habittracker.models;
import java.util.Date;
import java.util.UUID;
public class HabitCompletion {
private String id;
private Date completionTime;
public HabitCompletion(Date completionTime) {
setId(UUID.randomUUID().toString());
setCompletionTime(completionTime);
}
... |
package com.quollwriter.ui.charts;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.event.*;
import java.text.*;
import java.util.*;
import javax.swing.*;
import javax.swing.border.*;
import javax.swing.tree.*;
import javax.swing.event.*;
import org.jfree.chart.*;
import org.j... |
package nl.b3p.viewer.stripes;
import java.io.StringReader;
import java.util.HashMap;
import java.util.Map;
import javax.persistence.NoResultException;
import net.sourceforge.stripes.action.ActionBean;
import net.sourceforge.stripes.action.ActionBeanContext;
import net.sourceforge.stripes.action.After;
import net.sourc... |
package org.jkiss.dbeaver.ext.mysql.tools;
import org.eclipse.jface.dialogs.IMessageProvider;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.wizard.IWizardPage;
import org.eclipse.osgi.util.NLS;
import org.eclipse.swt.SWT;
import org.eclipse.ui.IExportWizard;
import org.eclipse.ui.IWork... |
package com.cloud.test;
import java.io.File;
import java.io.IOException;
import java.math.BigInteger;
import java.net.URISyntaxException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.sql.Date;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql... |
// Location.java
package loci.common;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
import java.util.ArrayList;
import java.util.HashMap;
public class Location {
// -- Static fields --
/** Map f... |
package com.untamedears.JukeAlert.storage;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.Date;
import org.bukkit.Location;
import org.bukkit.Material;
import com.untamedears.JukeAlert.model.LoggedAction;
import com.untamedears.JukeAlert.model.Snitch;
public class JukeInfoBatch {
... |
package com.blabbertabber.blabbertabber;
import junit.framework.TestCase;
public class MainActivityTest extends TestCase {
public void setUp() throws Exception {
super.setUp();
}
public void tearDown() throws Exception {
}
public void testOnCreate() throws Exception {
throw new Excep... |
package org.concord.otrunk.user;
import java.util.Hashtable;
import org.concord.framework.otrunk.OTID;
import org.concord.otrunk.datamodel.OTDataCollection;
import org.concord.otrunk.datamodel.OTDataList;
import org.concord.otrunk.datamodel.OTDataMap;
import org.concord.otrunk.datamodel.OTDataObject;
import org.concord... |
package imcode.server.parser ;
import java.util.LinkedList ;
import java.util.Properties ;
import org.apache.oro.text.regex.* ;
public class NodeList extends LinkedList {
final static String CVS_REV = "$Revision$" ;
final static String CVS_DATE = "$Date$" ;
private static Pattern ELEMENT_PATTERN ;
priva... |
package com.daksh.tmdbsample.movielist;
import android.support.annotation.NonNull;
import com.daksh.tmdbsample.base.BasePresenter;
import com.daksh.tmdbsample.base.BaseView;
import com.daksh.tmdbsample.data.model.Movie;
import java.util.List;
public interface MovieListContract {
interface View extends BaseView<Pres... |
package org.jdesktop.swingx.calendar;
import java.awt.*;
import java.awt.event.*;
import java.text.SimpleDateFormat;
import java.text.DateFormatSymbols;
import java.util.Calendar;
import java.util.Date;
import java.util.Hashtable;
import java.util.TimeZone;
import javax.swing.*;
import javax.swing.border.Border;
/**
*... |
package dialogs;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.EventQueue;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.io.File;
import java.io.FileNotFoun... |
public class SinglyLinkedList<Item extends Comparable> {
private Node head;
private int size;
private class Node {
Item data;
Node next;
}
public void append(Item data) {
if (isEmpty()) {
head = new Node();
head.data = data;
} else {
Node current = head;
while (current.... |
package gov.nih.nci.cabig.caaers.domain;
import gov.nih.nci.cabig.caaers.CaaersSystemException;
import gov.nih.nci.cabig.caaers.CaaersTestCase;
import static gov.nih.nci.cabig.caaers.CaaersUseCase.CREATE_EXPEDITED_REPORT;
import gov.nih.nci.cabig.caaers.CaaersUseCases;
import gov.nih.nci.cabig.caaers.domain.report.Repo... |
package com.jiahaoliuliu.pubnubaschatsystem;
import android.os.Bundle;
import android.support.design.widget.CoordinatorLayout;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.util.Log;
import com.pubnub.api.Callback... |
package com.github.terma.gigaspacesqlconsole.provider;
import com.gigaspaces.client.WriteModifiers;
import com.gigaspaces.document.SpaceDocument;
import com.github.terma.gigaspacesqlconsole.core.ExecuteRequest;
import com.github.terma.gigaspacesqlconsole.core.ExecuteResponseStream;
import java.io.IOException;
import ja... |
package com.lady.viktoria.lightdrip;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AlertDialog;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import co... |
package com.marverenic.music.activity;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.os.Build;
imp... |
package modulo4.ddam.markmota.tk.ejercicio1;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.Toast;
import modulo4.ddam... |
package org.cnodejs.android.md.model.api;
import org.cnodejs.android.md.model.entity.Result;
import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.Response;
public class CallbackAdapter<T extends Result> implements Callback<T> {
@Override
public final void onResponse(Call<T> call, Response<T> respo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.