answer stringlengths 17 10.2M |
|---|
package florian_haas.lucas.model;
import javax.persistence.*;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
@Entity
public class Employment extends EntityBase {
private static final long serialVersionUID = 8794256029793389169L;
@ManyToOne(optional = false)
@JoinColumn(nullable ... |
package org.neo4j.onlinebackup.ha;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.channels.ReadableByteChannel;
import java.nio.channels.ServerSocketChannel;
import java.util.List;
import java.util.Map;
import java.util.concurrent.CopyOnWriteArrayList;
import org.neo4j.graphdb.GraphDatab... |
// FormatReader.java
package loci.formats;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.util.*;
import loci.formats.meta.DummyMetadata;
import loci.formats.meta.MetadataStore;
public abstract class FormatReader extends FormatHandler
implements IFormatReader
{
// -- Constants --
/**... |
package io.straas.android.sdk.streaming.demo.camera;
import android.Manifest;
import android.app.Activity;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.a... |
package me.jessyan.art.http;
import android.support.annotation.Nullable;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.nio.charset.Charset;
import java.util.concurrent.TimeUnit;
import javax.inject.Inject;
import javax.inject.Singleton;
import me.jessya... |
// FEITiffReader.java
package loci.formats.in;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.StringReader;
import java.util.ArrayList;
import java.util.HashMap;
import loci.common.DateTools;
import loci.common.IniList;
import loci.common.IniParser;
import loci.common.IniTable;
import loci.co... |
package gov.nih.nci.calab.service.search;
import gov.nih.nci.calab.db.DataAccessProxy;
import gov.nih.nci.calab.db.IDataAccess;
import gov.nih.nci.calab.dto.search.WorkflowResultBean;
import gov.nih.nci.calab.service.util.CalabComparators;
import gov.nih.nci.calab.service.util.CalabConstants;
import gov.nih.nci.calab.s... |
package org.cinchapi.concourse;
import java.nio.ByteBuffer;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.Callable;
import javax.annotation.Nullable;
import org.apache.thrift.TException;
import org.apache.thrift.protocol.TBinaryProtocol;
import org.apache.thrift.protocol.TProtocol;
import org.... |
package org.dellroad.stuff.vaadin;
import com.vaadin.Application;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.Serializable;
import java.util.concurrent.atomic.AtomicLong;
import javax.servlet.ServletContext;
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
impor... |
package org.jboss.remoting3.jmx.common;
import java.io.IOException;
import java.lang.management.ManagementFactory;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.net.SocketAddress;
import java.security.Security;
import javax.management.MBeanServer;
import javax.management.remote.JMXConnecto... |
package vaeke.restcountries.v1;
import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
import org.junit.Rule;
import org.junit.runner.RunWith;
import vaeke.restcountries.v1.domain.DesCountry;
import com.eclipsesource.restfuse.Assert;
impo... |
package gov.nih.nci.cananolab.ui.protocol;
import gov.nih.nci.cananolab.dto.common.ProtocolFileBean;
import gov.nih.nci.cananolab.dto.common.UserBean;
import gov.nih.nci.cananolab.exception.CaNanoLabSecurityException;
import gov.nih.nci.cananolab.service.common.FileService;
import gov.nih.nci.cananolab.service.common.i... |
package org.jivesoftware.messenger.handler;
import org.jivesoftware.messenger.*;
import org.jivesoftware.messenger.auth.UnauthorizedException;
import org.jivesoftware.messenger.disco.ServerFeaturesProvider;
import org.jivesoftware.messenger.roster.Roster;
import org.jivesoftware.messenger.roster.RosterItem;
import org.... |
package gov.nih.nci.rembrandt.web.struts.action;
import gov.nih.nci.caarray.domain.file.FileType;
import gov.nih.nci.caarray.services.ServerConnectionException;
import gov.nih.nci.caintegrator.application.download.caarray.CaArrayFileDownloadManager;
import gov.nih.nci.caintegrator.application.lists.ListItem;
import gov... |
package alluxio.collections;
import com.google.common.base.Preconditions;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
import java.util.NoSuchElementException;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
impor... |
package edu.brandeis.cs.steele.wn;
import java.util.*;
import static edu.brandeis.cs.steele.wn.PointerTypeFlag.*;
public enum PointerType {
// Nouns and Verbs
HYPERNYM("hypernym", "@", 2, N | V, "Hypernyms (%s is a kind of ...)", "Hypernyms (%s is one way to ...)"),
/** aka "instance of" */
INSTANCE_HYPERNYM("i... |
package hudson.model;
import hudson.search.Search;
import jenkins.model.Jenkins;
import org.kohsuke.stapler.HttpResponse;
import org.kohsuke.stapler.StaplerRequest;
import org.kohsuke.stapler.StaplerResponse;
import org.kohsuke.stapler.export.Flavor;
import javax.servlet.ServletException;
import java.io.IOException;
im... |
package org.mskcc.cbio.portal.util;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class SpringUtil
{
private static final Log log = LogFacto... |
package org.usergrid.tools;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.Option;
import org.apache.commons.cli.OptionBuilder;
import org.apache.commons.cli.Options;
import org.codehaus.jackson.JsonFactory;
import or... |
package org.dozer.factory;
import org.dozer.AbstractDozerTest;
import org.dozer.MappingException;
import org.junit.Before;
import org.junit.Test;
/**
* @author Vincent Jassogne
*/
public class JAXBBeanFactoryTest extends AbstractDozerTest {
private JAXBBeanFactory factory;
@Before
public void setUp() throws Exc... |
// TODO: when no rewind - stop thread
package kg.apc.jmeter.modifiers;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
import kg.apc.jmeter.EndOfFileException;
import kg.apc.jmeter.RuntimeEOFException;
im... |
package br.com.Modelo;
public class AdicionarTipoDespesa {
private String nome;
public String getNome() {
return nome;
}
public void setNome(String nome) {
this.nome = nome;
}
}
//aterardo. |
package com.unidev.polycms.web;
import com.unidev.platform.j2ee.common.WebUtils;
import com.unidev.polydata.SQLiteStorage;
import com.unidev.polydata.domain.BasicPoly;
import com.unidev.polydata.domain.Poly;
import com.unidev.polyembeddedcms.PolyConstants;
import com.unidev.polyembeddedcms.PolyCore;
import org.apache.c... |
package org.nick.wwwjdic.widgets;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.concurrent.Executor;
import java.util.concurrent.Executors;
import java.util.regex.Matcher;
im... |
/* Generated By:JJTree: Do not edit this line. ASTMethod.java */
/**
* ASTMethod.java
*
* Method support for references : $foo.method()
*
* NOTE :
*
* introspection is now done at render time.
*
* Please look at the Parser.jjt file which is
* what controls the generation of this class.
*
* @author <a... |
package core;
import org.apache.commons.csv.CSVFormat;
import org.apache.commons.csv.CSVParser;
import org.apache.commons.csv.CSVRecord;
import org.apache.commons.csv.QuoteMode;
import sun.reflect.generics.reflectiveObjects.NotImplementedException;
import java.io.*;
import java.util.HashMap;
import java.util.Map;
impor... |
package arez.processor;
import com.google.common.collect.ImmutableList;
import com.google.testing.compile.Compilation;
import com.google.testing.compile.Compiler;
import com.google.testing.compile.JavaFileObjects;
import com.google.testing.compile.JavaSourcesSubjectFactory;
import java.io.File;
import java.io.InputStre... |
package com.xpn.xwiki.web;
import com.xpn.xwiki.XWikiContext;
import com.xpn.xwiki.XWikiException;
/**
* Action used to get a resource that is a part of a page loaded asynchronously generally for performance reasons. Like
* <code>download</code> or <code>skin</code> but for wiki content.
* <p>
* This means that by ... |
package org.jdesktop.swingx.painter;
import java.awt.Insets;
import java.awt.Rectangle;
/**
* An abstract base class for any painter which can be positioned. This means
* the painter has some intrinsic size to what it is drawing and
* can be stretched or aligned both horizontally and vertically.
*
*
* The Abstrac... |
package org.yamcs.cfdp;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.yamcs.cfdp.pdu.ActionCode;
import org.yamcs.cfdp.pdu.CfdpHeader;
import org.yamcs.cfdp.pdu.CfdpPacket;
import org.yamcs.cfdp.pdu.ConditionCode;
import org.yamcs.cfdp.pdu.EofPacket;
import org.yamcs.cfdp.pdu.Fa... |
package lv.ctco.cukesrest.api;
import com.google.inject.*;
import cucumber.api.java.en.*;
import lv.ctco.cukesrest.internal.*;
import lv.ctco.cukesrest.internal.resources.*;
@Singleton
public class ThenSteps {
@Inject
private AssertionFacade assertionFacade;
@Inject
private ResourceFileReader fileReader... |
import java.io.FileWriter;
import java.util.zip.Inflater;
import java.util.zip.Deflater;
//StarOffice Interfaces and UNO
import com.sun.star.bridge.XBridgeFactory;
import com.sun.star.bridge.XBridge;
import com.sun.star.connection.XConnector;
import com.sun.star.connection.XConnection;
import com.sun.star.container.XNa... |
package org.batfish.common;
import java.io.IOException;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Map.Entry;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson... |
package com.yahoo.vespa.flags;
import com.yahoo.component.Vtag;
import com.yahoo.vespa.defaults.Defaults;
import java.time.Instant;
import java.time.LocalDate;
import java.time.ZoneOffset;
import java.time.format.DateTimeFormatter;
import java.util.List;
import java.util.Optional;
import java.util.TreeMap;
import stati... |
package org.batfish.datamodel;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.J... |
package com.yahoo.vespa.flags;
import com.yahoo.component.Vtag;
import com.yahoo.vespa.defaults.Defaults;
import com.yahoo.vespa.flags.custom.PreprovisionCapacity;
import java.util.List;
import java.util.Optional;
import java.util.TreeMap;
import static com.yahoo.vespa.flags.FetchVector.Dimension.APPLICATION_ID;
import... |
/**
*
* This is the view to place into a layout to implement ormma functionality.
* It can be used either via xml or programatically
*
* It is a subclass of the standard WebView which brings with it all the standard
* functionality as well as the inherent bugs on some os versions.
*
* Webviews have a tendency t... |
package org.batfish.main;
import com.google.common.cache.Cache;
import com.google.common.cache.CacheBuilder;
import java.io.File;
import java.io.IOException;
import java.nio.file.Path;
import java.util.Collections;
import java.util.Map;
import java.util.SortedMap;
import java.util.TreeMap;
import javax.annotation.Nonnu... |
// $Id: IntervalManager.java,v 1.7 2002/05/24 21:32:29 mdb Exp $
// samskivert library - useful routines for java programs
// This library is free software; you can redistribute it and/or modify it
// (at your option) any later version.
// This library is distributed in the hope that it will be useful,
// MERCHANTABILI... |
package gov.nih.nci.cabig.caaers.web.ae;
import gov.nih.nci.cabig.caaers.domain.expeditedfields.ExpeditedReportSection;
import gov.nih.nci.cabig.caaers.domain.expeditedfields.ExpeditedReportTree;
import gov.nih.nci.cabig.caaers.domain.expeditedfields.TreeNode;
import gov.nih.nci.cabig.caaers.domain.expeditedfields.Unsa... |
package com.sailthru.client;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.TypeAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
import java.util.Map;
/**
*
* @author ianwhite
*/
public class NullSerializ... |
package com.mongodb.rhino;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.bson.BSONObject;
import org.bson.types.ObjectId;
import org.bson.types.Symbol;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.NativeArray;
import org.mozilla.javascript.NativeJavaObject;... |
package com.spiddekauga.android.ui.list;
import android.graphics.Canvas;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.os.Handler;
import android.support.annotation.ColorInt;
import android.support.v4.content.ContextCompat;
import android.support.v7.widget.Rec... |
package DP_entity_linking.search;
import org.apache.lucene.document.Document;
import org.apache.lucene.index.IndexableField;
import java.util.*;
public class ResultPreprocessing {
private List<Document> newList;
private List<Integer> indexes;
public List<Integer> getIndexes() {
return indexes;
}... |
package org.micromanager.pipelineUI;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JLabel;
import javax.swing.plaf.basic.BasicArrowButton;
import java.util.List;
import mmcorej.TaggedImage;... |
package org.domokit.oknet;
import android.content.Context;
import android.util.Log;
import com.squareup.okhttp.Cache;
import com.squareup.okhttp.OkHttpClient;
import org.chromium.mojo.bindings.InterfaceRequest;
import org.chromium.mojo.system.Core;
import org.chromium.mojo.system.DataPipe;
import org.chromium.mojo.syst... |
package HxCKDMS.HxCEnchants.Handlers;
import HxCKDMS.HxCCore.Handlers.NBTFileIO;
import HxCKDMS.HxCCore.HxCCore;
import HxCKDMS.HxCCore.api.Utils.AABBUtils;
import HxCKDMS.HxCCore.api.Utils.LogHelper;
import HxCKDMS.HxCCore.api.Utils.Teleporter;
import HxCKDMS.HxCEnchants.Configurations;
import HxCKDMS.HxCEnchants.ench... |
package ai.elimu.web.content.word;
import ai.elimu.dao.AllophoneDao;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
import javax.servlet.http.HttpSession;
import org.apache.log4j.Logger;
import ai.elimu.dao.WordDao;
import ai.elimu.model.Contributor;
import ai.elimu.model.content.Allophon... |
package acromusashi.stream.example.bolt;
import java.text.MessageFormat;
import java.util.Map;
import java.util.TreeMap;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import acromusashi.stream.bolt.BaseConfigurationBolt;
import backtype.storm.topology.OutputFieldsDeclarer;
import backtype.storm.tuple.Tuple;
... |
package au.gov.dva.sopref.interfaces.model;
import java.time.LocalDate;
import java.util.Optional;
public interface Operation {
String getName();
ServiceType getServiceType();
LocalDate getStartDate();
Optional<LocalDate> getEndDate();
} |
package se.chalmers.dat255.sleepfighter.activities;
import java.util.HashSet;
import java.util.Locale;
import se.chalmers.dat255.sleepfighter.IntentUtils;
import se.chalmers.dat255.sleepfighter.R;
import se.chalmers.dat255.sleepfighter.SFApplication;
import se.chalmers.dat255.sleepfighter.TimepickerPreference;
import s... |
package at.ac.tuwien.inso.initializer;
import at.ac.tuwien.inso.entity.*;
import at.ac.tuwien.inso.repository.*;
import org.springframework.beans.factory.annotation.*;
import org.springframework.stereotype.*;
import org.springframework.transaction.annotation.*;
import java.math.*;
import java.util.ArrayList;
import jav... |
package bammerbom.ultimatecore.sponge.utils;
import bammerbom.ultimatecore.sponge.UltimateCore;
import bammerbom.ultimatecore.sponge.config.GeneralConfig;
import org.spongepowered.api.Sponge;
import org.spongepowered.api.asset.Asset;
import org.spongepowered.api.text.Text;
import org.spongepowered.api.text.serializer.T... |
package retrofit.http;
import com.google.inject.AbstractModule;
import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.name.Named;
import junit.framework.TestCase;
import org.apache.http.HttpMessage;
import org.apache.http.HttpResponse;
import org.apache.http.ProtocolVersion;
import... |
package cn.cerc.mis.ado;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import java.util.concurrent.ConcurrentHashMap;
import java.util.function.Consumer;
im... |
package at.ac.tuwien.inso.initializer;
import at.ac.tuwien.inso.entity.*;
import at.ac.tuwien.inso.repository.*;
import at.ac.tuwien.inso.service.student_subject_prefs.StudentSubjectPreferenceStore;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import or... |
package br.com.janes.ecommerce.web.rest;
import br.com.janes.ecommerce.config.Constants;
import com.codahale.metrics.annotation.Timed;
import br.com.janes.ecommerce.domain.User;
import br.com.janes.ecommerce.repository.UserRepository;
import br.com.janes.ecommerce.security.AuthoritiesConstants;
import br.com.janes.ecom... |
package ch.brinika.sportsplanner5000.business;
import ch.brinika.sportsplanner5000.domain.Team;
import javax.ejb.LocalBean;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
/**
*
* @author simon
* @author Andreas Briw
*/
@Stateless
@LocalBean
public cl... |
package ch.softappeal.yass.transport.ws;
import ch.softappeal.yass.core.remote.session.Connection;
import ch.softappeal.yass.core.remote.session.Packet;
import ch.softappeal.yass.core.remote.session.Session;
import ch.softappeal.yass.serialize.Reader;
import ch.softappeal.yass.serialize.Serializer;
import ch.softappeal... |
package ch.sourcepond.maven.release.scm;
import static ch.sourcepond.maven.release.scm.DefaultProposedTag.BUILD_NUMBER;
import static ch.sourcepond.maven.release.scm.DefaultProposedTag.VERSION;
import static java.lang.String.format;
import static org.apache.commons.lang3.Validate.notNull;
import static org.eclipse.jgit... |
package uk.ac.ebi.atlas.bioentity.properties;
import com.google.common.collect.ImmutableList;
import uk.ac.ebi.atlas.model.OntologyTerm;
import uk.ac.ebi.atlas.solr.BioentityPropertyName;
import uk.ac.ebi.atlas.search.SemanticQuery;
import uk.ac.ebi.atlas.bioentity.go.GoPoTrader;
import uk.ac.ebi.atlas.bioentity.interp... |
package be.iminds.iot.dianne.dashboard;
import java.io.BufferedOutputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.util.Map;
import java.util.Map.Entry;
import java.util.UUID;
import java.util.jar.Attributes;
import java.util.jar.Manifest;
import ... |
package org.intermine.bio.dataconversion;
import java.io.File;
import java.io.FileReader;
import java.util.Collections;
import java.util.HashMap;
import org.intermine.bio.dataconversion.IdResolverService;
import org.intermine.dataconversion.ItemsTestCase;
import org.intermine.dataconversion.MockItemWriter;
import org.i... |
package com.celements.web.service;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.validation.constraints.NotNull;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.xwi... |
package org.biojava.bio.structure.io;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.biojava.bio.structure.AminoAcid;
import org.biojava.bio.structure.Atom;
import org.biojava.bio.structure.Chain;
import org.biojava.bio.structure.... |
package com.codahale.metrics.jenkins;
import edu.umd.cs.findbugs.annotations.CheckForNull;
import edu.umd.cs.findbugs.annotations.NonNull;
import hudson.Extension;
import hudson.ExtensionPoint;
import hudson.Util;
import hudson.model.AbstractDescribableImpl;
import hudson.model.Descriptor;
import jenkins.model.Jenkins;... |
package org.jasig.cas.authentication.principal;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import... |
package edu.kestrel.netbeans.lisp;
import com.franz.jlinker.TranStruct;
import com.franz.jlinker.JavaLinkDist;
import com.franz.jlinker.LispConnector;
//hacky stuff:
import org.openide.nodes.Node;
import org.openide.loaders.DataObject;
import org.openide.filesystems.FileObject;
import edu.kestrel.netbeans.MetaSlangData... |
package com.authlete.common.dto;
import java.io.Serializable;
/**
* Request to Authlete's /auth/requestobject API.
*
* @author jricher
*
*/
public class RequestObjectRequest implements Serializable
{
private static final long serialVersionUID = 1L;
/**
* FAPI Request object endpoint request body (in J... |
package com.conveyal.analysis;
import com.conveyal.r5.util.ExceptionUtils;
import graphql.GraphQLError;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.List;
public class AnalysisServerException extends RuntimeException {
private static final Logger LOG = LoggerFactory.getLogger(AnalysisSe... |
package com.dmdirc.ui.core.newserver;
import com.dmdirc.DMDircMBassador;
import com.dmdirc.config.profiles.Profile;
import com.dmdirc.config.profiles.ProfileManager;
import com.dmdirc.events.ProfileAddedEvent;
import com.dmdirc.events.ProfileDeletedEvent;
import com.dmdirc.interfaces.ConnectionManager;
import com.dmdir... |
package com.creativemd.creativecore.core;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraftforge.common.MinecraftForge;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import com.creativemd.creativecore.api.nei.NEIRecipeInfoHandler;
import com.creativemd.creativecore.comm... |
package io.advantageous.qbit.service;
import io.advantageous.boon.core.Str;
import io.advantageous.qbit.queue.QueueCallBackHandler;
import io.advantageous.qbit.reactive.Reactor;
import io.advantageous.qbit.service.stats.StatsCollector;
import io.advantageous.qbit.util.Timer;
import java.util.HashMap;
public abstract cl... |
package com.bio4j.angulillos.titan;
import java.util.stream.Stream;
import java.util.Iterator;
import java.util.Optional;
import com.bio4j.angulillos.*;
import static com.bio4j.angulillos.conversions.*;
import com.thinkaurelius.titan.core.TitanVertex;
import com.thinkaurelius.titan.core.TitanEdge;
import com.thinkaurel... |
package com.dailystudio.app.fragment;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.res.Resources;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.Handler;
import... |
package com.mysema.query.sql;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.apache.commons.lang.ClassUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerF... |
package com.bio4j.model.uniref.programs;
import com.bio4j.model.uniref.UniRefGraph;
import com.bio4j.model.uniref.vertices.UniRef100Cluster;
import com.bio4j.model.uniref.vertices.UniRef50Cluster;
import com.bio4j.model.uniref.vertices.UniRef90Cluster;
import com.bio4j.angulillos.UntypedGraph;
import com.ohnosequences.... |
package com.datasift.client.stream;
import com.datasift.client.DataSiftClient;
import com.datasift.client.DataSiftConfig;
import com.datasift.client.core.Stream;
import io.higgs.ws.client.WebSocketClient;
import io.higgs.ws.client.WebSocketEventListener;
import io.higgs.ws.client.WebSocketMessage;
import io.higgs.ws.cl... |
package com.blogspot.nurkiewicz.lazyseq;
import java.util.Comparator;
import java.util.Map;
import java.util.function.*;
import java.util.stream.Collectors;
/**
* Quick hack for having a {@link LazySeq} with tuples that provides also some map related functions such as
* <ul>
* <li>{@link #mapKeys(java.util.functio... |
package org.roaringbitmap;
public final class RealDataset {
private RealDataset() {
}
public static final String CENSUS_INCOME = "census-income";
public static final String CENSUS1881 = "census1881";
public static final String DIMENSION_008 = "dimension_008";
public static final String DIMENSION_003 = "dime... |
package com.continuuity.common.metrics;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.regex.Pattern;
public class MetricsHelper {
private static final Logger LOG =
LoggerFactory.getLogger(MetricsHelper.class);
public enum Status {
Received, Success, BadRequest, NotFound, NoData... |
package com.chrisfolger.needsmoredojo.core.amd;
import com.chrisfolger.needsmoredojo.testutil.MockPsiFile;
import com.intellij.psi.PsiFile;
import org.junit.Before;
import org.junit.Test;
import java.util.ArrayList;
import java.util.List;
import static org.junit.Assert.assertEquals;
/**
* the *Priority tests are to ch... |
package com.github.mathieudebrito.translator;
import java.util.ArrayList;
import java.util.List;
public enum Language {
AUTO_DETECT(""),
AFRIKAANS("af"),
ALBANIAN("sq"),
//AMHARIC("am"),
ARABIC("ar"),
ARMENIAN("hy"),
AZERBAIJANI("az"),
BASQUE("eu"),
BELARUSIAN("be"),
BENGALI("bn"... |
package com.erlantzoniga.stormcourse.utils;
public class Constants {
public static final String TOPOLOGY_NAME = "STORM_COURSE_TOPOLOGY";
public static final String SPOUT_RANDOM_SENTENCE = "RANDOM_SENTENCE_SPOUT";
public static final String BOLT_SPLIT_SENTENCE = "SPLIT_SENTENCE_BOLT";
public static final String ... |
package com.ecyrd.jspwiki.auth.login;
import java.security.Principal;
import java.util.Properties;
import java.util.Set;
import javax.security.auth.Subject;
import javax.security.auth.callback.CallbackHandler;
import javax.security.auth.login.LoginContext;
import javax.security.auth.login.LoginException;
import junit.f... |
package com.gmail.nossr50.database;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.EnumMap;
import java.util.HashMap;
import java.util.List;... |
package com.fragmentime.markdownj.elements.list;
import com.fragmentime.markdownj.elements.Element;
public class List extends Element {
public List() {
super.setType(Element.LIST);
}
public static boolean isList(String content) {
return content != null && content.trim().matches("^((\\-|\\d+\... |
package org.jgroups.tests;
import org.jgroups.Address;
import org.jgroups.Global;
import org.jgroups.JChannel;
import org.jgroups.protocols.raft.ELECTION;
import org.jgroups.protocols.raft.RAFT;
import org.jgroups.protocols.raft.REDIRECT;
import org.jgroups.protocols.raft.StateMachine;
import org.jgroups.util.Util;
imp... |
package com.gmail.nossr50.skills.mining;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.block.BlockState;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.entity.Player;
import org.bukkit.entity.TNTPr... |
package org.jfree.data.time.ohlc.junit;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.ObjectInput;
import java.io.ObjectInputStream;
import java.io.ObjectOutput;
import java.io.ObjectOutputStream;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.fram... |
package com.github.snieking.retry;
import com.github.snieking.time.TimeManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.time.Duration;
import java.util.HashMap;
import java.util.Map;
import java.util.Optional;
import java.util.function.Supplier;
public final class ExponentialRetryer impleme... |
package com.javacook.testdatagenerator;
import com.javacook.easyexcelaccess.ExcelCoordinate;
import com.javacook.easyexcelaccess.ExcelCoordinateSequencer;
import com.javacook.easyexcelaccess.ExcelUtil;
import com.javacook.testdatagenerator.excelreader.BeanPathCalculator;
import com.javacook.testdatagenerator.excelreade... |
package com.j256.ormlite.jdbc;
import java.io.IOException;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.Savepoint;
import java.sql.Statement;
import java.sql.Ty... |
package com.kencook.sharpspring.services;
import com.kencook.sharpspring.Event;
import com.kencook.sharpspring.SharpspringMethod;
import com.kencook.sharpspring.SharpspringOperations;
import com.kencook.sharpspring.SharpspringRequest;
import com.kencook.sharpspring.SharpspringException;
import com.kencook.sharpspring.r... |
package org.slc.sli.domain.enums;
import org.springframework.security.core.GrantedAuthority;
/**
* A simple enum describing our basic rights that are required.
* ADMIN_ACCESS -> allows operations on entities in Admin Sphere
* FULL_ACCESS -> allows operations on all entities everywhere without regard for associations... |
package com.kryptnostic.api.v1.sharing;
import java.io.IOException;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.UUID;
import java.util.concurrent.ExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.common.base.Optional;
import com.g... |
package com.jvm_bloggers.facebook.client;
import com.jvm_bloggers.facebook.client.fb.FacebookPublisher;
import com.jvm_bloggers.facebook.client.fb.PageAccessToken;
import com.jvm_bloggers.facebook.client.fb.PageAccessTokenProvider;
import com.jvm_bloggers.facebook.client.kafka.KafkaConsumer;
import com.typesafe.config.... |
package com.lothrazar.samscontent.item;//.entity.projectile;
import com.lothrazar.samscontent.MessagePotion;
import com.lothrazar.samscontent.ModSamsContent;
import com.lothrazar.samscontent.potion.PotionRegistry;
import com.lothrazar.util.Reference;
import com.lothrazar.util.SamsUtilities;
import net.minecraft.entity.... |
package org.jboss.as.clustering.jgroups;
import java.net.InetSocketAddress;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.WeakHashMap;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.ScheduledExe... |
package com.lothrazar.samscontent.item;
import java.util.ArrayList;
import com.lothrazar.samscontent.ItemRegistry;
import com.lothrazar.samscontent.ModSamsContent;
import com.lothrazar.util.*;
import net.minecraft.block.Block;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlaye... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.