answer stringlengths 17 10.2M |
|---|
package com.partymanager.gcm;
import android.app.IntentService;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.net.Uri;
import android.os.Bu... |
package crazypants.enderzoo;
import crazypants.enderzoo.charge.BlockConcussionCharge;
import crazypants.enderzoo.charge.BlockConfusingCharge;
import crazypants.enderzoo.charge.BlockEnderCharge;
import crazypants.enderzoo.charge.EntityPrimedCharge;
import crazypants.enderzoo.charge.RenderPrimedCharge;
import crazypants.... |
package de.htw_berlin.HoboOthello.KI;
import de.htw_berlin.HoboOthello.Core.*;
import java.util.ArrayList;
import java.util.List;
public class KI extends Player {
private Color kiColor;
private Level level;
private Board board;
private Field field;
private GameRule gameRule;
public KI(Color colo... |
package etomica.potential;
import etomica.atom.IAtomList;
import etomica.box.Box;
import etomica.space.Vector;
import etomica.space.Space;
import etomica.space.Tensor;
/**
* Ideal-gas two-body potential, which defines no interactions and zero energy
* for all pairs given to it.
* <p>
* Useful as a placeholder where... |
package org.opennms.netmgt.trapd;
import java.io.IOException;
import java.lang.reflect.UndeclaredThrowableException;
import java.net.InetAddress;
import java.net.SocketException;
import java.util.Objects;
import org.opennms.core.ipc.sink.api.AsyncDispatcher;
import org.opennms.core.ipc.sink.api.MessageDispatcherFactory... |
package de.prob2.ui.consoles.b;
import java.io.File;
import java.util.ResourceBundle;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import de.prob2.ui.consoles.Console;
import de.prob2.ui.prob2fx.CurrentTrace;
@Singleton
public final class BConsole extends Console {
@Inject
private BConso... |
package com.samourai.wallet.send;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle... |
package com.google.fhirengine.index.impl;
import android.util.Log;
import com.google.fhirengine.index.FhirIndexer;
import com.google.fhirengine.index.ResourceIndices;
import com.google.fhirengine.index.StringIndex;
import org.hl7.fhir.r4.model.Resource;
import org.hl7.fhir.r4.model.StringType;
import java.lang.reflect.... |
package eu.over9000.skadi.ui;
import de.jensd.fx.glyphs.GlyphsDude;
import de.jensd.fx.glyphs.fontawesome.FontAwesomeIcon;
import eu.over9000.skadi.handler.ChatHandler;
import eu.over9000.skadi.handler.StreamHandler;
import eu.over9000.skadi.io.PersistenceHandler;
import eu.over9000.skadi.lock.LockWakeupReceiver;
impor... |
package com.drew.metadata.iptc;
import com.drew.lang.annotations.NotNull;
import com.drew.lang.annotations.Nullable;
import java.nio.ByteBuffer;
import java.nio.charset.CharacterCodingException;
import java.nio.charset.Charset;
import java.nio.charset.CharsetDecoder;
public final class Iso2022Converter
{
private st... |
package de.avalax.fitbuddy.app;
import dagger.Module;
import dagger.Provides;
import de.avalax.fitbuddy.app.edit.EditExerciseActivity;
import de.avalax.fitbuddy.app.edit.WeightExerciseFragment;
import de.avalax.fitbuddy.app.resultChart.ResultChartFragment;
import de.avalax.fitbuddy.app.swipeBar.WeightRaiseCalculator;
i... |
package config;
import com.google.common.collect.ImmutableList;
import de.charite.compbio.exomiser.core.AnalysisFactory;
import de.charite.compbio.exomiser.core.dao.FrequencyDao;
import de.charite.compbio.exomiser.core.dao.PathogenicityDao;
import de.charite.compbio.exomiser.core.factories.SampleDataFactory;
import de.... |
package fape.core.planning.states;
import fape.core.execution.model.AtomicAction;
import fape.core.inference.HReasoner;
import fape.core.inference.Term;
import fape.core.planning.Plan;
import fape.core.planning.grounding.GAction;
import fape.core.planning.grounding.TempFluents;
import fape.core.planning.heuristics.reac... |
package de.bitshares_munich.utils;
import android.app.Activity;
import android.content.Context;
import android.os.Handler;
import android.util.Log;
import android.widget.Toast;
import com.koushikdutta.async.callback.CompletedCallback;
import com.koushikdutta.async.http.AsyncHttpClient;
import com.koushikdutta.async.htt... |
/**
* Alunos:
* Erik Zerbinatti 37816817851
* Gabriel Malaquias 42143954840
* Guilherme Ventura 43596980895
* Luiz Fernando Santos 42547332833
*
* Curso: Cincia da Computao 7 Semestre
*/
package io.valey.compilador.analise;
public class Mapa {
FirstFollow s = new FirstFollow();
FirstFollow bl... |
package fi.jyu.ln.luontonurkka;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import jav... |
package br.com.dbsoft.mail;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import javax.activation.DataHandler;
import javax.activation.DataSource;
import javax.activation.FileDataSource;
import javax.mail.Authenticator;
import javax.mail.Bod... |
package gov.adlnet.xapi.model;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import java.util.ArrayList;
import java.util.UUID;
public class Statement {
private String id;
private String timestamp;
private String stored;
private String version;
... |
package kbasesearchengine.system;
import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedList;
imp... |
package io.advantageous.config;
import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;
import javax.script.ScriptException;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.net.URISyntaxException;
import java.nio.file.Paths;
/**
* Javascript configuration loader.
*
* @... |
package cz.muni.fi.pa165.entity;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import javax.persistence.Column;
public class Loan {
@Column(nullable = false)
private Date loanDate;
@Column(nullable = false)
private Boolean returned;
@Column(nullable = false)
private... |
package co.uk.jiveelection.campaign;
import java.io.IOException;
import twitter4j.TwitterException;
import co.uk.jiveelection.campaign.twit.TwitHelper;
/**
* Main entry point for the Jive Campaign application. Sets up a continuously running loop that
* checks the latest tweet from the named candidate, translates it t... |
package io.cfp.service;
import io.cfp.controller.AdminSessionController;
import io.cfp.domain.exception.CospeakerNotFoundException;
import io.cfp.dto.EventSched;
import io.cfp.dto.TalkAdmin;
import io.cfp.dto.user.CospeakerProfil;
import io.cfp.dto.user.UserProfil;
import io.cfp.entity.Event;
import io.cfp.entity.Rate;... |
package net.mm2d.upnp;
import net.mm2d.upnp.ControlPoint.DiscoveryListener;
import net.mm2d.upnp.ControlPoint.NotifyEventListener;
import net.mm2d.upnp.EventReceiver.EventMessageListener;
import net.mm2d.upnp.SsdpNotifyReceiver.NotifyListener;
import net.mm2d.upnp.SsdpSearchServer.ResponseListener;
import net.mm2d.util... |
package lt.markmerkk.utils;
import com.google.common.base.Strings;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.scene.control.ComboBox;
import javafx.scene.input.KeyEvent;
import javafx.scene.text.Text;
import javafx.util.StringConv... |
package storm2014.subsystems;
import edu.wpi.first.wpilibj.DigitalInput;
import edu.wpi.first.wpilibj.Encoder;
import edu.wpi.first.wpilibj.Solenoid;
import edu.wpi.first.wpilibj.Talon;
import edu.wpi.first.wpilibj.command.Command;
import edu.wpi.first.wpilibj.command.CommandGroup;
import edu.wpi.first.wpilibj.command.... |
package io.github.classgraph;
import java.net.URI;
import java.util.Collections;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.Set;
/** Holds metadata about a package encountered during a scan. */
public class ModuleInfo implements Comparable<ModuleInfo>, HasName {
/** The name of the m... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package storm2014.subsystems;
import edu.wpi.first.wpilibj.NamedSendable;
import edu.wpi.first.wpilibj.Sendable;
import edu.wpi.first.wpilibj.command.Subsystem;
import edu.wpi.first.wpilibj.tables.ITable;
import edu.wpi.... |
package net.squanchy.schedule;
import android.support.annotation.NonNull;
import android.util.Log;
import android.util.Pair;
import java.util.List;
import net.squanchy.eventdetails.domain.view.ExperienceLevel;
import net.squanchy.schedule.domain.view.Event;
import net.squanchy.schedule.domain.view.Schedule;
import net.... |
package org.rembx.jeeshop.user;
import com.google.common.collect.Sets;
import com.google.common.hash.Hashing;
import freemarker.template.Configuration;
import freemarker.template.Template;
import org.apache.commons.codec.binary.Base64;
import org.rembx.jeeshop.mail.Mailer;
import org.rembx.jeeshop.role.JeeshopRoles;
im... |
package android.support.v4.app;
import android.annotation.SuppressLint;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.ContextWrapper;
import android.content.Intent;
import android.content.res.Resources.Theme;
import android.content.res.TypedArray;
import androi... |
package com.danpeter.hearts;
import org.apache.juli.logging.Log;
import org.apache.juli.logging.LogFactory;
import java.util.LinkedList;
public class GameManager {
private static final Log log = LogFactory.getLog(HeartsEndpoint.class);
private static final GameManager gameManagerSingleton = new GameManager();
... |
package org.openlmis.core.service;
import android.accounts.Account;
import android.accounts.AccountManager;
import android.content.ContentResolver;
import android.os.Bundle;
import android.util.Log;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import org.apache.commons.lang3.StringUtils;
import ... |
package com.amee.service.tag;
import com.amee.base.transaction.TransactionEvent;
import com.amee.base.utils.UidGen;
import com.amee.domain.IAMEEEntityReference;
import com.amee.domain.ObjectType;
import com.amee.domain.data.DataCategory;
import com.amee.domain.tag.EntityTag;
import com.amee.domain.tag.Tag;
import org.a... |
package uk.co.pilllogger.helpers;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.support.v4.app.ShareCompat;
import android.support.v4.content.FileProvider;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import ... |
package com.bladecoder.ink.runtime;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map.Entry;
import com.bladecoder.ink.runtime.ControlCommand.CommandType;
public class Json {
public static <T extends RTObject> List<Object> listToJArray(List<T> serialisables) throws Ex... |
package gaia.cu9.ari.gaiaorbit;
import java.io.File;
import java.time.Instant;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import com.badlogic.gdx.Application;
import com.badlogic.gdx.ApplicationListener;
import com.badlogic.gdx.Gdx;
import co... |
package mcjty.rftools.items;
import mcjty.lib.varia.EntityTools;
import mcjty.lib.varia.Logging;
import mcjty.rftools.GeneralConfiguration;
import mcjty.rftools.RFTools;
import net.minecraft.client.renderer.block.model.ModelBakery;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minec... |
package org.commcare.android.framework;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.SharedPreferences;
import android.os.Build;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import... |
package me.nallar.modpatcher;
import com.google.common.base.Charsets;
import com.google.common.io.Resources;
import me.nallar.javapatcher.patcher.Patcher;
import net.minecraft.launchwrapper.LaunchClassLoader;
import net.minecraftforge.fml.relauncher.ReflectionHelper;
import org.apache.logging.log4j.LogManager;
import o... |
package arez;
import arez.component.TypeBasedLocator;
import arez.spy.ActionCompletedEvent;
import arez.spy.ActionStartedEvent;
import arez.spy.ComponentCreateStartedEvent;
import arez.spy.ComputedValueCreatedEvent;
import arez.spy.ObservableValueCreatedEvent;
import arez.spy.ObserverCreatedEvent;
import arez.spy.Obser... |
package com.tinkerpop.gremlin.groovy.console;
import com.tinkerpop.gremlin.groovy.GremlinLoader;
import com.tinkerpop.gremlin.groovy.console.commands.GremlinImportCommand;
import com.tinkerpop.gremlin.groovy.console.commands.RemoteCommand;
import com.tinkerpop.gremlin.groovy.console.commands.SubmitCommand;
import com.t... |
package org.commcare.android.framework;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.SharedPreferences;
import android.os.Build;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import... |
package zizouz212.crime.theft.demo;
import java.awt.Color;
import java.awt.Desktop;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.SecondaryLoop;
import java.awt.Toolkit;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.Icon;
import javax.swing.JFrame;
import ... |
package hudson;
import hudson.model.Action;
import hudson.model.Computer;
import hudson.model.Item;
import hudson.model.ItemGroup;
import hudson.model.TopLevelItem;
import hudson.model.View;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.Arrays;
import java.util.Collections;
import java.util.... |
package ClassLibrary;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import java.util.Iterator;
import java.util.Set;
import javax.swing.event.EventListenerList;
/***
* @auth... |
package org.commcare.android.framework;
import java.lang.reflect.Field;
import org.commcare.android.database.user.models.ACase;
import org.commcare.android.javarosa.AndroidLogger;
import org.commcare.android.tasks.templates.CommCareTask;
import org.commcare.android.tasks.templates.CommCareTaskConnector;
import org.comm... |
package net.alpenblock.bungeeperms;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import net.alpenblock.bungeeperms.platform.Sender;
@Getter
@Setter
... |
package hudson;
import hudson.model.Action;
import hudson.model.Computer;
import hudson.model.Item;
import hudson.model.ItemGroup;
import hudson.model.TopLevelItem;
import hudson.model.View;
import hudson.model.ViewGroup;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.Arrays;
import java.util... |
package org.odk.collect.android.views.media;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.media.MediaPlayer;
import android.net.Uri;
import android.util.DisplayMetrics;
import android.util.Log;
import andr... |
package net.authorize.sample;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import net.authorize.sample.VisaCheckout.*;
import net.authorize.sample.PaymentTransactions.*;
import net.authorize.sample.PayPalExpressCheckout.*;
import net.authorize.sample.PayPalExpressCheckout... |
package org.jboss.as.console.client.widgets.nav.v3;
import com.allen_sauer.gwt.log.client.Log;
import com.google.gwt.cell.client.SafeHtmlCell;
import com.google.gwt.core.client.GWT;
import com.google.gwt.core.client.Scheduler;
import com.google.gwt.dom.client.Document;
import com.google.gwt.dom.client.Element;
import c... |
package <%=packageName%>.conf;
import com.codahale.metrics.MetricRegistry;
import com.codahale.metrics.health.HealthCheckRegistry;
import com.codahale.metrics.servlet.InstrumentedFilter;
import com.codahale.metrics.servlets.AdminServlet;
import com.codahale.metrics.servlets.HealthCheckServlet;
import com.codahale.metri... |
package com.filestack.util;
import com.filestack.responses.StoreResponse;
import com.google.gson.JsonObject;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.DELETE;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.h... |
package com.github.antiad.AntiAd;;
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.Arrays;
import java.util.Properties;
import java.util.logging.Level;
import org.bukkit.ChatC... |
package net.imagej.ops.eval;
import java.util.Map;
import net.imagej.ops.Ops;
import net.imagej.ops.special.AbstractUnaryFunctionOp;
import org.scijava.plugin.Parameter;
import org.scijava.plugin.Plugin;
@Plugin(type = Ops.Eval.class)
public class DefaultEval extends AbstractUnaryFunctionOp<String, Object>
implemen... |
package net.malisis.core.util;
import static com.google.common.base.Preconditions.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import net.malisis.core.block.MalisisBlock;
import net.minecraft.block.Block;
import net.minecraft.block.BlockPistonBase;
import net.minecraft.block.state.IBlockState;
imp... |
package io.github.ihongs.cmdlet.serv;
import io.github.ihongs.Core;
import io.github.ihongs.CoreLogger;
import io.github.ihongs.HongsException;
import io.github.ihongs.HongsExemption;
import io.github.ihongs.cmdlet.CmdletHelper;
import io.github.ihongs.cmdlet.CmdletRunner;
import io.github.ihongs.cmdlet.anno.Cmdlet;
im... |
package net.reindiegames.lib.util;
/**
* A Tupel that ties two given Values together.
*
* @param <F>
* The generic Type of the first Value.
* @param <S>
* The generic Type of the second Value.
*
* @author Nils
* @version Valid (Last Change: 04.05.2017)
* @since 04.05.2017
*/
public class Tupe... |
package gui;
import javafx.scene.text.Text;
public class Timer extends Text implements Runnable{//TODO:Thread schliessen!!!
private long startMillis = 0L;
private int updateMillis = 1000;
private Thread t;
private boolean running = false;
private boolean time_up;
private long duration;
priva... |
package org.inaturalist.android;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import uk.co.senab.photoview.HackyViewPager;
import uk.co.senab.photoview.PhotoViewAttacher;
import com.bumptech.glide.Glide;
imp... |
package net.sargue.mailgun.content;
import net.sargue.mailgun.MailgunException;
import org.w3c.dom.Document;
import org.w3c.dom.Text;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerExce... |
package com.maxdemarzi.shortest;
import com.google.common.cache.CacheBuilder;
import com.google.common.cache.CacheLoader;
import com.google.common.cache.LoadingCache;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableMap.Builder;
import net.openhft.koloboke.collect.LongCursor;
imp... |
package org.inaturalist.android;
import java.io.IOException;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import org.inaturalist.android.INaturalistService.LoginType;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import u... |
package example;
//-*- mode:java; encoding:utf-8 -*-
// vim:set fileencoding=utf-8:
//@homepage@
import java.awt.*;
import java.util.stream.IntStream;
import javax.swing.*;
import javax.swing.event.*;
public final class MainPanel extends JPanel {
private MainPanel() {
super(new GridLayout(1, 2));
UI... |
package com.mkmkbug.my2048;
import android.content.DialogInterface;
import android.content.SharedPreferences;
import android.media.SoundPool;
import android.os.Bundle;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.view.MotionEvent;
import android.view.View;
i... |
package org.apache.mesos.hdfs;
import com.google.inject.Inject;
import com.google.protobuf.ByteString;
import com.google.protobuf.InvalidProtocolBufferException;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.mesos.MesosSchedulerDriver;
import org.apache.mesos.Pro... |
package com.oneliang.util.file;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
im... |
package org.apache.mesos.hdfs;
import com.google.inject.Inject;
import com.google.protobuf.ByteString;
import com.google.protobuf.InvalidProtocolBufferException;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.mesos.MesosSchedulerDriver;
import org.apache.mesos.Pro... |
package com.esafirm.imagepicker.helper;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.net.Uri;
import android.os.Environment;
import android.text.TextUtils;
import android.webkit.MimeTypeMap;
import com.esaf... |
package com.physalix.jfx;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.util.Calendar;
import java.util.Date;
import javafx.application.Platform;
import javafx.collections.ObservableList;
import javafx.event.Event;
import javafx.event.EventHandler;
import javafx.geometry.Pos;
import javafx.... |
package org.arachb.owlbuilder.lib;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import org.apache.log4j.Logger;
import org.arachb.arachadmin.AbstractConnection;
import org.arachb.arachadmin.ClaimBean;
import org.arachb.owlbuilder.Owlbuilder;
import org.semanticweb.owla... |
package org.sagebionetworks;
import static org.junit.Assert.*;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.json.JSONException;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.sagebionetworks.client.Synapse;
import org.s... |
package com.sots.routing;
import java.util.ArrayDeque;
import java.util.Deque;
import java.util.UUID;
import net.minecraft.util.EnumFacing;
public class LogisticsRoute {
private NetworkNode start;
private NetworkNode target;
private Deque<EnumFacing> directionStack;
private int weight = 0;
private b... |
package org.batgen.generators;
import java.io.*;
import java.util.List;
import org.batgen.Column;
import org.batgen.Table;
import static org.batgen.generators.GenUtil.*;
/**
* The base class for all generators. Protected values are provided for
* sub-classes to ease typing effort.
*
*/
public class Generator {
... |
package org.intermine.web.struts;
import java.io.StringReader;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServle... |
package com.timepath.hl2.hudeditor;
import com.timepath.plaf.OS;
import com.timepath.plaf.linux.DesktopLauncher;
import com.timepath.plaf.linux.WindowToolkit;
import com.timepath.plaf.mac.OSXProps;
import javax.swing.*;
import java.util.Collections;
import java.util.ResourceBundle;
import java.util.prefs.Preferences;
/... |
package org.camunda.bpm.model.fluent;
/**
* Mechanism used to locate activities within a process definition
*
* Pattern lifted shamelessly from org.openqa.selenium.By
*
*/
public class By {
/**
* @param id The value of the "id" attribute to search for
*
* @return a By which locates activities by... |
package com.getirkit.irkit.net;
import retrofit.Callback;
import retrofit.http.Body;
import retrofit.http.GET;
import retrofit.http.POST;
import retrofit.mime.TypedInput;
public interface IRDeviceAPIService {
/**
* postKeys()
* Response of postKeys().
*
* @see #postKeys(Callback)
*/
cla... |
package com.xpn.xwiki.doc;
import com.xpn.xwiki.XWiki;
import com.xpn.xwiki.XWikiConstant;
import com.xpn.xwiki.XWikiContext;
import com.xpn.xwiki.XWikiException;
import com.xpn.xwiki.api.DocumentSection;
import com.xpn.xwiki.notify.XWikiNotificationRule;
import com.xpn.xwiki.objects.BaseCollection;
import com.xpn.xwik... |
package objektwerks;
import org.junit.jupiter.api.Test;
class ForTest {
@Test void arrayTest() {
int[] xs = {1, 2, 3};
assert(xs.length == 3);
}
@Test void forEachTest() {
int[] xs = {1, 2, 3};
int sum = 0;
for (int x : xs) {
sum += x;
}
as... |
package org.cojen.tupl.core;
import java.io.IOException;
import java.util.Arrays;
import java.util.Comparator;
import java.util.concurrent.ThreadLocalRandom;
import org.cojen.tupl.ClosedIndexException;
import org.cojen.tupl.CorruptDatabaseException;
import org.cojen.tupl.Cursor;
import org.cojen.tupl.DatabaseException;... |
package example;
// -*- mode:java; encoding:utf-8 -*-
// vim:set fileencoding=utf-8:
// @homepage@
import java.awt.*;
import java.awt.event.*;
import java.util.Objects;
import java.util.Optional;
import javax.swing.*;
import javax.swing.border.AbstractBorder;
import javax.swing.border.Border;
import javax.swing.border.... |
package com.yahoo.sketches.tuple;
import java.util.function.Predicate;
import com.yahoo.sketches.ResizeFactor;
/**
* Class for filtering entries from a {@link Sketch} given a {@link Summary}
*
* @param <T> Summary type against which apply the {@link Predicate}
*/
public class Filter<T extends Summary> {
private... |
package org.animotron;
import com.ctc.wstx.stax.WstxOutputFactory;
import junit.framework.Assert;
import org.animotron.exception.AnimoException;
import org.animotron.expression.AnimoExpression;
import org.animotron.graph.GraphOperation;
import org.animotron.graph.serializer.*;
import org.animotron.manipulator.Evaluator... |
package org.cojen.tupl.repl;
import java.lang.invoke.MethodHandles;
import java.lang.invoke.VarHandle;
import java.io.File;
import java.io.InterruptedIOException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.EnumSet;
import java.util.Iterator;
import java.util.Naviga... |
package de.bahr.survey;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import java.time.LocalDateTime;
import java.time.temporal.ChronoUnit;
import java.util.List... |
package org.jboss.logmanager;
import java.lang.ref.WeakReference;
import java.util.Collection;
import java.util.concurrent.ConcurrentMap;
import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
import java.security.AccessController;
import java.security.PrivilegedAction;
import static org.jboss.logmanager.Concu... |
package com.bwat.transfer;
import lombok.Data;
@Data
public class Target {
private String source;
private String id;
private String format;
private String type;
private Object selector;
} |
package de.prob2.ui.formula;
import java.util.ArrayList;
import java.util.List;
import de.prob.animator.domainobjects.ExpandedFormula;
import javafx.scene.layout.Region;
import javafx.scene.paint.Color;
import javafx.scene.paint.Paint;
import javafx.scene.shape.Ellipse;
import javafx.scene.shape.Rectangle;
import javaf... |
package com.jme3.gde.core.scene.controller;
import com.jme3.app.Application;
import com.jme3.app.state.AbstractAppState;
import com.jme3.app.state.AppStateManager;
import com.jme3.gde.core.scene.SceneApplication;
import com.jme3.input.InputManager;
import com.jme3.input.RawInputListener;
import com.jme3.input.controls.... |
package frc.team4215.stronghold;
import edu.wpi.first.wpilibj.I2C;
import edu.wpi.first.wpilibj.Timer;
import edu.wpi.first.wpilibj.internal.HardwareTimer;
public class I2CGyro {
private static I2C gyro;
private static boolean pingFlag;
private static double lastTime = 0;
private static double coeff = 0... |
package ccw.editors.antlrbased;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IFolder;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.runtime.Assert;
import org.eclipse.core.runtime.IPath;
import org.eclipse.jdt.internal.core.JavaProject;
import org.eclipse.jface.action... |
package graphql.language;
import graphql.Assert;
import graphql.AssertException;
import graphql.GraphQLException;
import graphql.Internal;
import graphql.Scalars;
import graphql.parser.Parser;
import graphql.schema.GraphQLEnumType;
import graphql.schema.GraphQLInputObjectField;
import graphql.schema.GraphQLInputObjectT... |
package hu.progtech.setcardgame.bl;
/**
* Card class represents a single Card of the Deck.
*/
public class Card {
/**
* The number property of the Card.
*/
private int number;
/**
* The shape property of the Card.
*/
private int shape;
/**
* The shading property of the Car... |
package org.myrobotlab.codec;
import java.io.BufferedOutputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;
import java.io.OutputStream;
import java.lang.reflect.Method;
import java.lang.reflect.Parameteriz... |
package org.jtalks.common.model.entity;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;
/**
* The Property entity which contains configuration for components. Components have default properties (like JCommune
* has some number of predefined properties) with defa... |
package javax.jmdns.impl;
import java.util.Date;
import java.util.Timer;
import java.util.TimerTask;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import java.util.concurrent.atomic.AtomicReference;
import javax.jmdns.impl.tasks.RecordReaper;
import javax.jmdns.impl.tasks.Res... |
package org.jtrim.swing.component;
import java.awt.Color;
import java.awt.event.ComponentAdapter;
import java.awt.event.ComponentEvent;
import java.awt.geom.AffineTransform;
import java.awt.geom.NoninvertibleTransformException;
import java.awt.geom.Point2D;
import java.util.ArrayList;
import java.util.EnumMap;
import j... |
package javax.time.calendrical;
import javax.time.DateTimeException;
import javax.time.LocalDate;
import javax.time.LocalTime;
/**
* General access to a date and/or time object that is complete enough to be manipulated.
* <p>
* There are two types of date-time class modeled in the API.
* The first, {@link DateTimeA... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.