answer stringlengths 17 10.2M |
|---|
package org.openstreetmap.josm.plugins.notes.gui;
import static org.openstreetmap.josm.tools.I18n.tr;
import java.awt.BorderLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.MouseEvent;
import java.awt.event... |
package com.rtg.relation;
import java.io.File;
import java.io.IOException;
import com.rtg.util.diagnostic.Diagnostic;
import com.rtg.util.io.MemoryPrintStream;
import com.rtg.util.io.TestDirectory;
import com.rtg.util.test.FileHelper;
import com.rtg.util.test.NanoRegression;
import com.rtg.vcf.header.PedigreeField;
imp... |
package grok.core;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Set;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.google.auto.value.AutoValue;
import com.google.common.collect.ImmutableSetMultimap;
import com... |
package gillespieSSAjava;
import graph.Graph;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.HashMap;
import java.util.PriorityQueue;
import java.util.Random;
import main.Gui;
import org.sbml.libsbml.*;
import java.awt.BorderLayout;
import java.io.*;
import java.lang.Math;
import javax.swing.... |
package verification.platu.partialOrders;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;
import verification.platu.main.Options;
import lpn.parser.ExprTree;
import lpn.parser.LhpnFile;
import lpn.parser.Place;
import lpn.parser.Transition;
public class StaticSets {
private Transition curT... |
package org.apache.jmeter.util;
import java.awt.Dimension;
import java.awt.event.ActionListener;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.Collection;
import java.util.Enu... |
// HSSource
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, including without limitation the rights
//copies of the Software, and to permit persons to whom the Software is
//furnished to do so, subject to the following conditions:
//all copies or s... |
package lombok.ast.grammar;
import static org.junit.Assert.assertEquals;
import java.util.List;
import lombok.ast.BinaryExpression;
import lombok.ast.BinaryOperator;
import lombok.ast.Block;
import lombok.ast.CharLiteral;
import lombok.ast.Comment;
import lombok.ast.EmptyDeclaration;
import lombok.ast.For;
import lombo... |
package org.broad.igv.ui;
import com.google.common.eventbus.Subscribe;
import org.broad.igv.feature.AminoAcidManager;
import org.broad.igv.feature.genome.GenomeManager;
import org.broad.igv.ui.action.SearchCommand;
import org.broad.igv.ui.event.ViewChange;
import org.broad.igv.ui.panel.FrameManager;
import org.fest.swi... |
package de.measite.contactmerger;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map.Entry;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.TokenStream;
i... |
package dr.app.tools;
import dr.app.beagle.evomodel.parsers.GammaSiteModelParser;
import dr.app.beagle.evomodel.sitemodel.SiteRateModel;
import dr.app.beast.BeastVersion;
import dr.app.util.Arguments;
import dr.app.util.Utils;
import dr.evolution.alignment.Alignment;
import dr.evolution.alignment.ConvertAlignment;
impo... |
package edu.ucla.cens.awserver.util;
/**
* A collection of methods for manipulating or validating strings.
*
* @author selsky
*/
public final class StringUtils {
private StringUtils() {
}
/**
* Checks for a null or empty (zero-length or all whitespace) String.
*
* A method with the same s... |
package edu.wustl.xipHost.application;
import java.awt.Color;
import java.awt.Dimension;
import java.util.UUID;
import javax.swing.Icon;
import javax.swing.JButton;
/**
* @author Jaroslaw Krych
*
*/
public class AppButton extends JButton{
Color xipColor = new Color(51, 51, 102);
public AppButton(String text,... |
package enterpriseapp.ui.reports;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.util.Collection;
import java.util.List;
import net.sf.jasperreports.engine.JRException;
import net... |
package com.exedio.cope.instrument;
import java.io.IOException;
import java.io.InputStream;
import java.io.Writer;
import java.lang.reflect.Modifier;
import java.text.MessageFormat;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import j... |
package com.exedio.cope.instrument;
import static java.lang.reflect.Modifier.FINAL;
import static java.lang.reflect.Modifier.PRIVATE;
import static java.lang.reflect.Modifier.PROTECTED;
import static java.lang.reflect.Modifier.PUBLIC;
import static java.lang.reflect.Modifier.STATIC;
import java.io.ByteArrayOutputStream... |
package org.pystructure.tests;
import org.pystructure.PyStructure;
import junit.framework.TestCase;
public class PyStructureTest extends TestCase {
private PyStructure obj;
protected void setUp() throws Exception {
obj = new PyStructure();
}
public void testAdd() {
assertEquals(1 + 2, ob... |
package jade.domain.persistence;
import jade.content.AgentAction;
import jade.core.ContainerID;
/**
This class represents the <code>delete-container</code> action of
the <code>JADE-Persistence</code> ontology.
This action can be requested to the JADE AMS to create a new agent
on a given container.
@author Gio... |
package net.sf.jabref.groups;
import java.util.*;
import javax.swing.undo.AbstractUndoableEdit;
import net.sf.jabref.*;
/**
* @author zieren
*
* TODO To change the template for this generated type comment go to Window -
* Preferences - Java - Code Style - Code Templates
*/
public class ExplicitGroup extends Abstra... |
package org.apache.lucene.search;
import java.io.IOException;
import org.apache.lucene.index.Term;
import org.apache.lucene.index.TermDocs;
import org.apache.lucene.index.IndexReader;
/** A Query that matches documents containing a term.
This may be combined with other terms with a {@link BooleanQuery}.
*/
public c... |
package org.opentdc.service;
import java.lang.reflect.Constructor;
import javax.servlet.ServletContext;
public abstract class GenericService<T> {
// query: a semicolon-separated list of query verbs. e.g. modifiedAt();lessThan(3);orderByFirstName();ascending()
protected static final String DEFAULT_QUERY = "";
... |
package org.jgrapes.net;
import java.net.InetSocketAddress;
import java.net.SocketAddress;
import java.nio.ByteBuffer;
import java.util.Collections;
import java.util.List;
import java.util.Optional;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.FutureTask;
import java.util.logging.Level;
i... |
package polytheque.model.pojos;
public class Jeu {
private String nom;
private String description;
private int ageMini;
private String edition;
private boolean disponibilite;
private String etat;
private String status;
private String anneeParution;
private int nbExemplaires;
private int nb... |
package prodocswing.forms;
import java.awt.Font;
import java.awt.Image;
import java.io.File;
import java.io.PrintWriter;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashSet;
import java.util.Iterator;
import javax.swing.ImageIcon;
import javax.swing.JFileChoose... |
package js.rbuddy.test;
import static org.junit.Assert.*;
import java.text.NumberFormat;
import java.text.ParseException;
import java.util.Locale;
import java.util.Set;
import org.junit.*;
import js.basic.IOSnapshot;
//import static org.junit.Assert.*;
import js.rbuddy.JSDate;
import js.rbuddy.Receipt;
import static js... |
package com.cloud.vm;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
i... |
package com.cloud.vm;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
i... |
package mondrian.test;
import mondrian.olap.Cube;
import mondrian.olap.Result;
import mondrian.olap.Cell;
import mondrian.rolap.RolapCube;
import mondrian.rolap.RolapStar;
import mondrian.rolap.sql.SqlQuery;
/**
* Test generation of SQL to access the fact table data underlying an MDX
* result set.
*
* @author jhyde... |
package io.luna.game.model;
import io.luna.game.model.mobile.Player;
public final class EntityConstants {
/**
* The default starting {@link Position} of all {@link Entity}s.
*/
public static final Position DEFAULT_POSITION = new Position(3222, 3222);
/**
* The maximum distance that a {@link P... |
package VASSAL.tools.swing;
import java.awt.Toolkit;
import java.awt.dnd.DragGestureEvent;
import java.awt.event.InputEvent;
import java.awt.event.MouseEvent;
import java.awt.geom.AffineTransform;
import java.util.Map;
import javax.swing.SwingUtilities;
import org.apache.commons.lang3.SystemUtils;
public class SwingUti... |
package abra.cadabra;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import abra.CompareToReference2;
import abra.Feature;
import abra.Logger;
import abra.SAMRecordUtils;
import htsjdk.samtools.Cigar;
import htsjdk.samtools.CigarElement;
imp... |
package simpledb;
import java.util.*;
/**
* Keeps information on the best plan that includes a given set of tables and has a given set of dirty attributes
* Insertions into the cache are handled directly to only overwrite if of lower cost.
*/
public class ImputedPlanCachePareto extends AImputedPlanCache {
public... |
package com.alexrnl.commons.time;
import java.io.Serializable;
import java.sql.Date;
import java.util.Calendar;
import java.util.Locale;
import java.util.logging.Level;
import java.util.logging.Logger;
import com.alexrnl.commons.utils.object.AutoCompare;
import com.alexrnl.commons.utils.object.AutoHashCode;
import com.... |
import java.io.File;
import java.io.IOException;
import java.io.PrintStream;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
import java.util.Properties;
import net.sourceforge.argparse4j.ArgumentParsers;
import net.sourceforge.argparse4j.impl.Arguments;
import net.sourceforge.argparse... |
package com.alibaba.excel;
import java.io.OutputStream;
import java.util.List;
import com.alibaba.excel.metadata.BaseRowModel;
import com.alibaba.excel.metadata.Sheet;
import com.alibaba.excel.metadata.Table;
import com.alibaba.excel.support.ExcelTypeEnum;
import com.alibaba.excel.write.ExcelBuilder;
import com.alibaba... |
// File: Guide.java (20-Oct-2011)
// Tim Niblett (the Author) and may not be used,
// sold, licenced, transferred, copied or reproduced in whole or in
// part in any manner or form or in or on any media to any person
// other than in accordance with the terms of The Author's agreement
// or otherwise without th... |
package com.conveyal.gtfs.loader;
import com.conveyal.gtfs.error.GTFSError;
import com.conveyal.gtfs.error.NewGTFSError;
import com.conveyal.gtfs.error.SQLErrorStorage;
import com.conveyal.gtfs.model.*;
import com.conveyal.gtfs.storage.StorageException;
import com.conveyal.gtfs.validator.*;
import org.slf4j.Logger;
imp... |
package com.e16din.lightutils.utils;
import android.app.Activity;
import android.content.Context;
import android.content.ContextWrapper;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.location.LocationManager;
import android.net.Connectivit... |
package com.fishercoder.solutions;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class _30 {
public static class Solution1 {
/**TODO: this one is not AC'ed. fix this one.*/
public List<Integer> findSubstring(String s, String[] words) {
Map<Stri... |
package com.fishercoder.solutions;
import java.util.ArrayList;
import java.util.List;
/**
* 46. Permutations
*
* Given a collection of distinct numbers, return all possible permutations.
For example,
[1,2,3] have the following permutations:
[
[1,2,3],
[1,3,2],
[2,1,3],
[2,3,1],
[3,1,2],
[3,2,1]
]
*/
publi... |
package com.flipstudio.pluma;
import java.io.File;
import java.util.List;
import java.util.Map;
import static com.flipstudio.pluma.Pluma.SQLITE_DONE;
import static com.flipstudio.pluma.Pluma.SQLITE_MISUSE;
import static com.flipstudio.pluma.Pluma.SQLITE_OK;
import static com.flipstudio.pluma.Pluma.SQLITE_OPEN_CREATE;
i... |
package com.insys.trapps.model;
import java.util.Date;
import java.util.List;
public class Client {
private long id;
private String name;
private String description;
private List<String> locations;
private List<Date> dates;
public Client(String name) {
this.name = name;
}
public ... |
package com.rultor.agents.req;
import com.google.common.base.Joiner;
import com.jcabi.aspects.Immutable;
import com.jcabi.ssh.SSH;
import com.jcabi.xml.XML;
import com.rultor.spi.Profile;
import java.io.IOException;
import java.util.Collection;
import java.util.LinkedList;
import lombok.EqualsAndHashCode;
import lombok... |
package com.sdklite.yahoo.yql;
import java.io.Serializable;
import java.util.List;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
/**
* @author johnsonlee
*/
public interface Weather {
public static class Forecast implements Serializable {
private static final long serialV... |
package com.timepath.io.struct;
import com.timepath.io.OrderedInputStream;
import com.timepath.io.OrderedOutputStream;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.l... |
package com.untamedears.humbug;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.... |
package com.wizzardo.epoll;
import com.wizzardo.epoll.readable.ReadableByteArray;
import com.wizzardo.epoll.readable.ReadableData;
import com.wizzardo.tools.io.IOTools;
import java.io.Closeable;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.nio.ByteBuffer;
import java.util.Deque;
... |
package de.prob2.ui.states;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.ResourceBundle;
import java.util.Set;
import java.util.concurrent.ExecutorService;
import java.... |
package edu.chl.proton.model;
import javafx.scene.text.Text;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.*;
public class Document {
// Lika = document
private Cursor cursor;
private File file;
private List<S... |
package fr.electrogames.blocks;
import fr.electrogames.Reference;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.creativetab.CreativeTabs;
import net.minec... |
package in.twizmwaz.cardinal;
import com.google.common.collect.Lists;
import ee.ellytr.chat.LocaleRegistry;
import ee.ellytr.command.CommandExecutor;
import ee.ellytr.command.CommandRegistry;
import ee.ellytr.command.ProviderRegistry;
import ee.ellytr.command.exception.CommandException;
import in.twizmwaz.cardinal.comm... |
package ingest.messaging;
import ingest.database.PersistMetadata;
import ingest.inspect.Inspector;
import java.io.IOException;
import java.util.Arrays;
import java.util.concurrent.atomic.AtomicBoolean;
import javax.annotation.PostConstruct;
import messaging.job.JobMessageFactory;
import messaging.job.KafkaClientFactory... |
package io.kamax.matrix.json;
import com.google.gson.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java8.util.Optional;
import java8.util.function.Consumer;
import java8.util.stream.Collectors;
import java8.util.stream.StreamSupport;
public class Gson... |
package io.metacake.core;
import io.metacake.core.common.window.CakeWindow;
import io.metacake.core.input.InputDeviceName;
import io.metacake.core.input.InputSystem;
import io.metacake.core.input.system.InputDevice;
import io.metacake.core.input.system.InputLayer;
import io.metacake.core.output.OutputDeviceName;
import... |
package io.redis.client;
import static org.testng.Assert.assertEquals;
import java.util.concurrent.TimeUnit;
import org.apache.commons.pool2.impl.GenericObjectPoolConfig;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import redis.clients.jedis.J... |
package net.iponweb.disthene;
import net.engio.mbassy.bus.MBassador;
import net.iponweb.disthene.carbon.CarbonServer;
import net.iponweb.disthene.config.AggregationConfiguration;
import net.iponweb.disthene.config.BlackListConfiguration;
import net.iponweb.disthene.config.DistheneConfiguration;
import net.iponweb.disth... |
package net.sf.jabref.label;
import net.sf.jabref.BibtexEntry;
public interface LabelRule{
// the default rule is that it simply returns what it was given
public String applyRule(BibtexEntry oldEntry) ;
} |
package net.zero918nobita.Xemime;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.TreeMap;
/**
*
* @author Kodai Matsumoto
*/
public class Main {
private static Parser parser;
private static Has... |
package omtteam.omlib.util;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraftforge.common.UsernameCache;
import omtteam.omlib.handler.ConfigHandler;
import omtteam.omlib.handler.OwnerShareHandler;
import omtteam.omlib.tileentity.ITrustedPlayersManager;
import omtteam.omlib.tileentity.TileEntityOwned... |
/**
* Lists, tests.
*
* @since 0.14
* @todo #1230:30min The following list implmenetation classes
* {@link org.cactoos.list.Joined}, {@link org.cactoos.list.Mapped},
* {@link org.cactoos.list.NoNulls}, {@link org.cactoos.list.Shuffled},
* {@link org.cactoos.list.Solid}, {@link org.cactoos.list.Solid},
* {@l... |
package org.dynmap.bukkit;
/**
* Bukkit specific implementation of DynmapWorld
*/
import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.util.Arrays;
import java.util.List;
import org.bukkit.Chunk;
import org.bukkit.Location;
import org.bukkit.World;
import org.bukkit.permission... |
package org.jtrfp.trcl;
import java.awt.Color;
import java.awt.event.KeyEvent;
import java.util.ArrayList;
import java.util.TimerTask;
import java.util.concurrent.Callable;
import javax.media.opengl.GL3;
import org.jtrfp.trcl.beh.FacingObject;
import org.jtrfp.trcl.beh.MatchDirection;
import org.jtrfp.trcl.beh.MatchPos... |
package org.jtrfp.trcl.gui;
import java.awt.event.ActionListener;
public interface MenuSystem {
public static double BEGINNING = 0, END = 1, MIDDLE = Utils.between(BEGINNING,END);
public void setMenuPosition(double position, String ... path);
public void addMenuItem (double position, String ... path) throws Illega... |
package org.minimalj.util;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.minimalj.model.Selection;
import org.mi... |
package org.mixer2.xhtml;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.ListIterator;
import java.util.Map;
import java.util.TreeMap;
import java.util.UUID;
import java... |
package org.zendesk.client.v2;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.JavaType;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxm... |
package refinedstorage;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.fml.common.Loader;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.M... |
package se.fnord.katydid.internal;
import se.fnord.katydid.ComparisonStatus;
import java.nio.ByteBuffer;
public class Int extends AbstractDataTester {
public enum IntFormat {HEX, SIGNED, UNSIGNED};
private final int elementWidth;
private final Number[] values;
private final IntFormatter formatter;
p... |
package seedu.address.model.item;
import seedu.address.commons.exceptions.IllegalValueException;
import seedu.address.commons.util.CollectionUtil;
import seedu.address.model.tag.UniqueTagList;
import java.util.Objects;
import java.util.Set;
/**
* Represents a Item in the address book.
* Guarantees: details are presen... |
package sssj.index;
import static sssj.base.Commons.*;
import it.unimi.dsi.fastutil.BidirectionalIterator;
import it.unimi.dsi.fastutil.ints.Int2DoubleMap.Entry;
import it.unimi.dsi.fastutil.ints.Int2ReferenceMap;
import it.unimi.dsi.fastutil.ints.Int2ReferenceOpenHashMap;
import it.unimi.dsi.fastutil.longs.Long2Double... |
package wyjs.tasks;
import static wybs.util.AbstractCompilationUnit.ITEM_bool;
import static wybs.util.AbstractCompilationUnit.ITEM_byte;
import static wybs.util.AbstractCompilationUnit.ITEM_int;
import static wybs.util.AbstractCompilationUnit.ITEM_null;
import static wybs.util.AbstractCompilationUnit.ITEM_utf8;
import... |
package P;
import java.util.ArrayList;
import java.util.List;
public class A3 extends AMaster {
public List<B3> listOfB3;
public A3() {
listOfB3 = new ArrayList<B3>();
}
public int getSumNumberOfBElements() {
int totalNumberOfElements = 0;
for(B3 b : listOfB3) {
total... |
package com.dianping.cat.report.page.home;
import org.unidal.lookup.util.StringUtils;
import org.unidal.web.mvc.ActionContext;
import org.unidal.web.mvc.payload.annotation.FieldMeta;
import com.dianping.cat.report.ReportPage;
import com.dianping.cat.report.page.AbstractReportPayload;
public class Payload extends Abstra... |
package cn.jingzhuan.lib.chart.renderer;
import android.graphics.Canvas;
import android.graphics.DashPathEffect;
import android.graphics.Paint;
import android.graphics.Rect;
import android.graphics.Typeface;
import cn.jingzhuan.lib.chart.AxisAutoValues;
import cn.jingzhuan.lib.chart.base.Chart;
import cn.jingzhuan.lib.... |
package co.chatsdk.core.utils;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import io.reactivex.disposables.Disposable;
public class DisposableList {
private final List<Disposable> disposables = Collections.synchronizedList(new ArrayList<>());
publi... |
package prj.chameleon.qqmsdk;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.os.RemoteException;
import android.util.Log;
import android.widget.Toast;
import com.tencent.msdk.WeGame;
import com.tencent.msdk.api.L... |
package com.newsblur.service;
import android.util.Log;
import com.newsblur.domain.Story;
import com.newsblur.network.domain.StoriesResponse;
import com.newsblur.network.domain.UnreadStoryHashesResponse;
import com.newsblur.util.AppConstants;
import com.newsblur.util.DefaultFeedView;
import com.newsblur.util.FeedUtils;
... |
package com.newsblur.util;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.os.Build;
import com.newsblur.R;
import com.... |
package com.prairie.eevernote.ui;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang3.StringUtils;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.jface.dialogs.IDialogConstants;
import org.eclipse.jface.dial... |
package elki.gui;
import java.awt.AWTError;
import javax.swing.UIManager;
import javax.swing.UIManager.LookAndFeelInfo;
import elki.logging.Logging;
/**
* GUI utilities.
*
* @author Erich Schubert
* @since 0.5.5
*/
public final class GUIUtil {
/**
* Whether to prefer the GTK look and feel on Unix.
*/
pub... |
package com.intellij.compiler.classParsing;
import com.intellij.openapi.compiler.CompilerBundle;
import java.text.CharacterIterator;
public class SignatureParser {
public static final SignatureParser INSTANCE = new SignatureParser();
public void parseIdentifier(CharacterIterator it, final StringBuffer buf) {
wh... |
package org.intermine.web;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import java.io.StringWriter;
import java.io.PrintWriter;
import org.apache.struts.Globals;
im... |
package org.flymine.web.results;
/**
* Configuration information for a column in a table
*
* @author Andrew Varley
*/
public class Column
{
protected boolean visible = true;
protected String alias = "";
protected int index;
/**
* Is the column visible
*
* @return true if the column is... |
package edu.colorado.csdms.wmt.client.ui;
import com.google.gwt.core.shared.GWT;
import com.google.gwt.dom.client.Style.Unit;
import com.google.gwt.event.dom.client.ChangeEvent;
import com.google.gwt.event.dom.client.ChangeHandler;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.clien... |
package hex.word2vec;
import hex.*;
import hex.word2vec.Word2VecModel.*;
import hex.schemas.Word2VecModelV2;
import hex.word2vec.Word2VecModel.Word2VecParameters;
import water.*;
import water.api.ModelSchema;
import water.fvec.Chunk;
import water.fvec.Frame;
import water.fvec.NewChunk;
import water.fvec.AppendableVec;
... |
package io.hawt.web;
import org.jolokia.converter.Converters;
import org.jolokia.converter.json.JsonConvertOptions;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.management.Attribute;
import javax.management.AttributeList;
import javax.management.InstanceNotFoundException;
import javax.managemen... |
package com.intellij.ide;
import com.intellij.diagnostic.PerformanceWatcher;
import com.intellij.ide.actions.MaximizeActiveDialogAction;
import com.intellij.ide.dnd.DnDManager;
import com.intellij.ide.dnd.DnDManagerImpl;
import com.intellij.ide.plugins.MainRunner;
import com.intellij.ide.ui.UISettings;
import com.intel... |
package pt.up.fe.aiad.scheduler.agentbehaviours;
import jade.core.AID;
import jade.core.behaviours.SimpleBehaviour;
import jade.lang.acl.ACLMessage;
import jade.lang.acl.MessageTemplate;
import pt.up.fe.aiad.scheduler.SchedulerAgent;
import pt.up.fe.aiad.scheduler.Serializer;
import pt.up.fe.aiad.utils.TimeInterval;
im... |
package com.cloud.baremetal;
import java.net.InetAddress;
import java.net.URI;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import javax.ejb.Local;
import javax.naming.ConfigurationException;
import org.apache.log4j.Logger;
import com.cloud.agent.api.StartupCommand;
impo... |
package com.cloud.cluster;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
import javax.ejb.Local;
import javax.naming.ConfigurationException... |
package io.flutter.view;
import android.content.Context;
import android.content.pm.PackageManager;
import android.content.res.AssetManager;
import android.os.Bundle;
import android.os.Looper;
import android.os.SystemClock;
import android.util.Log;
import io.flutter.util.PathUtils;
import java.io.BufferedReader;
import ... |
package me.Qball.Wild.Listeners;
import me.Qball.Wild.Utils.Region;
import me.Qball.Wild.Wild;
import org.bukkit.ChatColor;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.block.Action;
import org.bukkit.event.player.PlayerInteractEv... |
package mods.themike.modjam;
import mods.themike.modjam.blocks.BlockCarvingStone;
import mods.themike.modjam.blocks.BlockDecoration;
import mods.themike.modjam.blocks.BlockGhostBlock;
import mods.themike.modjam.blocks.BlockMagebrickLamp;
import mods.themike.modjam.blocks.BlockSlabs;
import mods.themike.modjam.items.Ite... |
package net.commotionwireless.olsrinfo;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.Socket;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.List;
public class OlsrInfo {
String host = "127... |
package net.coobird.paint.brush;
import java.awt.AlphaComposite;
import java.awt.Composite;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import java.util.LinkedList;
import java.util.Queue;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import net.coobird.paint.i... |
package net.decusatis.genderamenderrender;
import java.util.Collection;
public class Utils {
/**
* The options we're working with (for now)
*/
public enum Gender {
MALE,
FEMALE,
NONBINARY, // non-male or female genders go in this bucket for now
DECLINE, // they've selec... |
package sopc2dts.lib.components;
import java.util.Vector;
import org.xml.sax.Attributes;
import org.xml.sax.ContentHandler;
import org.xml.sax.SAXException;
import org.xml.sax.XMLReader;
import sopc2dts.generators.AbstractSopcGenerator;
import sopc2dts.lib.SopcInfoAssignment;
import sopc2dts.lib.SopcInfoConnection;
imp... |
package nl.sense_os.service.motion;
import java.math.BigDecimal;
import java.util.ArrayList;
import nl.sense_os.service.R;
import nl.sense_os.service.constants.SenseDataTypes;
import nl.sense_os.service.constants.SensePrefs;
import nl.sense_os.service.constants.SensePrefs.Main.Motion;
import nl.sense_os.service.constan... |
package sopc2dts.lib.components;
import java.util.Vector;
import org.xml.sax.Attributes;
import org.xml.sax.ContentHandler;
import org.xml.sax.SAXException;
import org.xml.sax.XMLReader;
import sopc2dts.generators.AbstractSopcGenerator;
import sopc2dts.lib.SopcInfoAssignment;
import sopc2dts.lib.SopcInfoConnection;
imp... |
package hex.genmodel;
import hex.ModelCategory;
import java.io.*;
import hex.genmodel.prediction.*;
public class PredictCsv {
private static String modelClassName;
private static String inputCSVFileName;
private static String outputCSVFileName;
private static int haveHeaders = -1;
private static void usage() ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.