answer stringlengths 17 10.2M |
|---|
package org.opencb.cellbase.app.cli;
import org.opencb.cellbase.core.loader.LoadRunner;
import org.opencb.cellbase.core.loader.LoaderException;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.nio.file.DirectoryStream;
import java.nio.file.Files;
import java.nio.file.Path;
imp... |
package com.intellij.ide.actions;
import com.intellij.ide.IdeBundle;
import com.intellij.openapi.fileTypes.FileType;
import com.intellij.openapi.fileTypes.ex.FileTypeChooser;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.ui.Messages;
import com.intellij.openapi.util.IconLoader;
import com.int... |
package natlab.backends.x10.codegen;
import java.util.ArrayList;
import java.util.Collection;
import natlab.tame.valueanalysis.components.shape.*;
import natlab.backends.x10.IRx10.ast.IDInfo;
import natlab.backends.x10.IRx10.ast.Type;
import natlab.tame.classes.reference.ClassReference;
import natlab.tame.tir.TIRAbstra... |
package me.lucko.luckperms.common.webeditor;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import me.lucko.luckperms.common.actionlog.LoggedAction;
import me.lucko.luckperms.common.command.access.ArgumentPermissions;
import me.lucko.luckperms.common.command.acc... |
package org.commcare.util.screen;
import static org.commcare.suite.model.QueryPrompt.INPUT_TYPE_ADDRESS;
import static org.commcare.suite.model.QueryPrompt.INPUT_TYPE_CHECKBOX;
import static org.commcare.suite.model.QueryPrompt.INPUT_TYPE_DATE;
import static org.commcare.suite.model.QueryPrompt.INPUT_TYPE_DATERANGE;
im... |
package com.yahoo.config.subscription.impl;
import com.yahoo.config.ConfigInstance;
import com.yahoo.config.subscription.ConfigSet;
import com.yahoo.config.subscription.ConfigSource;
import com.yahoo.config.subscription.ConfigSourceSet;
import com.yahoo.config.subscription.ConfigSubscriber;
import com.yahoo.config.subs... |
package com.qiniu.android;
import android.test.InstrumentationTestCase;
import android.test.suitebuilder.annotation.MediumTest;
import android.test.suitebuilder.annotation.SmallTest;
import android.util.Log;
import com.qiniu.android.http.ResponseInfo;
import com.qiniu.android.storage.Configuration;
import com.qiniu.and... |
package io.fotoapparat;
import android.content.Context;
import io.fotoapparat.hardware.CameraDevice;
import io.fotoapparat.hardware.provider.AvailableLensPositionsProvider;
import io.fotoapparat.hardware.provider.CameraProvider;
import io.fotoapparat.hardware.provider.V1AvailableLensPositionProvider;
import io.fotoappa... |
package org.exist.security;
import java.util.LinkedList;
import org.exist.jetty.JettyStart;
import org.exist.security.internal.aider.GroupAider;
import org.exist.security.internal.aider.UserAider;
import org.exist.xmldb.UserManagementService;
import org.exist.xmldb.XPathQueryServiceImpl;
import org.junit.After;
import ... |
package utils;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.Callable;
... |
package org.jboss.as.controller;
import static org.jboss.as.controller.client.impl.AdditionalBootCliScriptInvoker.CLI_SCRIPT_PROPERTY;
import static org.jboss.as.controller.client.impl.AdditionalBootCliScriptInvoker.MARKER_DIRECTORY_PROPERTY;
import static org.jboss.as.controller.client.impl.AdditionalBootCliScriptInvo... |
package io.spine.base;
import com.google.common.base.Predicate;
import com.google.protobuf.Descriptors.FileDescriptor;
import com.google.protobuf.Message;
import static com.google.common.base.Preconditions.checkNotNull;
/**
* A common interface for command messages.
*
* <p>This interface is used by the Model Compile... |
package org.jboss.as.controller;
import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.POSSIBLE_CAUSES;
import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.SERVICES_MISSING_TRANSITIVE_DEPENDENCIES;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Ite... |
package com.uber.sdk.android.core.auth;
import android.app.Activity;
import android.content.Intent;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.pm.Signature;
import com.google.common.collect.ImmutableList;
import com.... |
package com.bloatit.web.utils.url;
import com.bloatit.web.html.pages.demand.DemandPage;
import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.Map;
import com.bloatit.common.FatalErrorException;
import com.bloatit.web.html.components.standard.HtmlLink;
import com.bloatit.web.server.Context;
import c... |
package com.macro.mall.dao;
import com.macro.mall.dto.OmsOrderDeliveryParam;
import com.macro.mall.dto.OmsOrderDetail;
import com.macro.mall.dto.OmsOrderQueryParam;
import com.macro.mall.model.OmsOrder;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface OmsOrderDao {
List<OmsOrder> ... |
/* OBJECT-ORIENTED RECOGNIZER FOR SIMPLE EXPRESSIONS
program -> decls stmts end
decls -> int idlist ';'
idlist -> id [',' idlist ]
stmts -> stmt [ stmts ]
stmt -> assign ';'| cmpd | cond | loop
assign -> id '=' expr
cmpd -> '{' stmts '}'
cond -> ... |
package whelk.export.marc;
import org.apache.commons.lang3.StringUtils;
import se.kb.libris.export.ExportProfile;
import se.kb.libris.util.marc.MarcRecord;
import se.kb.libris.util.marc.io.Iso2709MarcRecordWriter;
import se.kb.libris.util.marc.io.MarcRecordWriter;
import se.kb.libris.util.marc.io.MarcXmlRecordWriter;
i... |
package org.jgroups.tests;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jgroups.*;
import org.jgroups.blocks.RpcDispatcher;
import org.jgroups.protocols.BasicTCP;
import org.jgroups.protocols.TCPPING;
import org.jgroups.protocols.UDP;
import org.jgroups.protocols.TP;
i... |
package org.ow2.chameleon.fuchsia.core;
import org.apache.felix.ipojo.annotations.Bind;
import org.apache.felix.ipojo.annotations.Component;
import org.apache.felix.ipojo.annotations.Controller;
import org.apache.felix.ipojo.annotations.Invalidate;
import org.apache.felix.ipojo.annotations.Property;
import org.apache.f... |
package jolie.net;
import java.io.IOException;
import java.io.InputStream;
public class PreBufferedInputStream extends InputStream
{
private static final int INITIAL_BUFFER_SIZE = 10;
private final InputStream istream;
private byte[] buffer = new byte[ INITIAL_BUFFER_SIZE ];
private int writePos = 0;
... |
package org.eddy.schedule;
import org.eddy.manager.ComputerAndLoadHistoryStock;
import org.eddy.manager.CrawlStockManager;
import org.eddy.manager.StockBuyManager;
import org.eddy.manager.StockSaleManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autow... |
package org.jetbrains.ether;
import org.codehaus.gant.GantBinding;
import org.codehaus.groovy.runtime.DefaultGroovyMethods;
import org.jetbrains.ether.dependencyView.*;
import org.jetbrains.jps.*;
import org.jetbrains.jps.idea.IdeaProjectLoader;
import org.jetbrains.jps.resolvers.PathEntry;
import java.io.*;
import jav... |
package com.here;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Map;
import java.util.List;
import org.codehaus.jackson.JsonParseException;
import org.codehaus.jackson.JsonPars... |
package org.collectionspace.chain.csp.webui.misc;
import java.util.HashSet;
import java.util.Set;
import org.collectionspace.chain.csp.config.ConfigException;
import org.collectionspace.chain.csp.schema.Record;
import org.collectionspace.chain.csp.schema.Spec;
import org.collectionspace.chain.csp.webui.main.Request;
im... |
package org.datavaultplatform.worker.queue;
import com.rabbitmq.client.ConnectionFactory;
import com.rabbitmq.client.Connection;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.QueueingConsumer;
import java.io.IOException;
import java.nio.file.*;
import java.util.concurrent.TimeoutException;
import com.f... |
//$HeadURL$
package org.deegree.feature.persistence.shape;
import static java.nio.ByteOrder.BIG_ENDIAN;
import static java.nio.ByteOrder.LITTLE_ENDIAN;
import static org.deegree.feature.types.property.GeometryPropertyType.GeometryType.GEOMETRY;
import static org.deegree.feature.types.property.GeometryPropertyType.Geome... |
package com.orientechnologies.orient.setup;
import com.orientechnologies.orient.core.db.OrientDB;
import com.orientechnologies.orient.core.db.OrientDBConfig;
import io.kubernetes.client.openapi.ApiClient;
import io.kubernetes.client.openapi.ApiException;
import io.kubernetes.client.openapi.Configuration;
import io.kube... |
package me.srodrigo.databindingtest.modules.user;
public final class UserProvider {
public interface Callback {
void onUserRetrieved(me.srodrigo.databindingtest.model.User user);
}
private Callback callback;
public void provideUser() {
simulateDelay();
callback.onUserRetrieved(ne... |
package org.dspace.curate;
import org.apache.commons.httpclient.methods.GetMethod;
import org.apache.commons.httpclient.params.HttpMethodParams;
import org.dspace.authorize.AuthorizeException;
import org.dspace.content.Collection;
import org.dspace.content.DCDate;
import org.dspace.content.DCValue;
import org.dspace.co... |
package lab.dynafig.jcache;
import lab.dynafig.Default;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import javax.cache.Cache;
import javax.cache.configuration.FactoryBuilder.SingletonFactory;
import javax.cache.configuration.MutableCacheEntryListenerConfigu... |
package de.lmu.ifi.dbs.elki.algorithm.outlier.lof;
import de.lmu.ifi.dbs.elki.algorithm.AbstractDistanceBasedAlgorithm;
import de.lmu.ifi.dbs.elki.algorithm.outlier.OutlierAlgorithm;
import de.lmu.ifi.dbs.elki.data.NumberVector;
import de.lmu.ifi.dbs.elki.data.type.CombinedTypeInformation;
import de.lmu.ifi.dbs.elki.da... |
package ch.vorburger.nulls.examples.hello;
import java.util.HashMap;
import java.util.Map;
import java.util.Optional;
import org.eclipse.jdt.annotation.Nullable;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class Hello implements SomeInterface {
private static final Logger LOG = LoggerFactory.get... |
import org.junit.Ignore;
import org.junit.Before;
import org.junit.Test;
import java.util.List;
import static java.util.Arrays.asList;
import static java.util.Collections.singletonList;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
public final class DiamondPrinterTest {
pri... |
package net.sf.farrago.fennel;
import java.util.Arrays;
/**
* FennelPseudoUuid represents universal unique identifiers (UUIDs). UUIDs
* are generated via Fennel (via {@link FennelPseudoUuidGenerator}) in a way
* that abstracts away OS and hardware dependencies.
*
* <p>Depends on Fennel's libfarrago.
*
* @author... |
package org.opendaylight.protocol.framework;
import io.netty.bootstrap.Bootstrap;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.Channel;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelFutureListener;
import io.netty.channel.ChannelHandler;
import io.netty.channel.ChannelIniti... |
package com.health.visuals;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import com.health.Column;
import com.health.Record;
import com.health.Table;
import com.health.ValueType;
import com.xeiam.xchart.Chart;
import com.xeiam.xchart.ChartBuilder;
import com.xeiam.xchart.StyleManager.Char... |
package com.almasb.fxgl.tools.dialogues;
import com.almasb.fxgl.app.GameApplication;
import com.almasb.fxgl.app.GameSettings;
import com.almasb.fxgl.dsl.FXGL;
import java.util.Map;
/**
* A dialogue editor for FXGL.
*
* @author Almas Baimagambetov (AlmasB) (almaslvl@gmail.com)
*/
public class DialogueEditorApp exten... |
package au.gov.ga.geodesy.port.adapter.rest;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.io.StringReader;
import java.io.StringWriter;
import java.net.URI;
import java.net.URISyntaxException;
import java.nio.charset.StandardCha... |
package com.gsos.dimiter_robin;
import java.math.BigInteger;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import com.gsos.dimiter_robin.ibanInterface.Fault;
import com.gsos.dimiter_robin.ibanInterface.Fault_Exception;
import com.gsos.dimiter_robin.ibanInterface.IbanResponse;
impor... |
package com.nsqre.insquare.Fragments;
import android.Manifest;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.IntentFilter;
import android.c... |
package radl.java.generation.spring;
import static org.junit.Assert.assertNotNull;
import static org.mockito.Mockito.mock;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Locale;
import org.ju... |
package com.intellij.java.refactoring;
import com.intellij.JavaTestUtil;
import com.intellij.codeInsight.CodeInsightUtil;
import com.intellij.codeInsight.NullableNotNullManager;
import com.intellij.lang.java.JavaLanguage;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.editor.Edi... |
package org.xtreemfs.sandbox.benchmark;
import java.util.LinkedList;
import java.util.Random;
import org.xtreemfs.common.libxtreemfs.FileHandle;
import org.xtreemfs.common.libxtreemfs.Volume;
import org.xtreemfs.common.libxtreemfs.exceptions.PosixErrorException;
import org.xtreemfs.foundation.logging.Logging;
import or... |
package net.bull.javamelody;
import static org.easymock.EasyMock.createNiceMock;
import static org.easymock.EasyMock.expect;
import static org.easymock.EasyMock.replay;
import static org.easymock.EasyMock.verify;
import java.io.IOException;
import java.util.Arrays;
import java.util.Collections;
import java.util.Map;
im... |
package org.javers.core.diff.appenders;
import java.util.Set;
import org.javers.model.domain.Change;
import org.javers.model.domain.Diff;
import org.javers.model.domain.GlobalCdoId;
import org.javers.model.object.graph.ObjectNode;
public abstract class ChangeSetAppender {
public void append(Diff currentDiff, Set<Obje... |
package org.jboss.as.jaxrs.deployment;
import org.jboss.as.jaxrs.JaxrsAnnotations;
import org.jboss.as.server.Services;
import org.jboss.as.server.deployment.Attachments;
import org.jboss.as.server.deployment.DeploymentPhaseContext;
import org.jboss.as.server.deployment.DeploymentUnit;
import org.jboss.as.server.deploy... |
package com.offbytwo.jenkins.client;
import static com.fasterxml.jackson.databind.DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES;
import static org.apache.commons.lang.StringUtils.isNotBlank;
import java.io.IOException;
import java.io.InputStream;
import java.net.URI;
import java.util.List;
import java.util.Map;
imp... |
package org.jlib.core.valueholder;
import org.jlib.core.ValueNotAccessibleException;
/**
* Skeletal implementation of a not initialized {@link ModifiableValueHolder}.
*
* @param <Value>
* type of the value
*
* @author Igor Akkerman
*/
public abstract class UninitializedValueHolder<Value>
implements Modifi... |
package net.viperfish.journal2.transaction;
import java.nio.file.Files;
import java.nio.file.Paths;
import javafx.concurrent.Service;
import javafx.concurrent.Task;
import net.viperfish.journal2.core.CrudRepository;
import net.viperfish.journal2.core.Journal;
final class PurgeEntryService extends Service<Journal> {
... |
package logbook.dto;
import java.util.ArrayList;
import java.util.List;
import javax.json.JsonArray;
import javax.json.JsonNumber;
import javax.json.JsonObject;
import javax.json.JsonValue;
import logbook.data.context.GlobalContext;
import logbook.internal.Item;
import logbook.internal.Ship;
public final class BattleDt... |
package org.languagetool.tools;
import org.languagetool.JLanguageTool;
import org.languagetool.Language;
import org.languagetool.rules.Category;
import org.languagetool.rules.ITSIssueType;
import org.languagetool.rules.RuleMatch;
import org.languagetool.rules.patterns.PatternRule;
import java.util.List;
/**
* Generate... |
// This file is part of MuPDF.
// MuPDF is free software: you can redistribute it and/or modify it under the
// any later version.
// MuPDF is distributed in the hope that it will be useful, but WITHOUT ANY
// details.
// Alternative licensing terms are available from the licensor.
// Artifex Software, Inc., 1305 Grant... |
package com.google.sps.data;
import com.google.appengine.api.datastore.Key;
import com.google.appengine.api.datastore.Entity;
import java.util.ArrayList;
import java.util.List;
import com.google.sps.service.DatabaseService;
public class Room {
public static final String ROOM_ENTITY_NAME = "Room";
public static ... |
package kg.apc.jmeter.vizualizers;
// TODO: rows in settings should have color markers for better experience
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.SimpleDateFormat;
import java.util.LinkedList;
import java.util.List;
import javax.swing.*;
import kg.... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.micromanager.graph;
import ij.CompositeImage;
import ij.ImagePlus;
import ij.WindowManager;
import ij.process.ImageProcessor;
import ij.process.LUT;
import java.awt.BorderLayout;
import java.awt.Color;
import... |
package com.lukekorth.httpebble;
import java.util.UUID;
public class Constants {
public static final String HTTPEBBLE = "httpebble";
public static final String PEBBLE_ADDRESS = "address";
public static final UUID HTTPEBBLE_UUID = UUID.fromString("9141B628-BC89-498E-B147-049F49C099AD");
public static fin... |
package org.jerkar;
import org.jerkar.api.depmanagement.JkMavenPublication;
import org.jerkar.api.depmanagement.JkMavenPublicationInfo;
import org.jerkar.api.depmanagement.JkPublishRepos;
import org.jerkar.api.depmanagement.JkVersion;
import org.jerkar.api.java.JkJavaCompiler;
import org.jerkar.tool.JkOptions;
import o... |
/**
* NML, short for N-API Mod Loader in the style of FML, but only consists of loading code and is small as a result.
* Handles the main filesytem loading.
*
* @author Niadel
*/
package co.uk.niadel.napi.modhandler.nml; |
package com.amay077.android.mvvm;
import java.util.Map;
import com.amay077.android.mvvm.CallbackStore.OnActivityResultCallback;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.Context;
import android.content.Intent;
import android.os.Parcelable;
import android.support.v4.app.FragmentAc... |
package com.backendless.transaction;
import com.backendless.Persistence;
import com.backendless.exceptions.ExceptionMessage;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
class TransactionHelper
{
private static final String LAST_LOGIN_COLUMN_NAME = "lastLogin";
p... |
package com.gotech.tv.launcher.service;
import java.io.File;
import com.gotech.tv.launcher.util.Constant;
import com.gotech.tv.launcher.util.FileUtils;
import com.gotech.tv.launcher.vo.UserInfoVo;
import android.content.Context;
import android.os.Environment;
import android.text.TextUtils;
public class ContextManager
{... |
package org.broadinstitute.sting.utils.baq;
import net.sf.samtools.Cigar;
import net.sf.samtools.SAMRecord;
import net.sf.samtools.CigarElement;
import net.sf.samtools.CigarOperator;
import net.sf.picard.reference.IndexedFastaSequenceFile;
import net.sf.picard.reference.ReferenceSequence;
import org.broadinstitute.stin... |
package com.iskrembilen.quasseldroid.gui;
import java.util.ArrayList;
import java.util.List;
import java.util.Observable;
import java.util.Observer;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.ComponentName;
import android.content.Context;
import androi... |
package cn.jzvd;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.IntentFilter;
import android.graphics.Color;
import android.util.AttributeSe... |
package com.jayantkrish.jklol.ccg;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Set;
import com.google.common.base.Preconditions;
import com.google.common.collect.Iterables;
import com.google.common.collect.Lists;
impor... |
package com.jme3.animation;
import com.jme3.export.*;
import com.jme3.math.*;
import com.jme3.scene.Node;
import com.jme3.util.TempVars;
import java.io.IOException;
import java.util.ArrayList;
public final class Bone implements Savable {
// Version #2: Changed naming of transforms as they were misleading
public... |
package com.mebigfatguy.fbcontrib.detect;
import java.util.ArrayDeque;
import java.util.Deque;
import org.apache.bcel.classfile.Code;
import org.apache.bcel.classfile.Method;
import org.apache.bcel.generic.Type;
import com.mebigfatguy.fbcontrib.utils.BugType;
import com.mebigfatguy.fbcontrib.utils.ToString;
import edu.... |
package php.runtime.memory;
import php.runtime.Memory;
import php.runtime.common.Messages;
import php.runtime.common.collections.map.LinkedMap;
import php.runtime.env.Environment;
import php.runtime.env.TraceInfo;
import php.runtime.exceptions.CriticalException;
import php.runtime.exceptions.RecursiveException;
import ... |
package com.miviclin.droidengine2d.audio;
import java.io.IOException;
import android.content.Context;
import android.content.res.AssetFileDescriptor;
import android.media.AudioManager;
import android.media.MediaPlayer;
import android.media.MediaPlayer.OnCompletionListener;
import com.miviclin.droidengine2d.resources.As... |
package org.jpos.iso;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.EOFException;
import java.io.IOException;
import java.io.InterruptedIOException;
import java.net.ConnectException;
import java.net.InetAddress;
i... |
package com.reason.ide.structure;
import com.intellij.ide.structureView.StructureViewTreeElement;
import com.intellij.ide.util.treeView.smartTree.SortableTreeElement;
import com.intellij.ide.util.treeView.smartTree.TreeElement;
import com.intellij.navigation.ItemPresentation;
import com.intellij.navigation.NavigationIt... |
package com.valkryst.VTerminal.misc;
import com.github.benmanes.caffeine.cache.Cache;
import com.github.benmanes.caffeine.cache.Caffeine;
import com.valkryst.VTerminal.AsciiCharacter;
import com.valkryst.VTerminal.AsciiTile;
import com.valkryst.VTerminal.font.Font;
import lombok.Getter;
import lombok.NonNull;
import lo... |
package brix.demo.web;
import brix.Brix;
import brix.Plugin;
import brix.auth.AuthorizationStrategy;
import brix.config.BrixConfig;
import brix.demo.web.tile.stockquote.stateful.StatefulStockQuoteTile;
import brix.demo.web.tile.stockquote.stateless.StatelessStockQuoteTile;
import brix.demo.web.tile.time.TimeTile;
impor... |
package com.mobilejazz.coltrane.library.utils;
import android.database.Cursor;
import android.database.CursorWrapper;
import android.net.Uri;
import android.text.TextUtils;
import com.mobilejazz.coltrane.library.compatibility.DocumentsContract.Document;
public class DocumentCursor extends CursorWrapper {
private in... |
package com.almasb.fxgl.texture;
import com.almasb.fxgl.core.Disposable;
import javafx.geometry.HorizontalDirection;
import javafx.geometry.Rectangle2D;
import javafx.geometry.VerticalDirection;
import javafx.scene.image.*;
import javafx.scene.paint.Color;
import javafx.util.Duration;
/**
* Represents a 2D image which... |
package org.opendaylight.ovsdb.lib.schema;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import org.opendaylight.ovsdb.lib.error.BadSchemaException;
import com.fasterxml.jackson.databind.JsonNode;
public class GenericTableSchema extends TableSchema<GenericTableSchema> {
public GenericTa... |
package liquibase.resource;
import liquibase.exception.UnexpectedLiquibaseException;
import java.io.*;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.*;
import java.util.zip.GZIPInputStream;
/**
* A @{link ResourceAccesso... |
package io.freefair.gradle.plugins.lombok;
import io.freefair.gradle.plugins.lombok.tasks.Delombok;
import io.freefair.gradle.plugins.lombok.tasks.GenerateLombokConfig;
import lombok.Getter;
import org.gradle.api.Plugin;
import org.gradle.api.Project;
import org.gradle.api.file.RegularFileProperty;
import org.gradle.ap... |
package com.google.daggerquery.server;
import com.google.common.collect.ImmutableList;
import com.google.daggerquery.executor.QueryExecutor;
import io.undertow.server.HttpServerExchange;
import io.undertow.server.RoutingHandler;
import io.undertow.Undertow;
import io.undertow.util.HttpString;
import io.undertow.util.St... |
package ai.h2o.automl;
import hex.*;
import water.*;
import water.api.schemas3.KeyV3;
import water.exceptions.H2OIllegalArgumentException;
import water.fvec.Frame;
import water.util.IcedHashMap;
import water.util.Log;
import water.util.TwoDimTable;
import java.text.SimpleDateFormat;
import java.util.*;
import static wa... |
package org.jetel.graph;
import java.io.File;
import java.io.FileFilter;
import java.io.FileInputStream;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java... |
package cz.hobrasoft.pdfmu;
import com.itextpdf.text.DocumentException;
import com.itextpdf.text.pdf.PdfReader;
import com.itextpdf.text.pdf.PdfSignatureAppearance;
import com.itextpdf.text.pdf.PdfStamper;
import com.itextpdf.text.pdf.security.BouncyCastleDigest;
import com.itextpdf.text.pdf.security.CrlClient;
import ... |
package lombok.javac.handlers;
import static lombok.core.handlers.HandlerUtil.*;
import static lombok.javac.Javac.*;
import static lombok.javac.handlers.JavacHandlerUtil.*;
import java.util.ArrayList;
import org.mangosdk.spi.ProviderFor;
import com.sun.tools.javac.code.BoundKind;
import com.sun.tools.javac.code.Flags;
... |
import java.util.Scanner;
public class B {
private static Scanner scan;
public static void main(String[] args) {
scan = new Scanner(System.in);
int n = scan.nextInt();
int vet[] = new int[n];
int aux = 0;
boolean v = true;
for (int i = 0; i < n; i++) {
... |
// Solenoid tweets
// Under CC0 1.0 Universal (CC0 1.0) - Public Domain Dedication
import java.io.*;
import processing.*;
import processing.core.*;
import processing.serial.*; // serial communication library
public class Solenoid {
private String pin;
private boolean do_hit = false;
private byte[] bytes_pin = nul... |
package fi.uta.fsd.metkaSearch.handlers;
import fi.uta.fsd.Logger;
import fi.uta.fsd.metka.enums.*;
import fi.uta.fsd.metka.model.access.calls.*;
import fi.uta.fsd.metka.model.access.enums.StatusCode;
import fi.uta.fsd.metka.model.configuration.*;
import fi.uta.fsd.metka.model.data.RevisionData;
import fi.uta.fsd.metka... |
package etomica.action;
import etomica.atom.AtomLeaf;
import etomica.atom.AtomPair;
import etomica.atom.AtomPositionGeometricCenter;
import etomica.atom.IAtom;
import etomica.atom.iterator.AtomIteratorAllMolecules;
import etomica.box.Box;
import etomica.space.IVector;
import etomica.space.Space;
import etomica.util.Deb... |
package org.geotools.mbstyle;
import org.geotools.mbstyle.parse.MBFormatException;
import org.geotools.mbstyle.parse.MBStyleParser;
import org.geotools.mbstyle.transform.MBStyleTransformer;
import org.geotools.styling.FeatureTypeStyle;
import org.geotools.styling.StyledLayerDescriptor;
import org.json.simple.parser.Par... |
package org.geotools.swing;
import java.awt.Color;
import java.awt.Cursor;
import java.awt.Point;
import java.awt.event.ComponentListener;
import java.awt.event.HierarchyBoundsAdapter;
import java.awt.event.HierarchyEvent;
import java.awt.event.HierarchyListener;
import java.awt.event.MouseEvent;
import java.awt.geom.A... |
package ru.job4j.maximum;
/**
* Max class.
* @author Yury Chuksin (chuksin.yury@gmail.com)
* @since 18.01.2017
*/
public class Max {
/**
* maxFromTwo method compare two variables and takes maximum.
* @param first first of two compared variables
* @param second second of two compared variables
*/
... |
package org.fiteagle.adapters.motor.dm;
import java.util.Map;
import javax.ejb.ActivationConfigProperty;
import javax.ejb.MessageDriven;
import org.fiteagle.abstractAdapter.AbstractAdapter;
import org.fiteagle.abstractAdapter.dm.AbstractAdapterMDBListener;
import org.fiteagle.adapters.motor.MotorAdapter;
import org.fit... |
package ru.job4j;
import java.util.ArrayList;
import java.util.List;
public class ConvertList {
/**
* From Array to List.
*
* @param array int[][]
* @return list<Integer>
*/
public List<Integer> toList(int[][] array) {
List<Integer> rezult = new ArrayList<>();
for (int[]... |
package git4idea.rebase;
import com.intellij.ide.CopyProvider;
import com.intellij.ide.TextCopyProvider;
import com.intellij.openapi.actionSystem.*;
import com.intellij.openapi.application.ModalityState;
import com.intellij.openapi.project.DumbAwareAction;
import com.intellij.openapi.project.Project;
import com.intelli... |
package com.amd.aparapi;
import com.amd.aparapi.annotation.*;
import com.amd.aparapi.exception.*;
import com.amd.aparapi.internal.kernel.*;
import com.amd.aparapi.internal.model.CacheEnabler;
import com.amd.aparapi.internal.model.ValueCache;
import com.amd.aparapi.internal.model.ValueCache.ThrowingValueComputer;
import... |
package io.bisq.common.util;
import java.io.Serializable;
public class Tuple2<A, B> implements Serializable {
final public A first;
final public B second;
public Tuple2(A first, B second) {
this.first = first;
this.second = second;
}
@SuppressWarnings("SimplifiableIfStatement")
@... |
package dr.evomodel.coalescent;
import dr.evomodel.tree.TreeModel;
import dr.inference.model.Likelihood;
import dr.math.distributions.GammaDistribution;
/**
* Calculates a product of gamma densities and gamma tail probabilities.
*
* @author Guy Baele
*/
public class GammaProductLikelihood extends Likelihood.Abstrac... |
package dr.evomodel.continuous;
import dr.app.util.Arguments;
import dr.evolution.tree.MultivariateTraitTree;
import dr.evolution.tree.NodeRef;
import dr.evomodel.branchratemodel.BranchRateModel;
import dr.evomodel.tree.TreeStatistic;
import dr.geo.math.SphericalPolarCoordinates;
import dr.inference.model.Statistic;
im... |
package edu.mit.streamjit.impl.common;
import static com.google.common.base.Preconditions.checkNotNull;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;... |
package edu.ucsb.cs56.w14.lab05.acantor;
/** USDollarBills
USDollarBills is a class to represent a US dollar bill using the value and the name of the person on the bill
@author Phill Conrad
@author Antonio Cantor
@version 2014/02/11 for lab04, cs56, W14
*/
public class USDollarBills {
private String... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.