answer stringlengths 17 10.2M |
|---|
package org.sagebionetworks.web.client.widget.table.v2.results.cell;
import org.gwtbootstrap3.client.ui.Anchor;
import org.gwtbootstrap3.client.ui.base.HasTarget;
import org.gwtbootstrap3.client.ui.html.Text;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.googl... |
package com.emc.mongoose.storage.driver.net.base;
import com.emc.mongoose.common.io.ThreadLocalByteBuffer;
import com.emc.mongoose.model.io.task.data.DataIoTask;
import com.emc.mongoose.model.io.task.IoTask;
import com.emc.mongoose.model.io.task.data.mutable.MutableDataIoTask;
import static com.emc.mongoose.model.io.ta... |
package org.carlspring.strongbox.web;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
import org.carlspring.strongbox.configur... |
package cz.habarta.typescript.generator.maven;
import cz.habarta.typescript.generator.ClassMapping;
import cz.habarta.typescript.generator.DateMapping;
import cz.habarta.typescript.generator.EnumMapping;
import cz.habarta.typescript.generator.GsonConfiguration;
import cz.habarta.typescript.generator.Input;
import cz.ha... |
package info.bitrich.xchangestream.binance;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import info.bitrich.xchangestream.binance.dto.BinanceRawTrade;
import info.bitrich.xchangestream.binance.dto.BinanceWebsoc... |
package com.xeiam.xchange.mtgox.v1.service.marketdata.streaming;
import static org.hamcrest.core.IsEqual.equalTo;
import static org.junit.Assert.assertThat;
import java.io.IOException;
import java.io.InputStream;
import java.math.BigDecimal;
import java.util.Map;
import org.junit.Test;
import com.fasterxml.jackson.core... |
package VASSAL.build.module.map.boardPicker.board;
import java.awt.Color;
import java.awt.Container;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.Polygon;
import java.awt.Rectangle;
import java.awt.RenderingHints;
import java.awt.Shape;
import java.awt.event.ActionEvent;
... |
package org.xwiki.script.wrap;
/**
* Wrap an Object.
*
* @param <T> the type of the wrapped object
* @version $Id$
* @since 4.0M1
*/
public abstract class AbstractWrappingObject<T>
{
/**
* @see #getWrapped()
*/
protected T wrapped;
/**
* @param wrapped the wrapped object
*/
pub... |
package org.xwiki.model.reference;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Locale;
import org.xwiki.model.EntityType;
/**
* Represents a reference to a document (wiki, space and page names).
*
* @version $Id$
* @since 2.2M1
*/
public class DocumentReference... |
package com.navigation.reactnative;
import android.graphics.Color;
import android.os.Build;
import android.view.MenuItem;
import android.view.ViewParent;
import com.facebook.react.common.MapBuilder;
import com.facebook.react.uimanager.PixelUtil;
import com.facebook.react.uimanager.ThemedReactContext;
import com.faceboo... |
package dom;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.geom.AffineTransform;
import java.awt.image.AffineTransformOp;
import java.awt.image.BufferedImage;
import adm.ADM;
import ui.UI;
public class Projector extends DynamicObject {
private double rotateRadian;
public Projector(){ dra... |
import java.util.Random;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.ServerSocket;
import java.io.IOException;
public class H2OLauncher extends JPanel implements ActionListener {
private static H2OLauncher h2oLaun... |
package info.nightscout.androidaps.plugins.pump.medtronic.dialog;
import android.os.Bundle;
import android.os.SystemClock;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.Spinner;
im... |
package ru.swift.moderncleanarchitecture.presentation.screen.exercises;
import com.arellomobile.mvp.InjectViewState;
import java.util.List;
import ru.swift.moderncleanarchitecture.domain.interactor.GetExercises;
import ru.swift.moderncleanarchitecture.domain.model.Exercise;
import ru.swift.moderncleanarchitecture.prese... |
package org.intermine.bio.dataconversion;
import java.io.StringReader;
import java.util.Collections;
import java.util.HashMap;
import java.util.Set;
import org.apache.commons.io.IOUtils;
import org.intermine.dataconversion.ItemsTestCase;
import org.intermine.dataconversion.MockItemWriter;
import org.intermine.metadata.... |
package org.jasig.cas.remoting.server;
import org.jasig.cas.AbstractCentralAuthenticationServiceTest;
import org.jasig.cas.TestUtils;
import org.jasig.cas.ticket.TicketException;
import org.jasig.cas.validation.UsernamePasswordCredentialsValidator;
import org.springframework.validation.Validator;
/**
* @author Scott B... |
package org.kuali.coeus.propdev.impl.person;
import org.apache.commons.lang3.StringUtils;
import org.kuali.coeus.common.notification.impl.bo.KcNotification;
import org.kuali.coeus.common.notification.impl.bo.NotificationTypeRecipient;
import org.kuali.coeus.common.view.wizard.framework.WizardControllerService;
import o... |
package com.alma.fournisseur.infrastructure;
import com.alma.fournisseur.domain.IEntity;
public class Infrastruture {
public IEntity getProduct(int id){
Factory f = new ProductFactory();
return f.getProduct(id);
}
} |
package com.hbb20;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.SharedPreferences;
import android.content.res.TypedArray;
import android.graphics.PorterDuff;
import android.graphics.Typeface;
import android.os.Build;
import android.telephony.P... |
package cpw.mods.fml.relauncher;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.io.PrintStream;
import java.util.concurrent.Executors;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.logging.ConsoleHandler;
import java.util.logging.FileHandler;
impor... |
package ucar.nc2.iosp.nids;
import junit.framework.*;
import ucar.ma2.*;
import ucar.nc2.*;
import java.io.*;
public class TestNids extends TestCase {
public static String basereflectFile = TestAll.reletiveDir+ "nids/N0R_20041119_2147";
public static String basereflect1File = TestAll.reletiveDir+ "nids/N1R_20050119... |
package mobi.omegacentauri.rjm;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.Socket;
import java.net.UnknownHostException;
import java.util.A... |
package org.jpos.ee.pm.core;
import java.util.List;
import org.jpos.ee.Constants;
import org.jpos.util.DisplacedList;
/**
*
* @author jpaoletti
*/
public class ListManager {
public PaginatedList initList(PMContext ctx, Operations operations) throws PMException {
PaginatedList pmlist = new PaginatedList()... |
import java.util.*;
import java.util.stream.Collectors;
import java.util.Objects;
class Player {
/**
* todo : chercher dans l'annuaire
*
* @return the full Edge or null if not found
*/
public static Edge getEdge(List<Edge> edges, int factoryId_A, int factoryId_B) {
return edges.strea... |
package org.geogit.cli.porcelain;
import static com.google.common.base.Preconditions.checkState;
import java.util.Iterator;
import java.util.List;
import java.util.Date;
import java.sql.Timestamp;
import javax.xml.datatype.DatatypeFactory;
import jline.console.ConsoleReader;
import org.fusesource.jansi.Ansi;
import org... |
package com.yahoo.vespa.hosted.controller.persistence;
import com.yahoo.component.Version;
import com.yahoo.config.application.api.DeploymentSpec;
import com.yahoo.config.application.api.ValidationOverrides;
import com.yahoo.config.provision.ApplicationId;
import com.yahoo.config.provision.ClusterSpec;
import com.yahoo... |
package it.unibz.inf.ontop.iq.optimizer.impl;
import it.unibz.inf.ontop.injection.OptimizationSingletons;
import it.unibz.inf.ontop.iq.IQTree;
import it.unibz.inf.ontop.iq.node.DistinctNode;
import it.unibz.inf.ontop.iq.transform.IQTreeTransformer;
import it.unibz.inf.ontop.iq.transform.impl.DefaultRecursiveIQTreeVisit... |
package org.openecard.crypto.common.asn1.utils;
import org.openecard.common.tlv.TLVException;
import org.openecard.crypto.common.asn1.eac.oid.EACObjectIdentifier;
import org.testng.annotations.Test;
import static org.testng.Assert.*;
/**
*
* @author Moritz Horsch
*/
public class ObjectIdentifierUtilsTest {
@Test... |
package org.hisp.dhis.user;
import org.apache.commons.lang.StringUtils;
/**
* @author Zubair
*/
public class UserParameterValidationRule
implements PasswordValidationRule
{
public static final String ERROR = "Username/Email must not be a part of password";
public static final String I18_ERROR = "password_... |
package de.lmu.ifi.dbs.elki.database.ids.integer;
import java.util.Arrays;
import de.lmu.ifi.dbs.elki.database.ids.DBIDRef;
import de.lmu.ifi.dbs.elki.database.ids.DoubleDBIDListIter;
import de.lmu.ifi.dbs.elki.database.ids.DoubleDBIDPair;
import de.lmu.ifi.dbs.elki.database.ids.KNNHeap;
import de.lmu.ifi.dbs.elki.util... |
package main;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.sql.Connection;
import java.sql.SQLException;
import org.apache.jena.ontology.OntModelSpec;
import org.apache.jena.query.DatasetAccessor;
import org.apache.jena.query.DatasetAccessorFactory;
import org.apache.je... |
package com.kehxstudios.atlas.type;
import com.kehxstudios.atlas.entities.Entity;
import java.util.HashMap;
/**
* Could be removed in the future
*/
public enum EntityType {
SCREEN("Screen"),
PLAYER("Player"),
ENEMY("Enemy",
WORLD("World"),
OTHER("Other"),
VOID("void");
private String id;
... |
package ab.j3d.view;
import ab.j3d.*;
/**
* Provides the default rendering style attributes for a view.
*
* @author Peter S. Heijnen
*/
public class ViewStyleFilter
implements RenderStyleFilter
{
@Override
public RenderStyle applyFilter( final RenderStyle style , final Object context )
{
re... |
package org.judal.metadata;
import java.util.Collection;
/**
* Implementation of a table definition
* @author Sergio Montoro Ten
*/
public class TableDef extends ViewDef {
private String creationTimestampColumnName;
public TableDef(String name) {
super(name);
creationTimestampColumnName = nul... |
package roart.aggregate;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.apache.commons.lang3.ArrayUtils;
import org.apac... |
package tripleplay.ui;
import pythagoras.f.Dimension;
import pythagoras.f.IDimension;
/**
* A widget that allows configuring its preferred size. The size is always returned when the size
* of the widget is calculated, but the widget may end up being stretched when contained in a
* layout that does so.
* TODO: is th... |
package org.jetel.graph;
import java.text.DateFormat;
import java.util.*;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jetel.data.Defaults;
import org.jetel.util.StringUtils;
/**
* Description of the Class
*
* @author dpavlis
* @since July 29, 2002
* @... |
package com.ezardlabs.lostsector.levels;
import com.ezardlabs.dethsquare.Animator;
import com.ezardlabs.dethsquare.AudioSource;
import com.ezardlabs.dethsquare.Camera;
import com.ezardlabs.dethsquare.Collider;
import com.ezardlabs.dethsquare.GameObject;
import com.ezardlabs.dethsquare.GuiText;
import com.ezardlabs.deth... |
package com.mlefevre.maths.converter;
import com.mlefevre.maths.domain.Formula;
public interface FormulaConverter {
/**
* Convert the given formula into a string
*
* @param formula
* @return the converted formula
*/
String convert(Formula formula);
} |
package jlibs.nblr.editor.debug;
import jlibs.core.annotation.processing.Printer;
import jlibs.core.io.FileUtil;
import jlibs.core.lang.ImpossibleException;
import jlibs.core.lang.StringUtil;
import jlibs.nblr.actions.BufferAction;
import jlibs.nblr.actions.EventAction;
import jlibs.nblr.actions.PublishAction;
import j... |
package com.db.net.soap;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.HashMap;
import com.db.logging.Logger;
import com.db.logging.LoggerManager;
import com.db.net.wsdl.Wsdl;
import com.db.net.wsdl.WsdlService;
import com.db.util.MethodInvoker;
import com.db.xml.... |
// BlueJ project: lesson8/carShare4
import java.util.ArrayList;
import java.util.Scanner;
public class Simulation
{
private ArrayList<Car> cars;
private ArrayList<Person> people;
public Simulation()
{
cars = new ArrayList<Car>();
people = new ArrayList<Person>();
}
/**
Rea... |
package io.sniffy;
import java.sql.Driver;
/**
* Utility interface for storing the Sniffer constants
*/
public interface Constants {
/**
* Prefix to be used in JDBC URL, for example {@code sniffy:jdbc:h2:mem:}
*/
String DRIVER_PREFIX = "sniffy:";
/**
* The major version of Sniffy
* @se... |
// RMG - Reaction Mechanism Generator
// RMG Team (rmg_dev@mit.edu)
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// and/or sell copies of the Software, and to permit persons to whom the
// Sof... |
package fi.lolcatz.profiler;
import com.sun.tools.attach.VirtualMachine;
import static org.objectweb.asm.tree.AbstractInsnNode.*;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.lang.management.ManagementFactory;
import java.util.Iterator;
import org.objectweb.asm.Clas... |
package com.corner23.android.usb_otg_manager;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.List;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Notification;
import androi... |
package com.jwetherell.algorithms.data_structures;
import java.util.ArrayList;
import java.util.List;
import com.jwetherell.algorithms.data_structures.interfaces.IMap;
@SuppressWarnings("unchecked")
public class HashMap<K, V> implements IMap<K,V> {
public static enum Type { CHAINING, PROBING }
private HashMap<K... |
package com.karateca.jstoolbox.generatemethod;
import com.intellij.openapi.editor.Document;
import com.intellij.openapi.util.TextRange;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class ClassFinder {
protected final Document document;
pri... |
package com.onlinephotosubmission.csv_importer;
import java.util.Arrays;
class CardHolder {
private static String[] header;
private static int supportingDocsRequiredIndex = -1;
private static int cardholderGroupIndex = -1;
private static int managerEmailIndex = -1;
private static int managerIdentifi... |
package com.twitter.intellij.pants.ui;
import com.intellij.execution.filters.TextConsoleBuilderFactory;
import com.intellij.execution.ui.ConsoleView;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.Disposer;
import com.intellij.openapi.wm.ToolWindow;
import com.intellij.openapi.wm.ToolWind... |
package com.intellij.openapi.fileEditor;
import com.intellij.codeHighlighting.BackgroundEditorHighlighter;
import com.intellij.ide.structureView.StructureViewBuilder;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.util.UserDataHolder;
import com.intellij.openapi.vfs.VirtualFile;
import org.jetbrain... |
package com.intellij.openapi.vcs.changes.ui;
import com.intellij.ide.CommonActionsManager;
import com.intellij.ide.CopyProvider;
import com.intellij.ide.DefaultTreeExpander;
import com.intellij.ide.TreeExpander;
import com.intellij.ide.dnd.DnDAware;
import com.intellij.ide.projectView.impl.ProjectViewTree;
import com.i... |
package com.intellij.xdebugger.impl.ui;
import com.intellij.openapi.editor.Document;
import com.intellij.openapi.editor.EditorFactory;
import com.intellij.openapi.editor.ex.EditorEx;
import com.intellij.openapi.editor.impl.DocumentImpl;
import com.intellij.openapi.fileTypes.FileTypes;
import com.intellij.openapi.projec... |
package org.jpmml.evaluator;
import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectOutputStream;
import com.google.common.io.ByteStreams;
import org.dmg.pmml.PMML;
import org.jpmml.model.visitors.LocatorTransformer;
abstract
public class IntegrationTestBatch extends ArchiveBatch {
private Eva... |
package org.diirt.pods.common;
import java.util.Arrays;
import org.junit.Test;
import static org.junit.Assert.*;
import static org.hamcrest.Matchers.*;
import static org.diirt.pods.common.ChannelTranslator.*;
import static org.diirt.pods.common.ChannelTranslation.Permission.*;
/**
*
* @author carcassi
*/
public clas... |
package oap.reflect;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import oap.util.Lists;
import oap.util.Maps;
import oap.util.Pair;
import org.testng.annotations.Test;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.la... |
package org.folio.okapi;
import com.hazelcast.config.Config;
import com.hazelcast.config.ClasspathXmlConfig;
import com.hazelcast.config.FileSystemXmlConfig;
import com.hazelcast.config.InterfacesConfig;
import com.hazelcast.config.NetworkConfig;
import com.hazelcast.config.UrlXmlConfig;
import io.vertx.core.AsyncResul... |
package br.net.mirante.singular.form.wicket.mapper.annotation;
import java.io.Serializable;
import org.apache.commons.lang3.StringUtils;
import org.apache.wicket.AttributeModifier;
import org.apache.wicket.Component;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.behavior.Behavior;
import org... |
package tools.vitruv.framework.tests;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.resources.IFolder;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IProjectDescription;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.NullProgre... |
package org.hswebframework.web.file.web;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.enums.ParameterStyle;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import org.hswe... |
package de.fhg.aisec.ids.idscp2.drivers.default_driver_impl.keystores;
import javax.net.ssl.*;
import java.io.IOException;
import java.io.InputStream;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.security.*;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.safehaus.kiskis.mgmt.server.broker;
import org.safehaus.kiskis.mgmt.shared.protocol.commands.CommandEnum;
import org.safehaus.kiskis.mgmt.shared.protocol.elements.Request;
import org.safehaus.kiskis.mgmt.shar... |
package org.apache.batik.gvt;
import java.awt.*;
import java.awt.geom.*;
/**
* The <code>ExtendedGeneralPath</code> class represents a geometric
* path constructed from straight lines, quadratic and cubic (Bzier)
* curves and elliptical arc. This class delegates lines and curves to
* an enclosed <code>GeneralPath</... |
package org.safehaus.subutai.common.settings;
public class ChannelSettings
{
public static final String OPEN_PORT = "8181";
public static final String SPECIAL_PORT_X1 = "8542";
public static final String SECURE_PORT_X1 = "8543";
public static final String SECURE_PORT_X2 = "8544";
public static final... |
package org.codehaus.mojo.natives.bcc;
import junit.framework.TestCase;
import org.codehaus.mojo.natives.linker.LinkerConfiguration;
import org.codehaus.plexus.util.cli.Commandline;
import java.io.File;
import java.util.List;
import java.util.ArrayList;
public class TLibLinkerTest
extends TestCase
{
private sta... |
package org.jnosql.diana.mongodb.document;
import org.jnosql.diana.api.TypeReference;
import org.jnosql.diana.api.document.Document;
import org.jnosql.diana.api.document.DocumentCollectionManager;
import org.jnosql.diana.api.document.DocumentDeleteQuery;
import org.jnosql.diana.api.document.DocumentEntity;
import org.j... |
package com.github.kevinsawicki.http;
import static java.net.HttpURLConnection.HTTP_BAD_REQUEST;
import static java.net.HttpURLConnection.HTTP_CREATED;
import static java.net.HttpURLConnection.HTTP_INTERNAL_ERROR;
import static java.net.HttpURLConnection.HTTP_NO_CONTENT;
import static java.net.HttpURLConnection.HTTP_NO... |
package com.poc.mongodbredisintegration;
import static org.assertj.core.api.Assertions.assertThat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.apache.commons.lang3.RandomStringUtils;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.DisplayName;
import ... |
package com.leakedbits.codelabs;
import com.badlogic.gdx.Game;
public class Codelabs extends Game {
public static final String TITLE = "Codelabs";
public static final float TARGET_WIDTH = 800;
@Override
public void create() {
setScreen(new Splash());
}
} |
package org.caleydo.core.view.opengl.canvas.storagebased.heatmap;
import gleem.linalg.Rotf;
import gleem.linalg.Vec3f;
import java.awt.Point;
import java.nio.FloatBuffer;
import java.util.ArrayList;
import java.util.Set;
import java.util.logging.Level;
import javax.management.InvalidAttributeValueException;
import java... |
package org.strategoxt.imp.runtime.services.views.outline;
import java.util.LinkedList;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.jobs.Job;
import org.eclipse.imp.parser.IModelListener;
import org.ec... |
package org.orienteer.pivottable.component.widget;
import static org.orienteer.core.module.OWidgetsModule.OPROPERTY_HIDDEN;
import java.util.Collection;
import java.util.List;
import java.util.Locale;
import org.apache.wicket.Component;
import org.apache.wicket.event.IEvent;
import org.apache.wicket.markup.head.IHeader... |
package com.redhat.ceylon.eclipse.code.correct;
import static com.redhat.ceylon.eclipse.code.correct.LinkedModeCompletionProposal.getNameProposals;
import static com.redhat.ceylon.eclipse.util.EditorUtil.getCommandBinding;
import static com.redhat.ceylon.eclipse.util.Nodes.addNameProposals;
import java.util.ArrayList;
... |
package com.redhat.ceylon.eclipse.code.editor;
import static com.redhat.ceylon.eclipse.util.EditorUtil.getCurrentEditor;
import static com.redhat.ceylon.eclipse.util.EditorUtil.getSelection;
import java.io.IOException;
import java.io.StringWriter;
import org.antlr.v4.runtime.ANTLRInputStream;
import org.antlr.v4.runtim... |
package com.redhat.ceylon.eclipse.core.builder;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.eclipse.core.resources.IFolder;
... |
public class ReadExcelHelper {
public static void duplicate()
{
}
} |
package dr.inference.operators;
import dr.inference.model.MatrixParameter;
import dr.inference.model.Parameter;
import dr.math.MathUtils;
import dr.math.matrixAlgebra.CholeskyDecomposition;
import dr.math.matrixAlgebra.IllegalDimension;
import dr.math.matrixAlgebra.SymmetricMatrix;
import dr.xml.*;
/**
* @author Marc ... |
package edu.mit.streamjit.util.bytecode;
/**
* A ModuleClassLoader loads classes from a Module.
*
* TODO: This loader keeps the Module alive as long as any classes it loads are
* alive. We may wish to load classes eagerly, then discard the Module.
* @author Jeffrey Bosboom <jbosboom@csail.mit.edu>
* @since 4/23/... |
package be.ibridge.kettle.job.entry;
import java.util.ArrayList;
import org.eclipse.swt.widgets.Shell;
import org.w3c.dom.Node;
import be.ibridge.kettle.core.Result;
import be.ibridge.kettle.core.database.DatabaseMeta;
import be.ibridge.kettle.core.exception.KettleException;
import be.ibridge.kettle.core.exception.Kett... |
// FileUtils.java
// File path shortening code adapted from:
package imagej.util;
import java.io.File;
/**
* Useful methods for working with file paths.
*
* @author Johannes Schindelin
* @author Grant Harris
*/
public final class FileUtils {
public static final int DEFAULT_SHORTENER_THRESHOLD = 4;
public s... |
package eu.visualize.ini.convnet;
import net.sf.jaer.util.TobiLogger;
import java.awt.Color;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import com.jogamp.opengl.GL2;
import com.jogamp.opengl.GLAutoDrawable;
import java.io.IOException;
import java.net.DatagramSocket;
import java.net... |
package org.topcased.requirement.core.dnd;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import org.eclipse.emf.common.command.Command;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.util.EcoreUtil;
... |
package org.jboss.jca;
/**
* The version class
* @author <a href="mailto:jesper.pedersen@ironjacamar.org">Jesper Pedersen</a>
*/
public class Version
{
/** The project */
public static final String PROJECT = "WildFly/IronJacamar";
/** The version */
public static final String VERSION = Version.class.getP... |
package org.voltdb.messaging;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.List;
import org.voltcore.messaging.Subject;
import org.voltcore.messaging.TransactionInfoBaseMessage;
import org.voltcore.utils.CoreUtils;
import org.voltdb.ParameterSet;
/**
* Message fr... |
package gov.nih.nci.cabig.caaers.rules.business.service;
import gov.nih.nci.cabig.caaers.CaaersSystemException;
import gov.nih.nci.cabig.caaers.domain.AdverseEvent;
import gov.nih.nci.cabig.caaers.domain.ExpeditedAdverseEventReport;
import gov.nih.nci.cabig.caaers.domain.Grade;
import gov.nih.nci.cabig.caaers.domain.Ho... |
package com.nr.viewnote.db;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collection;
import java.util.List;
/**
* Convenient database adapter c... |
package it.unibz.inf.ontop.executor.substitution;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import it.unibz.inf.ontop.model.ImmutableSubstitution;
import it.unibz.inf.ontop.model.ImmutableTerm;
import it.unibz.inf.ontop.model.Variable;
import it.unibz.inf.ontop.pivot... |
package main.habitivity;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.TextView;
import java.util.ArrayList;
import java.util... |
// FILE: c:/projects/jetel/org/jetel/data/DataField.java
package org.jetel.data;
import java.io.Serializable;
import java.nio.ByteBuffer;
import java.nio.charset.CharacterCodingException;
import java.nio.charset.CharsetDecoder;
import java.nio.charset.CharsetEncoder;
import org.jetel.exception.BadDataFormatException;
i... |
package ch.ntb.inf.deep.runtime.mpc555.driver;
import ch.ntb.inf.deep.runtime.mpc555.ntbMpc555HB;
import ch.ntb.inf.deep.unsafe.US;
/**
* Dieser Treiber wird fuer den Regelungstechnik-Print verwendet.<br>
* Dieser Print beinhaltet im Wesentlichen einen MPC555 als Prozessor.
* Davon werden 2 normale analoge und 2 Pow... |
package play.mvc;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.Collections;
import java.util.Map;
import java.util.Optional;
import akka.stream.javadsl.FileIO;
import akka.stream.javadsl.Source;
import akka.stream.ja... |
package org.qcri.rheem.jdbc.operators;
import org.json.JSONObject;
import org.qcri.rheem.basic.data.Record;
import org.qcri.rheem.basic.types.RecordType;
import org.qcri.rheem.core.api.exception.RheemException;
import org.qcri.rheem.core.optimizer.OptimizationContext;
import org.qcri.rheem.core.optimizer.costs.LoadProf... |
package org.jasig.portal.channels;
import org.jasig.portal.*;
import org.jasig.portal.utils.XSLT;
import org.jasig.portal.helpers.SAXHelper;
import org.xml.sax.DocumentHandler;
import org.xml.sax.SAXException;
import org.w3c.dom.Document;
import java.util.Hashtable;
import java.util.Enumeration;
import java.io.File;
im... |
package functionaltests.nodesource;
import static org.junit.Assert.assertEquals;
import java.io.File;
import java.util.ArrayList;
import java.util.EnumSet;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.sshd.SshServer;
import org.apache.sshd.common.NamedFactory;... |
package org.jfree.chart.title;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Paint;
import java.awt.Stroke;
import java.awt.geom.Rectangle2D;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import org.jfree.chart.axis.Axi... |
package com.adventuretron.timtris;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.InputProcessor;
import com.badlogic.gdx.Screen;
import com.badlogic.gdx.audio.Sound;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic... |
package com.marcgrue.dcisample_b.bootstrap.test;
import com.marcgrue.dcisample_b.bootstrap.sampledata.BaseData;
import com.marcgrue.dcisample_b.data.factory.RouteSpecificationFactoryService;
import com.marcgrue.dcisample_b.data.structure.cargo.Cargo;
import com.marcgrue.dcisample_b.data.structure.cargo.RouteSpecificati... |
package gov.nara.nwts.ftapp.stats;
import java.io.File;
import java.util.Vector;
import gov.nara.nwts.ftapp.filetest.FileTest;
/**
* Base class for Stats objects containing a key and a variable lenght list of values.
* @author TBrady
*
*/
public class Stats {
public static enum StatsItems implements StatsItemEn... |
package org.eclipse.mylyn.xplanner.ui;
import java.rmi.RemoteException;
import java.text.DateFormat;
import java.text.MessageFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import ... |
package arez.spy;
import arez.Arez;
import java.util.List;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
/**
* A representation of a ComputedValue instance exposed to spy framework.
*/
public interface ComputedValueInfo
extends ElementInfo
{
/**
* Return true if the ComputedValue is "compu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.