answer stringlengths 17 10.2M |
|---|
package org.jkiss.dbeaver.ui.dialogs.connection;
import org.eclipse.jface.dialogs.IDialogConstants;
import org.eclipse.jface.dialogs.IDialogPage;
import org.eclipse.jface.preference.PreferencePage;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.wizard.IWizardPage;
import org.eclipse.swt... |
package com.akiban.sql.optimizer.plan;
import com.akiban.sql.optimizer.plan.Sort.OrderByExpression;
import com.akiban.qp.expression.Comparison;
import com.akiban.ais.model.Index;
import java.util.*;
public class IndexScan extends BasePlanNode implements ColumnExpressionToIndex
{
public static enum OrderEffectivenes... |
package org.jkiss.dbeaver.ui.perspective;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.jobs.IJobChangeEvent;
import org.eclipse.core.runtime.jobs.JobChangeAdapter;
... |
package com.amee.base.resource;
import org.jdom.Element;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.springframework.context.MessageSource;
import org.springframework.validation.Errors;
import org.springframework.validation.FieldError;
import java.io.Serializable;
im... |
package org.topcased.requirement.core.utils;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse... |
package com.bitbosh.dropwizardheroku.event;
import java.net.URISyntaxException;
import java.util.EnumSet;
import javax.servlet.DispatcherType;
import javax.servlet.FilterRegistration;
import org.eclipse.jetty.servlets.CrossOriginFilter;
import org.skife.jdbi.v2.DBI;
import com.bitbosh.dropwizardheroku.event.api.EventRe... |
package com.clxcommunications.xms;
import java.io.Closeable;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URLEncoder;
import java.nio.CharBuffer;
import java.util.concurrent.ExecutionException;
import java.util.concurre... |
package snowballmadness;
import com.google.common.base.*;
import org.bukkit.*;
import org.bukkit.entity.*;
/**
* This logic creates an entity at the point of impact. We can create a
* different, better entity for powered snowballs (to get cave spiders instead
* of spiders for instance). You can specify the 'upgradeP... |
package com.elmakers.mine.bukkit.api.magic;
import java.util.Collection;
import java.util.List;
import java.util.Set;
import org.bukkit.Color;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Entity;
import org.bukki... |
package org.zstack.header.core;
import org.zstack.header.errorcode.ErrorCode;
import org.zstack.header.errorcode.SysErrors;
import org.zstack.header.exception.CloudRuntimeException;
import java.util.concurrent.TimeUnit;
public class FutureCompletion extends Completion {
private volatile boolean success;
private... |
package gov.nih.nci.cabig.caaers.web.ae;
import static org.easymock.EasyMock.expect;
import edu.nwu.bioinformatics.commons.DateUtils;
import gov.nih.nci.cabig.caaers.AbstractNoSecurityTestCase;
import gov.nih.nci.cabig.caaers.AbstractTestCase;
import gov.nih.nci.cabig.caaers.dao.AdverseEventReportingPeriodDao;
import g... |
// This file is part of the Fuel Java client library.
// modification, are permitted provided that the following conditions
// are met:
// documentation and/or other materials provided with the distribution.
// * Neither the name of ExactTarget, Inc. nor the names of its
// contributors may be used to endorse or promot... |
package org.protempa.bp.commons.dsb.relationaldb;
import org.protempa.bp.commons.dsb.relationaldb.ColumnSpec.KnowledgeSourceIdToSqlCode;
abstract class AbstractSelectClause implements SelectClause {
private final ColumnSpecInfo info;
private final TableAliaser referenceIndices;
private final EntitySpec enti... |
package com.extrahardmode.task;
import com.extrahardmode.ExtraHardMode;
import com.extrahardmode.config.RootConfig;
import com.extrahardmode.config.RootNode;
import com.extrahardmode.module.DataStoreModule;
import com.extrahardmode.module.EntityHelper;
import com.extrahardmode.module.PlayerModule;
import com.extrahardm... |
package io.github.ihongs.util.verify;
import io.github.ihongs.Cnst;
import io.github.ihongs.Core;
import io.github.ihongs.HongsException;
import io.github.ihongs.action.ActionHelper;
import io.github.ihongs.action.ActionRunner;
import io.github.ihongs.util.Data;
import io.github.ihongs.util.Synt;
import java.util.HashM... |
package com.facebook.litho;
import java.util.Iterator;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.Application;
import android.content.Context;
import android.content.ContextWrapper;
import android.content.res.... |
package com.foundationdb.server.error;
import org.slf4j.Logger;
import java.util.ResourceBundle;
/**
* The error codes that are part of the public API.
*
* From the SQL Standard, the SQLSTATE (ErrorCodes) are a 2 character class value
* followed by a 3 character sub-class value. These characters are either digits o... |
package com.ctrip.xpipe.redis.keeper.impl;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mockito;
import static org.mockito.Mockito.*;
import com.ctrip.xpipe.redis.core.entity.KeeperMeta;
import com.ctrip.xpipe.redis.core.meta.KeeperState;
import com.ctrip.xpipe.redis.core.... |
package com.github.davidmoten.util;
import java.util.Iterator;
import rx.Observable;
import rx.Observable.Transformer;
import rx.functions.Func2;
import com.github.davidmoten.util.MapWithIndex.Indexed;
public final class MapWithIndex<T> implements Transformer<T, Indexed<T>> {
private static class Holder {
s... |
package mathsquared.resultswizard2;
/**
* An immutable object that represents a proper fraction. Can support improper fractions intermittently as well.
*
* Note that any post-conditions on any methods of this class only apply after the constructor has successfully completed, as several clean-up methods are required ... |
package org.grouplens.reflens.knn.item;
import static org.junit.Assert.assertNotNull;
import org.grouplens.reflens.RecommenderBuilder;
import org.grouplens.reflens.RecommenderService;
import org.grouplens.reflens.baseline.UserMeanPredictor;
import org.grouplens.reflens.data.ExpensiveRatingDataTest;
import org.junit.Bef... |
package com.github.strangepleasures.match;
import java.util.Objects;
import java.util.function.*;
public final class Match {
private Match() {
}
@SafeVarargs
@SuppressWarnings("unchecked")
public static <T, R> R match(T value, MatchingFunction<? extends T, ? extends R>... functions) {
for (M... |
package filter;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletResponse;
public class Cors... |
package com.grayben.riskExtractor;
import com.grayben.riskExtractor.htmlScorer.HtmlScorer;
import com.grayben.riskExtractor.htmlScorer.ScoredText;
import com.grayben.riskExtractor.htmlScorer.ScoringAndFlatteningNodeVisitor;
import com.grayben.riskExtractor.htmlScorer.TreeHtmlScorer;
import com.grayben.riskExtractor.htm... |
package com.hubspot.dropwizard.guice;
import com.google.inject.Injector;
import com.google.inject.Key;
import com.google.inject.servlet.GuiceFilter;
import io.dropwizard.jersey.setup.JerseyEnvironment;
import io.dropwizard.setup.Environment;
import org.glassfish.jersey.server.model.Resource;
import org.slf4j.Logger;
im... |
package com.justjournal.ctl.api;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.justjournal.WebLogin;
import com.justjournal.core.... |
package io.scalecube.services.transport.rsocket;
import io.scalecube.services.codec.HeadersCodec;
import io.scalecube.services.codec.ServiceMessageCodec;
import io.scalecube.services.transport.ServiceTransport;
import io.scalecube.services.transport.client.api.ClientTransport;
import io.scalecube.services.transport.rso... |
package com.mageddo.bookmarks.dao;
import com.mageddo.bookmarks.apiserver.res.BookmarkDescriptionRes;
import com.mageddo.bookmarks.apiserver.res.BookmarkRes;
import com.mageddo.bookmarks.apiserver.res.RecentBookmarksRes;
import com.mageddo.bookmarks.entity.BookmarkEntity;
import com.mageddo.commons.Maps;
import com.mag... |
package com.andyadc.scaffold.showcase.common.spring;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.DisposableBean;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.context.ann... |
package com.merchantwarehouse.zucchini;
import cucumber.api.CucumberOptions;
import cucumber.api.SnippetType;
import cucumber.runtime.ClassFinder;
import cucumber.runtime.Env;
import cucumber.runtime.Runtime;
import cucumber.runtime.RuntimeOptions;
import cucumber.runtime.RuntimeOptionsFactory;
import cucumber.runtime.... |
package com.mysterioustrousers.firehose;
import java.util.HashMap;
import com.android.volley.ParseError;
import com.android.volley.Request;
import com.android.volley.Response;
import com.google.gson.annotations.SerializedName;
import org.json.JSONObject;
public class Product extends FHObject {
@SerializedName("kb_cus... |
package com.ociweb.iot.grove.gps;
import java.io.IOException;
import com.ociweb.iot.maker.FogCommandChannel;
import com.ociweb.iot.maker.IODeviceTransducer;
import com.ociweb.iot.transducer.SerialListenerTransducer;
import com.ociweb.pronghorn.pipe.BlobReader;
public class GPS_Transducer implements SerialListenerTransd... |
package com.ociweb.pronghorn;
import java.io.IOException;
import java.util.Arrays;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.ociweb.iot.hardware.HardwareImpl;
import com.ociweb.pronghorn.iot.AbstractTrafficOrderedStage;
import com.ociweb.pronghorn.iot.schema.MessagePubSub;
import com.ociweb.pr... |
package edu.psu.swe.scim.server.provider;
import static org.junit.Assert.assertEquals;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import javax.enterprise.inject.Instance;
import junitparams.JUnitParamsRunner;
import ... |
package com.rox.emu.processor.mos6502.op;
import com.rox.emu.UnknownOpCodeException;
import com.rox.emu.processor.mos6502.Mos6502;
import com.rox.emu.processor.mos6502.op.util.OpCodeConverter;
import java.util.Arrays;
import java.util.Optional;
import java.util.function.Predicate;
import java.util.stream.Stream;
/**
*... |
package com.sandwell.JavaSimulation;
import java.util.ArrayList;
import java.util.Collections;
public class EntityInput<T extends Entity> extends Input<T> {
private Class<T> entClass;
private Class<? extends T> entSubClass; // a particular sub-class that can be set at runtime
private ArrayList<T> invalidEn... |
package com.sequenceiq.ambari.shell;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Compo... |
package com.siemens.ct.exi.values;
import java.io.IOException;
import java.util.Calendar;
import java.util.TimeZone;
import com.siemens.ct.exi.exceptions.XMLParsingException;
import com.siemens.ct.exi.types.DateTimeType;
import com.siemens.ct.exi.util.MethodsBag;
/**
*
* @author Daniel.Peintner.EXT@siemens.com
* @au... |
package com.zero.billiards.dao.impl;
import java.util.Date;
import java.util.List;
import org.springframework.stereotype.Repository;
import com.zero.billiards.dao.IGameDao;
import com.zero.billiards.dao.MyHibernateDaoSupport;
import com.zero.billiards.dataobject.po.TGameDetailRecord;
@Repository("gameDao")
public class... |
package de.berlin.hu.uima.ae;
import de.berlin.hu.types.PubmedDocument;
import de.berlin.hu.util.Constants;
import org.apache.uima.analysis_component.JCasAnnotator_ImplBase;
import org.apache.uima.analysis_engine.AnalysisEngineProcessException;
import org.apache.uima.jcas.JCas;
import org.u_compare.shared.semantic.Name... |
package com.intellij.psi.impl.source.resolve.reference.impl.providers;
import com.intellij.codeInsight.completion.scope.CompletionProcessor;
import com.intellij.codeInsight.daemon.QuickFixProvider;
import com.intellij.codeInsight.daemon.impl.HighlightInfo;
import com.intellij.codeInsight.daemon.quickFix.JavaClassRefere... |
package nars.narsese;
import com.github.fge.grappa.Grappa;
import com.github.fge.grappa.annotations.Cached;
import com.github.fge.grappa.matchers.MatcherType;
import com.github.fge.grappa.matchers.NothingMatcher;
import com.github.fge.grappa.matchers.base.AbstractMatcher;
import com.github.fge.grappa.parsers.BaseParser... |
package scal.io.liger.model;
import java.util.ArrayList;
import java.util.HashMap;
public class ExpansionIndexItem {
// required
String packageName;
String expansionId;
String patchOrder;
String expansionFileName;
String expansionFileVersion;
String expansionFilePath; // relative to Environm... |
package edu.wustl.catissuecore.util.global;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import edu.wustl.catissuecore.domain.CellSpecimen;
import edu.wustl.catissuecore.domain.CellSpecimenRequirement;
import edu.wust... |
package org.intermine.util;
import java.util.List;
import java.util.ArrayList;
import java.util.StringTokenizer;
import java.util.Collection;
import java.util.TreeSet;
/**
* Collection of commonly used String utilities
*
* @author Andrew Varley
*/
public class StringUtil
{
private static final char HEX_CHARS[]
... |
package io.tetrapod.core.logging;
import java.io.*;
import java.time.*;
import java.time.format.DateTimeFormatter;
import java.util.*;
import java.util.zip.GZIPInputStream;
import org.slf4j.*;
import io.netty.buffer.ByteBuf;
import io.tetrapod.core.*;
import io.tetrapod.core.rpc.*;
import io.tetrapod.core.serialize.dat... |
package de.slikey.effectlib.util;
import de.slikey.effectlib.util.ReflectionUtils.PackageType;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry... |
package org.intermine.dataloader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
import org.intermine.... |
package com.echsylon.atlantis;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import okio.Okio;
import okio.Source;
import static com.echsylon.atlantis.LogUtils.info;
i... |
package edu.cmu.sv.ws.ssnoc.rest;
import java.sql.Timestamp;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.xml.bind.annota... |
package com.mikepenz.materialdrawer;
import android.app.Activity;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.ActionBarDrawerToggle;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AbsListView;
import android.widge... |
package org.intermine.web;
import org.intermine.metadata.ClassDescriptor;
import org.intermine.metadata.FieldDescriptor;
import org.intermine.metadata.Model;
import org.intermine.metadata.PrimaryKey;
import org.intermine.metadata.PrimaryKeyUtil;
import org.intermine.metadata.ReferenceDescriptor;
import org.intermine.mo... |
package edu.wustl.catissuecore.action;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
im... |
package cx2x.xcodeml.xelement;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import java.util.Hashtable;
/**
* The XargumentsTable represents the arguments (7.5.3) element in XcodeML
* intermediate representation.
*
* Elements:
* - Optional:
* - exprModel
*
* @author clemen... |
package eu.thog92.generator.api.http;
import eu.thog92.generator.api.BotGenerator;
import eu.thog92.generator.core.http.handler.ChannelHandler;
import eu.thog92.generator.util.MineTypeDatabase;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.buffer.Unpooled;
import io.netty.channel.*;
import io.netty.channel... |
package edu.wustl.query.action;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
im... |
package fotowebstore.controller;
import fotowebstore.dao.UserDao;
import fotowebstore.entities.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.... |
package fr.aumgn.diamondrush.views;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.bukkit.ChatColor;
public class MessagesView implements Iterable<String> {
private List<String> messages;
private StringBuilder current;
public MessagesView() {
this.messages =... |
package com.airbnb.lottie;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Rect;
import android.os.AsyncTask;
import android.support.annotation.Nullable;
import android.support.v4.util.LongSparseArray;
import org.json.JSONArray;
import org.json.JSONException;
import org.jso... |
package fr.masterdocs.plugin;
import static java.io.File.separator;
import static java.text.MessageFormat.format;
import static org.springframework.util.StringUtils.capitalize;
import java.beans.IntrospectionException;
import java.io.*;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
import java... |
package com.photoselector.ui;
/**
*
* @author Aizaz AZ
*
*/
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.net.URI;
import java.util.ArrayList;
import java.util.List;
import android.app.Activity;
import android.app.AlertDialog;
import andro... |
package org.xtreemfs.foundation.util;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.PrintStream;
import java.util.Map;
import org.apache.commons.codec.binary.Base64;
/**
*
* @author bjko
*/
public final class OutputUtils {
public static final char[] trHex = { '0', '1', '2', '3'... |
package org.workcraft.gui.layouts;
import java.awt.*;
import javax.swing.JScrollPane;
import javax.swing.SwingUtilities;
/**
* FlowLayout subclass that fully supports wrapping of components.
*/
public class WrapLayout extends FlowLayout {
private Dimension preferredLayoutSize;
/**
* Constructs a new <cod... |
package hu.webarticum.treeprinter.text;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.text.Normalizer;
public class TextUtil {
private static final String ANSI_RESET = "\u001B[0m";
private static final Pattern LINE_SEPARATOR_PATTERN = Pattern.compile("\\R");
private static fina... |
package hudson.plugins.templateproject;
import hudson.Extension;
import hudson.FilePath;
import hudson.Launcher;
import hudson.model.BuildListener;
import hudson.model.Item;
import hudson.model.TaskListener;
import hudson.model.AbstractBuild;
import hudson.model.AbstractProject;
import hudson.model.Hudson;
import hudso... |
package ca.corefacility.bioinformatics.irida.service.remote;
import java.util.Collection;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang3.time.DateUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.bean... |
package hx.minepainter.sculpture;
import java.util.List;
import java.util.Random;
import java.util.TreeSet;
import hx.minepainter.ModMinePainter;
import hx.utils.Debug;
import hx.utils.Utils;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minec... |
package com.welovecoding.netbeans.plugin.editorconfig.listener;
import com.welovecoding.netbeans.plugin.editorconfig.model.EditorConfigConstant;
import com.welovecoding.netbeans.plugin.editorconfig.util.FileAttributes;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.... |
package edu.kit.ipd.crowdcontrol.objectservice.database.operations;
import edu.kit.ipd.crowdcontrol.objectservice.database.model.Tables;
import edu.kit.ipd.crowdcontrol.objectservice.database.model.tables.records.*;
import edu.kit.ipd.crowdcontrol.objectservice.database.transformers.AnswerRatingTransformer;
import edu.... |
package org.ccnx.ccn.impl.repo;
import java.io.IOException;
import java.util.ArrayList;
import java.util.logging.Level;
import org.ccnx.ccn.CCNFilterListener;
import org.ccnx.ccn.CCNHandle;
import org.ccnx.ccn.impl.repo.RepositoryInfo.RepositoryInfoObject;
import org.ccnx.ccn.impl.support.Log;
import org.ccnx.ccn.io.co... |
package icircles.abstractdual;
import icircles.abstractdescription.AbstractBasicRegion;
import icircles.abstractdescription.AbstractCurve;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.jgrapht.EdgeFactory;
import org.jgrapht.Graph;
import org.jgrapht.UndirectedGraph;
imp... |
package io.github.mzmine.modules.visualization.spectra.simplespectra.datasets;
import com.google.common.collect.Range;
import io.github.mzmine.datamodel.Scan;
import io.github.mzmine.util.scans.ScanUtils;
import java.util.Hashtable;
import java.util.Map;
import org.jfree.data.xy.AbstractXYDataset;
import org.jfree.data... |
package info.iconmaster.typhon.util;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.stream.Collectors;
import info.iconmaster.typhon.antlr.TyphonParser.ExprContext;
impo... |
package org.broadinstitute.hellbender.tools.walkers.gnarlyGenotyper;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.primitives.Ints;
import htsjdk.variant.variantcontext.*;
import htsjdk.variant.vcf.*;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang3.tuple.Pa... |
package innovimax.mixthem.operation;
import innovimax.mixthem.arguments.FileMode;
import innovimax.mixthem.arguments.RuleParam;
import innovimax.mixthem.arguments.ParamValue;
import java.util.Map;
public class CopyFactory {
/**
* @param fileMode The file mode for reading files
* @see innovimax.mixthem.arg... |
package mil.nga.giat.mage.map;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.AsyncTask;
import android.preference.PreferenceManager;
import java.util.ArrayList;
import java.util.Collection;
import mil.nga.giat.mage.R;
import mil.nga.giat.mage.filter.FavoriteFilter;
import m... |
package io.corbel.lib.ws.auth;
import io.corbel.lib.token.reader.TokenReader;
import com.google.gson.JsonObject;
import java.util.Collections;
import java.util.Set;
/**
* @author Alexander De Leon
*
*/
public class AuthorizationInfo {
private final TokenReader tokenReader;
private final Set<JsonObject> acces... |
package com.joelapenna.foursquared;
import com.joelapenna.foursquare.Foursquare;
import com.joelapenna.foursquare.error.FoursquareException;
import com.joelapenna.foursquare.types.City;
import com.joelapenna.foursquare.types.Group;
import com.joelapenna.foursquare.types.Venue;
import com.joelapenna.foursquared.provider... |
package io.ebean.docker.commands;
import java.io.OutputStreamWriter;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import java.util.Properties;
public class RedisContainer extends BaseContainer {
/**
* Create the RedisContainer with configuration via properties.
*/
public static ... |
package io.github.classgraph;
import java.lang.reflect.Array;
import java.util.List;
import java.util.Objects;
import java.util.Set;
import io.github.classgraph.Classfile.TypePathNode;
import nonapi.io.github.classgraph.types.ParseException;
import nonapi.io.github.classgraph.types.Parser;
/** An array type signature. ... |
package org.languagetool.tools;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintStream;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.lang.reflect.Constructor;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import ... |
package io.mycat.sqlengine.mpp;
import io.mycat.net.NetSystem;
import io.mycat.route.RouteResultset;
import io.mycat.route.RouteResultsetNode;
import io.mycat.server.NonBlockingSession;
import io.mycat.server.executors.MultiNodeQueryHandler;
import io.mycat.server.packet.RowDataPacket;
import io.mycat.sqlengine.tmp.Row... |
/*
Find Minimum in Rotated Sorted Array
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).
Find the minimum element.
You may assume no duplicate exists in the array.
*/
public class FindMin {
public static int findMin(int[] nums) {
int left... |
package io.risotto.annotations;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Documented;
import java.lang.anno... |
package me.prettyprint.cassandra.model;
import static me.prettyprint.cassandra.utils.Assert.noneNull;
import static me.prettyprint.cassandra.utils.Assert.notNull;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import me.prettyprint.cassandra.extractors.StringExtractor;
import me.prettyprint.cass... |
package net.imagej.ops.special.inplace;
import net.imagej.ops.Op;
import net.imagej.ops.OpEnvironment;
import net.imagej.ops.OpUtils;
import net.imagej.ops.special.SpecialOp;
/**
* Utility class for looking up inplace ops in a type-safe way.
*
* @author Curtis Rueden
* @see UnaryInplaceOp
*/
public final class Inp... |
package net.malisis.core.client.gui;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import net.malisis.core.client.gui.component.UIComponent;
import net.malisis.core.client.gui.component.container.UIContainer;
import net.malisis.core.clien... |
package net.sf.mzmine.desktop.impl;
import java.awt.Font;
import java.awt.Image;
import java.awt.Taskbar;
import java.util.Enumeration;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.ToolTipManager;
import javax.swing.UIManager;
import javafx.application.Platform;
import javafx.embe... |
package com.qiniu.android.http;
import android.os.Looper;
import android.os.Message;
import android.util.Log;
import com.loopj.android.http.AsyncHttpResponseHandler;
import com.qiniu.android.common.Config;
import com.qiniu.android.utils.Dns;
import org.apache.http.Header;
import org.json.JSONException;
import org.json.... |
package org.ansj.splitWord.analysis;
import java.io.Reader;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.ansj.app.crf.SplitWord;
import org.ansj.dic.LearnTool;
import org.ansj.domain.AnsjItem;
import org.ansj.domain.Nature;
import org.ansj.domain.NewWord;... |
package com.xpn.xwiki.internal.observation.remote.converter;
import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;
import org.xwiki.bridge.event.WikiCreatedEvent;
import org.xwiki.bridge.event.WikiDeletedEvent;
import org.xwiki.component.annotation.Component;
import org.xwiki.observation.event.Ev... |
package com.esri.arcgis.android.samples.addcsv2graphic;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.HashMap;
... |
package org.apdplat.jsearch.search;
import org.apdplat.jsearch.score.ProximityScore;
import org.apdplat.jsearch.score.Score;
import org.apdplat.jsearch.score.WordFrequencyScore;
import org.apdplat.word.WordSegmenter;
import org.apdplat.word.segmentation.SegmentationAlgorithm;
import org.apdplat.word.segmentation.Word;
... |
package org.micromanager.imageDisplay;
import com.google.common.eventbus.EventBus;
import com.google.common.eventbus.Subscribe;
import java.util.ArrayList;
import java.util.HashMap;
import javax.swing.JPanel;
import org.micromanager.utils.ReportingUtils;
/**
* This class is responsible for containing and managing grou... |
package org.concord.energy3d.scene;
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.Container;
import java.awt.Dimension;
import java.io.IOException;
import java.net.URL;
import java.nio.FloatBuffer;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.... |
package de.plushnikov.intellij.lombok.processor.field;
import com.intellij.openapi.project.Project;
import com.intellij.psi.JavaPsiFacade;
import com.intellij.psi.PsiAnnotation;
import com.intellij.psi.PsiClass;
import com.intellij.psi.PsiClassType;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElement... |
package org.databene.commons.ui.swing;
import javax.swing.*;
import javax.swing.table.TableCellRenderer;
import javax.swing.table.TableRowSorter;
import org.databene.commons.BeanUtil;
import java.awt.*;
import java.awt.geom.Rectangle2D;
/**
* Provides Swing utilities.<br/>
* <br/>
* Created: 23.04.2007 22:41:21
* @... |
package net.hawkengine.core.materialhandler.materialupdaters;
import net.hawkengine.core.materialhandler.materialservices.GitService;
import net.hawkengine.core.materialhandler.materialservices.IGitService;
import net.hawkengine.model.GitMaterial;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;... |
package org.gbif.api.vocabulary;
import java.util.List;
import com.google.common.collect.ImmutableList;
/**
* An enumeration of validation rules for single occurrence records.
*/
public enum OccurrenceIssue {
/**
* Coordinate is the exact 0/0 coordinate, often indicating a bad null coordinate.
*/
ZERO_COORD... |
package org.intellimate.server.data;
import java.io.InputStream;
/**
* @author LeanderK
* @version 1.0
*/
public interface FileStorage {
void save(InputStream inputStream, String name);
void delete(String name);
String getLink(String name);
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.