answer stringlengths 17 10.2M |
|---|
package org.roaringbitmap.runcontainer;
import it.uniroma3.mat.extendedset.intset.ConciseSet;
import java.io.IOException;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.concurrent.TimeUnit;
import org.openjdk.jmh.annotations.Benchmark;
import org.openjdk.jmh.annotations.BenchmarkMode;
impo... |
package jsettlers.logic.movable.workers;
import jsettlers.common.buildings.jobs.EBuildingJobType;
import jsettlers.common.buildings.jobs.IBuildingJob;
import jsettlers.common.landscape.ELandscapeType;
import jsettlers.common.material.EMaterialType;
import jsettlers.common.material.ESearchType;
import jsettlers.common.m... |
package org.eclipse.kura.ssl;
import java.io.IOException;
import java.security.GeneralSecurityException;
import java.security.PrivateKey;
import java.security.cert.Certificate;
import java.security.cert.X509Certificate;
import javax.net.ssl.SSLSocketFactory;
/**
* The SslManagerService is responsible to manage the con... |
package org.sagebionetworks.repo.model.dbo.dao;
import static org.sagebionetworks.repo.model.query.jdo.SqlConstants.COL_ACL_ID;
import static org.sagebionetworks.repo.model.query.jdo.SqlConstants.COL_CURRENT_REV;
import static org.sagebionetworks.repo.model.query.jdo.SqlConstants.COL_FILES_CONTENT_MD5;
import static or... |
package net.wasdev.wlp.maven.plugins.server;
import static org.twdata.maven.mojoexecutor.MojoExecutor.artifactId;
import static org.twdata.maven.mojoexecutor.MojoExecutor.configuration;
import static org.twdata.maven.mojoexecutor.MojoExecutor.element;
import static org.twdata.maven.mojoexecutor.MojoExecutor.executeMojo... |
package nl.rmokveld.castnotifications;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import com.google.android.gms.cast.MediaInfo;
import com.google.android.gms.cast.MediaMetadata;
import org.json.JSONException;
import org.json.JSONObject;
public class DefaultMediaInfoSerializer... |
package com.altamiracorp.lumify.core.bootstrap.lib;
import com.altamiracorp.lumify.core.config.Configuration;
import com.altamiracorp.lumify.core.exception.LumifyException;
import com.altamiracorp.lumify.core.util.LumifyLogger;
import com.altamiracorp.lumify.core.util.LumifyLoggerFactory;
import java.io.File;
import ja... |
package org.ktunaxa.referral.client.referral;
import org.geomajas.command.CommandResponse;
import org.geomajas.command.dto.TransformGeometryRequest;
import org.geomajas.command.dto.TransformGeometryResponse;
import org.geomajas.geometry.Coordinate;
import org.geomajas.gwt.client.command.CommandCallback;
import org.geom... |
package org.jnosql.artemis.reflection;
import org.jnosql.artemis.Pagination;
import org.jnosql.diana.api.NonUniqueResultException;
import java.lang.reflect.Method;
import java.util.List;
import java.util.Optional;
import java.util.function.Function;
import java.util.function.Supplier;
import static java.util.Objects.re... |
package org.coursera.metrics.datadog;
import com.codahale.metrics.Clock;
import com.codahale.metrics.Counter;
import com.codahale.metrics.Gauge;
import com.codahale.metrics.Histogram;
import com.codahale.metrics.Meter;
import com.codahale.metrics.Metric;
import com.codahale.metrics.MetricFilter;
import com.codahale.met... |
package net.mm2d.dmsexplorer.domain.entity;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import net.mm2d.android.upnp.cds.BrowseResult;
import net.mm2d.android.upnp.cds.BrowseResult.StatusListener;
import net.mm2d.android.upnp.cds.CdsObject;
import java.util.ArrayList;
import j... |
package com.autonomy.abc.selenium.promotions;
import com.autonomy.abc.selenium.actions.ServiceBase;
import com.autonomy.abc.selenium.application.IsoApplication;
import com.autonomy.abc.selenium.application.IsoElementFactory;
import com.autonomy.abc.selenium.query.Query;
import com.autonomy.abc.selenium.search.SearchPag... |
package com.github.dreamhead.moco.parser.model;
import com.google.common.base.MoreObjects;
import com.google.common.collect.ImmutableMap;
public class TextContainer {
private static final String TEMPLATE_NAME = "template";
private String text;
private String operation;
private ImmutableMap<String, TextC... |
package com.evolveum.midpoint.model.lens;
import static com.evolveum.midpoint.common.InternalsConfig.consistencyChecks;
import com.evolveum.midpoint.common.expression.Expression;
import com.evolveum.midpoint.common.expression.ExpressionEvaluationParameters;
import com.evolveum.midpoint.common.expression.ExpressionFacto... |
package com.consol.citrus.jms;
import java.util.HashMap;
import java.util.Map;
import javax.jms.Destination;
import org.springframework.integration.core.Message;
import org.springframework.integration.jms.JmsHeaders;
import com.consol.citrus.message.ReplyMessageCorrelator;
public class JmsSyncMessageReceiver extends Jm... |
package com.haulmont.cuba.desktop.gui.components;
import com.haulmont.cuba.core.entity.Entity;
import com.haulmont.cuba.gui.components.GroupTable;
import com.haulmont.cuba.gui.data.GroupDatasource;
import com.haulmont.cuba.gui.data.GroupInfo;
/**
* @author krivopustov
* @version $Id$
*/
public class DesktopGroupTabl... |
package com.griddynamics.jagger.agent.impl;
import com.google.common.collect.Maps;
import com.griddynamics.jagger.util.AgentUtils;
import com.griddynamics.jagger.util.Timeout;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Required;
import javax.management.M... |
package com.google.code.morphia.mapping.cache;
import java.util.HashMap;
import java.util.Map;
import relocated.morphia.org.apache.commons.collections.ReferenceMap;
import com.google.code.morphia.Key;
import com.google.code.morphia.logging.MorphiaLogger;
import com.google.code.morphia.logging.MorphiaLoggerFactory;
impo... |
package net.anotheria.moskito.core.plugins;
import net.anotheria.moskito.core.config.MoskitoConfigurationHolder;
import net.anotheria.moskito.core.config.plugins.PluginConfig;
import net.anotheria.moskito.core.config.plugins.PluginsConfig;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.ArrayL... |
package test;
import spec.Contact;
import spec.Meeting;
import impl.ContactImpl;
import impl.MeetingImpl;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.util.... |
package org.ocelotds.topic.topicAccess;
import java.lang.annotation.Annotation;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import javax.enterprise.inject.Default;
import javax.enterprise.inject.Instance;
import javax.enterprise.util.AnnotationLiteral;... |
/*
* contains static component methods for multiple service implementations
* in thumbs.jar and a main method to test service implementations
*
*/
package org.openoffice.comp.test;
import com.sun.star.lang.XSingleServiceFactory;
import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.registry.XRegistryKe... |
package org.eclipse.mylar.internal.jira;
import java.net.MalformedURLException;
import java.net.URL;
import org.eclipse.mylar.internal.core.util.MylarStatusHandler;
import org.eclipse.mylar.provisional.tasklist.ITaskRepositoryListener;
import org.eclipse.mylar.provisional.tasklist.MylarTaskListPlugin;
import org.eclips... |
package org.mwc.debrief.lite.menu;
import java.awt.Dimension;
import java.awt.Image;
import java.awt.Toolkit;
import java.awt.datatransfer.Clipboard;
import java.awt.datatransfer.ClipboardOwner;
import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.Transferable;
import java.awt.datatransfer.UnsupportedF... |
package org.nasdanika.webtest;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.text.MessageFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;... |
package org.osgi.service.indexer.impl;
import static org.osgi.framework.FrameworkUtil.createFilter;
import java.io.File;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.io.Writer;
import java.net.URL;
import java.text.MessageFormat;
import java.util.Arrays;
import... |
package org.strategoxt.imp.runtime.parser;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.Collections;
import java.util.Map;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.NullPr... |
package cz.metacentrum.perun.core.blImpl;
import cz.metacentrum.perun.audit.events.MembersManagerEvents.MemberCreated;
import cz.metacentrum.perun.audit.events.MembersManagerEvents.MemberDeleted;
import cz.metacentrum.perun.audit.events.MembersManagerEvents.MemberDisabled;
import cz.metacentrum.perun.audit.events.Membe... |
package com.intellij.ide.actions.runAnything;
import com.intellij.execution.Executor;
import com.intellij.execution.ExecutorRegistry;
import com.intellij.execution.executors.DefaultRunExecutor;
import com.intellij.featureStatistics.FeatureUsageTracker;
import com.intellij.icons.AllIcons;
import com.intellij.ide.IdeBund... |
package com.intellij.openapi.keymap.impl.ui;
import com.intellij.icons.AllIcons;
import com.intellij.ide.DataManager;
import com.intellij.ide.IdeBundle;
import com.intellij.ide.actionMacro.ActionMacro;
import com.intellij.ide.plugins.IdeaPluginDescriptor;
import com.intellij.ide.plugins.PluginManagerCore;
import com.in... |
package org.jetbrains.yaml.schema;
import com.intellij.codeInspection.LocalInspectionToolSession;
import com.intellij.codeInspection.ProblemsHolder;
import com.intellij.json.pointer.JsonPointerPosition;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import com.jetbrains.jsonSchema.extens... |
import ilog.concert.IloException;
import org.jgrapht.UndirectedGraph;
import org.jgrapht.graph.SimpleGraph;
import org.junit.Assert;
import org.junit.FixMethodOrder;
import org.junit.Test;
import org.junit.runners.MethodSorters;
import ru.ifmo.ctddev.gmwcs.*;
import java.io.IOException;
import java.io.OutputStream;
imp... |
package at.fhj.swd13.pse.controller;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.faces.context.ExternalContext;
import javax.faces.context.FacesContext;
import javax.inject.Inj... |
package com.metamx.druid.realtime.plumber;
import com.fasterxml.jackson.annotation.JacksonInject;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.base.Function;
import com.google.common.base.Joiner;
import com.google.common.base.Precond... |
package org.ow2.proactive_grid_cloud_portal.cli;
import static org.codehaus.jackson.map.DeserializationConfig.Feature.FAIL_ON_UNKNOWN_PROPERTIES;
import static org.ow2.proactive_grid_cloud_portal.cli.CLIException.REASON_UNAUTHORIZED_ACCESS;
import static org.ow2.proactive_grid_cloud_portal.cli.RestConstants.DFLT_REST_S... |
package uk.org.ponder.rsf.state.entity.support;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import uk.org.ponder.beanutil.BeanLocator;
import uk.org.ponder.beanutil.PathUtil;
import uk.org.ponder.beanutil.entity.EntityBeanLocator;
/** Request-scope implementation of the EntityBeanLocator,... |
package uk.ac.ebi.atlas.experimentpage;
import com.google.common.collect.ImmutableSet;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonPrimitive;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.... |
// This file is part of Serleena.
// Nicola Mometto, Filippo Sestini, Tobia Tesan, Sebastiano Valle.
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// sell copies of the Software, and to permit persons to whom t... |
package org.jboss.as.server.mgmt;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import javax.xml.stream.XMLOutputFactory;
import javax.xml.stream.XMLStreamException;
import javax.... |
package run.var.teamcity.cloud.docker.web;
import com.intellij.openapi.diagnostic.Logger;
import jetbrains.buildServer.controllers.BaseFormXmlController;
import jetbrains.buildServer.serverSide.BuildServerAdapter;
import jetbrains.buildServer.serverSide.SBuildAgent;
import jetbrains.buildServer.serverSide.SBuildServer;... |
package com.oracle.poco.bbhelper;
import java.time.ZonedDateTime;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.oracle.poco.bbhelper.exception.BbhelperException;
import com.oracle.poco.bbhelper.exception.BbhelperInternalServerE... |
package easy;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
//153=>(1^3+5^3+3^3)=153=>153 is an armstrong num,3 is the no of digits in the no.
public class ArmstrongNUm {
public static void main(String[]args) throws IOException{
String str= getInput("Enter the number")... |
package ca.jewsbury.gravity.spacetime.sim.test;
import ca.jewsbury.gravity.spacetime.Dimensional;
import ca.jewsbury.gravity.spacetime.SpaceContainer;
import ca.jewsbury.gravity.spacetime.SpaceTimeException;
import ca.jewsbury.gravity.spacetime.model.DynamicObject;
import ca.jewsbury.gravity.spacetime.model.MassiveObje... |
package com.ansorgit.plugins.bash.lang.psi.impl.refactoring;
import com.ansorgit.plugins.bash.lang.psi.api.BashKeyword;
import com.intellij.openapi.util.TextRange;
import com.intellij.psi.ElementManipulator;
import com.intellij.psi.PsiElement;
import com.intellij.util.IncorrectOperationException;
import org.jetbrains.a... |
package gov.nih.nci.cananolab.service.common.impl;
import gov.nih.nci.cananolab.domain.common.ExperimentConfig;
import gov.nih.nci.cananolab.domain.common.Instrument;
import gov.nih.nci.cananolab.domain.common.Technique;
import gov.nih.nci.cananolab.exception.ExperimentConfigException;
import gov.nih.nci.cananolab.serv... |
package br.com.MDSGPP.ChamadaParlamentar.atualizacaoBanco;
import java.net.MalformedURLException;
import java.sql.SQLException;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.Timer;
import java.util.TimerTask;
import javax.xml.rpc.ServiceException;
import br.com.M... |
package com.conveyal.datatools.editor.controllers.api;
import com.conveyal.datatools.editor.controllers.Application;
import com.conveyal.datatools.editor.controllers.Base;
import com.conveyal.datatools.editor.datastore.GlobalTx;
import com.conveyal.datatools.editor.datastore.VersionedDataStore;
import com.conveyal.data... |
package com.github.mkopylec.sessioncouchbase.persistent;
import org.springframework.session.ExpiringSession;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import static java.lang.System.currentTimeMillis;
import static java.util.UUID.randomUUID;
import static java.ut... |
package com.ilearnrw.api.textclassification;
import java.io.FileNotFoundException;
import java.io.InputStream;
import ilearnrw.languagetools.LanguageAnalyzerAPI;
import ilearnrw.languagetools.english.EnglishLanguageAnalyzer;
import ilearnrw.languagetools.greek.GreekLanguageAnalyzer;
import ilearnrw.resource.ResourceLoa... |
package com.raoulvdberge.refinedstorage.apiimpl.network.node;
import com.raoulvdberge.refinedstorage.RSUtils;
import com.raoulvdberge.refinedstorage.api.network.INetwork;
import com.raoulvdberge.refinedstorage.api.network.INetworkNodeVisitor;
import com.raoulvdberge.refinedstorage.api.network.node.INetworkNode;
import ... |
package io.github.lukehutch.fastclasspathscanner.scanner;
import io.github.lukehutch.fastclasspathscanner.FastClasspathScanner;
import io.github.lukehutch.fastclasspathscanner.utils.Log;
import io.github.lukehutch.fastclasspathscanner.utils.Utils;
import java.io.File;
import java.io.IOException;
import java.io.InputStr... |
package io.github.mzmine.gui.chartbasics.chartthemes;
import io.github.mzmine.gui.chartbasics.chartthemes.ChartThemeFactory.THEME;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Font;
import java.awt.Paint;
import java.awt.Stroke;
import java.util.List;
import javax.annotation.Nonnull;
import org.j... |
package net.networkdowntime.search.histogram;
import java.util.Set;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import gnu.trove.map.hash.TIntObjectHashMap;
import gnu.trove.map.hash.TLongIntHashMap;
import gnu.trove.map.hash.TObjectIntHashMap;
public class DigramStringSearchHist... |
package ninja.eivind.hotsreplayuploader.services.platform;
import javafx.stage.Stage;
import java.awt.*;
import java.io.*;
import java.net.URI;
import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class WindowsService implements PlatformService {
private Desktop desktop;
p... |
package org.mvnsearch.ali.oss.spring.shell.commands;
import com.aliyun.openservices.oss.model.*;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.IOUtils;
import org.apache.commons.io.filefilter.AbstractFileFilter;
import org.apache.http.impl.cookie.DateUtils;
import org.mvnsearch.ali.oss.spring.ser... |
package org.sidoh.reactor_simulator.simulator;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;
import cofh.api.energy.IEnergyHandler;
import cofh.lib.util.helpers.ItemHelper;
import com.google.common.collect.Sets;
import erogenousbeef.bigreactors.api.IHeatEntity;
import erogenousbeef.bigreact... |
package org.sitenv.service.ccda.smartscorecard.util;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
public class ApplicationConstants {
/**
* True allows switching the various service URLs from the prod to the dev server and enables l... |
package org.sitenv.service.ccda.smartscorecard.util;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
public class ApplicationConstants {
/**
* True allows switching the various service URLs from the prod to the dev server and enables l... |
package org.sonatype.aether.extension.concurrency;
import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.channels.FileLock;
import java.nio.channels.FileLockInterruptionException;
import java.util.HashMap;
import java.util.Map;
import org.codehaus.plexus.component.annotations... |
package se.bjurr.gitchangelog.internal.semantic;
import com.github.jknack.handlebars.Options;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.stream.Collectors;
import se.bjurr.gitchangelog.api.model.Commit;
imp... |
package tools.devnull.cafeina.annotations.explicacoes;
public @interface AnimaisQueMorreram {
String[] value();
} |
package net.sf.mzmine.modules.io.rawdataimport.fileformats;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.util.LinkedList;
import java.util.logging.Logger;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import net.sf.mzmine.... |
package openblocks.client.renderer.tileentity;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.util.ResourceLocation;
import openblocks.c... |
package org.pentaho.di.job.entries.webserviceavailable;
import java.util.List;
import org.w3c.dom.Node;
import org.pentaho.di.cluster.SlaveServer;
import org.pentaho.di.core.Const;
import org.pentaho.di.core.Result;
import org.pentaho.di.core.database.DatabaseMeta;
import org.pentaho.di.core.exception.KettleDatabaseExc... |
package org.helioviewer.jhv.plugins.swek;
import org.helioviewer.jhv.plugins.swek.view.SWEKPluginPanel;
import org.helioviewer.viewmodel.renderer.physical.PhysicalRenderer;
import org.helioviewer.viewmodel.view.OverlayView;
import org.helioviewer.viewmodel.view.opengl.OverlayPluginContainer;
import org.helioviewer.view... |
package edu.iastate.music.marching.attendance.test.integration;
import static org.junit.Assert.assertEquals;
import java.util.Calendar;
import java.util.Date;
import org.junit.Test;
import edu.iastate.music.marching.attendance.controllers.DataTrain;
import edu.iastate.music.marching.attendance.controllers.UserControlle... |
package com.smartling.marketo.sdk.rest.transport;
import com.github.tomakehurst.wiremock.client.ResponseDefinitionBuilder;
import com.github.tomakehurst.wiremock.client.UrlMatchingStrategy;
import com.github.tomakehurst.wiremock.client.ValueMatchingStrategy;
import com.github.tomakehurst.wiremock.junit.WireMockRule;
im... |
package no.uio.ifi.trackfind.backend.rest.controllers;
import com.google.gson.Gson;
import no.uio.ifi.trackfind.TestTrackFindApplication;
import org.apache.commons.collections4.MapUtils;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.... |
package org.powertac.distributionutility;
import static org.mockito.Matchers.anyObject;
import static org.mockito.Mockito.*;
import static org.junit.Assert.*;
import static org.powertac.util.ListTools.*;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.ut... |
package com.github.davidmoten.bean;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintStream;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
import java.nio.charset.StandardCharsets;
import java.util.Array... |
package org.biojava.bio.structure.align.util;
import java.io.IOException;
import java.io.PrintWriter;
import org.biojava.bio.structure.align.ce.StartupParameters;
import org.biojava.bio.structure.io.PDBFileReader;
import org.biojava.utils.xml.PrettyXMLWriter;
import org.biojava.utils.xml.XMLWriter;
/** A container to p... |
package ru.mail.teamcity.ssh.config;
import jetbrains.buildServer.serverSide.ServerPaths;
import jetbrains.buildServer.serverSide.crypt.EncryptUtil;
import jetbrains.buildServer.users.SUser;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import ru.mail.teamcity.ssh.AppConfiguration... |
// Test des events
package com.mycompany.testsconcurrence;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.ws.rs.clie... |
package org.bouncycastle.tls.crypto.impl.jcajce;
import java.io.IOException;
import java.security.PublicKey;
import java.security.spec.AlgorithmParameterSpec;
import org.bouncycastle.tls.DigitallySigned;
import org.bouncycastle.tls.SignatureAndHashAlgorithm;
import org.bouncycastle.tls.SignatureScheme;
import org.bounc... |
package org.mwc.debrief.core.editors;
import java.beans.*;
import java.io.*;
import java.util.*;
import org.eclipse.core.resources.*;
import org.eclipse.core.runtime.*;
import org.eclipse.jface.dialogs.IMessageProvider;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.*;
import org.eclipse.ui.dialogs.Sav... |
package de.danielnaber.languagetool.tools;
import java.io.File;
import java.lang.reflect.Modifier;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Enumeration;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.jar.JarEntry;
import java.uti... |
package com.arjuna.databroker.webportal.store;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.ejb.Singleton;
import javax.ejb.Startup;
import javax.ejb.TransactionAttribute;
import javax.ejb.TransactionAttributeType;
import javax.ejb.TransactionManagement;
import ... |
package ca.ualberta.cs.cmput301w15t12.test;
import ca.ualberta.cs.cmput301w15t12.ViewPhotoActivity;
import android.test.ActivityInstrumentationTestCase2;
public class ViewPhotoActivityTest extends ActivityInstrumentationTestCase2<ViewPhotoActivity> {
public ViewPhotoActivityTest() {
super(ViewPhotoActivity.... |
package com.braintreepayments.cardform.view;
import android.app.Activity;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.graphics.Color;
import android.graphics.Rect;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import andro... |
package buildwall.panel.description;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.not;
import static org.junit.Assert.assertThat;
import java.sql.Timestamp;
import java.time.ZoneId;
import org.junit.Assert;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Ignore;
im... |
package com.cosylab.logging.engine.cache;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.util.LinkedHashMap;
import java.util.Random;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.TimeUnit;
/**
* Objects... |
package com.elmakers.mine.bukkit.magic.listener;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import org.apache.commons.lang.StringUtils;
import org.bukkit.GameMode;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.... |
package com.github.tilastokeskus.minotaurus.maze;
import com.github.tilastokeskus.minotaurus.plugin.Plugin;
import com.github.tilastokeskus.minotaurus.ui.MazeWindow;
import java.util.logging.Level;
import java.util.logging.Logger;
public interface MazeGenerator extends Plugin {
public final static Logger LOGGER = L... |
package de.devboost.codecomposers;
import java.util.ArrayList;
import java.util.List;
/**
* A StringComposite can be used to compose text fragments. In contrast to a
* StringBuilder or StringBuffer, this class can enable and disable text
* fragments. This is useful when text is composed, but later unnecessary parts
... |
package com.hubspot.singularity.smtp;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Properties;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
import java... |
package com.validation.manager.core.server.core;
import com.validation.manager.core.DataBaseManager;
import static com.validation.manager.core.DataBaseManager.getEntityManagerFactory;
import static com.validation.manager.core.DataBaseManager.isVersioningEnabled;
import com.validation.manager.core.EntityServer;
import c... |
package qa.qcri.aidr.manager.controller;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import java.util.Map;
import qa.qcri.aidr.manager.dto.AidrCollectionTotalDTO;
import qa.qcri.aidr.manager.hibernateEntities.AidrCollectionLog;
... |
package couk.doridori.android.lib.testing;
import android.os.Handler;
import android.os.HandlerThread;
import org.apache.http.MethodNotSupportedException;
import java.util.concurrent.*;
public abstract class FutureAsyncTester<T> implements RunnableFuture<FutureAsyncTestResult<T>> {
private HandlerThread mHandlerThr... |
package com.devahoy.learn30androidlibraries.day7;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.widget.TextView;
import com.devahoy.learn30androidlibraries.R;
import com.google.gson.Gson;
import com.loopj.android.http.AsyncHttpClient;
import com.loopj.android.http.AsyncHttpRe... |
package com.garethevans.church.opensongtablet;
import android.content.Context;
import android.content.DialogInterface;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.Window;
import android.widget.EditTex... |
package com.itachi1706.cheesecakeutilities.Games.TicTacToe;
import android.app.AlertDialog;
import android.content.Context;
import java.util.Random;
class ComputerAI {
//AI IS ALWAYS O
/**
* Gameboard
* 0 1 2
* 3 4 5
* 6 7 8
*/
private static String[][] tmpGameBoard;
static void... |
package com.littlesparkle.growler.raptor.driver.activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.view.ViewPager;
import android.support.v7.widget.AppCompatButton;
import com.amap.api.maps2d.model.LatLng;
import com.littlesparkle.growler.library.activity.BaseActivity;
import c... |
package io.dwak.holohackernews.app.ui.storydetail;
import android.annotation.SuppressLint;
import android.app.AlertDialog;
import android.content.Intent;
import android.content.res.Configuration;
import android.graphics.Point;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.widget.SwipeRefre... |
package ve.com.abicelis.remindy.app.holders;
import android.app.Activity;
import android.content.DialogInterface;
import android.media.MediaPlayer;
import android.os.Handler;
import android.support.v4.app.FragmentManager;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import... |
package org.atlasapi.equivalence;
import static com.google.common.base.Preconditions.checkNotNull;
import static com.google.common.base.Predicates.in;
import static com.google.common.base.Predicates.not;
import java.util.Map;
import java.util.Queue;
import java.util.Set;
import java.util.UUID;
import java.util.concurre... |
package org.geomajas.layer.feature.attribute;
import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
import org.geomajas.global.Api;
import org.geomajas.layer.feature.Attribute;
/**
* <p>
* Definition of a value for as... |
package org.ovirt.engine.core.bll;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import org.ovirt.engine.core.common.businessentities.Entities;
import org.ovirt.engine.core.common.businessentiti... |
package edu.duke.cabig.c3pr.dao;
import static edu.duke.cabig.c3pr.C3PRUseCase.CREATE_PARTICIPANT;
import static edu.duke.cabig.c3pr.C3PRUseCase.SEARCH_SUBJECT;
import static edu.duke.cabig.c3pr.C3PRUseCase.UPDATE_SUBJECT;
import static edu.duke.cabig.c3pr.C3PRUseCase.VERIFY_SUBJECT;
import static edu.nwu.bioinformatic... |
package org.neo4j.kernel.impl.nioneo.store;
import java.util.Arrays;
public class PropertyDatas
{
private static abstract class PrimitivePropertyData implements PropertyData
{
private final int index;
private final long id;
PrimitivePropertyData( int index, long id )
{
... |
package org.neo4j.server.rest.discovery;
import java.net.URI;
import java.net.URISyntaxException;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import org.apache.commons.configuration.Co... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.