answer stringlengths 17 10.2M |
|---|
package org.literacyapp.model.enums;
/**
* This list represents the currently supported languages.
*/
public enum Locale {
AR("ar"),
EN("en"),
// EN_US("en", "US"),
ES("es"),
SW("sw");
private String language;
private String country;
private Locale(String language) {
this.langua... |
package ru.sbulygin;
/**
* Colculate class.
* @author sbulygin.
* @since 10.11.2016.
* @version 1.0.
*/
public class Calculate {
/**
* Main.
* @param args do not use.
*/
public static void main(String[] args) {
System.out.println("Hello World!");
}
} |
package org.minimalj.backend.sql;
import java.math.BigDecimal;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.Types;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.Set;
import java.util.UUID;
import java.util.logging.Logger;
imp... |
package org.ndexbio.task;
import java.io.FileInputStream;
import java.util.Map;
import org.ndexbio.common.importexport.ExporterExecutor;
import org.ndexbio.common.importexport.ImporterExporterEntry;
import org.ndexbio.model.object.Status;
import org.ndexbio.model.object.Task;
import org.ndexbio.rest.Configuration;
publ... |
package org.neo4j.util;
import org.neo4j.api.core.NeoService;
import org.neo4j.util.index.IndexService;
import org.neo4j.util.index.LuceneIndexService;
import org.neo4j.util.index.NeoIndexService;
/**
* Manages the life cycle of a {@link NeoService} as well as other components.
* Removes the tedious work of having to... |
package org.openremote.security;
import org.openremote.base.exception.IncorrectImplementationException;
import org.openremote.base.exception.OpenRemoteException;
import org.openremote.logging.Logger;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayOutputStream;
import ja... |
package org.openremote.security;
import org.openremote.exception.OpenRemoteException;
import org.openremote.logging.Logger;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundExcep... |
package fi.nls.oskari.util;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.CellType;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.xssf.streaming.SXSSFWorkbook;
import java.io.IOException;... |
package org.openremote.security;
import org.openremote.exception.OpenRemoteException;
import org.openremote.logging.Logger;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundExcep... |
package org.parboiled.transform;
import com.google.common.base.Preconditions;
import com.google.common.collect.Lists;
import org.objectweb.asm.AnnotationVisitor;
import org.objectweb.asm.Label;
import org.objectweb.asm.Opcodes;
import org.objectweb.asm.Type;
import org.objectweb.asm.tree.AbstractInsnNode;
import org.ob... |
// The five files
// Option.java
// OptionGroup.java
// Options.java
// Unpublicized.java
// OptionsDoclet.java
// together comprise the implementation of command-line processing.
package org.plumelib.options;
import static java.nio.charset.StandardCharsets.UTF_8;
import com.sun.javadoc.ClassDoc;
import com.s... |
package de.faustedition;
import de.faustedition.collation.CollationFinder;
import de.faustedition.db.TransactionFilter;
import de.faustedition.document.ArchiveRouter;
import de.faustedition.document.DocumentRouter;
import de.faustedition.genesis.GeneticGraphRouter;
import de.faustedition.security.LdapSecurityStore;
imp... |
package ethanjones.cubes.world.generator;
import ethanjones.cubes.block.Block;
import ethanjones.cubes.side.Sided;
import ethanjones.cubes.world.reference.AreaReference;
import ethanjones.cubes.world.reference.BlockReference;
import ethanjones.cubes.world.server.WorldServer;
import ethanjones.cubes.world.storage.Area;
... |
package org.semtix.config;
import org.apache.log4j.Logger;
import org.semtix.shared.daten.enums.Uni;
import java.io.File;
import java.io.IOException;
import java.util.Properties;
public class SettingsExternal {
public static int MAXTABS = 5;
/**
* Globale Debugging Variable : wenn true, dann werden Debugs ... |
package crawl_index;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.io.*;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.standard.StandardAnalyzer;
import org.apache.lucene.document.Document;
import org.apache.lucene.document.Field;
import org.apache.lucene.document.F... |
package org.spongepowered.api.util.ban;
import org.spongepowered.api.Sponge;
import org.spongepowered.api.command.CommandSource;
import org.spongepowered.api.profile.GameProfile;
import org.spongepowered.api.service.ban.BanService;
import org.spongepowered.api.text.Text;
import org.spongepowered.api.util.ResettableBuil... |
package bisq.core.dao.state.period;
import bisq.core.dao.DaoSetupService;
import bisq.core.dao.state.BsqStateListener;
import bisq.core.dao.state.BsqStateService;
import bisq.core.dao.state.GenesisTxInfo;
import bisq.core.dao.state.blockchain.Block;
import bisq.core.dao.state.governance.Param;
import com.google.inject.... |
package org.swingeasy;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.util.regex.Pattern;
import javax.swing.JButton;
import javax.swing.JComponent;
import jav... |
package org.webedded.cors;
import java.io.IOException;
import java.net.HttpURLConnection;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Handler for exceptions and other controls extensions.
*
* @author Voiski<alannunesv@gmail.com>
*/
public interface CorsProxyHan... |
// Nexus Core - a framework for developing distributed applications
package com.threerings.nexus.client;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import react.Function;
import react.RFuture;
import react.RPromise;
import react.Slot;
import com.threerings.nexus.distrib.Address;
import ... |
package org.webedded.cors;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.ProtocolException;
import java.net.URL;
import java.text.MessageF... |
package pl.warsjawa.java8.people;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;
import java.time.LocalDate;
import java.util.Collections;
import java.util.List;
public class PersonDao {
public List<Person> loadPeopleDatabase() ... |
package org.bitcoinj.kits;
import com.google.common.collect.ImmutableList;
import org.bitcoinj.core.Context;
import org.bitcoinj.core.NetworkParameters;
import org.bitcoinj.core.Utils;
import org.bitcoinj.crypto.ChildNumber;
import org.bitcoinj.wallet.DeterministicSeed;
import org.bitcoinj.wallet.KeyChainGroup;
import ... |
package ru.r2cloud.jradio.source;
import java.io.IOException;
import ru.r2cloud.jradio.Context;
import ru.r2cloud.jradio.FloatInput;
import ru.r2cloud.jradio.FloatValueSource;
import ru.r2cloud.jradio.util.NumericallyControlledOscillator;
public class SigSource implements FloatInput {
private final Waveform wavefor... |
package ru.salauyou.util.misc;
import java.util.ArrayList;
import java.util.Collections;
import java.util.EnumSet;
import java.util.List;
import java.util.Queue;
import java.util.Set;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.function.BiConsume... |
package edu.cs4460.msd.visual.maps;
import java.awt.Color;
import processing.core.PApplet;
import ch.randelshofer.tree.NodeInfo;
import ch.randelshofer.tree.circlemap.CirclemapNode;
import ch.randelshofer.tree.circlemap.CirclemapTree;
import de.fhpotsdam.unfolding.UnfoldingMap;
import de.fhpotsdam.unfolding.geo.Locatio... |
package seedu.taskitty.model.task;
import java.time.DateTimeException;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import seedu.taskitty.commons.exceptions.IllegalValueException;
import seedu.taskitty.commons.util.DateUtil;
/**
* Represents a Task's date in the task manager.
* Guarantees: i... |
/*
* $Log: JdbcException.java,v $
* Revision 1.5 2006-12-12 09:58:41 europe\L190409
* fix version string
*
* Revision 1.4 2006/12/12 09:57:35 Gerrit van Brakel <gerrit.van.brakel@ibissource.org>
* restore jdbc package
*
* Revision 1.2 2004/03/26 10:43:07 Johan Verrips <johan.verrips@ibissource.org>
* add... |
/*
* $Log: Trigger.java,v $
* Revision 1.5 2008-08-27 16:18:07 europe\L190409
* fixed period handling
*
* Revision 1.4 2008/08/07 11:31:27 Gerrit van Brakel <gerrit.van.brakel@ibissource.org>
* rework
*
* Revision 1.3 2008/07/24 12:34:01 Gerrit van Brakel <gerrit.van.brakel@ibissource.org>
* rework
*
*... |
package net.mueller_martin.turirun.gameobjects;
import com.badlogic.gdx.math.Rectangle;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer.ShapeType;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gd... |
package com.namelessdev.mpdroid;
import org.a0z.mpd.MPD;
import org.a0z.mpd.MPDStatus;
import org.a0z.mpd.exception.MPDServerException;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler... |
package com.namelessdev.mpdroid;
import java.util.Timer;
import java.util.TimerTask;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.a0z.mpd.MPD;
import org.a0z.mpd.MPDServerException;
import org.a0z.mpd.MPDStatus;
import org.a0z.mpd.Music;
import org.a0z.mpd.event.MPDConnectionStateChangedE... |
package hulop.hokoukukan.bean;
import java.awt.geom.Line2D;
import java.awt.geom.Point2D;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.apache.wink.json4j.JSONArray;
import org.apache.wink.json4j.JSONExcep... |
package edu.umd.cs.findbugs;
import java.io.IOException;
import java.io.Serializable;
import javax.annotation.Nonnull;
import edu.umd.cs.findbugs.annotations.CheckForNull;
import edu.umd.cs.findbugs.annotations.NonNull;
import edu.umd.cs.findbugs.util.Util;
import edu.umd.cs.findbugs.xml.XMLAttributeList;
import edu.um... |
// T r a i n e r //
// <editor-fold defaultstate="collapsed" desc="hdr">
// This program is free software: you can redistribute it and/or modify it under the terms of the
// </editor-fold>
package org.audiveris.omr.classifier.ui;
import c... |
package org.eclipse.bpmn2.impl;
import java.util.Collection;
import java.util.Date;
import java.util.List;
import org.eclipse.bpmn2.Activity;
import org.eclipse.bpmn2.BoundaryEvent;
import org.eclipse.bpmn2.Bpmn2Package;
import org.eclipse.bpmn2.DataInputAssociation;
import org.eclipse.bpmn2.DataOutputAssociation;
impo... |
package org.zkoss.ganttz;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.io.IOException;
import java.util.Date;
import java.util.Map;
import java.util.UUID;
import java.util.regex.Pattern;
import org.apache.commons.lang.Validate;
import org.apache.commons.logging.Log;
impor... |
package gobblin.writer;
import com.google.common.base.Optional;
import gobblin.configuration.ConfigurationKeys;
import gobblin.configuration.State;
import gobblin.source.extractor.schema.Schema;
import gobblin.util.ForkOperatorUtils;
import gobblin.util.WriterUtils;
import org.apache.avro.file.CodecFactory;
import org.... |
package MWC.TacticalData;
import java.awt.Color;
import java.beans.IntrospectionException;
import java.beans.PropertyDescriptor;
import java.io.Serializable;
import java.util.Date;
import MWC.GUI.Editable;
import MWC.GUI.ExcludeFromRightClickEdit;
import MWC.GUI.FireExtended;
import MWC.GUI.FireReformatted;
import MWC.... |
package net.lucenews.controller;
import java.util.*;
import javax.xml.parsers.*;
import net.lucenews.*;
import net.lucenews.atom.*;
import net.lucenews.model.*;
import net.lucenews.model.exception.*;
import org.apache.lucene.document.Field;
import org.w3c.dom.*;
public class XOXOController
{
/**
* Transforms a... |
package dr.evomodelxml.treelikelihood;
import dr.evolution.alignment.PatternList;
import dr.evomodel.branchratemodel.BranchRateModel;
import dr.evomodel.sitemodel.SiteModel;
import dr.evomodel.tree.TreeModel;
import dr.evomodel.treelikelihood.TipPartialsModel;
import dr.evomodel.treelikelihood.TreeLikelihood;
import dr... |
package edu.umd.cs.findbugs.gui;
import java.awt.CardLayout;
import java.awt.Component;
import java.awt.Cursor;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
import javax.swing.*;
import javax.swing.tree.... |
package gov.nih.nci.cananolab.ui.core;
import gov.nih.nci.cananolab.domain.particle.NanoparticleSample;
import gov.nih.nci.cananolab.dto.common.LabFileBean;
import gov.nih.nci.cananolab.dto.common.UserBean;
import gov.nih.nci.cananolab.dto.particle.ParticleBean;
import gov.nih.nci.cananolab.dto.particle.ParticleDataLin... |
package ijordan.matrixonator.view;
import org.controlsfx.dialog.Wizard;
import org.controlsfx.dialog.Wizard.WizardPane;
import org.controlsfx.dialog.Wizard.LinearFlow;
import ijordan.matrixonator.MainApp;
import ijordan.matrixonator.model.Matrix;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.s... |
package file;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
/**
* Convenience class for reading text files. Handles file opening, buffering and
* closing.
*/
public class ... |
package me.drton.jmavsim.vehicle;
import me.drton.jmavsim.ReportUtil;
import me.drton.jmavsim.ReportingObject;
import me.drton.jmavsim.Rotor;
import me.drton.jmavsim.World;
import javax.vecmath.Vector3d;
import java.io.FileNotFoundException;
/**
* Abstract multicopter class. Does all necessary calculations for multiro... |
package org.bds.lang.expression;
import java.util.List;
import java.util.Random;
import org.antlr.v4.runtime.tree.ParseTree;
import org.bds.Config;
import org.bds.compile.BdsNodeWalker;
import org.bds.compile.CompilerMessage.MessageType;
import org.bds.compile.CompilerMessages;
import org.bds.lang.BdsNode;
import org.b... |
package de.jungblut.classification.nn;
import gnu.trove.list.array.TDoubleArrayList;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import com.google.common.base.Preconditions;
import de.jungblut.math.DoubleVector;
import de.jungblut.math.dense.DenseDoubleMatrix;
import de.jungblut.mat... |
package org.beanmaker.util;
import org.dbbeans.util.Strings;
import org.jcodegen.html.ATag;
import org.jcodegen.html.InputTag;
import org.jcodegen.html.OptionTag;
import org.jcodegen.html.SelectTag;
import org.jcodegen.html.SpanTag;
import org.jcodegen.html.TableTag;
import org.jcodegen.html.Tag;
import org.jcodegen.ht... |
package org.eclipse.imp.pdb.facts.util;
import static org.eclipse.imp.pdb.facts.util.AbstractSpecialisedImmutableMap.entryOf;
import static org.eclipse.imp.pdb.facts.util.ArrayUtils.copyAndInsert;
import static org.eclipse.imp.pdb.facts.util.ArrayUtils.copyAndInsertPair;
import static org.eclipse.imp.pdb.facts.util.Arr... |
package edu.mit.streamjit.impl.compiler2;
import com.google.common.base.Predicate;
import com.google.common.base.Predicates;
import com.google.common.base.Stopwatch;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import com.g... |
package com.rilixtech;
import android.content.Context;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import j... |
package io.fabianterhorst.isometric;
import android.support.annotation.Nullable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
public class Shape {
private List<Path> paths;
public Shape() {
this.paths = new ArrayList<>();
}
public ... |
package org.andnav.osm;
import org.andnav.osm.util.GeoPoint;
import org.andnav.osm.util.constants.OpenStreetMapConstants;
import org.andnav.osm.views.OpenStreetMapView;
import org.andnav.osm.views.overlay.MyLocationOverlay;
import org.andnav.osm.views.util.OpenStreetMapRendererInfo;
import android.app.Activity;
import ... |
package edu.mit.streamjit.test.sanity;
import com.google.common.base.Supplier;
import com.google.common.collect.ImmutableList;
import com.jeffreybosboom.serviceproviderprocessor.ServiceProvider;
import edu.mit.streamjit.api.DuplicateSplitter;
import edu.mit.streamjit.api.Identity;
import edu.mit.streamjit.api.Input;
im... |
package org.nutz.dao.entity.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
*
*
* <b></b>
*
* @author pangwu86(pangwu86@gmail.com)
*/
@Retention(... |
package edu.utdallas.robotchess.pathplanning;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.PriorityQueue;
import java.util.Stack;
import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;
import edu.utdallas.robotchess.engine.Move;
public class MotionPlanner
{
final ... |
package org.reprap.comms.snap;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import gnu.io.CommPortIdentifier;
import gnu.io.NoSuchPortException;
import gnu.io.PortInUseException;
import gnu.io.SerialPort;
import gnu.io.UnsupportedCommOperationException;
import org.reprap.Device;
... |
package org.jetbrains.yaml.meta.model;
import com.intellij.codeInsight.lookup.LookupElementBuilder;
import com.intellij.icons.AllIcons;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiReference;
import org.jetbrains.annotations.*;
import org.jetbrains.yaml.psi.YAMLKeyValue;
import javax.swing.*;
import j... |
package com.github.lgooddatepicker.demo;
import com.github.lgooddatepicker.calendarpanel.CalendarPanel;
import com.github.lgooddatepicker.zinternaltools.DemoPanel;
import com.github.lgooddatepicker.datepicker.DatePicker;
import javax.swing.JButton;
import javax.swing.JFrame;
import java.awt.event.ActionEvent;
import ja... |
package org.mskcc.cgds.test.web_api;
import junit.framework.TestCase;
import org.mskcc.cgds.dao.DaoCancerStudy;
import org.mskcc.cgds.dao.DaoGeneOptimized;
import org.mskcc.cgds.dao.DaoMutSig;
import org.mskcc.cgds.model.CancerStudy;
import org.mskcc.cgds.model.CanonicalGene;
import org.mskcc.cgds.model.MutSig;
import ... |
package net.randomsync.testng.excel;
import java.io.File;
import java.io.FilenameFilter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
import org.testng.ITestNGListener;
import org.testng.TestNG;
import org.testng.xml.Xm... |
package ca.eandb.jmist.framework.material;
import ca.eandb.jmist.framework.Medium;
import ca.eandb.jmist.framework.ScatteredRay;
import ca.eandb.jmist.framework.SurfacePoint;
import ca.eandb.jmist.framework.color.Color;
import ca.eandb.jmist.framework.color.Spectrum;
import ca.eandb.jmist.framework.color.WavelengthPack... |
package org.torproject.onionoo;
import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.regex.Matcher;
import java.u... |
// 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 com.axeldev;
import com.intellij.codeInsight.intention.PsiElementBaseIntentionAction;
import com.intellij.lang.ASTNode;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.project.Project;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiFile;
import com.intellij.util.IncorrectO... |
package gov.nih.nci.cananolab.ui.report;
/**
* This class uploads a report file and assigns visibility
*
* @author pansu
*/
/* CVS $Id: SubmitReportAction.java,v 1.24 2008-08-05 22:45:01 tanq Exp $ */
import gov.nih.nci.cananolab.domain.common.LabFile;
import gov.nih.nci.cananolab.domain.common.Report;
import gov.n... |
package org.apache.commons.graph.algorithm.search;
/**
* This class does a Depth First Search. It visits all of the children nodes
* before moving to the siblling nodes.
*/
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
import org.apache.commons.graph.*;
/**
* Description of the Class
*... |
package imagej.process.operation;
import imagej.process.Span;
import imagej.process.TypeManager;
import mpicbg.imglib.image.Image;
import mpicbg.imglib.type.numeric.RealType;
public class SetPlaneOperation<T extends RealType<T>> extends PositionalSingleCursorRoiOperation<T>
{
public static enum PixelType {BYTE,SHOR... |
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Servlet implem... |
package net.hawkengine.model;
import net.hawkengine.model.enums.RunIf;
import net.hawkengine.model.enums.Status;
import net.hawkengine.model.enums.TaskType;
import java.time.Duration;
import java.time.LocalDateTime;
public class Task extends DbEntry{
private TaskDefinition taskDefinition;
private String jobId;
... |
package com.jwetherell.algorithms.data_structures;
import java.security.InvalidParameterException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;
public class IntervalTree<O extends Object> {
private Interval... |
package com.redhat.ceylon.common.tools;
import java.io.File;
import java.io.IOException;
import java.nio.file.FileVisitResult;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.SimpleFileVisitor;
import java.nio.file.attribute.BasicFileAttributes;
import java.util.ArrayList;
import java.util.H... |
package gl3.helloTexture;
import com.jogamp.nativewindow.util.Dimension;
import com.jogamp.newt.Display;
import com.jogamp.newt.NewtFactory;
import com.jogamp.newt.Screen;
import com.jogamp.newt.event.KeyEvent;
import com.jogamp.newt.event.KeyListener;
import com.jogamp.newt.opengl.GLWindow;
import com.jogamp.opengl.GL... |
package org.pdxfinder.postload;
import org.apache.commons.collections4.map.HashedMap;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.pdxfinder.BaseTest;
import org.pdxfinder.services.DataImportService;
import org.pdxfinder.services.DrugService;
import org.springframework.boot.test.m... |
package ValkyrienWarfareBase;
import java.io.File;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import ValkyrienWarfareBase.API.DataTag;
import ValkyrienWarfareBase.API.ValkyrienWarfareHooks;
import ValkyrienWarfareBase.API.Vector;
import ValkyrienWarfareBase.Block.BlockPhysicsInf... |
package at.ac.tuwien.kr.alpha.solver;
import at.ac.tuwien.kr.alpha.common.AnswerSet;
import at.ac.tuwien.kr.alpha.common.NoGood;
import at.ac.tuwien.kr.alpha.grounder.Grounder;
import org.apache.commons.lang3.tuple.Pair;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.*;
import java.util.funct... |
package nerd.tuxmobil.fahrplan.congress;
import nerd.tuxmobil.fahrplan.congress.CustomHttpClient.HTTP_STATUS;
import nerd.tuxmobil.fahrplan.congress.MyApp.TASKS;
import com.actionbarsherlock.app.SherlockDialogFragment;
import com.actionbarsherlock.app.SherlockFragmentActivity;
import com.actionbarsherlock.view.Menu;
im... |
package edu.wustl.catissuecore.action;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet... |
package com.speearth.view.prenotaservizio;
import java.io.IOException;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Optional;
import java.util.ResourceBundle;
import com.speearth.controller.AppFacadeController;
import com.speearth.model.core.Alloggio;
import com.speearth.m... |
package b_stream;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.Arrays;
import java.util.regex.Pattern;
import java.util.stream.Stream;
class LongestWordInFile {
public static void main(String[] args) throws IOException {
Pattern wordSeparator = Pattern... |
package edu.wustl.catissuecore.util;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.LinkedList... |
/*
* $Log: PipeLine.java,v $
* Revision 1.61 2008-05-21 08:40:36 europe\L190409
* fixed pipeline output validation
*
* Revision 1.60 2008/02/15 14:05:08 Gerrit van Brakel <gerrit.van.brakel@ibissource.org>
* improved logging
*
* Revision 1.59 2008/02/06 16:36:16 Gerrit van Brakel <gerrit.van.brakel@ibisso... |
package net.neevek.android.widget;
import android.content.Context;
import android.os.Build;
import android.util.AttributeSet;
import android.view.*;
import android.view.animation.DecelerateInterpolator;
import android.widget.*;
/**
* @author neevek <i at neevek.net>
* @version v1.0.0 finished on Nov. 24, 2013 (a rain... |
package me.nallar.patched.storage;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUn... |
package org.intermine.api.profile;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import org.intermine.api.InterMineAPITestCase;
import org.intermine.api.profile.TagManager.TagNameException;
import org.intermine.api.profile.TagManager.TagNamePermissionException;
import org.intermine.model.I... |
package br.edu.ufcg.computacao.si1.model;
import org.springframework.security.core.authority.AuthorityUtils;
import java.util.Objects;
import javax.persistence.*;
@Entity(name = "Usuario")
@Table(name = "tb_usuario")
public class Usuario extends org.springframework.security.core.userdetails.User {
@Id
@Generate... |
package org.intermine.dataconversion;
import org.intermine.metadata.Model;
import org.intermine.objectstore.ObjectStoreWriter;
import org.intermine.objectstore.ObjectStoreWriterFactory;
import org.intermine.sql.Database;
import org.intermine.sql.DatabaseFactory;
import org.intermine.task.ConverterTask;
import org.apach... |
package ch.sportchef.business;
import pl.setblack.airomem.core.SimpleController;
import java.io.Serializable;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.function.Supplier;
public enum PersistenceManager {
;
private static final String SPORTCHEF_DIRECTORY_NAME = ".sportchef"; //NON-N... |
/**
* When a Bucket is created Simperium creates a Channel to sync changes between
* a Bucket and simperium.com.
*
* A Channel is provided with a Simperium App ID, a Bucket to operate on, a User
* who owns the bucket and a Channel.Listener that receives messages from the
* Channel.
*
* To get messages into a Ch... |
// Vilya library - tools for developing networked games
// This library is free software; you can redistribute it and/or modify it
// (at your option) any later version.
// This library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// You should ... |
package net.x4a42.volksempfaenger.ui;
import net.x4a42.volksempfaenger.R;
import net.x4a42.volksempfaenger.Utils;
import net.x4a42.volksempfaenger.VolksempfaengerApplication;
import android.content.Context;
import android.graphics.Bitmap;
import android.util.AttributeSet;
import android.view.animation.Animation;
import... |
package de.schenk.jrtrace.ui.util;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.runtime.Platform;
import org.eclipse.jdt.core.ICompilationUnit;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.IMember;
import org.eclipse.jdt.core.IMethod;
import org.eclipse.jdt.core.Java... |
package com.ajjpj.amapper.core.diff;
import com.ajjpj.amapper.core.path.APath;
/**
* @author arno
*/
public class ADiffElement {
public enum Kind {
/**
* Member attribute changed (to a value or null)
*/
Attribute,
/**
* TO-ONE reference changed
*/
... |
/**
* When a Bucket is created Simperium creates a Channel to sync changes between
* a Bucket and simperium.com.
*
* A Channel is provided with a Simperium App ID, a Bucket to operate on, a User
* who owns the bucket and a Channel.Listener that receives messages from the
* Channel.
*
* To get messages into a Ch... |
// Narya library - tools for developing networked games
// This library is free software; you can redistribute it and/or modify it
// (at your option) any later version.
// This library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// You should ... |
package nitezh.ministock.domain;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
impo... |
package omnikryptec.gameobject.gameobject;
import java.time.Instant;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import org.joml.Vector3f;
import omnikryptec.gameobject.component.Component;
import omnikryptec.renderer.RenderChunk;
import omnikryptec.test.saving.DataMap;
import omnikr... |
package com.crowdin.cli.properties;
import com.crowdin.cli.utils.MessageSource;
import com.crowdin.cli.utils.Utils;
import com.crowdin.cli.utils.console.ConsoleUtils;
import java.nio.file.Paths;
import java.util.*;
import static com.crowdin.cli.utils.MessageSource.Messages;
public class CliProperties {
private stat... |
package net.sf.picard.illumina;
import net.sf.picard.PicardException;
import net.sf.picard.cmdline.CommandLineProgram;
import net.sf.picard.cmdline.Option;
import net.sf.picard.cmdline.StandardOptionDefinitions;
import net.sf.picard.cmdline.Usage;
import net.sf.picard.illumina.parser.*;
import net.sf.picard.io.IoUtil;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.