answer stringlengths 17 10.2M |
|---|
package de.matthiasmann.twlthemeeditor.datamodel;
import de.matthiasmann.twl.model.Property;
import de.matthiasmann.twl.model.TreeTableNode;
import de.matthiasmann.twl.utils.ParameterStringParser;
import de.matthiasmann.twlthemeeditor.TestEnv;
import de.matthiasmann.twlthemeeditor.VirtualFile;
import de.matthiasmann.tw... |
package javaslang;
import javaslang.collection.*;
import javaslang.control.Either;
import javaslang.control.Match;
import javaslang.control.Option;
import javaslang.control.Try;
import java.util.function.Function;
import java.util.function.Supplier;
/**
* Conversion methods, shared by {@link javaslang.algebra.Monad} a... |
package de.sebhn.algorithm.excercise1;
import java.util.concurrent.TimeUnit;
/**
* Excercise 2 <br>
* Use -Xss258m to avoid stackOverflowError
*
* @author manuel
*
*/
public class StringManipulation {
private static String STRING_1024_LENGTH =
"ZE6lS55KaYu4w6sewoLSNB658fZZWYm49AVksTxccx3t64WBbAB6GmGpwBVMw... |
package knowledge;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.json.JSONArray;
import org.json.JSONObject;
import com.hp.hpl.jena.ontology.ObjectProperty;
import com.hp.hpl.jena.ontology.OntModel;
import com.hp.hpl.jena.query.Query;
import com.hp.hpl.jen... |
package de.unihamburg.swk.parsing.document;
import java.util.LinkedList;
import java.util.List;
import java.util.Stack;
import java.util.function.Consumer;
import java.util.stream.Collectors;
import de.unihamburg.masterprojekt2016.traceability.TraceabilityPointer;
import de.unihamburg.masterprojekt2016.traceability.Typ... |
package mci;
import kr.ac.kaist.se.Executor;
import kr.ac.kaist.se.Util;
import kr.ac.kaist.se.simulator.NormalDistributor;
import kr.ac.kaist.se.simulator.Simulator;
import java.util.ArrayList;
public class LargeScaleMCIMain {
public static void main(String[] args) throws Exception {
Util.create_result_dir... |
package dk.netarkivet.archive.indexserver;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.channels.FileLock;
import java.nio.channels.OverlappingFileLockException;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import org.apache.commons.logging.L... |
package com.imcode.imcms.domain.service.api;
import com.imcode.imcms.WebAppSpringTestConfig;
import com.imcode.imcms.components.datainitializer.CategoryDataInitializer;
import com.imcode.imcms.domain.service.CategoryService;
import com.imcode.imcms.domain.service.CategoryTypeService;
import com.imcode.imcms.model.Categ... |
package org.craft.world;
import java.util.*;
import org.craft.blocks.*;
public class Chunk
{
public Block[][][] blocks;
public int[][] highest;
public float[][][] lightValues;
private ChunkCoord coords;
private boolean isDirty;
private World owner;
public Chunk(World owner, Chunk... |
package com.ryanpmartz.booktrackr.controller;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.ryanpmartz.booktrackr.authentication.JwtUtil;
import com.ryanpmartz.booktrackr.domain.User;
import com.ryanpmartz.booktrackr.service.UserService;
import org.junit.Before;
import org.junit.Test;
import org.mockit... |
package dr.app.beauti.treespanel;
import dr.app.beauti.options.PartitionTreeModel;
import dr.app.beauti.options.PartitionTreePrior;
import dr.app.beauti.options.TreePrior;
import dr.app.beauti.util.PanelUtils;
import dr.evomodel.coalescent.VariableDemographicModel;
import org.virion.jam.components.WholeNumberField;
imp... |
package org.febit.util;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.reflect.Array;
import java.lang.reflect.InvocationTargetException;
import java... |
package hr.fer.zemris.vhdllab.applets.simulations;
import hr.fer.zemris.vhdllab.vhdl.simulations.VcdParser;
import java.awt.Color;
import java.awt.Cursor;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.AdjustmentEvent;... |
package dr.evomodelxml.continuous;
import dr.evolution.tree.MultivariateTraitTree;
import dr.evomodelxml.treelikelihood.TreeTraitParserUtilities;
import dr.inference.model.MatrixParameter;
import dr.inference.model.Parameter;
import dr.xml.*;
/**
* @author Max Tolkoff
* @author Marc Suchard
*/
public class DataFromT... |
package dr.inference.trace;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.*;
import dr.util.Attribute;
import dr.util.FileHelpers;
import dr.xml.*;
/**
* @author Guy Baele
*/
public class SteppingStoneSamplingAnalysis {
public static final String STEPPING_STONE_SAMPLING_ANALYSIS = "s... |
package org.opennars.main;
import org.apache.commons.lang3.StringUtils;
import org.opennars.entity.*;
import org.opennars.interfaces.Timable;
import org.opennars.interfaces.pub.Reasoner;
import org.opennars.io.ConfigReader;
import org.opennars.io.Narsese;
import org.opennars.io.Parser;
import org.opennars.io.Symbols;
i... |
package edu.washington.escience.myria.operator;
import java.util.Arrays;
import java.util.List;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import edu.washington.escience.myria.... |
package com.salesforce.dva.argus.entity;
import java.util.Collections;
import java.util.Map;
import java.util.HashMap;
import java.util.Map.Entry;
import java.util.TreeMap;
import com.salesforce.dva.argus.entity.TSDBEntity.ReservedField;
/**
* Time series Metatags object. This entity encapsulates all meta tags for a g... |
package edu.wheaton.simulator.statistics;
import java.util.HashMap;
import com.google.common.collect.ImmutableMap;
import edu.wheaton.simulator.entity.Agent;
import edu.wheaton.simulator.entity.Prototype;
import edu.wheaton.simulator.entity.Slot;
/**
* This class will create the Snapshots to be put into the Database
... |
package emergencylanding.k.library.debug;
import java.io.*;
import emergencylanding.k.library.util.LUtils;
public class InputStreamTest {
public static void main(String[] args) throws IOException,
ClassNotFoundException {
String path =
LUtils.getELTop() + "/res/test2.zip/txt.txt" // txt.... |
package site;
import org.apache.felix.ipojo.configuration.Configuration;
import org.apache.felix.ipojo.configuration.Instance;
/**
* Declares an instance of the asset controller to server $basedir/documentation.
* The goal is to have the external documentation (reference, mojo and javadoc) structured as follows:
* <... |
package tigase.server;
import java.util.List;
import java.util.LinkedList;
import java.util.logging.Logger;
import tigase.xml.Element;
import tigase.xmpp.StanzaType;
/**
* Describe enum Command here.
*
*
* Created: Thu Feb 9 20:52:02 2006
*
* @author <a href="mailto:artur.hefczyc@tigase.org">Artur Hefczyc</a>
*... |
package be.ugent.zeus.resto.client.data.services;
import android.content.Intent;
import android.os.Bundle;
import android.os.ResultReceiver;
import android.util.Log;
import be.ugent.zeus.resto.client.data.NewsItem;
import be.ugent.zeus.resto.client.util.NewsXmlParser;
import java.io.StringReader;
import java.util.Array... |
package com.ilis.memoryoptimizer.service;
import android.app.ActivityManager;
import android.app.PendingIntent;
import android.app.Service;
import android.appwidget.AppWidgetManager;
import android.content.BroadcastReceiver;
import android.content.ComponentName;
import android.content.Context;
import android.content.In... |
package com.wolandsoft.sss.activity.fragment;
import android.content.Context;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.design.widget.FloatingActionButton;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransa... |
package in.testpress.testpress.models.pojo;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import in.testpress.models.greendao.Attempt;
import in.testpress.models.greendao.Chapter;
import in.testpress.models.greendao.Content;
import in.testpress.models.greendao.Course;
import in.testpress.... |
package org.stepic.droid.view.fragments;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.graphics.Point;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.os.Bundle;
import android.os.Parcelable... |
package org.intermine.bio.dataconversion;
import java.io.IOException;
import java.io.Reader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util... |
package gov.nih.nci.calab.dto.particle;
/**
* @author Zeng
*
*/
public class MetalParticleBean extends ParticleBean {
private String core;
private String shell;
private String composition;
private String coating;
public MetalParticleBean() {
}
public String getCore() {
return core... |
package gov.nih.nci.eagle.web.struts;
import java.util.List;
import org.apache.struts.validator.ValidatorForm;
public class ClassComparisonForm extends ValidatorForm{
private String [] existingCovariates;
private String [] selectedCovariates;
private String covariate;
private List existingGroups;
pr... |
package com.intellij.codeInsight.editorActions;
import com.intellij.lang.java.JavaLanguage;
import com.intellij.lang.jsp.JspxFileViewProvider;
import com.intellij.lexer.StringLiteralLexer;
import com.intellij.openapi.editor.Document;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.fileTypes.FileT... |
package info.ata4.unity.extract.handler;
import info.ata4.unity.serdes.UnityObject;
import info.ata4.unity.struct.ObjectPath;
import java.io.IOException;
/**
*
* @author Nico Bergemann <barracuda415 at yahoo.de>
*/
public class TextAssetHandler extends ExtractHandler {
@Override
public String getClassName() ... |
// Vilya library - tools for developing networked games
// This library is free software; you can redistribute it and/or modify it
// (at your option) any later version.
// This library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// You should ... |
package org.apache.velocity.runtime.directive;
import java.io.IOException;
import java.io.Writer;
import org.apache.velocity.context.InternalContextAdapter;
import org.apache.velocity.Template;
import org.apache.velocity.runtime.Runtime;
import org.apache.velocity.runtime.parser.ParserTreeConstants;
import org.apache.v... |
package org.apache.velocity.servlet;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.Writer;
import java.io.BufferedWriter;
import java.io.OutputStreamWriter;
import java.util.Stack;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStrea... |
package org.jdesktop.swingx.graphics;
import java.awt.Composite;
import java.awt.CompositeContext;
import java.awt.RenderingHints;
import java.awt.image.ColorModel;
import java.awt.image.DataBuffer;
import java.awt.image.DirectColorModel;
import java.awt.image.Raster;
import java.awt.image.WritableRaster;
import java.a... |
package org.joda.time.format;
import java.io.IOException;
import java.io.Writer;
import java.util.ArrayList;
import java.util.List;
import org.joda.time.PeriodType;
import org.joda.time.ReadWritablePeriod;
import org.joda.time.ReadablePeriod;
/**
* PeriodFormatterBuilder is used for constructing {@link PeriodFormatter... |
package com.intellij.ide.projectView.impl.nodes;
import com.intellij.ide.projectView.PresentationData;
import com.intellij.ide.projectView.ProjectViewNode;
import com.intellij.ide.projectView.ViewSettings;
import com.intellij.ide.util.treeView.AbstractTreeNode;
import com.intellij.openapi.project.Project;
import com.in... |
package org.tuckey.web.filters.urlrewrite;
import org.tuckey.web.filters.urlrewrite.utils.Log;
import org.tuckey.web.filters.urlrewrite.utils.NumberUtils;
import org.tuckey.web.filters.urlrewrite.utils.RegexPattern;
import org.tuckey.web.filters.urlrewrite.utils.StringMatchingMatcher;
import org.tuckey.web.filters.urlr... |
package org.demyo.service.impl;
import java.awt.Transparency;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
i... |
package com.trendrr.oss.taskprocessor;
import java.util.Comparator;
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Future;
import java.util.concurrent.ThreadFactory;
import java.util.concurrent.Threa... |
package com.gmail.justbru00.epic.randombuilders.listeners;
import org.bukkit.GameMode;
import org.bukkit.Material;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.FallingBlock;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bu... |
package com.virtualfactory.screen.layer.components;
import de.lessvoid.nifty.Nifty;
import de.lessvoid.nifty.NiftyEventSubscriber;
import de.lessvoid.nifty.builder.PanelBuilder;
import de.lessvoid.nifty.controls.ButtonClickedEvent;
import de.lessvoid.nifty.controls.Controller;
import de.lessvoid.nifty.controls.Label;
i... |
package HxCKDMS.HxCBlocks.Reference;
public class References {
public static final String MOD_ID = "HxCBlocks";
public static final String MOD_NAME = "HxC-Blocks";
public static final String VERSION = "1.6.2";
public static final String SERVER_PROXY_LOCATION = "HxCKDMS.HxCBlocks.Proxy.ServerProxy";
... |
package org.rstudio.studio.client.workbench.views.viewer;
import com.google.inject.Inject;
import org.rstudio.studio.client.application.events.EventBus;
import org.rstudio.studio.client.plumber.events.PlumberAPIStatusEvent;
import org.rstudio.studio.client.shiny.events.ShinyApplicationStatusEvent;
import org.rstudio.st... |
package bammerbom.ultimatecore.bukkit.api;
import bammerbom.ultimatecore.bukkit.UltimateFileLoader;
import bammerbom.ultimatecore.bukkit.configuration.Config;
import bammerbom.ultimatecore.bukkit.configuration.ConfigSection;
import bammerbom.ultimatecore.bukkit.resources.classes.MetaItemStack;
import bammerbom.ultimate... |
package ch.ethz.geco.gecko.command;
import ch.ethz.geco.gecko.command.audio.Join;
import ch.ethz.geco.gecko.command.audio.Leave;
import ch.ethz.geco.gecko.command.core.Avatar;
import ch.ethz.geco.gecko.command.core.Ping;
import ch.ethz.geco.gecko.command.core.Restart;
import ch.ethz.geco.gecko.command.core.Update;
impo... |
package StevenDimDoors.mod_pocketDim.tileentities;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import net.minecraft.entity.Entity;
import net.minecraft.entity.monster.EntityEnderman;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.nbt.NBTTagCompound;
import net.mine... |
package club.magicfun.aquila.job;
import java.util.Date;
import java.util.List;
import java.util.Set;
import org.openqa.selenium.By;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.... |
package com.aimmac23.node.jna;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Iterator;
import java.util.logging.Logger;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;
import org.apache.commons.io.FileUtils;
import com.... |
package com.blog.start.jpa.service;
import com.blog.start.exception.RssException;
import com.blog.start.jpa.entity.Blog;
import com.blog.start.jpa.entity.Item;
import com.blog.start.jpa.entity.User;
import com.blog.start.jpa.repositorie.BlogRepository;
import com.blog.start.jpa.repositorie.ItemRepository;
import com.bl... |
package com.celements.navigation;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.xwiki.model.reference.DocumentReference;
import com.celements.common.classes.IClassCollectionRole;
import com.celements.web.service.IWebUtilsService;
import com.xpn.xw... |
package com.clinichelper.Service;
import com.amazonaws.AmazonClientException;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.auth.profile.ProfileCredentialsProvider;
import com.amazonaws.services.s3.AmazonS3;
import com.amazonaws.services.s3.AmazonS3Client;
import com.amazonaws.services.s3.model.PutO... |
package com.codeborne.selenide;
import org.openqa.selenium.TakesScreenshot;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebDriverException;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.chrome.ChromeOptions;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.o... |
package com.touwolf.mailchimp.model.list;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.touwolf.mailchimp.MailchimpException;
import com.touwolf.mailchimp.impl.MailchimpBuilder;
import com.touwolf.mailchimp.impl.MailchimpUtils;
import com.touwolf.mailchimp.model.MailchimpResponse;
import c... |
package com.xtremelabs.robolectric.res;
import java.util.ArrayList;
import java.util.List;
import android.content.ContextWrapper;
import android.content.Intent;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo;
import android.content.pm.ResolveInfo;
import com.xtremelabs.robolectric.Robo... |
package com.demigodsrpg.game.model;
import com.demigodsrpg.game.DGGame;
import com.demigodsrpg.game.Setting;
import com.demigodsrpg.game.ability.AbilityMetaData;
import com.demigodsrpg.game.aspect.Aspect;
import com.demigodsrpg.game.aspect.Aspects;
import com.demigodsrpg.game.battle.BattleMetaData;
import com.demigodsr... |
package eu.amidst.core.modelstructure.statics.impl;
import eu.amidst.core.header.Variable;
import eu.amidst.core.modelstructure.ParentSet;
import java.util.ArrayList;
import java.util.List;
public class ParentSetImpl implements ParentSet {
private ArrayList<Variable> vars;
public void addParent(Variable variabl... |
package com.devproserv.courses.model;
import com.devproserv.courses.jooq.tables.Users;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.EnumMap;
import java.util.Map;
import java.util.function.Supplier;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import... |
package io.mycat.backend.mysql.nio.handler;
import io.mycat.memory.unsafe.row.UnsafeRow;
import io.mycat.sqlengine.mpp.*;
import org.slf4j.Logger; import org.slf4j.LoggerFactory;
import io.mycat.MycatServer;
import io.mycat.backend.BackendConnection;
import io.mycat.backend.datasource.PhysicalDBNode;
import io.mycat.ba... |
package net.towerwarz.towers.GatlingGun;
public class GatlingGunLv3 {
public String def = "MoreBarrels";
public int
int maxDmg = 8;
int minDmg = 4;
Random rand = new Random();
public int GatlingGunLv2Dmg = rand.nextInt((maxDmg - minDmg) + 1) + minDmg;
public double GatlingGunLv2SplashRadius ... |
package com.feed_the_beast.ftbcurseappbot;
import com.beust.jcommander.JCommander;
import com.beust.jcommander.ParameterException;
import com.feed_the_beast.ftbcurseappbot.persistence.CacheService;
import com.feed_the_beast.ftbcurseappbot.persistence.MongoConnection;
import com.feed_the_beast.ftbcurseappbot.runnables.B... |
package nl.opengeogroep.safetymaps.server.stripes;
import java.io.File;
import java.io.IOException;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.regex.Pattern;
import javax.mail.Message.RecipientType;
import javax.naming.Context;
import javax.naming.InitialContext;
import java... |
package com.fiftyonred.mock_jedis;
import com.fiftyonred.utils.WildcardMatcher;
import redis.clients.jedis.*;
import redis.clients.jedis.exceptions.JedisDataException;
import java.util.*;
import static com.fiftyonred.mock_jedis.DataContainer.CHARSET;
public class MockPipeline extends Pipeline {
private static final... |
package org.ftc8702.configurations.production;
import android.graphics.Color;
import com.qualcomm.hardware.HardwareFactory;
import com.qualcomm.hardware.motors.TetrixMotor;
import com.qualcomm.robotcore.hardware.ColorSensor;
import com.qualcomm.robotcore.hardware.HardwareMap;
import org.ftc8702.components.motors.Mecanu... |
package com.github.anba.es6draft.parser;
import static com.github.anba.es6draft.semantics.StaticSemantics.*;
import static java.util.Collections.emptyList;
import static java.util.Collections.singletonList;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Collections;
import java.util.EnumSet;
... |
package org.hackreduce.examples.ngram.two_gram;
import java.io.IOException;
import java.util.Arrays;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.util.ToolRunner;
import org.hackr... |
package com.github.bot.curiosone.core.nlp;
import java.util.HashSet;
import java.util.Set;
import java.util.stream.Collectors;
/**
* Handles a Word.
* A Word is like a Token, but with a restricted Set of Meanings.
* Provides methods to create a new Word and retrieve its information.
* @see com.github.bot.curiosone... |
package com.github.davidcarboni.restolino;
import javax.servlet.Servlet;
import org.apache.commons.lang3.StringUtils;
import org.eclipse.jetty.server.Handler;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.servlet.BaseHolder.Source;
import org.eclipse.jetty.servlet.ServletContextHandler;
import org.ec... |
package com.github.msemys.esjc.http;
import com.github.msemys.esjc.UserCredentials;
import com.github.msemys.esjc.http.handler.HttpResponseHandler;
import com.github.msemys.esjc.util.concurrent.ResettableLatch;
import io.netty.bootstrap.Bootstrap;
import io.netty.buffer.ByteBuf;
import io.netty.channel.*;
import io.net... |
package org.suren.autotest.web.framework.selenium;
import static org.suren.autotest.web.framework.settings.DriverConstants.DRIVER_CHROME;
import static org.suren.autotest.web.framework.settings.DriverConstants.DRIVER_FIREFOX;
import static org.suren.autotest.web.framework.settings.DriverConstants.DRIVER_IE;
import stat... |
package com.hpe.caf.api.worker;
import com.hpe.caf.api.Codec;
import com.hpe.caf.api.CodecException;
import com.hpe.caf.api.QuietResource;
import com.hpe.caf.util.ref.DataSource;
import com.hpe.caf.util.ref.DataSourceException;
import com.hpe.caf.util.ref.SourceNotFoundException;
import java.io.InputStream;
import java... |
package com.inter6.mail.gui.action;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.annotation.PostConstruct;
import javax.swing.BoxLayout;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JLabel;... |
package org.ensembl.healthcheck.testcase.generic;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.ensembl.healthcheck.D... |
package com.laytonsmith.core.events;
import com.laytonsmith.PureUtilities.ClassLoading.ClassDiscovery;
import com.laytonsmith.annotations.event;
import com.laytonsmith.core.constructs.CArray;
import com.laytonsmith.core.constructs.CString;
import com.laytonsmith.core.constructs.Construct;
import com.laytonsmith.core.co... |
package ch.zhaw.dna.ssh.mapreduce.model;
import static org.junit.Assert.assertEquals;
import ch.zhaw.dna.ssh.mapreduce.model.framework.*;
import org.junit.Before;
import org.junit.Test;
public class WordFrequencyMapTaskTest {
/** jmock context */
/** instance under test */
@Before
public void setUp() {
... |
package com.macilias.games.controller;
import com.macilias.games.model.Field;
import java.util.Random;
public class GameImpl implements Game {
private static GameImpl instance;
private Field field;
private boolean isOver = false;
private Random random = new Random(467462421234L);
private long score ... |
package com.celements.navigation.filter;
import static com.celements.common.test.CelementsTestUtils.*;
import static org.easymock.EasyMock.*;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;
import org.xwiki.model.reference.DocumentReference;
import com.celements.common.test.AbstractCom... |
package com.metacodestudio.hotsuploader;
import com.metacodestudio.hotsuploader.controllers.HomeController;
import io.datafx.controller.flow.Flow;
import io.datafx.controller.flow.FlowHandler;
import io.datafx.controller.flow.container.DefaultFlowContainer;
import io.datafx.controller.flow.context.ViewFlowContext;
impo... |
package com.mikesamuel.cil.ast.meta;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Set;
import java.util.function.Function;
import java.util.logging.Logger;
import javax.annotation.Nullable;
import com.google.common.base.Optional;
import com.google.common.base.Preconditions;
import com.google.c... |
package com.nhn.pinpoint.web.vo;
import java.util.ArrayList;
import java.util.List;
import java.util.SortedMap;
import java.util.TreeMap;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.nhn.pinpoint.common.HistogramSlot;
import com.nhn.pinpoint.web.util.TimeWindowUtils;
/**
*
* @author netspider
... |
package uk.org.ownage.dmdirc.ui.dialogs.channelsetting;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.HashMap;
import java.util.... |
package com.novoda.notils.logger.toast;
import android.content.Context;
/**
* A Toast helper giving a short hand to show toasts.
* Also checks for the validity of your context and Log's if it cannot toast.
*
* @deprecated StackingToastDisplayer subsumes the functionality of this Toaster
*/
@Deprecated
public class... |
package com.pyx4me.maven.proguard;
import java.io.File;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import org.apache.maven.archiver.MavenArchiveConfiguration;
import org.apache.maven.archiver.MavenArchiver;
import or... |
package com.redhat.ceylon.compiler.js;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.i... |
package com.redhat.ceylon.compiler.js;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.i... |
package com.sri.ai.praise.sgsolver.demo;
import com.google.common.annotations.Beta;
import javafx.scene.Node;
import javafx.scene.control.Button;
import javafx.scene.control.ContentDisplay;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.HBox;
import javafx.scene.layout.Region;
import de.jensd.fx.glyp... |
package com.toutiao.controller;
import com.toutiao.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import javax.servle... |
package jenkins.formelementpath;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import hudson.Extension;
import hudson.model.PageDecorator;
import jenkins.util.SystemProperties;
@Extension
public class FormElementPathPageDecorator extends PageDecorator {
@SuppressFBWarnings("MS_SHOULD_BE_FINAL")
pri... |
package com.ukefu.webim.service.task;
import java.util.Date;
import java.util.List;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.domain.Page;
import org.springframew... |
package etomica.nbr.cell;
import etomica.atom.IAtom;
import etomica.atom.IAtomList;
import etomica.box.Box;
import etomica.integrator.IntegratorEvent;
import etomica.integrator.IntegratorListener;
import etomica.potential.BondingInfo;
import etomica.potential.compute.NeighborIterator;
import etomica.potential.compute.N... |
package com.xmlcalabash.extensions;
import com.xmlcalabash.core.XMLCalabash;
import com.xmlcalabash.core.XProcConstants;
import com.xmlcalabash.core.XProcException;
import com.xmlcalabash.core.XProcRuntime;
import com.xmlcalabash.io.ReadablePipe;
import com.xmlcalabash.io.WritablePipe;
import com.xmlcalabash.library.De... |
package com.xmomen.module.wx.util;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.xmomen.framework.utils.StringUtilsExt;
import com.xmomen.module.wx.con... |
package com.yahoo.sketches.kll;
import java.util.Arrays;
import com.yahoo.memory.Memory;
import com.yahoo.sketches.ByteArrayUtil;
import com.yahoo.sketches.Family;
import com.yahoo.sketches.SketchesArgumentException;
import com.yahoo.sketches.Util;
public class KllFloatsSketch {
public static final int DEFAULT_K = 20... |
package com.zierfisch.gfx.shader;
import static org.lwjgl.opengl.GL11.*;
import static org.lwjgl.opengl.GL20.*;
import static org.lwjgl.opengl.GL32.*;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import com.zierfisch.gfx.util.GLErrors;
public class ShaderBuilder {
private stat... |
package org.javarosa.services.transport;
import java.io.IOException;
import java.util.Date;
import java.util.Vector;
import org.javarosa.core.services.Logger;
import org.javarosa.core.util.PropertyUtils;
import org.javarosa.services.transport.impl.TransportException;
import org.javarosa.services.transport.impl.Transpor... |
package cz.muni.fi.jboss.migration.utils;
import cz.muni.fi.jboss.migration.Configuration;
import cz.muni.fi.jboss.migration.RollbackData;
import cz.muni.fi.jboss.migration.ex.CliScriptException;
import cz.muni.fi.jboss.migration.ex.CopyException;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.fil... |
package de.hwrberlin.it2014.sweproject.cbr;
import de.hwrberlin.it2014.sweproject.cbr.Request;
import de.hwrberlin.it2014.sweproject.database.DatabaseConfig;
import de.hwrberlin.it2014.sweproject.database.DatabaseConnection;
import de.hwrberlin.it2014.sweproject.database.TableResultsSQL;
import de.hwrberlin.it2014.swep... |
package de.jformchecker.elements;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import com.coverity.security.Escape;
import de.jformchecker.AttributeUtils;
import de.jformchecker.Criterion;
import de.jformcheck... |
package editor.gui.generic;
import java.awt.Dimension;
import java.awt.FontMetrics;
import java.awt.Rectangle;
import java.awt.event.KeyEvent;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.util.function.Consumer;
import javax.swing.JComponent;
import javax.swing.JPopupMenu;
import ja... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.