answer stringlengths 17 10.2M |
|---|
package edu.jhu.nlp.joint;
import java.io.File;
import java.io.IOException;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.LinkedHashSet;
import java.util.List;
import org.apache.commons.cli.ParseException;
import org.apache.log4j.Logger;
imp... |
package de.fernunihagen.dna.scalephant.distribution.zookeeper;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.concurrent.CountDownLatch;
import org.apache.zookeeper.CreateMode;
import org.apache.zookeeper.KeeperException;
... |
package edu.mayo.qia.qin.sergeant;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import java.util.concurrent.TimeUnit;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax... |
package edu.northwestern.bioinformatics.studycalendar.service;
import edu.northwestern.bioinformatics.studycalendar.dao.UserDao;
import edu.northwestern.bioinformatics.studycalendar.dao.UserRoleDao;
import edu.northwestern.bioinformatics.studycalendar.domain.*;
import edu.northwestern.bioinformatics.studycalendar.utils... |
package io.github.atomfrede.gradle.plugins.crowdincli.task.crowdin;
import io.github.atomfrede.gradle.plugins.crowdincli.CrowdinCliPlugin;
import io.github.atomfrede.gradle.plugins.crowdincli.task.download.CrowdinCliUnzipTask;
import org.gradle.api.Task;
import org.gradle.api.tasks.AbstractExecTask;
import org.gradle.a... |
package focusedCrawler.rest;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.codahale.metrics.Counter;
import com.codahale.metrics.Gauge;
import com.codahale.metrics.Histogram;
import com.codahale.metrics.MetricRegistry;
import com.codahale... |
package graphql.schema;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import static graphql.Assert.assertNotNull;
public class GraphQLObjectType implements GraphQLType, GraphQLOutputType, GraphQLFieldsContainer, GraphQLCompositeType, GraphQLUnmodifiedType, Grap... |
package jp.ac.nii.prl.mape.autoscaling.analysis.service;
import java.util.Collection;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import jp.ac.nii.prl.mape.autoscaling.analysis.configuration.AnalysisProperties;
import jp.ac.nii... |
package hackaton.cuckoodobot;
import org.quartz.CronScheduleBuilder;
import org.quartz.Job;
import org.quartz.JobBuilder;
import org.quartz.JobDetail;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.quartz.JobKey;
import org.quartz.Scheduler;
import org.quartz.SchedulerExcepti... |
package net.iponweb.disthene.reader.graphite.functions;
import net.iponweb.disthene.reader.beans.TimeSeries;
import net.iponweb.disthene.reader.exceptions.EvaluationException;
import net.iponweb.disthene.reader.exceptions.InvalidArgumentException;
import net.iponweb.disthene.reader.exceptions.TimeSeriesNotAlignedExcept... |
package in.tombo.ponto;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.util.Collections;
import java.util.Enumeration;
import java.util.Properties;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
pub... |
package net.sf.taverna.t2.activities.wsdl.views;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.Frame;
import java.awt.Graphics;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout... |
package io.citrine.jpif.obj.common;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonGetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonSetter;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackso... |
package org.jenkinsci.plugins.lucene.search.config;
import com.google.common.annotations.VisibleForTesting;
import hudson.Extension;
import hudson.util.FormValidation;
import hudson.util.ListBoxModel;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.net.URI;
import java.util.Arra... |
package org.mtransit.parser.ca_montreal_amt_train;
import org.jetbrains.annotations.NotNull;
import org.mtransit.commons.CleanUtils;
import org.mtransit.commons.StringUtils;
import org.mtransit.parser.DefaultAgencyTools;
import org.mtransit.parser.MTLog;
import org.mtransit.parser.gtfs.data.GSpec;
import org.mtransit.p... |
package io.jrevolt.launcher.mvn;
import io.jrevolt.launcher.LauncherCfg;
import io.jrevolt.launcher.LauncherException;
import io.jrevolt.launcher.util.Log;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.LinkedList;... |
package org.realrest.presentation.representations;
import com.google.code.siren4j.component.Entity;
import com.google.code.siren4j.component.Link;
import com.google.code.siren4j.component.builder.EntityBuilder;
import com.google.code.siren4j.component.builder.LinkBuilder;
import org.realrest.application.service.Paginat... |
package io.katharsis.rs;
import com.fasterxml.jackson.databind.ObjectMapper;
import io.katharsis.dispatcher.RequestDispatcher;
import io.katharsis.dispatcher.registry.ControllerRegistry;
import io.katharsis.dispatcher.registry.ControllerRegistryBuilder;
import io.katharsis.errorhandling.mapper.ExceptionMapperRegistry;
... |
import java.io.FileOutputStream;
import java.io.File;
import java.io.IOException;
public class BitOutputStream implements AutoCloseable {
private FileOutputStream output;
private int bits;
private int position;
public BitOutputStream(File file) throws IOException {
output = new FileOutputStream(file);
}
... |
package permafrost.tundra.server.content;
import com.wm.app.b2b.server.ContentHandler;
import com.wm.app.b2b.server.ContentHandlerFactory;
import com.wm.app.b2b.server.ContentManager;
import java.util.Map;
/**
* An Integration Server content handler factory for HTTPCompressionContentHandler objects.
*/
public class H... |
package lemming.context;
import lemming.auth.WebSession;
import lemming.data.GenericDataProvider;
import lemming.table.AutoShrinkBehavior;
import lemming.table.FilterUpdatingBehavior;
import lemming.table.GenericDataTable;
import lemming.table.TextFilterColumn;
import lemming.ui.TitleLabel;
import lemming.ui.page.Index... |
package org.helioviewer.jhv.plugins.swek.receive;
import java.util.ArrayList;
import java.util.List;
import org.helioviewer.base.logging.Log;
import org.helioviewer.jhv.data.container.JHVEventHandler;
import org.helioviewer.jhv.data.datatype.JHVEvent;
public class SWEKEventHandler implements JHVEventHandler {
/** S... |
package mitonize.datastore;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.net.Socket;
import java.net.UnknownHostException;
import j... |
package net.xprova.xprova;
import java.io.PrintStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.Comma... |
package org.agmip.ui.acmoui;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.io.Writer;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Properties;
import java.util.prefs.Prefere... |
public class aksesAccount {
public static void main(String[] args) {
Account akun = new Account("Agus", "Makmun", "agus", 12345);
akun.infoAccount();
System.out.println("\n");
Account lulusan = new Account("Agus", "Makmun", ".S.KOM");
lulusan.getNameWithDegree();
Syst... |
package com.cronutils.model.time;
import com.cronutils.model.Cron;
import com.cronutils.model.definition.CronDefinition;
import com.cronutils.model.definition.CronDefinitionBuilder;
import com.cronutils.parser.CronParser;
import org.joda.time.DateTime;
import org.joda.time.MutableDateTime;
import org.junit.Test;
import... |
package org.basex.api.xmldb;
import static org.basex.core.Text.*;
import java.io.IOException;
import java.lang.reflect.Field;
import org.w3c.dom.Document;
import org.xmldb.api.base.*;
import org.xmldb.api.modules.BinaryResource;
import org.xmldb.api.modules.XMLResource;
import org.basex.build.MemBuilder;
import org.bas... |
package org.basex.api.xmldb;
import static org.basex.core.Text.*;
import java.io.IOException;
import java.lang.reflect.Field;
import org.w3c.dom.Document;
import org.xmldb.api.base.*;
import org.xmldb.api.modules.BinaryResource;
import org.xmldb.api.modules.XMLResource;
import org.basex.build.MemBuilder;
import org.bas... |
package org.docksidestage.dockside.dbflute.whitebox.bhv;
import java.time.LocalDateTime;
import org.dbflute.exception.EntityAlreadyDeletedException;
import org.dbflute.exception.EntityAlreadyUpdatedException;
import org.dbflute.exception.EntityPrimaryKeyNotFoundException;
import org.dbflute.exception.EntityUniqueKeyNot... |
package org.csanchez.aws.glacier;
import static org.csanchez.aws.glacier.utils.Check.notBlank;
import static org.csanchez.aws.glacier.utils.Check.notNull;
import java.io.Closeable;
import java.io.File;
import java.io.IOException;
import java.util.Set;
import java.util.concurrent.ExecutorService;
import java.util.concur... |
package org.embulk.output.sftp;
import com.google.common.annotations.VisibleForTesting;
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;
impor... |
package org.grouplens.grapht.graph;
import org.grouplens.grapht.spi.CachedSatisfaction;
import org.grouplens.grapht.spi.Desire;
import javax.annotation.Nullable;
import java.io.Serializable;
import java.util.*;
/**
* Graph is a utility class for composing Nodes and Edges into a usable graph,
* using Edges to track th... |
package org.jasome.parsing;
import com.github.javaparser.JavaParser;
import com.github.javaparser.ast.CompilationUnit;
import com.github.javaparser.ast.ImportDeclaration;
import com.github.javaparser.ast.Node;
import com.github.javaparser.ast.body.ClassOrInterfaceDeclaration;
import com.github.javaparser.ast.body.Metho... |
package org.java_websocket;
import org.java_websocket.interfaces.ISSLChannel;
import org.java_websocket.drafts.Draft;
import org.java_websocket.drafts.Draft_6455;
import org.java_websocket.enums.*;
import org.java_websocket.exceptions.*;
import org.java_websocket.framing.CloseFrame;
import org.java_websocket.framing.Fr... |
package org.jtrfp.trcl.gpu;
import java.awt.Component;
import java.beans.PropertyEditorManager;
import java.beans.PropertyEditorSupport;
import java.nio.IntBuffer;
import java.util.ArrayList;
import javax.media.opengl.GL3;
import javax.swing.BoxLayout;
import javax.swing.GroupLayout.Alignment;
import javax.swing.JCompo... |
package org.lightmare.deploy;
import static org.lightmare.cache.MetaContainer.closeConnections;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Lis... |
package org.littleshoot.proxy;
import java.io.UnsupportedEncodingException;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.text.SimpleDateFormat;
import java.util.Collection;
import java.util.Date;
import java.util.LinkedList;
import java.util.List;
import java.util.Locale;
import java.u... |
package pokefenn.totemic.init;
import net.minecraft.init.MobEffects;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.event.RegistryEvent;
import net.minecraftforge.fml.common.Mod.EventBusSubscriber;
import net.minecraftforge.fml.common.eventhandler.SubscribeEve... |
package redis.clients.jedis;
import java.io.Closeable;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
//aiyan2001
import org.apache.commons.pool2.impl.GenericObjectPoolConfig;
import redis.clients.jedis.BinaryClient.LIST_POSITION;
public class JedisCluster implements Jedi... |
package se.tla.mavenversionbumper;
import org.apache.commons.io.FileUtils;
import org.jdom.Document;
import org.jdom.Element;
import org.jdom.JDOMException;
import org.jdom.Namespace;
import org.jdom.input.SAXBuilder;
import org.jdom.output.XMLOutputter;
import se.tla.mavenversionbumper.vcs.VersionControl;
import java.... |
package seedu.address.model;
import java.util.Set;
import java.util.logging.Logger;
import javafx.collections.transformation.FilteredList;
import seedu.address.commons.core.ComponentManager;
import seedu.address.commons.core.LogsCenter;
import seedu.address.commons.core.UnmodifiableObservableList;
import seedu.address.... |
package seedu.geekeep.model;
import java.util.Set;
import java.util.logging.Logger;
import javafx.collections.transformation.FilteredList;
import seedu.geekeep.commons.core.ComponentManager;
import seedu.geekeep.commons.core.LogsCenter;
import seedu.geekeep.commons.core.UnmodifiableObservableList;
import seedu.geekeep.... |
package sophomore.classfile;
import sophomore.classfile.constantpool.ConstantInfo;
/**
*
* @author inagaki
*/
public class ConstantPool {
private ConstantInfo[] pool;
/**
*
* @param size
*/
public ConstantPool(int size) {
this.pool = new ConstantInfo[size];
}
/**
*
... |
package st.redline.core;
import java.io.*;
public class SourceFileReader {
private static final int LINE_BUFFER_INITAL_CAPACITY = 1024;
public String read(File file) {
Reader reader = createReaderOn(file);
try {
return readContentsWith(reader);
} finally {
close(r... |
package xdi2.webtools.mongodb;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.StringReader;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import javax.servlet.ServletException;
import javax.servl... |
package xyz.jmburns.rangefun;
import java.util.Iterator;
import java.util.Objects;
import java.util.PrimitiveIterator;
/**
* This class represents an progression of integers, as built by the
* {@link xyz.jmburns.rangefun.Progressions} API.
*
* The class is also fully suitable for use in Map and Collection instances... |
/**
* Provides static methods for finding sets.
*/
/*
Tips:
- Given a, b, c from {1, 2, 3}, they are all equal or all different if and only if
(a + b + c) % 3 == 0. This property can be used for testing three cards for a set
easily.
(For more mathematically inclined, the SET deck corresponds to the ... |
package com.intellij.util.xmlb;
import java.lang.reflect.ParameterizedType;
import java.util.Collection;
import java.util.List;
class CollectionBinding extends AbstractCollectionBinding {
public CollectionBinding(ParameterizedType type, XmlSerializerImpl xmlSerializer, final Accessor accessor) {
super((Class)typ... |
package net.ion.util;
import java.util.Calendar;
import java.util.GregorianCalendar;
public class CalUtil {
public final static long gmtTime(){
return GregorianCalendar.getInstance().getTimeInMillis() ;
}
public final static Calendar newCalendar() {
return Calendar.getInstance();
}
p... |
package som.langserv;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.stream.Stream;
import com.oracle.truffle.api.source.Source;
import com.orac... |
package som.langserv;
import java.io.File;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.u... |
package lavaRunner;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics2D;
import org.dreambot.api.methods.Calculations;
import org.dreambot.api.methods.container.impl.bank.BankMode;
import org.dreambot.api.methods.map.Area;
import org.dreambot.api.methods.map.Tile;
import org.dreambot.api.script.Abst... |
package mireka.login;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.HashMap;
import java.util.Map;
/**
* This class authenticates users of a {@link GlobalUsers} collection using
* different authentication algorithms cor... |
package mu.nu.nullpo.gui.sdl;
import mu.nu.nullpo.util.CustomProperties;
import mu.nu.nullpo.util.GeneralUtil;
import sdljava.SDLException;
import sdljava.video.SDLSurface;
public class StateConfigGeneralSDL extends BaseStateSDL {
protected int cursor;
/** flag */
protected boolean fullscreen;
/** ON/O... |
package net.varchev.go.plugin.npm.apimpl;
import com.thoughtworks.go.plugin.api.logging.Logger;
import com.thoughtworks.go.plugin.api.material.packagerepository.PackageConfiguration;
import com.thoughtworks.go.plugin.api.material.packagerepository.PackageMaterialPoller;
import com.thoughtworks.go.plugin.api.material.pa... |
package org.apache.xerces.dom;
import java.io.IOException;
import java.util.Hashtable;
import java.util.Locale;
import java.util.Vector;
import org.apache.xerces.dom3.DOMConfiguration;
import org.apache.xerces.dom3.DOMErrorHandler;
import org.apache.xerces.impl.Constants;
import org.apache.xerces.impl.XMLEntityManager;... |
package org.biojava.bio.seq;
import java.util.*;
import java.lang.reflect.*;
import org.biojava.utils.*;
import org.biojava.bio.*;
import org.biojava.bio.seq.impl.*;
import org.biojava.bio.seq.projection.*;
import org.biojava.bio.symbol.*;
/**
* Helper class for projecting Feature objects into an alternative
* coordi... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.broad.igv.ui.event;
import org.broad.igv.feature.BasicFeature;
import org.broad.igv.feature.Exon;
import org.broad.igv.feature.genome.GenomeManager;
import org.broad.igv.feature.RegionOfInterest;
import org.b... |
package org.cleartk.classifier;
import java.io.IOException;
import java.lang.reflect.Type;
import org.apache.uima.UimaContext;
import org.apache.uima.resource.ResourceInitializationException;
import org.cleartk.util.ReflectionUtil;
import org.cleartk.util.UIMAUtil;
public class ClassifierAnnotator<OUTCOME_TYPE> extends... |
package org.concord.datagraph.engine;
/**
* DataGraphable
* This class is an object that takes data from a
* data store and draws this data in a graph (it's a Graphable)
* as a countinuous set of points that can be connected or not
* (connected by default).
* It is itself a DataStore with 2 channels (x,y), so it ... |
package org.dita.dost.invoker;
import java.io.File;
import java.util.ArrayList;
import java.util.Properties;
import java.util.StringTokenizer;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Task;
import org.dita.dost.exception.DITAOTException;
import org.dita.dost.log.DITAOTAntLogger;
import or... |
package org.exist.http.urlrewrite;
import org.apache.log4j.Logger;
import org.exist.xmldb.XmldbURI;
import org.exist.xmldb.XQueryService;
import org.exist.xmldb.CollectionImpl;
import org.exist.source.FileSource;
import org.exist.xquery.functions.request.RequestModule;
import org.exist.xquery.functions.response.Respons... |
package org.griphyn.cPlanner.engine;
import org.griphyn.cPlanner.classes.ADag;
import org.griphyn.cPlanner.classes.FileTransfer;
import org.griphyn.cPlanner.classes.GridFTPServer;
import org.griphyn.cPlanner.classes.NameValue;
import org.griphyn.cPlanner.classes.PegasusFile;
import org.griphyn.cPlanner.classes.PlannerO... |
package org.helioviewer.jhv.gui.components;
import java.awt.Desktop;
import java.awt.event.KeyEvent;
import javax.swing.JCheckBoxMenuItem;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import org.helioviewer.jhv.JHVGlobals;
import org.helioviewer.jhv.gui.JHVFrame;
import org.helioviewer.jhv.gui.actions.CheckUp... |
package org.onyxplatform.api.java;
import clojure.lang.PersistentHashMap;
import java.util.Map;
public class EnvConfiguration extends OnyxEntity
{
protected static String coerceKw = "env-config";
/**
* Calls empty superconstructor for OnyxEntity
* @return newly created EnvConfiguration obj... |
package org.pentaho.di.repository;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFact... |
package org.pentaho.di.trans.cluster;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.pentaho.di.cluster.ClusterSchema;
import org.pentaho.di.cluster.SlaveServer;
import org.penta... |
package org.phenoscape.io;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.csv.CSVParser;
import org.apache.commons.lang.StringUtils;
import org.... |
package org.uct.cs.simplify.img;
import org.uct.cs.simplify.ply.reader.ImprovedPLYReader;
import org.uct.cs.simplify.ply.reader.MemoryMappedVertexReader;
import org.uct.cs.simplify.ply.reader.Vertex;
import java.awt.*;
import java.awt.geom.Rectangle2D;
import java.awt.image.BufferedImage;
import java.awt.image.DataBuff... |
package com.aerospike.client;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import com.aerospike.client.Info.NameValueParser;
import com.aerospike.client.cluster.Cluster;
import com.aerospike.client.cluster.Node;
import com.aerospike.client.c... |
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 dyvilx.tools.repl.command;
import dyvil.collection.Entry;
import dyvil.collection.Set;
import dyvil.collection.mutable.TreeSet;
import dyvilx.tools.repl.DyvilREPL;
import dyvilx.tools.repl.lang.I18n;
import java.io.PrintStream;
public class HelpCommand implements ICommand
{
@Override
public String getNa... |
package requirejs.properties;
import com.intellij.ide.util.PropertiesComponent;
import com.intellij.openapi.options.Configurable;
import com.intellij.openapi.options.ConfigurationException;
import com.intellij.openapi.project.Project;
import org.jetbrains.annotations.Nls;
import org.jetbrains.annotations.Nullable;
impo... |
package game;
import assets.Assets;
import entity.Entity;
import entity.model.Grass;
import entity.model.Rabbit;
import entity.model.Wolf;
import io.Timer;
import io.Window;
import org.joml.Vector2f;
import org.lwjgl.opengl.GL;
import render.Camera;
import render.TileRenderer;
import world.Map;
import world.World;
impo... |
package se.embargo.core.widget;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.NumberPicker;
@SuppressLint("NewApi")
public class NumberPickerAdapter extends NumberPicker implements INumberPicker {
... |
package game;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Stack;
import javax.swing... |
package api.impl;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import javax.faces.context.FacesContext;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
imp... |
package org.voovan.tools.cache;
import redis.clients.jedis.*;
import java.io.Closeable;
import java.io.IOException;
import java.util.*;
import java.util.function.Function;
import java.util.stream.Collectors;
public class RedisMap<K, V> implements CacheMap<K, V>, Closeable {
public static final String LOCK_SUCCESS =... |
package org.voovan.tools.security;
import org.voovan.tools.TEnv;
import org.voovan.tools.log.Logger;
import java.nio.ByteBuffer;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
public class THash {
/**
* BASE64
*
* @param key
* @return
*/
public static... |
package soot.util.annotations;
import soot.tagkit.AbstractAnnotationElemTypeSwitch;
import soot.tagkit.AnnotationAnnotationElem;
import soot.tagkit.AnnotationArrayElem;
import soot.tagkit.AnnotationBooleanElem;
import soot.tagkit.AnnotationClassElem;
import soot.tagkit.AnnotationDoubleElem;
import soot.tagkit.Annotatio... |
package example;
//-*- mode:java; encoding:utf8n; coding:utf-8 -*-
// vim:set fileencoding=utf-8:
//@homepage@
import java.awt.*;
import java.awt.event.*;
import java.awt.geom.*;
import javax.swing.*;
import javax.swing.plaf.*;
import javax.swing.plaf.basic.*;
class MainPanel extends JPanel{
private final Box box =... |
package org.azavea.otm.ui;
import org.azavea.otm.App;
import org.azavea.otm.FieldGroup;
import org.azavea.otm.R;
import org.azavea.otm.data.Plot;
import org.azavea.otm.data.Tree;
import org.json.JSONException;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;... |
package loci.formats;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.List;
import java.util.Set;
import java.util.Vector;
import loci.common.DataTools;
import loci.common.Location;
import loci.common.RandomAccessInputStream;
import loci.com... |
package com.vondear.rxtool;
import android.os.Build;
import android.support.annotation.Nullable;
import android.util.SparseArray;
import android.util.SparseBooleanArray;
import android.util.SparseIntArray;
import android.util.SparseLongArray;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
im... |
package com.github.sormuras.poetry;
import static org.junit.Assert.assertEquals;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.reflect.AnnotatedType;
import java.util.ArrayList;
import jav... |
package de.bmoth.typechecker;
import de.bmoth.parser.Parser;
import de.bmoth.parser.ast.TypeErrorException;
import de.bmoth.parser.ast.nodes.*;
import org.junit.Test;
import java.util.List;
import static de.bmoth.parser.ast.nodes.FormulaNode.FormulaType.EXPRESSION_FORMULA;
import static de.bmoth.parser.ast.nodes.Formul... |
package eduproxy;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.opensaml.DefaultBootstrap;
import org.opensaml.xml.ConfigurationException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import... |
package io.humble.video;
import static org.junit.Assert.*;
import java.util.Collection;
import java.util.List;
import org.junit.Test;
public class SourceFormatTest {
@Test
public void testSourceFormat() {
final SourceFormat f = SourceFormat.findFormat("aiff");
assertNotNull(f);
assertEquals("aiff", f.ge... |
package org.cactoos.io;
import java.io.File;
import java.io.IOException;
import java.io.StringReader;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import org.cactoos.matchers.InputHasContent;
import org.cactoos.text.TextOf;
import org.hamcrest.MatcherAssert;
import or... |
package org.mvel.tests.main;
import junit.framework.TestCase;
import org.mvel.ExpressionCompiler;
import org.mvel.MVEL;
import org.mvel.ParserContext;
import org.mvel.debug.DebugTools;
import org.mvel.optimizers.OptimizerFactory;
import org.mvel.tests.main.res.*;
import org.mvel.util.StringAppender;
import java.io.Char... |
package org.jdesktop.swingx;
import static org.junit.Assert.*;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.GraphicsEnvironment;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent... |
package org.jdesktop.swingx;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Vector;
import java.util.logging.Logger;
import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.BorderFactory;
import javax.s... |
package tk.wurst_client.features.mods;
import org.lwjgl.opengl.GL11;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.math.AxisAlignedBB;
import tk.wurst_client.events.listeners.RenderListener;
import tk.wurst_client.features.Feature;
import tk.wurst_client.utils.RenderUtils;
@Mod.Info(descrip... |
package uk.org.cinquin.mutinack.misc_util;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
@SuppressWarnings("static-method")
public class UtilTest {
@Test
public void testBasesEqualByteByteBoolean() {
assertFalse(Util.basesEqual((byte) 'a', ... |
package replicant;
import arez.Arez;
import arez.ArezTestUtil;
import arez.Disposable;
import org.testng.IHookCallBack;
import org.testng.IHookable;
import org.testng.ITestResult;
import org.testng.annotations.Test;
import static org.testng.Assert.*;
public class ChannelTest
extends AbstractReplicantTest
implements... |
package org.jetel.data;
import java.util.Date;
/**
* Supporting "macros" for getting values of differend data fields.<br>
* <i>Note: methods which takes field's position within record as input
* parameter are much faster than those accepting field's name.</i>
*
* @author dpavlis
* @since August 20, 2002
... |
package com.ibm.bi.dml.hops;
import java.util.HashMap;
import java.util.Map.Entry;
import com.ibm.bi.dml.api.DMLScript;
import com.ibm.bi.dml.hops.OptimizerUtils.OptimizationType;
import com.ibm.bi.dml.lops.Lops;
import com.ibm.bi.dml.lops.Rand;
import com.ibm.bi.dml.lops.LopProperties.ExecType;
import com.ibm.bi.dml.p... |
package jlibs.xml.sax.sniff.model.expr;
import jlibs.core.graph.*;
import jlibs.core.graph.sequences.EmptySequence;
import jlibs.core.graph.sequences.IterableSequence;
import jlibs.core.graph.walkers.PreorderWalker;
import jlibs.xml.sax.sniff.engine.context.Context;
import jlibs.xml.sax.sniff.engine.context.ContextIden... |
package ti.modules.titanium.ui;
import org.appcelerator.titanium.TiContext;
import org.appcelerator.titanium.TiDict;
import org.appcelerator.titanium.TiModule;
import org.appcelerator.titanium.TiProxy;
import org.appcelerator.titanium.util.TiConvert;
import android.app.Activity;
import android.content.pm.ActivityInfo;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.