answer stringlengths 17 10.2M |
|---|
package algorithms.warmup;
import java.util.Scanner;
/*
* Problem Statement:
* You're given an array containing integer values. You need to print the
* fraction of count of positive numbers, negative numbers and zeroes to the
* total numbers. Print the value of the fractions correct to 3 decimal places.
*
* Input... |
package ibis.smartsockets.virtual.modules.direct;
import ibis.smartsockets.SmartSocketsProperties;
import ibis.smartsockets.direct.DirectServerSocket;
import ibis.smartsockets.direct.DirectSocket;
import ibis.smartsockets.direct.DirectSocketAddress;
import ibis.smartsockets.direct.DirectSocketFactory;
import ibis.smart... |
package interdroid.vdb.persistence.impl;
import interdroid.vdb.persistence.api.DirtyCheckoutException;
import interdroid.vdb.persistence.api.MergeInProgressException;
import interdroid.vdb.persistence.api.MergeInfo;
import interdroid.vdb.persistence.api.VdbCheckout;
import interdroid.vdb.persistence.api.VdbInitializer;... |
package org.apache.lucene.analysis;
import java.io.IOException;
/**
* Normalizes token text to lower case.
*
* @version $Id$
*/
public final class LowerCaseFilter extends TokenFilter {
public LowerCaseFilter(TokenStream in) {
super(in);
}
public final Token next() throws IOException {
Token t = input.... |
package me.teaisaweso.client.graphmanagers;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import me.teaisaweso.client.EdgeDrawable;
import me.teaisaweso.client.VertexDrawable;
import me.teaisaweso.shared.Edge;
import me.teaisaweso.shared.... |
package de.team33.patterns.random.tarvos;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.NoSuchElementException;
import java.util.Optional;
import jav... |
package org.aesh.readline.action.mappings;
import org.aesh.readline.InputProcessor;
import org.aesh.readline.ReadlineFlag;
import org.aesh.readline.action.Action;
import org.aesh.readline.terminal.Key;
import org.aesh.utils.Config;
public class EndOfFile implements Action {
private int EOFCounter = 0;
private i... |
package org.jivesoftware.wildfire.ldap;
import org.jivesoftware.util.JiveGlobals;
import org.jivesoftware.util.Log;
import org.jivesoftware.wildfire.user.UserNotFoundException;
import javax.naming.Context;
import javax.naming.NamingEnumeration;
import javax.naming.NamingException;
import javax.naming.directory.DirConte... |
package relex.concurrent;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
import jav... |
package at.fhtw.mcs.controller;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.ResourceBundle;
import java.util.Timer;
import java.util.TimerTask;
import java.util.concurrent.TimeUnit;
import javax.sound.... |
package banane.io.pdb.validator;
import banane.io.pdb.model.Hero;
import org.springframework.stereotype.Component;
import org.springframework.validation.Errors;
import org.springframework.validation.ValidationUtils;
import org.springframework.validation.Validator;
@Component
public class HeroValidator implements Valida... |
package blacksmyth.stopwatch;
import blacksmyth.stopwatch.model.StopWatchModel;
import blacksmyth.stopwatch.model.StopWatchModelBuilder;
import blacksmyth.stopwatch.presenter.StopWatchPresenter;
import blacksmyth.stopwatch.presenter.StopWatchPresenterBuilder;
import blacksmyth.stopwatch.view.StopWatchView;
import black... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package net.cantab.hayward.george.OCS.Parsing;
import VASSAL.Info;
import VASSAL.build.GameModule;
import VASSAL.command.Command;
import VASSAL.launch.BasicModule;
import VASSAL.launch.EditorWindow;
import VASSAL.launch.... |
package ch.openech.transaction;
import java.util.List;
import org.minimalj.backend.Backend;
import org.minimalj.backend.Persistence;
import org.minimalj.security.Subject;
import org.minimalj.transaction.criteria.By;
import org.minimalj.util.CloneHelper;
import org.minimalj.util.IdUtils;
import org.minimalj.util.StringU... |
package org.biojava.bio.structure.align.helper;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
public class JointFragments {
double rms;
List<int[]> idxlist;
public JointFragments(){
idxlist = new ArrayList<int[]>();
rms = 999;
}
... |
package cn.momia.mapi.api.course;
import cn.momia.api.course.CouponServiceApi;
import cn.momia.api.course.CourseServiceApi;
import cn.momia.api.course.OrderServiceApi;
import cn.momia.api.course.SubjectServiceApi;
import cn.momia.api.course.dto.course.Course;
import cn.momia.api.course.dto.subject.Subject;
import cn.mo... |
package org.callimachusproject.behaviours;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.Callable;
import org.apache.http.util.EntityUtils;
import org.callimachusproject.client.HttpUriClient;
import org.callimac... |
package cn.mutils.app.javadoc;
import cn.mutils.app.javadoc.model.*;
import cn.mutils.app.javadoc.sort.ClassDocInfoComparator;
import cn.mutils.app.javadoc.sort.ClassDocInfoTreeComparator;
import cn.mutils.app.javadoc.sort.FieldDocInfoComparator;
import cn.mutils.app.javadoc.sort.MethodDocInfoComparator;
import cn.muti... |
package co.carrotsword.shorten_sql;
import java.io.InputStream;
import java.sql.*;
import java.util.ArrayList;
import java.util.List;
/**
* @author carrotsword
* @since 15/02/07
*/
public class PreparedQx implements AutoCloseable {
PreparedStatement statement;
PreparedQx(Connection connection, String sql) throws... |
package codechicken.lib.render;
import codechicken.lib.vec.Matrix4;
import com.google.common.collect.ImmutableMap;
import net.minecraft.client.renderer.block.model.ItemCameraTransforms.TransformType;
import net.minecraftforge.common.model.TRSRTransformation;
import javax.vecmath.Matrix4f;
import javax.vecmath.Vector3f;... |
package com.areen.jlib.gui.fcb;
import com.areen.jlib.gui.ColorArrowUI;
import com.areen.jlib.tuple.Pair;
import com.areen.jlib.util.Sise;
import java.awt.event.*;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.*;
import javax.swing.event.PopupMenuEvent;
import javax.swing.event.Pop... |
package com.bladecoder.ink.runtime;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Random;
import com.bladecoder.ink.runtime.CallStack.Thread;
/**
* All story state information is included in the StoryState class, including
* global variables, read counts, the pointer to... |
package org.mozilla.mozstumbler.service.datahandling;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.os.Environment;
import android.provider.BaseColumns;
import android.util.Log;
import org.mozilla.mozstumbler.BuildConfig;
/... |
package org.mtransit.android.commons.provider;
import java.net.HttpURLConnection;
import java.net.SocketException;
import java.net.URL;
import java.net.URLConnection;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import... |
package com.codepoetics.protonpack;
import java.util.*;
import java.util.function.*;
import java.util.stream.Collector;
import java.util.stream.Collectors;
import java.util.stream.Stream;
/**
* A source of Streams that can be repeatedly streamed.
* @param <T> The type over which the streamable's streams stream.
*/
p... |
package org.transtruct.cmthunes.ircbot.applets;
import java.io.*;
import java.net.*;
import java.util.*;
import org.htmlparser.*;
import org.htmlparser.lexer.*;
import org.htmlparser.util.*;
import org.transtruct.cmthunes.util.*;
import org.transtruct.cmthunes.irc.*;
public class GroupHugApplet implements BotApplet {
... |
package com.conveyal.r5.analyst.broker;
import com.amazonaws.regions.Regions;
import com.amazonaws.services.ec2.AmazonEC2;
import com.amazonaws.services.ec2.AmazonEC2Client;
import com.amazonaws.services.ec2.model.*;
import com.conveyal.r5.analyst.cluster.GenericClusterRequest;
import com.conveyal.r5.common.JsonUtiliti... |
package org.usfirst.frc.team4930.robot.commands;
import org.usfirst.frc.team4930.robot.Robot;
import edu.wpi.first.wpilibj.command.Command;
/**
* ArmController Command
*
* @author Thomas : Telling the code that it needs the designated "arm".
*
*/
public class ArmController extends Command {
public ArmControlle... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.datatorrent.netlet;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.SelectionKey;
import java.nio.channels.SocketChannel;
import org.slf4j.Logger;
import org.slf4j.LoggerFacto... |
package org.usfirst.frc157.ProtoBot2017.commands;
import org.opencv.core.Point;
import org.usfirst.frc157.ProtoBot2017.Robot;
import org.usfirst.frc157.ProtoBot2017.subsystems.Drive.DriveMode;
import org.usfirst.frc157.ProtoBot2017.subsystems.Vision;
import edu.wpi.first.wpilibj.DriverStation;
import edu.wpi.first.wpil... |
package com.forter.monitoring;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringWriter;
import com.aphyr.riemann.client.RiemannClient;
import com.forter.monitoring.utils.Discovery;
import com.google.common.base.Throwables;
import org.testng.ITestResult;
import org.testng.TestListenerAdapter;... |
package com.github.aesteve.vertx.nubes;
import io.vertx.core.Handler;
import io.vertx.core.Vertx;
import io.vertx.core.json.JsonArray;
import io.vertx.core.json.JsonObject;
import io.vertx.ext.auth.AuthProvider;
import io.vertx.ext.web.RoutingContext;
import io.vertx.ext.web.handler.sockjs.SockJSHandlerOptions;
import ... |
package com.github.davidmoten.rx;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Comparator;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import com.github.davidmoten.rx.internal.operators.OperatorBufferEmissions;
import com.github.davidmoten.rx.internal.operators.Op... |
package com.github.emmanueltouzery.crony;
import java.time.DayOfWeek;
import java.time.ZonedDateTime;
import java.time.Month;
import javaslang.collection.List;
import javaslang.collection.Set;
import javaslang.control.Validation;
/**
* The cron class represents a cron specification.
*/
public class Cron
{
/**
... |
package com.google.sps.data;
import com.google.maps.GeoApiContext;
import com.google.maps.PlacesApi;
import com.google.maps.NearbySearchRequest;
import com.google.maps.TextSearchRequest;
import com.google.maps.model.LatLng;
import com.google.maps.model.LocationType;
import com.google.maps.model.Photo;
import com.google... |
package com.hivemq.spi.services;
import com.codahale.metrics.Metric;
import com.codahale.metrics.MetricRegistry;
import com.hivemq.spi.annotations.Nullable;
import com.hivemq.spi.metrics.HiveMQMetric;
import java.util.Map;
public interface MetricService {
/**
* Returns a specific HiveMQ metric. If the metric d... |
package com.impossibl.postgres.system;
import java.util.HashMap;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class Version {
//private static final Pattern VERSION_PATTERN = compile("(\\d+)(?:\\.(\\d+)(?:\\.(\\d+))?)?");
private static final Pattern VERSION_PATTERN = Pattern.compile("... |
package com.joelj.collections;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
public class LinkedArrayList<T> implements Iterable<T> {
public static final int DEFAULT_BLOCK_SIZE = 16;
private int size;
private int blockCount;
private final int blockSize;
private Block<T> ... |
package com.kiran.service.integration;
import com.kiran.service.exception.InvalidMove;
import org.json.JSONArray;
import org.json.JSONObject;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframework.htt... |
package com.kodcu.config;
import javafx.collections.ObservableList;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import javax.json.*;
import java.util.LinkedList;
import java.util.List;
import jav... |
package com.microsoft.sqlserver.jdbc;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Reader;
import java.io.UnsupportedEnc... |
package protocolsupport.protocol.pipeline.common;
import java.io.IOException;
import java.nio.channels.ClosedChannelException;
import java.text.MessageFormat;
import java.util.HashSet;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;
import io.netty.channel.ChannelDuplexHandler;
import io.netty.chann... |
package com.robohorse.pagerbullet;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.drawable.Drawable;
import android.support.annotation.IntDef;
import android.support.v4.content.ContextCompat;
import android.support.v4.graphics.drawable.DrawableCompat;
import android.suppo... |
package com.sidie88.IndocyberTest;
import java.math.BigDecimal;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import org.joda.time.DateTime;
import org.joda.time.format.DateTimeFormat;
import org.joda.time.format.DateTimeFormatter;
import org.zkoss.bind.annotation.BindingParam;
import org.zko... |
package com.skcraft.smes.util.setup;
import com.skcraft.smes.SMES;
import com.skcraft.smes.item.ItemMeta;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.item.EnumRarity;
import net.minecraft.item.ItemStack;
public class SMESItems {
public static ItemMeta itemDusts;
public static ItemStac... |
package smp.components.staff;
import java.util.ArrayList;
import java.util.Set;
import smp.ImageIndex;
import smp.ImageLoader;
import smp.SoundfontLoader;
import smp.components.Values;
import smp.components.InstrumentIndex;
import smp.components.staff.sequences.StaffAccidental;
import smp.components.staff.sequences.Sta... |
package com.walkertribe.ian.iface;
import java.util.Collections;
import java.util.List;
import com.walkertribe.ian.protocol.ArtemisPacket;
import com.walkertribe.ian.protocol.ArtemisPacketException;
import com.walkertribe.ian.protocol.core.world.ObjectUpdatePacket;
import com.walkertribe.ian.world.ArtemisObject;
/**
*... |
package com.wandrell.velocity.tool;
import static com.google.common.base.Preconditions.checkNotNull;
import java.util.regex.Pattern;
import org.apache.maven.doxia.site.decoration.DecorationModel;
import org.apache.velocity.tools.ToolContext;
import org.apache.velocity.tools.config.DefaultKey;
import org.apache.velocity... |
package au.com.windyroad.hyperstate.server;
import static org.hamcrest.Matchers.*;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutionException;
import java.util.stream.Collectors;
import org.apache.http.i... |
package de.bettinggame.adapter;
import de.bettinggame.domain.Game;
import de.bettinggame.domain.TournamentLevel;
import de.bettinggame.domain.repository.GameRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.an... |
package br.com.rcmoutinho.javatohtml.core.tag;
import static br.com.rcmoutinho.javatohtml.core.ElementTestUtil.countSupportedTagToAppend;
import static br.com.rcmoutinho.javatohtml.core.ElementTestUtil.countSupportedTagToPrepend;
import static br.com.rcmoutinho.javatohtml.core.ElementTestUtil.countUnsupportedTagExcepti... |
package de.cubeisland.engine.i18n;
import de.cubeisland.engine.i18n.language.ClonedLanguage;
import de.cubeisland.engine.i18n.language.Language;
import de.cubeisland.engine.i18n.language.SourceLanguage;
import de.cubeisland.engine.i18n.translation.TranslationLoader;
import java.util.Collection;
import java.util.HashMap... |
package com.angkorteam.fintech.installation;
import java.io.File;
import java.io.FileInputStream;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Properties;
import j... |
package de.rwth.idsg.velocity.domain;
import de.rwth.idsg.velocity.domain.login.User;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.annotations.Type;
import org.joda.time.LocalDate;
import javax.persistence.*;
import java.io.Serializable;
impor... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.asascience.ncsos.getCaps;
import com.asascience.ncsos.getcaps.SOSGetCapabilitiesRequestHandler;
import com.asascience.ncsos.outputformatter.SOSOutputFormatter;
import com.asascience.ncsos.service.SOSParser;
i... |
package de.skuzzle.jeve;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.function.BiConsumer;
import de.skuzzle.jeve.ExceptionCallback;
import de.skuzzle.jeve.Listeners;
/**
* Implementation of b... |
package edu.neu.ccs.pyramid.experiment;
import edu.neu.ccs.pyramid.configuration.Config;
import edu.neu.ccs.pyramid.dataset.DataSetType;
import edu.neu.ccs.pyramid.dataset.MultiLabel;
import edu.neu.ccs.pyramid.dataset.MultiLabelClfDataSet;
import edu.neu.ccs.pyramid.dataset.TRECFormat;
import edu.neu.ccs.pyramid.eval.... |
package com.google.step.snippet;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import com.google.step.snippet.data.Card;
import com.google.step.snippet.external.W3SchoolsClient;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@RunWith(JU... |
package eu.scape_project.pt.util.fs;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.URI;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.f... |
package net.openhft.chronicle.core;
import org.junit.Test;
import static junit.framework.TestCase.assertTrue;
public class JvmSafepointTest {
@Test
public void testSafepoint() {
@SuppressWarnings("AnonymousHasLambdaAlternative")
Thread t = new Thread() {
public void run() {
... |
package gov.nasa.jpl.mbee.mdk.emf;
import com.nomagic.magicdraw.core.Project;
import com.nomagic.magicdraw.core.ProjectUtilities;
import com.nomagic.uml2.ext.jmi.helpers.ModelHelper;
import com.nomagic.uml2.ext.jmi.helpers.StereotypesHelper;
import com.nomagic.uml2.ext.magicdraw.auxiliaryconstructs.mdmodels.Model;
impo... |
package imagej.workflowpipes.pipesentity;
import java.io.Serializable;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.Iterator;
import org.json.JSONObject;
/*
* Used to represent the conf JSON entity
*/
public class Conf implements Serializable {
private Name name;
private Type ... |
package nallar.tickprofiler.minecraft;
import me.nallar.modpatcher.ModPatcher;
import nallar.tickprofiler.Log;
import net.minecraftforge.fml.relauncher.IFMLLoadingPlugin;
import java.util.*;
@IFMLLoadingPlugin.MCVersion("@MC_VERSION@")
@IFMLLoadingPlugin.SortingIndex(1001)
public class CoreMod implements IFMLLoadingPlu... |
package net.darkhax.bookshelf.util;
import net.minecraft.world.World;
import net.minecraft.world.WorldServer;
public final class WorldUtils {
/**
* Utility classes, such as this one, are not meant to be instantiated. Java
* adds an implicit public constructor to every class which does not define at
*... |
package net.folab.fo.bytecode;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import net.folab.fo.ast.Statement;
import org.objectweb.asm.ClassWriter;
import org.objectweb.asm.MethodVisitor;
import org.objectweb.asm.Opcodes;
public class MethodGenerator implements Opcodes {
private... |
package net.imagej.ui.swing.script;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ComponentAdapter;
import java.awt.event.ComponentEvent;
import java.awt.event.ItemEvent;
import java.awt.event.Item... |
package net.kwaz.chicago.pig;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.conf.Configured;
import org.apache.hadoop.fs.FileStatus;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.io.Text;
import org.ap... |
package net.spy.memcached;
import java.io.IOException;
import java.net.ConnectException;
import java.net.InetSocketAddress;
import java.net.SocketAddress;
import java.net.SocketException;
import java.nio.ByteBuffer;
import java.nio.channels.CancelledKeyException;
import java.nio.channels.ClosedChannelException;
import ... |
package org.alienlabs.amazon;
import java.io.UnsupportedEncodingException;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.ajax.form.AjaxFormSubmitBehavior;
import org.apach... |
package org.basex.query.util.http;
import static org.basex.io.MimeTypes.*;
import static org.basex.query.util.Err.*;
import static org.basex.query.util.http.HTTPText.*;
import static org.basex.util.Token.*;
import java.io.*;
import java.net.*;
import java.util.*;
import org.basex.build.file.*;
import org.basex.core.*;
... |
package org.dungeon.creatures;
import org.dungeon.game.Engine;
import org.dungeon.io.DLogger;
import org.dungeon.io.IO;
import org.dungeon.items.Item;
import org.dungeon.skill.Skill;
import org.dungeon.util.Constants;
import org.dungeon.util.Utils;
import java.awt.Color;
class AttackAlgorithm {
private static final d... |
package org.embulk.output.sftp;
import com.google.common.base.Function;
import com.google.common.base.Throwables;
import org.apache.commons.vfs2.FileObject;
import org.apache.commons.vfs2.FileSystemException;
import org.apache.commons.vfs2.FileSystemOptions;
import org.apache.commons.vfs2.impl.StandardFileSystemManager... |
package org.holmes.evaluator.support;
/**
* Represents a interval, between left boundary and right boundary.
*
* @author diegossilveira
*/
public final class Interval<T extends Comparable<T>> {
private final T leftBoundary;
private final T rightBoundary;
private final boolean leftOpen;
private final... |
package org.jboss.aesh.extensions.mkdir;
import org.jboss.aesh.cl.Arguments;
import org.jboss.aesh.cl.CommandDefinition;
import org.jboss.aesh.cl.Option;
import org.jboss.aesh.console.command.Command;
import org.jboss.aesh.console.command.CommandResult;
import org.jboss.aesh.console.command.invocation.CommandInvocation... |
package org.lightmare.utils.reflect;
import java.io.IOException;
import java.lang.annotation.Annotation;
import java.lang.reflect.AccessibleObject;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.... |
package org.lightmare.utils.reflect;
import java.io.IOException;
import java.lang.annotation.Annotation;
import java.lang.reflect.AccessibleObject;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.... |
package org.nybatis.core.validation;
import org.nybatis.core.exception.unchecked.ParseException;
import org.nybatis.core.model.NDate;
import org.nybatis.core.util.Types;
import java.lang.reflect.Array;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Collection;
import java.util.Map;
import ja... |
package org.opentripplanner.analyst;
import com.fasterxml.jackson.core.JsonGenerationException;
import com.fasterxml.jackson.core.JsonGenerator;
import org.apache.commons.math3.util.FastMath;
import org.opentripplanner.analyst.core.WeightingFunction;
import java.io.IOException;
import java.io.Serializable;
/**
* A pai... |
package org.redline_rpm.header;
import org.redline_rpm.Util;
import java.io.IOException;
import java.lang.reflect.Array;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
import java.nio.channels.ReadableByteChannel;
import java.nio.channels.WritableByteChannel;
import java.nio.charset.Charset;
import j... |
package org.robolectric;
import android.app.Application;
import android.os.Build;
import org.apache.maven.artifact.ant.DependenciesTask;
import org.apache.maven.model.Dependency;
import org.apache.tools.ant.Project;
import org.jetbrains.annotations.TestOnly;
import org.junit.runner.notification.RunNotifier;
import org.... |
package org.rundeck.client.tool.commands;
import com.lexicalscope.jewel.cli.CommandLineInterface;
import com.lexicalscope.jewel.cli.Option;
import com.lexicalscope.jewel.cli.Unparsed;
import com.simplifyops.toolbelt.Command;
import com.simplifyops.toolbelt.CommandOutput;
import com.simplifyops.toolbelt.InputError;
impo... |
package org.scijava.annotations;
import java.io.File;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.HashSet;
import java.util.Set;
import java.util.jar.Attributes.Name;
import java.util.jar.JarFile;
import java.util.jar.Manifest;... |
package org.shyyko.ex.fm.reanimate;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.control.ProgressBar;
import javafx.scene.control.TableView;
import javafx.scene.input.MouseEvent;
import javafx.scene.media.Media;
import javafx.scene.media.MediaPlayer;
import javafx.scene.media.M... |
package org.tndata.android.compass.model;
import java.io.Serializable;
public class User implements Serializable {
private static final long serialVersionUID = 4582633283983173348L;
private int id = -1;
private String first_name = "";
private String last_name = "";
private String full_name = "";
... |
package org.trancecode.xml.saxon;
import com.google.common.collect.ImmutableList;
import net.sf.saxon.Configuration;
import net.sf.saxon.event.Receiver;
import net.sf.saxon.event.TreeReceiver;
import net.sf.saxon.om.NamePool;
import net.sf.saxon.om.NamespaceIterator;
import net.sf.saxon.om.NodeInfo;
import net.sf.saxon... |
package org.wahlzeit.model;
public class LiquorPhotoFactory extends PhotoFactory{
/**
* Make instance of factory accessible without exposing the constructor
* @return
*/
public static LiquorPhotoFactory getInstance(){
return instance;
}
private static LiquorPhotoFactory instance =... |
/*
* This is free and unencumbered software released into the public domain.
*/
package org.wicketsample;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.basic.Label;
import org... |
package picard.fingerprint;
import com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher;
import htsjdk.samtools.SAMFileHeader;
import htsjdk.samtools.SAMReadGroupRecord;
import htsjdk.samtools.SAMRecord;
import htsjdk.samtools.SamReader;
import htsjdk.samtools.SamReaderFactory;
import htsjdk.samtools.Vali... |
/*
* @ControllerHelper 1.0 19/02/13. Sistema Integral de Gestion Hospitalaria
*/
package py.una.med.base.util;
import static py.una.med.base.util.Checker.notNull;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.TimeZone;
import javax.annotation.Nonnull;
import javax.el.... |
package redis.clients.jedis;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.apache.commons.pool2.impl.GenericObjectPoolConfig;
import redis.clien... |
package se.kth.csc.controller;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.collect.ImmutableMap;
import org.joda.time.DateTime;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.an... |
package skadistats.clarity.examples.seek;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import skadistats.clarity.processor.entities.UsesEntities;
import skadistats.clarity.processor.runner.ControllableRunner;
import skadistats.clarity.source.MappedFileSource;
import java.util.Random;
@UsesEntities
public cl... |
package tigase.muc.modules;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;
import java.util.logging.Level;
import java.util.logging.Logger;
import tigase.component.exceptions.RepositoryEx... |
package network.packets.swg.zone;
import network.packets.swg.SWGPacket;
import java.nio.ByteBuffer;
import java.util.EnumSet;
import resources.PvpFlag;
public class UpdatePvpStatusMessage extends SWGPacket {
public static final int CRC = getCrc("UpdatePvpStatusMessage");
private PvpFlag flag = PvpFlag.PLAYER;
... |
package org.concord.framework.otrunk.view;
import org.concord.framework.otrunk.OTObject;
import org.concord.framework.otrunk.OTObjectList;
public interface OTViewFactory {
public String getDefaultViewMode();
public void setDefaultViewMode(String mode);
public static String NO_VIEW_MODE = "_no_view_mode";
... |
package org.opencms.ui.apps.sitemanager;
import org.opencms.ade.configuration.CmsADEManager;
import org.opencms.file.CmsObject;
import org.opencms.file.CmsProject;
import org.opencms.file.CmsProperty;
import org.opencms.file.CmsPropertyDefinition;
import org.opencms.file.CmsResource;
import org.opencms.file.CmsResource... |
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// Java from RobotBuilder. Do not put any code or make any change in
// the blocks indicating autogenerated code o... |
package org.vitrivr.cineast.core.data;
import java.awt.image.BufferedImage;
import java.awt.image.ColorModel;
import java.awt.image.WritableRaster;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.vitrivr.cineast.core.config.Config;
import org.vitrivr.cineast.core.config.Im... |
package soot.jimple.infoflow.android.data;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import soot.SootMethod;
import soot.jimple.infoflow.data.SootMethodAndClass;
import soot.jimple.infoflow.util.SootMethodRepresentationParser;
/**
*... |
package com.bk.common;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.trans... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.