answer stringlengths 17 10.2M |
|---|
package fredboat.command.fun;
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.JsonNode;
import com.mashape.unirest.http.Unirest;
import com.mashape.unirest.http.exceptions.UnirestException;
import fredboat.Config;
import fredboat.commandmeta.abs.Command;
import fredboat.commandmeta.abs.IFu... |
package org.wso2.carbon.uuf.core;
import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.Multimap;
import org.wso2.carbon.uuf.handlebars.Executable;
import java.util.Map;
import java.util.Optional;
public class Page {
private final UriPatten uriPatten;
private final Renderable layo... |
package org.jfree.chart.junit;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Font;
import java.awt.GradientPaint;
import java.awt.RenderingHints;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.ObjectInput;
import java.io.ObjectInputStream;
import java.io.... |
package org.jeecqrs.command.bus.simple;
import java.io.Serializable;
import java.util.logging.Logger;
import javax.annotation.Resource;
import javax.ejb.TimedObject;
import javax.ejb.Timeout;
import javax.ejb.Timer;
import javax.ejb.TimerConfig;
import javax.ejb.TimerService;
import javax.ejb.TransactionAttribute;
impo... |
package org.synchronoss.cpo.plugin;
import org.apache.maven.plugin.*;
import org.apache.maven.project.MavenProject;
import org.synchronoss.cpo.exporter.CpoClassSourceGenerator;
import org.synchronoss.cpo.meta.CpoMetaDescriptor;
import org.synchronoss.cpo.meta.domain.CpoClass;
import java.io.*;
import java.util.StringTo... |
package com.ebuddy.cassandra.cql.dao;
import static com.datastax.driver.core.querybuilder.QueryBuilder.batch;
import static com.datastax.driver.core.querybuilder.QueryBuilder.bindMarker;
import static com.datastax.driver.core.querybuilder.QueryBuilder.delete;
import static com.datastax.driver.core.querybuilder.QueryBui... |
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.nio.file.FileSystems;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.attribute.BasicFileAttributes;
import java.te... |
package org.unitime.timetable.model;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import java.util.TreeSet;
import javax.servlet.http.HttpServletRequest;
import org.unitime.commons.web.Web;
import org.unit... |
package org.joda.time.base;
import java.io.Serializable;
import org.joda.time.Chronology;
import org.joda.time.DateTimeUtils;
import org.joda.time.ReadWritableInterval;
import org.joda.time.ReadableDuration;
import org.joda.time.ReadableInstant;
import org.joda.time.ReadableInterval;
import org.joda.time.ReadablePeriod... |
package de.peeeq.wurstio.languageserver;
import de.peeeq.wurstio.languageserver.requests.*;
import de.peeeq.wurstscript.WLogger;
import de.peeeq.wurstscript.ast.CompilationUnit;
import de.peeeq.wurstscript.utils.Utils;
import java.util.*;
import java.util.Map.Entry;
import java.util.concurrent.atomic.AtomicLong;
public... |
package org.deeplearning4j.util;
import lombok.NonNull;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.io.output.CloseShieldOutputStream;
import org.apache.commons.lang3.*;
import org.deeplearning4j.nn.api.Layer;
import org.deeplearning4j.nn.api.Model;
import org.deeplearning4j.nn.api.Updater;
import org.d... |
package nl.mpi.kinnate.uniqueidentifiers;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.UUID;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlValue;
import nl.mpi.arbil.data.ArbilField;
public class UniqueIdentifier {
public en... |
package org.voovan.network;
import org.voovan.tools.buffer.ByteBufferChannel;
import org.voovan.tools.collection.Chain;
import java.nio.ByteBuffer;
public interface IoPlugin {
/**
* <br>
* SocketContext.syncStart/acceptStart
* @param session IoSession
*/
public void init(IoSession session);... |
package me.pushy.sdk;
import android.app.Notification;
import android.app.PendingIntent;
import android.content.Intent;
import android.content.Context;
import android.content.res.Resources;
import android.media.RingtoneManager;
import android.app.NotificationManager;
import android.content.BroadcastReceiver;
import me.... |
package com.joelapenna.foursquared;
import com.joelapenna.foursquare.error.FoursquareException;
import com.joelapenna.foursquare.types.City;
import com.joelapenna.foursquare.types.Venue;
import com.joelapenna.foursquared.Foursquared.LocationListener;
import com.joelapenna.foursquared.util.NotificationsUtil;
import andr... |
// This file is part of Elveos.org.
// Elveos.org is free software: you can redistribute it and/or modify it
// option) any later version.
// Elveos.org is distributed in the hope that it will be useful, but WITHOUT
// more details.
package com.bloatit.web.pages.master;
import static com.bloatit.framework.webprocessor.... |
package cyclops.data;
import org.junit.Before;
import org.junit.Test;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import static org.hamcrest.core.IsEqual.equalTo;
import static org.junit.Assert.*;
public class LazyStringTest {
LazyString str = LazyString.of("hello world");
LazyString lon... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.micromanager.api;
import java.util.Set;
import mmcorej.TaggedImage;
import org.json.JSONObject;
import org.micromanager.utils.MMException;
/**
*
* @author arthur
*/
public interface TaggedImageStorage {
... |
// This file is part of the Whiley-to-Java Compiler (wyjc).
// The Whiley-to-Java Compiler is free software; you can redistribute
// it and/or modify it under the terms of the GNU General Public
// The Whiley-to-Java Compiler is distributed in the hope that it
// You should have received a copy of the GNU General Publi... |
// modification, are permitted provided that the following conditions are met:
// documentation and/or other materials provided with the distribution.
// * Neither the name of the <organization> nor the
// names of its contributors may be used to endorse or promote products
// ANY EXPRESS OR IMPLIED WARRAN... |
package net.dougqh.jak;
import java.lang.reflect.Type;
import net.dougqh.java.meta.types.JavaTypeBuilder;
import static net.dougqh.jak.Flags.*;
import static net.dougqh.jak.Methods.*;
public final class JavaModifiers {
private static final Type[] EMPTY_TYPES = {};
private final int flags;
private final Type... |
package com.talkdata.task;
import java.util.Iterator;
import java.util.Map;
import java.util.logging.Logger;
import javax.inject.Inject;
import javax.inject.Named;
import org.camunda.bpm.engine.CaseService;
import org.camunda.bpm.engine.delegate.DelegateCaseExecution;
import org.camunda.bpm.engine.delegate.DelegateExec... |
package ucar.nc2.internal.iosp.hdf5;
import java.io.IOException;
import java.io.PrintWriter;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.Formatter;
import java.util.HashMap;
... |
package com.metamatrix.jdbc;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInputStream;
import java.net.URL;
import java.net.URLClassLoader;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.DriverPropertyInfo;
import java.sql.SQLException;
im... |
package com.joker.fourfun;
public class Constants {
public static final String MAIN_ACTIVITY_BUNDLE = "main_bundle";
public static final String MEDIA_BUNDLE = "media_bundle";
public static final String ZHIHU_IMG = "zhihu_img";
public static final String PICTURE_BUNDLE = "picture_bundle";
public stat... |
package org.jetel.data.primitive;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.text.NumberFormat;
import org.jetel.data.DecimalDataField;
import org.jetel.data.IntegerDataField;
import org.jetel.data.LongDataField;
import org.jetel.data.Nu... |
package io.github.rizafu.coachmark;
import android.app.Activity;
import android.content.Context;
import android.content.res.Resources;
import android.databinding.DataBindingUtil;
import android.graphics.Color;
import android.graphics.Rect;
import android.support.annotation.IdRes;
import android.support.annotation.IntDe... |
package com.trc202.CombatTagApi;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Player;
import com.trc202.CombatTag.CombatTag;
public class CombatTagApi {
private CombatTag plugin;
public CombatTagApi(CombatTag plugin){
this.plugin = plugin;
}
/**
* Checks to see if the player is... |
package com.emc.mongoose.model;
import com.emc.mongoose.common.concurrent.Daemon;
import com.emc.mongoose.common.concurrent.SvcTask;
import static com.emc.mongoose.common.concurrent.Daemon.State.CLOSED;
import static com.emc.mongoose.common.concurrent.Daemon.State.INITIAL;
import static com.emc.mongoose.common.concurre... |
package jFasta;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.Reader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.TreeSet;
import java.util.logging.Lo... |
package scorer;
import java.util.ArrayList;
import java.util.Collections;
import job.JobDesc;
import main.ParseResultStorage;
import qualification.Education;
import qualification.WorkExp;
public class Scorer {
public Scorer(JobDesc jobDesc, int count){
}
public ArrayList<Candidate> getTopCandidates(ArrayLis... |
package main;
/**
* @author XYLau
*/
import edu.dynamic.dynamiz.UI.*;
public class Dynamiz {
public static void main() {
new UI();
}
} |
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
import javax.persistence.RollbackException;
import javax.validation.ConstraintViolationException;
import javax.validation.Valid;
import java.util.List;
import java.util.function.Function;
import ... |
package test;
import inte.*;
import static org.junit.Assert.assertEquals;
import org.junit.*;
public class cd_Test {
@Test
public void cdDirectoryUpwards(){
assertEquals(1,1);
}
} |
package com.pixable.trackingwrap.demo;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.View;
import com.pixable.pixalytics.core.Event;
import com.pixable.pixalytics.core.Pixalytics;
import com.pixable.pixalytics.core.Screen;
import com.pixable.pixalytics.facebook.platform.... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platfroms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platforms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platfroms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platfroms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platforms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platfroms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platfroms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
package ludumdare32mapeditor;
import java.awt.image.BufferedImage;
import java.io.IOException;
import javax.imageio.ImageIO;
public class TileSet {
BufferedImage[] images;
int horizontalTiles = 0;
int verticalTiles = 0;
static final int INVISIBLE = 285;
public TileSet(String path, int size, int marg... |
package edu.gatech.oad.antlab.person;
/**
* A simple class for person 4
* returns their name and a
* modified string
*
* @author Bob
* @version 1.1
*/
public class Person4 {
/** Holds the persons real name */
private String name;
/**
* The constructor, takes in the persons
* name
* @p... |
package com.namelessdev.mpdroid.cover;
import android.graphics.Bitmap;
import android.os.Environment;
import android.util.Log;
import com.namelessdev.mpdroid.MPDApplication;
import com.namelessdev.mpdroid.tools.Tools;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
public class CachedC... |
package org.drooms.impl.logic;
import java.io.File;
import java.util.Collection;
import java.util.Collections;
import java.util.Deque;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
impor... |
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
import com.pi4j.io.gpio.GpioController;
import com.pi4j.io.gpio.GpioFactory;
import com.pi4j.io.gpio.GpioPinDigitalOutput;
import com.pi4j.io.gpio.PinState;
import com.pi4j.io.gpio.RaspiPin... |
package de.dergrafiker.filenamecleaner;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.File;
import java.io.IOException;
import java.nio.file.FileVisitResult;
import java.nio.file.Path;
import java.nio.file.SimpleFileVisitor;
import java.util.Collect... |
package org.fedorahosted.flies.common;
public final class Namespaces
{
public static final String FLIES = "http://flies.fedorahosted.org/api/v1/";
public static final String FLIES_CONFIG = "http://flies.fedorahosted.org/config/v1/";
public static final String XML = "http:
private Namespaces()
{
}
} |
package cz.spiffyk.flpmanager;
import java.util.Properties;
import lombok.Getter;
import lombok.NonNull;
import lombok.Setter;
/**
* A singleton holding the application configuration
* @author spiffyk
*/
public class AppConfiguration {
/**
* The singleton instance
*/
private static final AppConfigu... |
package org.flymine.postprocess;
import java.util.Iterator;
import java.util.List;
import java.util.ArrayList;
import org.intermine.objectstore.query.*;
import org.intermine.objectstore.ObjectStoreWriter;
import org.intermine.model.InterMineObject;
import org.intermine.util.TypeUtil;
import org.flymine.model.genomic.*;... |
package org.opencb.biodata.formats.variant.vcf4;
import java.util.*;
import org.opencb.biodata.models.feature.Genotype;
import org.opencb.biodata.models.variant.effect.VariantEffect;
import org.opencb.biodata.models.variant.stats.VariantStats;
public class VcfRecord {
private String chromosome;
private int posi... |
package etomica.graph.model.impl;
import static etomica.graph.model.Metadata.COLORS;
import static etomica.graph.model.Metadata.COLOR_CODES;
import static etomica.graph.model.Metadata.TYPE_EDGE_ANY;
import static etomica.graph.model.Metadata.TYPE_NODE_ROOT;
import java.util.ArrayList;
import java.util.Arrays;
import ja... |
package com.liferay.lms;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import com.liferay.counter.service.CounterLocalServiceUtil;
import com.liferay.lms.learningactivity.LearningActivityTypeRegistry;
import com.liferay.lms.model.Course;
imp... |
package com.loquatic.xls.util;
import java.io.File;
import java.io.FileInputStream;
import java.util.HashMap;
import java.util.LinkedHashSet;
import java.util.LinkedList;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator;
impo... |
package com.loquatic.xls.util;
import java.io.File;
import java.io.FileInputStream;
import java.util.HashMap;
import java.util.LinkedHashSet;
import java.util.LinkedList;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator;
impo... |
package org.bridje.vfs;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Objects;
import org.bridje.ioc.Ioc;
/**
* Represents a file of the VFS tree.
*/
public class VFile
{
private static VfsService VFS;
/**
* Return VfsService component, af... |
package org.jboss.as.ee.component;
import java.util.ArrayList;
import java.util.List;
/**
* A description of a JNDI binding associated with a component. The binding
* may refer to the component itself, a view thereof, or an injection used by
* the component.
*
* @author <a href="mailto:david.lloyd@redhat.com">Dav... |
package dr.geo;
import dr.geo.cartogram.CartogramMapping;
import dr.xml.*;
import org.jdom.Document;
import org.jdom.Element;
import org.jdom.JDOMException;
import org.jdom.input.SAXBuilder;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;
import java.io.File;
import java.io.IOException;
import java.util... |
package org.ethereum.facade;
import org.ethereum.core.*;
import org.ethereum.core.Repository;
import org.ethereum.listener.EthereumListener;
import org.ethereum.listener.GasPriceTracker;
import org.ethereum.manager.AdminInfo;
import org.ethereum.manager.BlockLoader;
import org.ethereum.manager.WorldManager;
import org.... |
package StevenDimDoors.mod_pocketDim;
import java.util.ArrayList;
import java.util.EnumSet;
import java.util.Random;
import net.minecraft.entity.Entity;
import net.minecraft.server.MinecraftServer;
import net.minecraft.world.GameRules;
import net.minecraft.world.World;
import StevenDimDoors.mod_pocketDim.helpers.dimHel... |
package com.negusoft.holoaccent;
import android.graphics.Color;
public class AccentPalette {
private static final float DARK_ACCENT_PERCENTAGE = 0.85f;
public final int accentColor;
public final int red;
public final int green;
public final int blue;
public AccentPalette(int color) {
red... |
package oap.metrics;
import lombok.SneakyThrows;
import lombok.ToString;
import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.Map;
public class HashMapMetrics {
private static final String application;
private static final boolean enabled;
static {
application = System.getenv( ... |
package factories;
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.JsonNode;
import com.mashape.unirest.http.Unirest;
import com.mashape.unirest.http.exceptions.UnirestException;
import org.json.JSONException;
import org.json.JSONObject;
import org.json.JSONString;
import pojos.GameCharact... |
package de.ppi.samples.fuwesta.dao.api;
import static org.assertj.core.api.Assertions.assertThat;
import java.util.Date;
import javax.annotation.Resource;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.junit.Test;
import org.springframework.test.annotation.Rollback;
impo... |
package markehme.factionsplus.listeners;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import markehme.factionsplus.FactionsPlus;
import markehme.factionsplus.Utilities;
import markehme.factionsplus.config.Config;
import org.bukkit.Bukkit;
import org.bukkit.C... |
package com.twitter.elephantbird.util;
import java.lang.reflect.Type;
import java.nio.ByteBuffer;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.lang.reflect.Method;
import org.apache.hadoop.conf.Configuration;
import org.apache.th... |
package org.envirocar.server.core;
import com.google.common.eventbus.EventBus;
import com.google.inject.Inject;
import com.google.inject.Provider;
import org.envirocar.server.core.activities.Activities;
import org.envirocar.server.core.activities.Activity;
import org.envirocar.server.core.dao.ActivityDao;
import org.en... |
package com.github.maven.plugins.site;
import com.github.maven.plugins.core.GitHubProjectMojo;
import com.github.maven.plugins.core.PathUtils;
import com.github.maven.plugins.core.StringUtils;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import j... |
package org.mskcc.cbio.portal.dao;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileWriter;
import java.io.IOException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Stat... |
package com.oracle.graal.nodes.type;
import com.oracle.graal.api.meta.*;
public class FloatStamp extends Stamp {
private final double lowerBound;
private final double upperBound;
private final boolean nonNaN;
protected FloatStamp(Kind kind) {
this(kind, Double.NEGATIVE_INFINITY, Double.POSITIVE_... |
package com.icegreen.greenmail.smtp;
import com.icegreen.greenmail.util.InternetPrintWriter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.*;
import java.net.InetAddress;
import java.net.Socket;
import java.net.UnknownHostException;
public class SmtpConnection {
private static final int TI... |
package net.somethingdreadful.MAL;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.MenuItem;
import android.view.View;
imp... |
package apoc.schema;
import apoc.util.Neo4jContainerExtension;
import apoc.util.TestUtil;
import org.apache.commons.lang3.StringUtils;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.neo4j.driver.Record;
import org.neo4j.drive... |
package com.github.jsonldjava.utils;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.io.IOException;
import java.io.Reader;
import java.io.StringReader;
import java.util.Map;
import org.junit.Test;
import com.fasterxml.jackson.core.JsonFactory;
import com.fasterxml.jackson.core.JsonParseExce... |
// Triple Play - utilities for use in PlayN-based games
package tripleplay.ui;
import pythagoras.f.Dimension;
import pythagoras.f.IDimension;
import pythagoras.f.IPoint;
import pythagoras.f.IRectangle;
import pythagoras.f.MathUtil;
import pythagoras.f.Point;
import pythagoras.f.Rectangle;
import pythagoras.f.Transform;... |
// -*- mode:java; encoding:utf-8 -*-
// vim:set fileencoding=utf-8:
// @homepage@
package example;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnec... |
package com.plugin.core.app;
import android.app.Instrumentation;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import android.content.pm.ProviderInfo;
import android.os.Handler;
import com.plugin.content.PluginDescriptor;
import com.plugin.core.Plug... |
package io.github.factoryfx.factory;
import java.lang.reflect.Modifier;
import java.util.ArrayDeque;
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.LinkedHashMap;
import java.util.List;
... |
package eco.game;
public class Country {
/**
*
* This class represents and simulates another country
*
* @author phil, nate
*/
// Main Variables //
public Farmer farmer = new Farmer();
public Warrior warrior = new Warrior();
public Economy economy = new Economy();
public... |
package edu.umd.cs.findbugs.anttask;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Task;
import org.apache.tools.ant.taskdefs.Java;
import org.apache.tools.ant.types.Path;
import org.apache.tools.ant.types.Reference;
impor... |
package edu.umd.cs.findbugs.workflow;
import java.io.FileOutputStream;
import java.io.PrintStream;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import edu.umd.cs.findbugs.AppVersion;
import edu.umd.cs.findbugs.BugCollection;
import ... |
package cpw.mods.fml.common.network;
import io.netty.channel.ChannelHandler;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.MessageToMessageCodec;
import io.netty.util.AttributeKey;
import java.util.EnumMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import org... |
// -*- mode:java; encoding:utf-8 -*-
// vim:set fileencoding=utf-8:
// @homepage@
package example;
import java.awt.*;
import java.awt.event.MouseEvent;
import java.util.LinkedHashMap;
import java.util.Objects;
import javax.swing.*;
public final class MainPanel extends JPanel {
private MainPanel() {
super(new Grid... |
package sinlov.db.mongodb;
import java.net.NetworkInterface;
import java.util.Enumeration;
import java.util.Random;
import java.util.concurrent.atomic.AtomicInteger;
public class ObjectId implements Comparable<ObjectId>, java.io.Serializable {
// private static final Logger LOGGER = LoggerFactory.getLogger(Objec... |
package org.spoofax.terms;
import java.io.IOException;
import org.spoofax.interpreter.terms.IStrategoAppl;
import org.spoofax.interpreter.terms.IStrategoConstructor;
import org.spoofax.interpreter.terms.IStrategoList;
import org.spoofax.interpreter.terms.IStrategoTerm;
import org.spoofax.interpreter.terms.ITermPrinter;... |
package net.rubyeye.xmemcached.test;
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.CyclicBarrier;
import java.util.concurrent.TimeoutException;
import net.rubyeye.xmemcached.MemcachedClient;
import net.rubyeye.xmemcached.MemcachedCli... |
package net.sf.jaer.util.avioutput;
import java.awt.Dimension;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.awt.image.BufferedImage;
import java.awt.image.DataBufferInt;
import java.io.IOException;
import com.jogamp.opengl.GLAutoDrawable;
import ch.unizh.ini.jaer.projects.npp.DvsF... |
package io.bitsquare.gui.main.overlays.windows;
import com.google.common.base.Joiner;
import io.bitsquare.arbitration.Dispute;
import io.bitsquare.gui.main.MainView;
import io.bitsquare.gui.main.overlays.Overlay;
import io.bitsquare.gui.util.BSFormatter;
import io.bitsquare.gui.util.Layout;
import io.bitsquare.locale.B... |
package org.jboss.as.console.client.shared.subsys.jpa;
import com.google.gwt.user.client.ui.Widget;
import org.jboss.as.console.client.Console;
import org.jboss.as.console.client.core.DisposableViewImpl;
import org.jboss.as.console.client.shared.help.FormHelpPanel;
import org.jboss.as.console.client.shared.subsys.Basea... |
package mathsquared.resultswizard2;
import java.io.Serializable;
import java.util.Map;
/**
* Used to transmit a message between client and server. All implementors should define a serialVersionUID.
*
* @author MathSquared
*
*/
public interface Command extends Serializable {
/**
* Returns a Message represe... |
/**
* Origin: libGDX.
*/
package com.almasb.fxgl.core.collection;
import com.almasb.fxgl.core.math.FXGLMath;
import java.util.*;
/**
* A resizable, ordered or unordered array of objects.
* If unordered, this class avoids a memory copy when removing elements
* (the last element is moved to the removed element's pos... |
package org.zsx.android.api.animator;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.animation.AlphaAnimation;
import android.view.animation.AnimationUtils;
import android.widget.ImageView;
import com.tools.Lib_Class_ShowCodeUtil;
import org.zsx.android... |
package org.reactfx;
import static org.reactfx.EventStreams.*;
import static org.reactfx.util.Tuples.*;
import java.time.Duration;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Optional;
import java.util.concurrent.CompletionStage;
import java.util.concurrent.Executor... |
package io.github.ihongs.serv.centra;
import io.github.ihongs.Cnst;
import io.github.ihongs.HongsException;
import io.github.ihongs.action.ActionHelper;
import io.github.ihongs.action.ActionRunner;
import io.github.ihongs.action.FormSet;
import io.github.ihongs.action.SelectHelper;
import io.github.ihongs.action.anno.A... |
package io.jchat.android.activity;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.NotificationManager;
import android.app.ProgressDialog;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import an... |
package io.github.ihongs.serv.matrix;
import io.github.ihongs.Cnst;
import io.github.ihongs.Core;
import io.github.ihongs.HongsException;
import io.github.ihongs.action.ActionHelper;
import io.github.ihongs.cmdlet.CmdletHelper;
import io.github.ihongs.cmdlet.anno.Cmdlet;
import io.github.ihongs.db.link.Loop;
import io.... |
package io.github.ihongs.dh.lucene;
import io.github.ihongs.Cnst;
import io.github.ihongs.Core;
import io.github.ihongs.CoreConfig;
import io.github.ihongs.CoreLogger;
import io.github.ihongs.HongsException;
import io.github.ihongs.HongsExemption;
import io.github.ihongs.action.FormSet;
import io.github.ihongs.dh.IEnti... |
package org.ibase4j.core.support.cache;
import java.io.Serializable;
import java.util.Date;
import java.util.Set;
import java.util.concurrent.TimeUnit;
import org.ibase4j.core.util.CacheUtil;
import org.ibase4j.core.util.InstanceUtil;
import org.ibase4j.core.util.PropertiesUtil;
import org.springframework.data.redis.co... |
package org.intermine.dataconversion;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import org.apache.log4j.Logger;
import org.intermine.metadata.Model;
import org.intermine.objectstore.ObjectStoreException;
import org.intermine.xml.full.Attribute;
import org.intermine.xml.full.Item;
impo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.