answer stringlengths 17 10.2M |
|---|
package com.haulmont.cuba.gui.components;
import com.haulmont.chile.core.datatypes.Datatypes;
import com.haulmont.chile.core.model.MetaClass;
import com.haulmont.chile.core.model.utils.InstanceUtils;
import com.haulmont.cuba.core.app.LockService;
import com.haulmont.cuba.core.entity.Entity;
import com.haulmont.cuba.cor... |
package markehme.factionsplus.config;
import java.io.*;
import java.lang.annotation.*;
import java.lang.reflect.*;
import java.nio.*;
import java.util.*;
import java.util.Map.Entry;
import markehme.factionsplus.*;
import java.util.Map.Entry;
import markehme.factionsplus.*;
import markehme.factionsplus.FactionsBridge.*;... |
package io.fisache.firebase_auth.ui.login;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AlertDialog;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ProgressBar;
import android... |
package name.abuchen.portfolio.math;
import static org.hamcrest.core.Is.is;
import static org.hamcrest.number.IsCloseTo.closeTo;
import static org.junit.Assert.assertThat;
import java.time.LocalDate;
import java.util.Arrays;
import name.abuchen.portfolio.math.Risk.Drawdown;
import name.abuchen.portfolio.math.Risk.Volat... |
package org.chromium.net;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.telephony.TelephonyManager;
import android.util.Log;
import org.c... |
package de.geeksfactory.opacclient.apis;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.message.BasicNameValuePair;... |
package org.eclipse.birt.report.engine.emitter.html;
import org.eclipse.birt.report.engine.content.IStyle;
import org.eclipse.birt.report.engine.ir.DimensionType;
import org.eclipse.birt.report.model.api.metadata.DimensionValue;
import org.eclipse.birt.report.model.metadata.Choice;
public class AttributeBuilder
{
/... |
package de.geeksfactory.opacclient.apis;
import org.apache.http.client.utils.URIBuilder;
import org.joda.time.format.DateTimeFormat;
import org.joda.time.format.DateTimeFormatter;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Documen... |
package sh.jay.xposed.whatsapp;
import static de.robv.android.xposed.XposedHelpers.findAndHookMethod;
import java.util.HashMap;
import java.util.Map;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.view.View;
import android.widget.RelativeLayout;
import de.robv.... |
package org.ovirt.engine.ui.uicommonweb.models.vms;
import java.util.ArrayList;
import java.util.List;
import org.ovirt.engine.core.common.businessentities.StoragePool;
import org.ovirt.engine.core.common.businessentities.VDSGroup;
import org.ovirt.engine.core.common.businessentities.VmTemplate;
import org.ovirt.engine... |
package org.innovateuk.ifs.application.transactional;
import org.innovateuk.ifs.Application;
import org.innovateuk.ifs.BaseUnitTestMocksTest;
import org.innovateuk.ifs.application.domain.Question;
import org.innovateuk.ifs.commons.error.Error;
import org.innovateuk.ifs.competition.domain.Competition;
import org.innovat... |
// This file is part of the OpenNMS(R) Application.
// reserved.
// OpenNMS(R) is a derivative work, containing both original code, included
// code and modified
// for modified
// and included code are below.
// OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
// This program is free software; you can r... |
package org.innovateuk.ifs.competition.transactional;
import org.innovateuk.ifs.BaseServiceUnitTest;
import org.innovateuk.ifs.application.constant.ApplicationStatusConstants;
import org.innovateuk.ifs.application.domain.Application;
import org.innovateuk.ifs.application.domain.ApplicationStatistics;
import org.innovat... |
package org.caleydo.view.stratomex;
import java.awt.Point;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
import java.util.Set;
import javax.media.opengl.... |
package org.safehaus.subutai.core.env.ui.forms;
import org.safehaus.subutai.core.env.api.Environment;
import org.safehaus.subutai.core.env.api.exception.EnvironmentModificationException;
import com.google.common.base.Strings;
import com.vaadin.ui.Button;
import com.vaadin.ui.CheckBox;
import com.vaadin.ui.GridLayout;
i... |
package org.caleydo.view.visbricks;
import gleem.linalg.Vec3f;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
import javax.media.opengl.GL2;
import javax.media.opengl.GLAutoDrawable;
import org.caleydo.core.data.collection.ISet;
import ... |
package org.mifosplatform.portfolio.loanaccount.guarantor.service;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import javax.annotation.PostConstruct;
impor... |
package org.eclipse.mylyn.tests;
import junit.framework.Test;
import junit.framework.TestSuite;
import org.eclipse.mylyn.jira.tests.AllJiraTests;
import org.eclipse.mylyn.trac.tests.AllTracTests;
import org.eclipse.mylyn.xplanner.tests.AllXPlannerTests;
/**
* @author Shawn Minto
*/
public class AllConnectorTests {
... |
package eu.liveandgov.wp1.sensor_miner.sensors;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.location.Location;
import android.net.wifi.ScanResult;
import android.os.Build;
import com.google.android.gms.location.ActivityRecognitionResult;
import com.google.android.gms.location.Det... |
package org.motechproject.scheduletracking.api.service.impl;
import org.joda.time.LocalDate;
import org.junit.Test;
import org.motechproject.model.Time;
import org.motechproject.scheduletracking.api.service.EnrollmentRequest;
import static junit.framework.Assert.assertEquals;
import static org.junit.Assert.assertFalse;... |
package net.mcft.copy.aho.config;
public enum EnumPreset {
// [ REGENERATION ] [ HURT PENALTY ] [ RESPAWN ]
PEACEFUL ( 1.5, 0, 10, 2.5, 1.5, 3.0, 10.0, 16.0, 20, 20, 0, 0.0 ),
EASY ( 4.0, 10, 15, 2.0, 3.0, 8.0, 16.0, 20.0, 20, 16, 0, 0.0 ),
... |
package org.wolfgang.contrail.ecosystem.factory;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.wolfgang.common.lang.TypeUtils;
import org.wolfgang.contrail.component.CannotCreateComponentException;
import org.wolfgang.contrail.component.Component;
import org.wolfgang.contrail.compone... |
package net.sf.jalita.server;
import java.util.Hashtable;
import java.util.Iterator;
import java.net.*;
import java.util.Vector;
import java.io.*;
import net.sf.jalita.io.TerminalIOInterface;
import net.sf.jalita.util.Configuration;
import java.util.Enumeration;
import java.util.Map.Entry;
import org.apache.log4j.Logge... |
package com.beust.jcommander;
import org.testng.Assert;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
public class CmdTest {
@Parameters(commandNames = "--cmd-one")
public static class CmdOne {
}
... |
package com.fivetran.javac;
import com.sun.source.tree.ClassTree;
import org.junit.Test;
import javax.tools.DiagnosticCollector;
import javax.tools.JavaFileObject;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import static org.ha... |
package de.dhbw.humbuch.util;
import static org.junit.Assert.assertEquals;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import org.junit.Test;
import au.com.bytecode.opencsv.CSVReader;
import de.dhbw.humbuch.... |
package de.tum.in.cindy3dplugin.jogl;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URL;
import org.apache.commons.math.geometry.Vector3D;
import org.apache.commons.math.linear.Rea... |
package org.biojava.bio.symbol;
import org.biojava.bio.BioException;
import org.biojava.utils.ParserException;
import org.biojava.bio.seq.io.SymbolTokenization;
/**
* This class creates PatternSearch.Pattern objects from
* String description of the object.
* @author David Huen
* @since 1.4
`*/
public class PatternM... |
package ca.corefacility.bioinformatics.irida.service.analysis.workspace.galaxy;
import static com.google.common.base.Preconditions.checkNotNull;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
impo... |
package org.dvare.dynamic;
import org.dvare.dynamic.compiler.DynamicCompiler;
import org.junit.Assert;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Map;
public class SourceTest {
private static final Logger log = LoggerFactory.getLogger(SourceTest.class);
@Tes... |
package org.broad.igv.data;
import org.apache.log4j.Logger;
import org.broad.igv.Globals;
import org.broad.igv.exceptions.ParserException;
import org.broad.igv.feature.genome.Genome;
import org.broad.igv.track.TrackType;
import org.broad.igv.track.WindowFunction;
import org.broad.igv.ui.IGV;
import org.broad.igv.ui.uti... |
package org.knowm.sundial;
import java.util.List;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import org.knowm.sundial.exceptions.JobInterruptException;
import org.quartz.exceptions.SchedulerException;
/** This doesn't really test much. But at least it allows us to inspect the job ... |
package org.apache.derby.impl.sql.execute.operations;
import com.google.common.collect.Maps;
import com.splicemachine.derby.test.DerbyTestRule;
import com.splicemachine.utils.SpliceLogUtils;
import org.apache.log4j.Logger;
import org.junit.*;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.uti... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.broad.igv.sam;
import com.google.common.base.Predicate;
import org.apache.log4j.Logger;
import org.broad.igv.data.Interval;
import org.broad.igv.feature.FeatureUtils;
import org.broad.igv.feature.Locus;
impor... |
package de.digitalcollections.blueprints.webapp.springboot;
import java.io.IOException;
import java.net.URI;
import java.util.Base64;
import java.util.Map;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
imp... |
package org.broad.igv.sam;
import org.apache.log4j.Logger;
import org.broad.igv.PreferenceManager;
import org.broad.igv.feature.Strand;
import org.broad.igv.feature.genome.Genome;
import org.broad.igv.renderer.GraphicUtils;
import org.broad.igv.sam.AlignmentTrack.ColorOption;
import org.broad.igv.sam.AlignmentTrack.Ren... |
package org.xwiki.script.internal.service;
import javax.inject.Inject;
import javax.inject.Named;
import javax.inject.Provider;
import javax.inject.Singleton;
import org.slf4j.Logger;
import org.xwiki.component.annotation.Component;
import org.xwiki.component.manager.ComponentManager;
import org.xwiki.script.service.Sc... |
package org.exist.security;
import java.util.Set;
import org.exist.config.Configuration;
import org.exist.config.ConfigurationException;
import org.exist.security.realm.Realm;
import org.exist.storage.DBBroker;
public class EffectiveSubject implements Subject {
private final Account account;
public EffectiveSub... |
package org.jdesktop.swingx;
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.regex.Pattern;
import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.JButton;
import javax.swing.JComponen... |
package org.csstudio.channelfinder.views;
import gov.bnl.channelfinder.api.Channel;
import gov.bnl.channelfinder.api.ChannelUtil;
import java.util.ArrayList;
import java.util.Collection;
import org.csstudio.channelfinder.util.FindChannels;
import org.eclipse.core.runtime.jobs.Job;
import org.eclipse.jface.action.IMenuM... |
package org.ihtsdo.otf.rest.client.ims;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.http.*;
import org.springframework.util.MultiValueMap;
import org.springframework.web.client.RestTemplate;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URI;
import... |
package org.exist.xquery.value;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.text.Collator;
import java.util.regex.Pattern;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import org.exist.xquery.Constants;
import org.exist.xquery.XPathException;
import org.... |
package org.csstudio.opibuilder.widgets.editparts;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.text.DecimalFormat;
import java.text.ParseException;
import org.csstudio.opibuilder.OPIBuilderPlugin;
import org.csstudio.opibuilder.editparts.ExecutionMode;
import org.csstudi... |
package org.jgroups.blocks.cs;
import org.jgroups.Address;
import org.jgroups.Version;
import org.jgroups.stack.IpAddress;
import org.jgroups.util.ThreadFactory;
import org.jgroups.util.Util;
import java.io.*;
import java.net.*;
import java.nio.ByteBuffer;
import java.util.Arrays;
import java.util.concurrent.TimeUnit;
... |
package org.openhab.binding.zwave.internal.config;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import java.util.TimeZone;
import java.util.Timer;
import java.util.TimerTask;
import org.openhab.bin... |
// $Id: Digest.java,v 1.17 2005/10/03 13:25:26 belaban Exp $
package org.jgroups.protocols.pbcast;
import EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jgroups.Address;
import org.jgroups.Global;
import org.jgrou... |
package org.eclipse.smarthome.core.thing.setup;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;
import org.eclipse.smarthome.config.core.Configuration;
import org.eclipse.smarthome.core.items.ActiveItem;
import org.eclipse.smarthome.core.... |
package gov.nih.nci.cagrid.data.creation;
import gov.nih.nci.cagrid.common.Utils;
import gov.nih.nci.cagrid.data.DataServiceConstants;
import gov.nih.nci.cagrid.introduce.IntroduceConstants;
import gov.nih.nci.cagrid.introduce.beans.ServiceDescription;
import gov.nih.nci.cagrid.introduce.beans.method.MethodType;
import... |
package org.opencms.db.generic;
import org.opencms.db.CmsAdjacencyTree;
import org.opencms.db.CmsDriverManager;
import org.opencms.db.I_CmsVfsDriver;
import com.opencms.boot.I_CmsLogChannels;
import com.opencms.core.A_OpenCms;
import com.opencms.core.CmsException;
import com.opencms.core.I_CmsConstants;
import com.open... |
package org.redkale.convert.json;
import java.nio.ByteBuffer;
import org.redkale.convert.Writer;
import org.redkale.util.*;
public class JsonWriter extends Writer {
private static final char[] CHARS_TUREVALUE = "true".toCharArray();
private static final char[] CHARS_FALSEVALUE = "false".toCharArray();
priva... |
/**
* It contains a quick overview to the Java language.
*
* <h2>Java Keywords:</h2>
* <p>
* The following list shows the reserved words in Java. These reserved words may not be used as
* constant or variable or any other identifier names.
* </p>
* <style> table { border-collapse: collapse; width: 100%; vertica... |
package org.dashbuilder.dataset.client;
import org.jboss.errai.bus.client.api.messaging.Message;
/**
* <p>Default error produced by data set backend services. It encapsulates the underlying Errai technology.</p>
*
* @since 0.3.0
*/
public class DataSetClientServiceError {
private Message errorMessage;
priva... |
package org.usfirst.frc.team4468.robot;
import com.kauailabs.navx.frc.AHRS;
import drive.GearShift;
import edu.wpi.first.wpilibj.*;
import edu.wpi.first.wpilibj.CounterBase.EncodingType;
import gears.GearSubsystem;
import vision.visionSubsystem;
import PIDsub.*;
import climber.ClimbSubsystem;
import drive.LeftDriveTrai... |
package net.echinopsii.ariane.community.core.mapping.ds.blueprintsimpl.service.tools;
import net.echinopsii.ariane.community.core.mapping.ds.MappingDSException;
import net.echinopsii.ariane.community.core.mapping.ds.blueprintsimpl.graphdb.MappingDSGraphDB;
import net.echinopsii.ariane.community.core.mapping.ds.service.... |
package uk.co.uwcs.choob.modules;
import java.util.*;
import uk.co.uwcs.choob.support.*;
import uk.co.uwcs.choob.support.events.*;
import uk.co.uwcs.choob.*;
import java.net.URL;
import java.io.IOException;
import java.util.*;
import java.util.regex.*;
import org.jibble.pircbot.Colors;
// I'm going to assume that java ... |
package io.quarkus.smallrye.openapi.deployment;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.lang.reflect.Modifier;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.fil... |
package peergos.shared.user.fs;
import jsinterop.annotations.*;
import peergos.shared.*;
import peergos.shared.crypto.*;
import peergos.shared.crypto.asymmetric.*;
import peergos.shared.crypto.random.*;
import peergos.shared.crypto.symmetric.*;
import peergos.shared.io.ipfs.multihash.*;
import peergos.shared.user.*;
im... |
package peergos.shared.user.fs;
import jsinterop.annotations.*;
import peergos.shared.*;
import peergos.shared.crypto.*;
import peergos.shared.crypto.asymmetric.*;
import peergos.shared.crypto.random.*;
import peergos.shared.crypto.symmetric.*;
import peergos.shared.io.ipfs.multihash.*;
import peergos.shared.user.*;
im... |
package br.net.mirante.singular.showcase.view.page.form.crud.services;
import javax.inject.Inject;
import java.util.List;
import org.springframework.stereotype.Component;
import br.net.mirante.singular.form.mform.MILista;
import br.net.mirante.singular.form.mform.MInstancia;
import br.net.mirante.singular.form.mform.op... |
package org.drools.agent;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Properties;
impor... |
package org.geomesa.example.fsds;
import org.apache.commons.cli.ParseException;
import org.apache.hadoop.fs.FileContext;
import org.apache.hadoop.fs.Path;
import org.geomesa.example.data.GDELTData;
import org.geomesa.example.data.TutorialData;
import org.geomesa.example.quickstart.GeoMesaQuickStart;
import org.geotools... |
package org.eclipse.persistence.testing.tests.jpa21.advanced;
import static javax.persistence.ParameterMode.INOUT;
import static javax.persistence.ParameterMode.OUT;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.ParameterMode;
import javax.persistence.Query;
import javax.persis... |
package cz.hobrasoft.pdfmu.sign;
import com.itextpdf.text.pdf.AcroFields;
import com.itextpdf.text.pdf.PdfReader;
import com.itextpdf.text.pdf.security.PdfPKCS7;
import cz.hobrasoft.pdfmu.Operation;
import cz.hobrasoft.pdfmu.OperationException;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNot... |
package org.perl6.rakudo;
import java.util.*;
import org.perl6.nqp.runtime.*;
import org.perl6.nqp.sixmodel.*;
import org.perl6.nqp.sixmodel.reprs.ContextRefInstance;
import org.perl6.nqp.sixmodel.reprs.P6int;
import org.perl6.nqp.sixmodel.reprs.P6str;
import org.perl6.nqp.sixmodel.reprs.P6num;
import org.perl6.nqp.six... |
package org.gluu.persist.impl;
import java.io.Serializable;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
... |
package plugins.ShareWiki.webui;
import java.io.IOException;
import java.net.URI;
import java.util.regex.Pattern;
import java.util.regex.Matcher;
import java.io.BufferedReader;
import java.io.StringReader;
import plugins.ShareWiki.Freesite;
import plugins.ShareWiki.Plugin;
import freenet.clients.http.InfoboxNode;
impor... |
package org.gluu.persist.impl;
import java.io.Serializable;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
... |
package xyz.chunkstories.coreplugin;
import io.xol.chunkstories.api.plugin.ChunkStoriesPlugin;
import io.xol.chunkstories.api.plugin.commands.Command;
import io.xol.chunkstories.api.plugin.commands.CommandEmitter;
import io.xol.chunkstories.api.server.Player;
import io.xol.chunkstories.api.Location;
import io.xol.chunk... |
package placebooks.controller;
import java.io.BufferedInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.io.Writer;
import java.net.URL;
import java.util.ArrayList;
impor... |
package com.intellij.openapi.actionSystem;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.project.PossiblyDumbAware;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.Disposer;
import com.intellij.openapi.util.Key;
import co... |
package pt.iscte.lei.pi.firujo.scores;
import java.io.Serializable;
/*
* objecto score, contem um nome string e resultado int
* serializable para se poder gravar o estado do objecto em ficheiro
*/
public class Score implements Serializable{
private static final long serialVersionUID = 1L;
private int sco... |
package helper;
import java.io.File;
import java.lang.Process;
import java.lang.ProcessBuilder;
import models.Gatherconf;
import play.Logger;
public class WpullThread extends Thread {
Gatherconf conf = null;
ProcessBuilder pb = null;
File log = null;
private static final Logger.ALogger WebgatherLogger =... |
package cpw.mods.fml.common;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.logging.Level;
import com.google.common.base.Joiner;
import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.BiMap;
import com.google.common.collect.HashBiMap;
import com.g... |
package com.intellij;
import com.intellij.openapi.util.SystemInfoRt;
import com.intellij.util.text.OrdinalFormat;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.text.MessageFormat;
import java.util.Locale;
import java.util.MissingResourceException;
import java.util.Reso... |
package com.intellij.openapi.command.impl;
import com.intellij.ide.IdeBundle;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.command.undo.DocumentReference;
import com.intellij.openapi.command.undo.UndoableAction;
import com.intellij.openapi.editor.Document;
import com.intellij.... |
package com.intellij.remote.ui;
import com.intellij.execution.ExecutionBundle;
import com.intellij.execution.ExecutionException;
import com.intellij.icons.AllIcons;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.application.ModalityState;
... |
/**
* Face of s-lib
*
* @author ed
*
*/
package com.shuimin.common;
import com.shuimin.common.f.*;
import com.shuimin.common.struc.Cache;
import com.shuimin.common.struc.IterableEnumeration;
import com.shuimin.common.struc.Matrix;
import com.shuimin.common.util.cui.Rect;
import com.shuimin.common.util.logger.Logge... |
package hu.vmiklos.plees_tracker;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import java.text.SimpleDateFormat;
import java.util.Calendar;
impor... |
package theforthlesson;
import org.junit.Assert;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import java.util.LinkedList;
import java.util.List;
public class TheNinthTest extends BaseTest {
@Test
public void theNinthTest1() {
driver.get("http://localhost/... |
package org.jetbrains.idea.devkit.inspections;
import com.intellij.codeInspection.LocalInspectionTool;
import com.intellij.codeInspection.ProblemHighlightType;
import com.intellij.codeInspection.ProblemsHolder;
import com.intellij.codeInspection.util.SpecialAnnotationsUtil;
import com.intellij.openapi.application.Appli... |
package com.intellij.codeInspection.i18n;
import com.intellij.codeInsight.AnnotationUtil;
import com.intellij.codeInsight.CodeInsightBundle;
import com.intellij.codeInsight.externalAnnotation.NonNlsAnnotationProvider;
import com.intellij.codeInspection.*;
import com.intellij.ide.util.TreeClassChooser;
import com.intell... |
package system;
import api.Task;
import java.rmi.Remote;
import java.rmi.RemoteException;
/**
*
* @author Peter Cappello
*/
public interface Worker extends Remote
{
/**
* Execute Task.
* @param task
* @return Task Return object
* @throws RemoteException
*/
Return execute( Task task )... |
package ifc.container;
import com.sun.star.container.XNamed;
import lib.MultiMethodTest;
import util.utils;
/**
* Testing <code>com.sun.star.container.XNamed</code>
* interface methods :
* <ul>
* <li><code> getName()</code></li>
* <li><code> setName()</code></li>
* </ul>
* This test need the following object relation... |
package ifc.text;
import lib.MultiPropertyTest;
import com.sun.star.text.XTextColumns;
import com.sun.star.uno.AnyConverter;
import com.sun.star.uno.Type;
/**
* Testing <code>com.sun.star.text.TextSection</code>
* service properties :
* <ul>
* <li><code> Condition</code></li>
* <li><code> IsVisible</code></li>
... |
package sk.lovasko.trnava.renderer;
import sk.lovasko.trnava.strategy.Strategy;
import sk.lovasko.trnava.palette.Palette;
import java.awt.image.BufferedImage;
import java.awt.Dimension;
public interface Renderer
{
/**
* Generate fractal image using custom technology.
*
* @param minx fractal top left ... |
package soot.toolkits.scalar;
import java.util.ArrayList;
import java.util.BitSet;
import java.util.Collection;
import java.util.IdentityHashMap;
import java.util.List;
import java.util.Map;
import soot.Local;
import soot.Timers;
import soot.Unit;
import soot.Value;
import soot.ValueBox;
import soot.options.Options;
im... |
package org.jetbrains.yaml;
import com.intellij.lang.ASTNode;
import com.intellij.openapi.util.Pair;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiFileFactory;
import com.intellij.psi.impl.source.tree.LeafElement;
import com.intellij.psi.tree.IElementType;
import com.intellij.psi.util.PsiTreeUtil;
impo... |
package net.i2p.data;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Iterator;
import java.util.Map;
import java.util.Properties;
import com.nettgryppa.security.HashCash;
import net.i2p.I2PException;... |
package com.icarus.project;
import com.badlogic.gdx.ApplicationAdapter;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gd... |
package com.icarus.project;
import com.badlogic.gdx.ApplicationAdapter;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gd... |
package org.egordorichev.lasttry;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Pixmap;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.math.Vector2;
import org.egordorichev.lasttry.core.Version;
import org.eg... |
package net.tomp2p.p2p;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import java.io.File;
import java.io.IOException;
import java.net.InetAddress;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.... |
package ed.lang.ruby;
import org.jruby.runtime.builtin.IRubyObject;
import org.testng.annotations.*;
import static org.testng.Assert.*;
import ed.js.*;
import ed.js.engine.Scope;
@Test(groups = {"ruby", "ruby.jxpsource"})
public class RubyJxpSourceTest extends SourceRunner {
@BeforeMethod(groups={"ruby", "ruby.jxps... |
import java.lang.IllegalArgumentException;
import java.util.Random;
public class FederalTax {
private float grossIncome;
private float withheld;
private float[] bracket;
private float[] percentage;
private float standardDeductible;
private float personalExemption;
private float deductible;
... |
package com.imgix.test;
import static org.junit.Assert.*;
import com.imgix.URLBuilder;
import java.util.*;
import org.junit.*;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@RunWith(JUnit4.class)
public class TestReadMe {
@Test
public void testReadMeWidthTolerance() {
URLBuilder ub = new URL... |
package com.scarytom;
import junit.framework.Assert;
import org.junit.Test;
public class PrintoutTest {
@Test
public void testCanDescribeEmptyNetwork() {
String result = new Network().printout();
String header = "Programmer\tSkills\tRecommends";
Assert.assertEquals(header, result);
}... |
package guitests;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
public class ClearCommandTest extends TaskManagerGuiTest {
@Test
public void clear() {
//verify a non-empty list can be cleared
assertTrue(taskListPanel.isListMatching(td.getTypicalTasks()));
assertClearC... |
package objektwerks;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.junit.jupiter.api.Test;
class RecursionTest {
int product(int[] xs, int acc) {
if (xs.length == 0) return acc;
else {
var from = 1;
var to = xs.length;
var ... |
package org.c4sg;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.*;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.mail.MessagingException;
import javax.mail.internet.MimeMessage;
import org.c4sg.entity.Organization;
import org.c4... |
package org.mapdb;
import org.junit.Ignore;
import org.junit.Test;
import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;
import static org.junit.Assert.*;
public class StoreAppendTest<E extends StoreAppend> extends EngineTest<E>{
File f = UtilsTest.tempDbFile();
@Override
protect... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.