answer stringlengths 17 10.2M |
|---|
package org.cytoscape.view.vizmap.gui.internal;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.WeakHashMap;
import org.cytoscape.model.CyColumn;
import org.cytoscape.model.CyEdge;
import org.cytoscape.model.CyIdentifiable;
im... |
package grakn.core.server;
import grabl.tracing.client.GrablTracing;
import grabl.tracing.client.GrablTracingThreadStatic;
import grakn.common.concurrent.NamedThreadFactory;
import grakn.core.Grakn;
import grakn.core.common.exception.GraknException;
import grakn.core.concurrent.common.Executors;
import grakn.core.rocks... |
import java.io.IOException;
import java.io.ByteArrayInputStream;
import java.lang.System;
import java.net.InetAddress;
import java.net.DatagramSocket;
import java.net.DatagramPacket;
import java.util.Scanner;
import java.util.Timer;
import java.util.TimerTask;
import javax.sound.sampled.AudioFormat;
import javax.sound.... |
package ecologylab.bigsemantics.dpool;
import java.io.File;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.configuration.Configuration;
import org.apache.commons.configuration.ConfigurationException;
import org.eclipse.jetty.server.Handler;
import org.eclipse.jetty.servlet.ServletContextHandl... |
package com.jivesoftware.os.amza.client.http;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.jivesoftware.os.amza.api.filer.FilerInputStream;
import com.jivesoftware.os.amza.api.filer.UIO;
import com.jivesoftware.os.amza.api.partition.PartitionName;
import com.jivesoftware.os.amza.api.partition.Partitio... |
package pl.temomuko.autostoprace.ui.teamslocationsmap;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.os.Parcelable;
import android.support.annotation.NonNull;
import android.support.v7.widget.CardView;
import android.support.v7.widget.RecyclerView;
import android.util.L... |
// -*- mode: java; c-basic-offset: 2; -*-
package com.google.appinventor.client.editor.simple.components;
import static com.google.appinventor.client.Ode.MESSAGES;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import com.google.appinventor.client.editor.simple.SimpleEd... |
package org.jnosql.artemis.column;
import org.jnosql.artemis.ConfigurationReader;
import org.jnosql.artemis.ConfigurationSettingsUnit;
import org.jnosql.artemis.ConfigurationUnit;
import org.jnosql.artemis.reflection.Reflections;
import org.jnosql.diana.api.column.ColumnConfiguration;
import org.jnosql.diana.api.column... |
package org.intermine.bio.dataconversion;
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.apache.log4j.Logger;
import o... |
package org.intermine.bio.dataconversion;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import j... |
package org.intermine.bio.dataconversion;
import org.intermine.bio.dataconversion.ChadoSequenceProcessor.FeatureData;
import org.intermine.dataconversion.ItemsTestCase;
public class ChadoSequenceProcessorTest extends ItemsTestCase
{
public ChadoSequenceProcessorTest(String arg) {
super(arg);
}
publi... |
package org.project.neutrino.nfvo.catalogue.mano.common;
import org.project.neutrino.nfvo.catalogue.util.IdGenerator;
import javax.persistence.*;
@Entity
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
public class DeploymentFlavour {
/*ID of the deployment flavour.*/
@Id
protected String id = IdGe... |
package com.sensei.search.client.json;
import java.util.Arrays;
import org.json.JSONObject;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import com.sensei.search.client.json.req.Operator;
import com.sensei.search.client.json.req.Selection;
import com.sensei.search.cl... |
package eu.cloudopting.provision.digitalocean;
import java.lang.reflect.Field;
import java.security.KeyFactory;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProviderException;
import java.security.PrivateKey;
import java.s... |
package io.enmasse.barnabas.controller.cluster;
import io.enmasse.barnabas.controller.cluster.resources.KafkaResource;
import io.enmasse.barnabas.controller.cluster.resources.ZookeeperResource;
import io.fabric8.kubernetes.api.model.*;
import io.fabric8.kubernetes.api.model.extensions.StatefulSet;
import io.fabric8.kub... |
package org.intellij.sdk.view.pane;
import com.intellij.icons.AllIcons;
import com.intellij.ide.projectView.PresentationData;
import com.intellij.ide.projectView.ProjectView;
import com.intellij.ide.util.treeView.AbstractTreeNode;
import com.intellij.openapi.fileEditor.FileEditorManager;
import com.intellij.openapi.pro... |
package edu.duke.cabig.c3pr.dao;
import java.util.List;
import org.springframework.transaction.annotation.Transactional;
import edu.duke.cabig.c3pr.domain.PlannedNotification;
import edu.duke.cabig.c3pr.domain.RecipientScheduledNotification;
/**
* Hibernate implementation of ArmDao
*
* @see edu.duke.cabig.c3pr.dao.R... |
package edu.duke.cabig.c3pr.service;
import static edu.duke.cabig.c3pr.C3PRUseCase.IMPORT_STUDY;
import java.io.File;
import java.io.InputStream;
import java.util.List;
import edu.duke.cabig.c3pr.C3PRUseCases;
import edu.duke.cabig.c3pr.dao.HealthcareSiteDao;
import edu.duke.cabig.c3pr.dao.StudyDao;
import edu.duke.cab... |
package edu.duke.cabig.c3pr.web.admin;
import java.util.Date;
import java.util.List;
import java.util.Map;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.log4j.Logger;
import org.springframework.validation.BindExcepti... |
package org.chromium.content.browser.input;
import android.os.SystemClock;
import android.text.Editable;
import android.text.InputType;
import android.text.Selection;
import android.text.TextUtils;
import android.util.Log;
import android.view.KeyEvent;
import android.view.View;
import android.view.inputmethod.BaseInput... |
package com.thimbleware.jmemcached.storage.bytebuffer;
import com.thimbleware.jmemcached.Key;
import com.thimbleware.jmemcached.LocalCacheElement;
import com.thimbleware.jmemcached.storage.CacheStorage;
import org.jboss.netty.buffer.ChannelBuffer;
import org.jboss.netty.buffer.ChannelBuffers;
import java.io.IOException... |
package org.hisp.dhis.webapi.controller;
import static org.springframework.http.MediaType.APPLICATION_JSON_VALUE;
import java.io.IOException;
import java.util.Set;
import java.util.UUID;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.lang3.StringUtils;
import org.hisp.dhis.appmanager.AppManager... |
package com.baidu.disconf.web.service.config.service.impl;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import org.apache.commons.io.FileUtils;
import org.apache.com... |
package org.jboss.as.ejb3.deployment.processors;
import static java.security.AccessController.doPrivileged;
import java.net.URI;
import java.security.PrivilegedAction;
import org.jboss.as.ee.component.Attachments;
import org.jboss.as.ee.component.ComponentDescription;
import org.jboss.as.ee.component.EEModuleDescriptio... |
package it.xsemantics.example.fj.tests;
import it.xsemantics.example.fj.fj.Class;
import it.xsemantics.example.fj.fj.Field;
import it.xsemantics.example.fj.fj.FjFactory;
import it.xsemantics.example.fj.fj.Method;
import it.xsemantics.example.fj.fj.MethodBody;
import it.xsemantics.example.fj.fj.Parameter;
import it.xsem... |
package io.ghostwriter.openjdk.v7;
import io.ghostwriter.openjdk.v7.common.Instrumenter;
import io.ghostwriter.openjdk.v7.common.Logger;
import javax.annotation.processing.*;
import javax.lang.model.SourceVersion;
import javax.lang.model.element.Element;
import javax.lang.model.element.ElementKind;
import javax.lang.mo... |
package com.tinkerpop.gremlin.process.util;
import com.tinkerpop.gremlin.process.Traversal;
import com.tinkerpop.gremlin.structure.Element;
import com.tinkerpop.gremlin.structure.Property;
import com.tinkerpop.gremlin.structure.Vertex;
import com.tinkerpop.gremlin.structure.util.StringFactory;
import com.tinkerpop.grem... |
package org.glyptodon.guacamole.servlet;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.Reader;
import java.io.Writer;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.H... |
package org.jboss.as.console.client.administration.role;
import static org.jboss.as.console.client.administration.role.model.PrincipalType.USER;
import static org.jboss.dmr.client.ModelDescriptionConstants.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Stack;
import com.all... |
/**
* Class: SmsTransportMethod
* @author vijayu
* Desc: This class represents a transport method using SMS and the procedures for
* transmitting a TransportMessage using the SMS protocol. The defining feature
* of SMS is the character limit imposed for a given SMS message. To a... |
package com.koch.ambeth.security.xml;
import com.koch.ambeth.ioc.IInitializingModule;
import com.koch.ambeth.ioc.annotation.FrameworkModule;
import com.koch.ambeth.ioc.config.IBeanConfiguration;
import com.koch.ambeth.ioc.factory.IBeanContextFactory;
import com.koch.ambeth.security.privilege.transfer.TypePropertyPrivil... |
package com.cedricziel.idea.fluid.viewHelpers;
import com.cedricziel.idea.fluid.extensionPoints.ViewHelperProvider;
import com.cedricziel.idea.fluid.viewHelpers.model.ViewHelper;
import com.cedricziel.idea.fluid.viewHelpers.model.ViewHelperArgument;
import com.intellij.lang.xml.XMLLanguage;
import com.intellij.openapi.... |
package net.rhapso.koa.storage;
import java.util.LinkedHashMap;
import java.util.Map;
public class BlockAddressable implements Addressable {
private final Addressable underlying;
private final BlockSize blockSize;
private long position;
private final Map<BlockId, Block> blocks;
public BlockAddressab... |
package org.apache.markt.leaks.rmi;
import java.lang.ref.WeakReference;
import java.net.URL;
import java.net.URLClassLoader;
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;
import java.rmi.server.UnicastRemoteObject;
/**
* Demonstrates the correct way for a web application created RMI regis... |
package org.biojava.bio.symbol;
import java.util.*;
import java.io.*;
import org.biojava.bio.*;
import org.biojava.bio.seq.*;
/**
* An n-th order view of another SymbolList.
* <P>
* In practice, what this means is that you can view a DNA sequence into an
* overlapping dinucleotide sequence without having to do any ... |
/*
* CollectionStore.java - Jun 19, 2003
*
* @author wolf
*/
package org.exist.storage.index;
import org.exist.collections.Collection;
import org.exist.dom.persistent.DocumentImpl;
import org.exist.storage.BrokerPool;
import org.exist.storage.btree.DBException;
import org.exist.storage.btree.Value;
import org.exist... |
package org.griphyn.vdl.karajan.lib;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.S... |
package org.apache.lenya.util;
import java.util.Date;
import java.util.HashMap;
import java.util.SortedMap;
import java.util.TreeMap;
import org.apache.log4j.Category;
/**
* A map with a maximum capacity. When the map is full, the oldest entry is removed.
*
* @author <a href="mailto:andreas@apache.org"/>
*/
public ... |
package org.jitsi.android.gui.chat;
import java.text.*;
import java.util.*;
import android.app.*;
import android.content.*;
import android.graphics.drawable.*;
import android.os.*;
import android.text.*;
import android.text.ClipboardManager;
import android.text.method.*;
import android.view.*;
import android.widget.*;
... |
package org.apache.xmlrpc;
import java.io.*;
import java.util.*;
import java.lang.reflect.*;
/**
* A multithreaded, reusable XML-RPC server object. The name may be misleading
* because this does not open any server sockets. Instead it is fed by passing
* an XML-RPC input stream to the execute method. If you want to ... |
package org.opencms.ui.editors;
import org.opencms.file.CmsObject;
import org.opencms.file.CmsResource;
import org.opencms.file.types.I_CmsResourceType;
import org.opencms.i18n.CmsEncoder;
import org.opencms.main.CmsException;
import org.opencms.main.CmsLog;
import org.opencms.main.OpenCms;
import org.opencms.ui.A_CmsU... |
package org.apache.xmlrpc;
import java.io.*;
import java.util.*;
import java.lang.reflect.*;
/**
* A multithreaded, reusable XML-RPC server object. The name may be misleading
* because this does not open any server sockets. Instead it is fed by passing
* an XML-RPC input stream to the execute method. If you want to ... |
package org.osjava.norbert;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/**
* Contains a series of Rules. It then runs a path against these
* to decide if it is allowed or not.
*/
// TODO: Make this package private?
class RulesEngine {
private List rules;
public RulesEngine... |
package eg.ui;
import java.awt.Color;
import java.awt.BorderLayout;
import java.awt.Font;
import java.awt.print.*;
import java.awt.event.FocusAdapter;
import java.awt.event.FocusEvent;
import java.text.MessageFormat;
import javax.swing.JTextPane;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.s... |
package element;
import interaction.Actions;
import interaction.Deplacements;
import interfaceGraphique.VueElement;
import java.rmi.RemoteException;
import java.util.Hashtable;
import utilitaires.Calculs;
public class Maitre extends Personnage {
private static final long serialVersionUID = 1L;
public Maitre(Str... |
package pitt.search.semanticvectors;
import java.lang.Integer;
import java.lang.Math;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.Enumeration;
import java.util.Random;
import pitt.search.semanticvectors.ObjectVector;
/**
* This class provides standard vector methods, e.g., cosine measure,... |
package luggage.controllers;
import java.net.URL;
import java.util.List;
import java.util.ResourceBundle;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
... |
package gngs.coverage;
import htsjdk.samtools.SAMRecord;
public class ReadRange {
public ReadRange(SAMRecord r) {
this.referenceIndex = r.getReferenceIndex();
this.alignmentStart = r.getAlignmentStart();
int alignmentEnd = r.getAlignmentEnd();
final int mateStart = r.getMateAlignment... |
package SW9.model_canvas;
import SW9.Keybind;
import SW9.KeyboardTracker;
import SW9.MouseTracker;
import SW9.utility.DropShadowHelper;
import javafx.animation.Animation;
import javafx.animation.Transition;
import javafx.event.EventHandler;
import javafx.scene.input.KeyCode;
import javafx.scene.input.KeyCodeCombination... |
package bt.net;
import bt.BtException;
import bt.service.IConfigurationService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.net.SocketAddress;
import java.nio.channels.ServerSocketChannel;
import java.nio.channels.SocketChannel;
import java.util.HashSet;
import java.... |
/**
* Various useful statistics utilities
*
* @author Jaroslav Fowkes
*/
package codemining.util;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import com.google.common.base.Optional;
import com.google.common.math.DoubleMath;
publ... |
package com.crawljax.core;
import java.util.ArrayList;
import java.util.List;
import net.jcip.annotations.GuardedBy;
import org.apache.log4j.Logger;
import com.crawljax.browser.EmbeddedBrowser;
import com.crawljax.core.configuration.CrawljaxConfigurationReader;
import com.crawljax.core.plugin.CrawljaxPluginsUtil;
impor... |
package com.crawljax.core;
import com.crawljax.browser.EmbeddedBrowser;
import com.crawljax.core.configuration.CrawljaxConfigurationReader;
import com.crawljax.core.plugin.CrawljaxPluginsUtil;
import com.crawljax.core.state.Eventable;
import com.crawljax.core.state.Eventable.EventType;
import com.crawljax.core.state.Id... |
package com.gildedrose;
class GildedRose {
private static final int QUALITY_FLOOR = 0;
private static final int QUALITY_CEILING = 50;
private static final String AGED_BRIE = "Aged Brie";
private static final String BACKSTAGE_PASSES_TO_A_TAFKAL80ETC_CONCERT = "Backstage passes to a TAFKAL80ETC concert";
privat... |
package com.hunantv.fw;
import java.io.InputStream;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.Part;
import com.hunantv.fw.utils.StringUtil;
import com.hunantv.fw.utils.WebU... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platfroms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platfroms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platforms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platfroms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platforms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platfroms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platfroms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
package com.ninty.runtime;
public class NiFrame {
NiFrame prevFrame;
LocalVars localVars;
OperandStack operandStack;
public NiFrame(int localVarsSize, int operandStackSize){
localVars = new LocalVars(localVarsSize);
operandStack = new OperandStack(operandStackSize);
}
} |
package com.podio;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.Locale;
import java.util.TimeZone;
import org.codehaus.jackson.jaxrs.JacksonJsonProvider;
import org.codehaus.jackson.map.DeserializationConfig.Feature;
import org.codehaus.jackson.map.ObjectMapper;
import org.codehaus.jackson.... |
package com.stripe.model;
import com.stripe.exception.APIConnectionException;
import com.stripe.exception.APIException;
import com.stripe.exception.AuthenticationException;
import com.stripe.exception.CardException;
import com.stripe.exception.InvalidRequestException;
import com.stripe.net.APIResource;
import com.strip... |
package controllers;
import com.google.gson.JsonObject;
import org.jets3t.service.S3Service;
import org.jets3t.service.S3ServiceException;
import org.jets3t.service.impl.rest.httpclient.RestS3Service;
import org.jets3t.service.model.S3Bucket;
import org.jets3t.service.model.S3Object;
import org.jets3t.service.security.... |
package flora.core.gui;
import flora.core.ConstantsFLORA;
import flora.core.block.TileInfuser;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.util.ResourceLocation;
import net.minecraftfor... |
package fxlauncher;
import com.sun.javafx.application.ParametersImpl;
import javax.xml.bind.JAXB;
import java.io.IOException;
import java.net.URI;
import java.nio.file.*;
import java.nio.file.attribute.BasicFileAttributes;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
public class CreateManif... |
package graphql.schema;
import graphql.Internal;
import graphql.introspection.Introspection;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
@Internal
public class SchemaUtil {
private static final TypeTraverser TRAVERSER = new TypeTraverser()... |
package hackerrank;
import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;
public class BeautifulPairs {
private static int beautifulPairs(int[] a, int[] b) {
Map<Integer, Integer> countMap = new HashMap<>();
for (int i = 0; i < a.length; i++) {
if (!countMap.containsK... |
package hudson.plugins.git;
import hudson.*;
import hudson.FilePath.FileCallable;
import hudson.matrix.MatrixBuild;
import hudson.matrix.MatrixRun;
import hudson.model.*;
import static hudson.Util.fixEmptyAndTrim;
import hudson.plugins.git.browser.GitRepositoryBrowser;
import hudson.plugins.git.browser.GitWeb;
import h... |
package replicaset;
import java.net.UnknownHostException;
import org.bson.Document;
import com.mongodb.*;
import com.mongodb.client.*;
/**
* Hello world!
*
*/
public class Write
{
public static void main( String[] args ) throws UnknownHostException, InterruptedException
{
@SuppressWarnings("resource"... |
package hudson.plugins.git;
import com.google.common.collect.Iterables;
import edu.umd.cs.findbugs.annotations.CheckForNull;
import edu.umd.cs.findbugs.annotations.NonNull;
import hudson.*;
import hudson.init.Initializer;
import hudson.matrix.MatrixBuild;
import hudson.matrix.MatrixRun;
import hudson.model.*;
import hu... |
package info.tehnut.xtones;
import com.google.common.base.Preconditions;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
import net.min... |
package innovimax.mixthem;
import innovimax.mixthem.arguments.*;
import innovimax.mixthem.exceptions.*;
import innovimax.mixthem.interfaces.*;
import innovimax.mixthem.io.*;
import java.io.File;
import java.io.IOException;
import java.io.OutputStream;
/**
* <p>Mix files together using variety of rules.</p>
* <p>Here ar... |
package joptsimple;
import java.util.Collection;
/**
* Trains the option parser. This interface aids integration that disposes declaration of options but not actual
* command-line parsing.
*
* Typical use is for another class to implement {@code OptionDeclarer} as a facade, forwarding calls to an
* {@code OptionPa... |
package mho.qbar.objects;
import mho.wheels.math.MathUtils;
import mho.wheels.misc.BigDecimalUtils;
import mho.wheels.misc.FloatUtils;
import mho.wheels.misc.Readers;
import mho.wheels.ordering.Ordering;
import mho.wheels.structures.Pair;
import mho.wheels.structures.Triple;
import org.jetbrains.annotations.NotNull;
im... |
package mll.service;
import java.io.BufferedReader;
import java.util.Date;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import mll.beans.Invite;
import mll.dao.InviteDAO;
public class InviteServi... |
package se.raddo.raddose3D.tests;
import static org.testng.Assert.*;
import org.testng.annotations.*;
import se.raddo.raddose3D.Beam;
import se.raddo.raddose3D.Crystal;
import se.raddo.raddose3D.Experiment;
import se.raddo.raddose3D.ExperimentDummy;
import se.raddo.raddose3D.Output;
import se.raddo.raddose3D.Wedge;
imp... |
package org.entitymatcher;
import static org.entitymatcher.Builder.Mode.GROUPBY;
import static org.entitymatcher.Builder.Mode.ORDERBY;
import static org.entitymatcher.Builder.Mode.SELECT;
import static org.entitymatcher.Builder.Mode.STATEMENTS;
import static org.entitymatcher.Builder.Order.ASC;
import static org.entity... |
package org.iiitb.os.os_proj;
import java.util.Date;
public class File {
private long id;
private String name;
private int filetypeId;
private Date timestamp;
private Date date_created;
private Date date_updated;
private Date user_created;
private Date user_updated;
private String pa... |
package org.jenetics.util;
import static org.jenetics.util.Validator.nonNull;
import java.io.Closeable;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInputStream;
im... |
package org.ndexbio.sync;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import java.util.logging.Logger;
... |
package otognan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.annotation.web.builders.Http... |
package seedu.doist.ui;
import java.util.logging.Logger;
import javafx.fxml.FXML;
import javafx.scene.control.SplitPane;
import javafx.scene.control.TextField;
import javafx.scene.input.KeyCode;
import javafx.scene.input.KeyEvent;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.Region;
import seedu.do... |
package ui.issuepanel;
import static ui.components.KeyboardShortcuts.DEFAULT_SIZE_WINDOW;
import static ui.components.KeyboardShortcuts.JUMP_TO_FILTER_BOX;
import static ui.components.KeyboardShortcuts.MAXIMIZE_WINDOW;
import static ui.components.KeyboardShortcuts.MINIMIZE_WINDOW;
import static ui.components.KeyboardSh... |
package viewer;
import mpicbg.spim.data.SequenceDescription;
import net.imglib2.RandomAccessible;
import net.imglib2.RandomAccessibleInterval;
import net.imglib2.RealRandomAccessible;
import net.imglib2.interpolation.InterpolatorFactory;
import net.imglib2.interpolation.randomaccess.NLinearInterpolatorFactory;
import n... |
package mondrian.olap.fun;
import mondrian.olap.*;
import mondrian.olap.type.*;
import mondrian.olap.type.DimensionType;
import mondrian.resource.MondrianResource;
import java.util.*;
import java.io.PrintWriter;
/**
* Abstract implementation of {@link FunTable}.
*
* <p>The derived class must implement {@link #define... |
package speedtyper.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import speedtyper.dao.RoomDao;
import speedtyper.model.RoomModel;
import speedtyper.model... |
package com.remondis.remap;
import static org.assertj.core.api.Assertions.assertThatThrownBy;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Iterator;
import java.util... |
package com.remondis.remap;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import java.util.Arrays;
import java.util.List;
import org.junit.Test;
import com.remondis.remap.inheritance.Child;
import com.remondis.remap.inheritance.ChildR... |
package control;
import data.ScriptingProject;
import gui.centerarea.CameraShotBlock;
import gui.root.RootPane;
import javafx.application.Platform;
import javafx.stage.Stage;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Matchers;
import org.mockito.Mockito;
import org.powermock.core.classloader.an... |
package guitests;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import java.io.File;
import java.util.List;
import java.util.Map;
import javafx.scene.control.ComboBox;
import javafx.scene.control.TextField;
import javafx.scene.input.KeyCode;
import org.eclipse.egit.github.core.Reposi... |
package hudson.plugins.git;
import com.cloudbees.plugins.credentials.Credentials;
import com.cloudbees.plugins.credentials.CredentialsProvider;
import com.cloudbees.plugins.credentials.CredentialsScope;
import com.cloudbees.plugins.credentials.CredentialsStore;
import com.cloudbees.plugins.credentials.SystemCredentials... |
package org.cojen.tupl;
import java.io.IOException;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.TimeUnit;
import org.junit.*;
import static org.junit.Assert.*;
import org.cojen.tupl.ext.RecoveryHandler;
import static org.cojen.tupl.TestUtils.*;... |
package org.jsoup.select;
import org.jsoup.Jsoup;
import org.jsoup.MultiLocaleRule;
import org.jsoup.MultiLocaleRule.MultiLocaleTest;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.parser.Parser;
import org.junit.Rule;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Te... |
package test.assertion;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.testng.asserts.IAssert;
import org.testng.asserts.SoftAssert;
import java.util.ArrayList;
import java.util.Collection;
public class SoftAssertTest {
@Test
public void testOnSucceedAndFailureCalled() throws Exception {
... |
package wepa.wepa.selenium;
import org.fluentlenium.adapter.FluentTest;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;
import org.junit.runner.RunWith;
import org.openqa.selenium.WebDriver;
import org.o... |
// jTDS JDBC Driver for Microsoft SQL Server
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// This library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// You shoul... |
package net.sf.jaer.graphics;
import java.awt.Color;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.util.HashMap;
import java.util.logging.Logger;
import javax.swing.JButton;
import net.sf.jaer.chip.AEChip;
import net.sf.jaer.event.BasicEvent;
import net.sf.jaer.event.Event... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.