answer stringlengths 17 10.2M |
|---|
package org.realityforge.jeo.geolatte.jpa.eclipselink;
import java.lang.reflect.Field;
import java.sql.SQLException;
import org.eclipse.persistence.internal.helper.DatabaseField;
import org.eclipse.persistence.mappings.DatabaseMapping;
import org.eclipse.persistence.mappings.DirectCollectionMapping;
import org.eclipse.... |
package org.sagebionetworks.web.client.widget.entity.download;
import java.util.List;
import org.sagebionetworks.repo.model.Entity;
import org.sagebionetworks.repo.model.FileEntity;
import org.sagebionetworks.repo.model.attachment.UploadResult;
import org.sagebionetworks.repo.model.attachment.UploadStatus;
import org.s... |
package com.vaadin.terminal.gwt.client.ui;
import com.google.gwt.core.client.GWT;
import com.google.gwt.core.client.Scheduler;
import com.google.gwt.dom.client.DivElement;
import com.google.gwt.dom.client.Document;
import com.google.gwt.dom.client.FormElement;
import com.google.gwt.event.dom.client.ClickEvent;
import c... |
package org.spongepowered.api.util.command.dispatcher;
import com.google.common.base.Function;
import com.google.common.base.Functions;
import com.google.common.base.Optional;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Maps;
import org.spongepowered.api.util.command.CommandCallable;... |
package java8_in_action.chapter5;
import java.util.Arrays;
import java.util.Comparator;
import java.util.List;
import java.util.function.LongSupplier;
import java.util.stream.*;
public class Exercise5_5_1 {
public static void main(String... args) {
System.out.println("exercise 5.5.1 starting...");
/... |
package com.vav.CTCI.Chapter1;
import java.util.Arrays;
import java.util.Enumeration;
import java.util.Hashtable;
public class QX_RemoveDuplicates {
public static void main(String arg[]){
System.out.println(removeDuplicatesBF(new String("testeddbybxx")));
Enumeration<Character> en = removeDuplicates... |
package com.frc4343.robot2;
import edu.wpi.first.wpilibj.Compressor;
import edu.wpi.first.wpilibj.DigitalInput;
import edu.wpi.first.wpilibj.DriverStationLCD.Line;
import edu.wpi.first.wpilibj.IterativeRobot;
import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.Relay;
import edu.wpi.first.wpilibj.RobotDr... |
package me.gowdru.notes.sort;
import java.util.Comparator;
/**
* Defines contract for Sorter algorithm implementations
*/
public interface Sorter<T> {
/**
* sorts {@code items}i in an array by comparing them using {@code comparator}
* @param items items to be sorted
* @param comparator comparison a... |
package cs195n;
import java.awt.Graphics2D;
import java.awt.event.*;
public abstract class CS195NFrontEnd {
/**
* Called at a regular interval set by {@link #setTickFrequency(long)}. Use to update any state
* that changes over time.
*
* @param nanosSincePreviousTick approximate number of nano... |
package org.helioviewer.jhv;
import java.awt.Desktop;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.Arrays;
import java.util.concurrent.ExecutorService;
import java.util.jar.Attributes;
... |
package net.java.sip.communicator.impl.neomedia.codec.audio.speex;
import javax.media.*;
import javax.media.format.*;
import net.java.sip.communicator.impl.neomedia.codec.*;
/**
* @author Lubomir Marinov
*/
public class SpeexResampler
extends AbstractCodecExt
{
/**
* The list of <tt>Format</tt>s of audio... |
package net.java.sip.communicator.plugin.generalconfig;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.util.*;
import javax.swing.*;
import javax.swing.event.*;
import net.java.sip.communicator.plugin.generalconfig.autoaway.*;
import net.java.sip.communicator.service.gui.*;
import net.java.si... |
/*
* @author <a href="mailto:novotny@aei.mpg.de">Jason Novotny</a>
* @version $Id$
*/
package org.gridlab.gridsphere.services.registry.impl;
import org.gridlab.gridsphere.portlet.PortletLog;
import org.gridlab.gridsphere.portlet.User;
import org.gridlab.gridsphere.portlet.service.PortletServiceUnavailableException;
... |
package org.uct.cs.simplify.splitter.memberships;
import gnu.trove.map.TIntObjectMap;
import org.uct.cs.simplify.ply.reader.MemoryMappedVertexReader;
import org.uct.cs.simplify.ply.reader.PLYReader;
import org.uct.cs.simplify.ply.reader.Vertex;
import org.uct.cs.simplify.splitter.SplittingAxis;
import org.uct.cs.simpli... |
package com.psliusar.layers;
import android.animation.Animator;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.os.Parcelable;
import android.support.annotation.IdRes;
import android.support.annotation.LayoutRes;
import android.support.annotation.NonNull;
import and... |
package com.infm.readit.essential;
import android.util.Pair;
import com.infm.readit.readable.Readable;
import com.infm.readit.util.SettingsBundle;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
i... |
package grammar;
import java.io.IOException;
import java.util.*;
import helper.SyntaxHelper;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import token.*;
public class Grammar {
// Logger
private Logger l = LogManager.getFormatterLogger(getClass());
// Variables
pri... |
package com.dumbster.smtp;
import com.dumbster.smtp.action.*;
import org.junit.*;
import java.util.Iterator;
import com.dumbster.smtp.MailMessage;
import com.dumbster.smtp.mailstores.EMLMailStore;
import com.dumbster.smtp.mailstores.RollingMailStore;
import com.dumbster.smtp.Response;
import static org.junit.Assert.*;
... |
package com.dumbster.smtp;
import com.dumbster.smtp.SmtpServer;
import com.dumbster.smtp.action.*;
import com.dumbster.smtp.eml.*;
import org.junit.*;
import java.util.Iterator;
import com.dumbster.smtp.MailMessage;
import com.dumbster.smtp.mailstores.EMLMailStore;
import com.dumbster.smtp.mailstores.RollingMailStore;
... |
package VASSAL.counters;
import java.awt.AlphaComposite;
import java.awt.Color;
import java.awt.Component;
import java.awt.Composite;
import java.awt.Frame;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.Rectangle;
import java.awt.Shape;
import java.awt.geom.AffineTransform... |
package ui;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.io.File;
import java.util.ArrayLi... |
package structure.impl;
import monitoring.impl.configs.DetConfig;
import structure.intf.Binding;
import structure.intf.Transition;
/**
* This class represents a Quantified Event Automaton (QEA) with the following
* characteristics:
* <ul>
* <li>There is one quantified variable
* <li>It can contain any number of fr... |
package com.planet_ink.coffee_mud.commands;
import com.planet_ink.coffee_mud.utils.*;
import com.planet_ink.coffee_mud.commands.sysop.CreateEdit;
import com.planet_ink.coffee_mud.commands.sysop.SysopItemUsage;
import com.planet_ink.coffee_mud.interfaces.*;
import com.planet_ink.coffee_mud.common.*;
import java.util.*;
... |
package org.opencms.ade.configuration;
import org.opencms.ade.detailpage.CmsDetailPageInfo;
import org.opencms.file.CmsObject;
import org.opencms.file.CmsResource;
import org.opencms.file.CmsResourceFilter;
import org.opencms.file.CmsUser;
import org.opencms.file.CmsVfsResourceAlreadyExistsException;
import org.opencms... |
package pt.fccn.sobre.arquivo.tests;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.io.FileNotFoundException;
import java.io.IOException;
import org.junit.Test;
import pt.fccn.saw.selenium.Retry;
import pt.fccn.saw.selenium.WebDriverTestBaseParalell;
import pt.fccn.sobre.arq... |
package de.eightbitboy.ecorealms.map;
public class Map {
private int sizeX;
private int sizeY;
private MapEntity[] entities;
public Map(int sizeX, int sizeY) {
this.sizeX = sizeX;
this.sizeY = sizeY;
initialize();
}
public int getSizeX() {
return this.sizeX;
}... |
package com.epam.ta.reportportal.core.project;
import com.epam.ta.reportportal.auth.AuthConstants;
import com.epam.ta.reportportal.database.dao.UserRepository;
import com.epam.ta.reportportal.database.entity.user.User;
import com.epam.ta.reportportal.database.entity.user.UserType;
import com.epam.ta.reportportal.databa... |
package com.salesforce.storm.spout.sideline.kafka;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;
import com.salesforce.storm.spout.sideline.persistence.InMemoryPersistenceManager;
import com.salesforce.storm.spout.sideline.persistence.PersistenceMa... |
// DataTools.java
package loci.common;
import java.io.ByteArrayInputStream;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.File;
import java.io.IOException;
import java.text.FieldPosition;
import java.text.ParsePosition;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.xml.par... |
package guitests;
import static org.junit.Assert.assertTrue;
import static seedu.geekeep.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import org.junit.Test;
import guitests.guihandles.PersonCardHandle;
import seedu.geekeep.commons.core.Messages;
import seedu.geekeep.logic.commands.EditCommand;
import seedu.gee... |
package loci.common;
import java.text.FieldPosition;
import java.text.ParsePosition;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.TimeZone;
public final class DateTools {
// -- Constants --
/** Timestamp formats. */
public static final int UNIX = 0; // January 1, 1970
public stati... |
package guitests;
import static org.junit.Assert.assertTrue;
import static seedu.taskboss.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import org.junit.Test;
import guitests.guihandles.TaskCardHandle;
import seedu.taskboss.commons.core.Messages;
import seedu.taskboss.logic.commands.EditCommand;
import seedu.ta... |
package guitests;
import org.junit.Test;
import seedu.address.commons.core.Messages;
import seedu.address.testutil.TestTask;
import static org.junit.Assert.assertTrue;
public class FindCommandTest extends ToDoListGuiTest {
@Test
public void find() {
assertFindResult("find Mark"); //no results
as... |
package guitests;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import seedu.address.logic.commands.ClearCommand;
import seedu.address.logic.commands.DeleteCommand;
import seedu.address.logic.commands.MarkCommand;
import seedu.address.logic.commands.RedoCommand;
import seedu.address.logic.commands.U... |
package pl.mprzybylak.presentation.rxjavaquick;
import io.reactivex.Observable;
import org.assertj.core.api.Assertions;
import org.assertj.core.api.Condition;
import org.junit.Test;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;
import stati... |
package objektwerks;
import java.util.Arrays;
import java.util.NoSuchElementException;
import java.util.Optional;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
class OptionalTest {
@Test void emptyTest() {
var optional = Optional.<Integer>empty();
assert(option... |
package test.factory;
import static org.testng.Assert.assertFalse;
import org.testng.Assert;
import org.testng.annotations.AfterSuite;
import org.testng.annotations.Factory;
import org.testng.annotations.Parameters;
public class FactoryTest {
static boolean m_invoked = false;
@Parameters({ "factory-param" })
@Fac... |
package io.spine.server.trace.stackdriver;
import com.google.devtools.cloudtrace.v2.AttributeValue;
import com.google.devtools.cloudtrace.v2.Span;
import com.google.devtools.cloudtrace.v2.TruncatableString;
import com.google.protobuf.Any;
import com.google.protobuf.Timestamp;
import io.spine.base.Time;
import io.spine.... |
package com.github.davidmoten.fsm.runtime;
public final class Create implements Event<Void> {
private static final Create instance = new Create();
public static Create instance() {
return instance;
}
} |
package timeBench.test;
import java.util.Iterator;
import prefuse.Visualization;
import prefuse.data.Graph;
import prefuse.data.Node;
import prefuse.data.Table;
import prefuse.util.collections.IntIterator;
import prefuse.visual.VisualGraph;
import timeBench.data.TemporalDataException;
import timeBench.data.relational.T... |
package hudson.maven;
import hudson.FilePath;
import hudson.Launcher;
import hudson.maven.reporters.MavenFingerprinter;
import hudson.model.BuildListener;
import hudson.tasks.LogRotator;
import hudson.tasks.Maven.MavenInstallation;
import java.io.File;
import java.io.IOException;
import java.util.Collection;
import org... |
package edu.northwestern.bioinformatics.studycalendar.web;
import java.util.Date;
import java.sql.Timestamp;
import edu.northwestern.bioinformatics.studycalendar.domain.auditing.LoginAudit;
import edu.northwestern.bioinformatics.studycalendar.dao.auditing.LoginAuditDao;
import edu.northwestern.bioinformatics.studycalen... |
package de.hs_mannheim.IB.SS15.OOT.test;
import static org.junit.Assert.*;
import java.util.ArrayList;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import de.hs_mannheim.IB.SS15.OOT.Subject;
import de.hs_mannheim.IB.SS15.OOT.Exceptions.SameSubjectException;
import de.hs_mannheim.IB.SS15... |
package de.jungblut.classification.eval;
import java.text.NumberFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorCompletionService;
import java.util.concurrent.Exe... |
package de.lmu.ifi.dbs.varianceanalysis;
import de.lmu.ifi.dbs.data.RealVector;
import de.lmu.ifi.dbs.database.Database;
import de.lmu.ifi.dbs.math.linearalgebra.Matrix;
import de.lmu.ifi.dbs.utilities.Util;
/**
* Computes the principal components for vector objects of a given database.
*
* @author Elke Achtert (<a ... |
package de.uxnr.tsoexpert.game.trade;
import de.uxnr.tsoexpert.game.player.Player;
public class TradeRequest implements Comparable<TradeRequest> {
private final String bid;
private final int bidsize;
private final String demand;
private final int demandsize;
private final Player player;
private ... |
package uk.org.cinquin.mutinack;
import java.io.File;
import java.io.IOException;
import java.io.Serializable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import j... |
package rtdc.web.server.servlet;
import org.hibernate.Session;
import org.hibernate.Transaction;
import org.hibernate.criterion.Restrictions;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import rtdc.core.event.ActionCompleteEvent;
import rtdc.core.event.ErrorEvent;
import rtdc.core.event.FetchUserEvent;
imp... |
package info.xiaomo.thymeleaf.controller;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class ThymeleafController {
@RequestMapping("/")
public String hello(ModelMap map) {
map.p... |
package cz.hobrasoft.pdfmu;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import cz.hobrasoft.pdfmu.operation.Operation;
import cz.hobrasoft.pdfmu.operation.OperationAttach;
import cz.hobrasoft.pdfmu.operation.OperationException;
import cz.hobrasoft.pdfm... |
package toothpick.compiler.factory;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.annotation.processing.RoundEnvironment;
import javax.annotation.processing.SupportedAnnotationTypes;
import javax.annotation.processing.Supporte... |
package uk.ac.ox.ndm.grails.utils.validator;
import com.google.common.base.Strings;
/**
* @since 14/08/2015
*/
public class NhsNumberValidator implements Validator<String> {
public Object isValid(String nhsNumberStr) {
if (!Strings.isNullOrEmpty(nhsNumberStr)) {
nhsNumberStr = nhsNumberStr.rep... |
package org.xcolab.view.config.rewrite.rules;
import org.ocpsoft.rewrite.config.ConfigurationBuilder;
import org.ocpsoft.rewrite.config.Direction;
import org.ocpsoft.rewrite.servlet.config.Forward;
import org.ocpsoft.rewrite.servlet.config.Path;
import org.ocpsoft.rewrite.servlet.config.rule.Join;
public class Proposal... |
package org.project.openbaton.common.vnfm_sdk.utils;
import org.project.openbaton.catalogue.mano.common.AutoScalePolicy;
import org.project.openbaton.catalogue.mano.common.ConnectionPoint;
import org.project.openbaton.catalogue.mano.common.DeploymentFlavour;
import org.project.openbaton.catalogue.mano.common.LifecycleE... |
package org.commcare.suite.model;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.util.Calendar;
import java.util.Date;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.Vector;
import org.javarosa.core.model.condition.EvaluationContext;
... |
package tech.pinto;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import java.util.Optional;
import java.util.TreeSet;
import java.util.function.Consumer;
import java.util.function.Predicate;
import java.util.stream.Collectors;
public class Indexer implements C... |
package org.knowm.xchange.hitbtc.v2;
import java.io.IOException;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.FormParam;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Pa... |
package org.knowm.xchart.internal.chartpart;
import java.awt.*;
import java.awt.font.FontRenderContext;
import java.awt.font.TextLayout;
import java.awt.geom.AffineTransform;
import java.awt.geom.Rectangle2D;
import java.math.BigDecimal;
import java.math.MathContext;
import java.math.RoundingMode;
import java.text.Form... |
package be.msec.smartcard;
import java.util.Arrays;
//import be.msec.client.RandomData;
//import be.msec.client.bte;
//import java.security.KeyPair;
//import java.security.KeyPairGenerator;
//import java.security.PrivateKey;
//import java.security.PublicKey;
//import javax.crypto.Cipher;
import javacard.framework.APDU;... |
package org.yamcs.tctm;
import java.io.EOFException;
import java.io.IOException;
import java.net.ConnectException;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.net.Socket;
import org.yamcs.ConfigurationException;
import org.yamcs.TmPacket;
import org.yamcs.YConfiguration;
import org.yamcs... |
package org.yamcs.usoctools;
import java.io.PrintStream;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import org.yamcs.ConfigurationException;
import org.yamcs.YConfiguration;
import o... |
package org.yamcs.simulation;
import org.junit.Test;
import org.yamcs.ParameterValue;
import org.yamcs.protobuf.Pvalue;
import org.yamcs.protobuf.Pvalue.MonitoringResult;
import org.yamcs.simulation.generated.ObjectFactory;
import org.yamcs.simulation.generated.PpSimulation;
import org.yamcs.tctm.PpListener;
import jav... |
package ca.six.kjdemo.proxy.mockito.basic;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
interface IGreet {
void sayHello(String name);
}
class GreetImpl implements IGreet {
@Override
public void sayHello(String name) {
System.out.printl... |
package suadb.record;
import suadb.file.Chunk;
import suadb.tx.Transaction;
import java.util.ArrayList;
import java.util.List;
/**
* Manages a suadb.file of records.
* There are methods for iterating through the records
* and accessing their contents.
* @author Edward Sciore
*/
public class CellFile {
private ... |
package com.orm.query;
import org.junit.Test;
import static junit.framework.Assert.assertEquals;
public class SelectTest {
@Test
public void testMergeCondition(){
Select where = Select.from(TestRecord.class).where(Condition.prop("test").eq("satya"));
assertEquals("(test = ? )", where.getWhereCon... |
package com.bitgirder.log;
import com.bitgirder.validation.Inputs;
import com.bitgirder.validation.State;
import java.io.PrintStream;
public
final
class CodeLoggers
{
private static Inputs inputs = new Inputs();
private static State state = new State();
private static CodeLogger defl = createStreamLogger( S... |
package florian_haas.lucas.util;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.*;
import java.math.BigDecimal;
import java.util.*;
import java.util.List;
import java.util.function.*;
import java.util.logging.*;
import javax.enterprise.inject.spi.CDI;
import javax.faces.application.FacesMessage;... |
/**
* Exercise the JniRdma native methods and collect micro-benchmarking info.
*
* Author(s):
* azq @qzan9 anzhongqi@ncic.ac.cn
*/
package ac.ncic.syssw.jni;
import java.io.*;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.util.Random;
import java.util.Properties;
import java.util.Date;
imp... |
package almost.functional;
import almost.functional.utils.Iterables;
/**
* Utility operations on predicates.
*/
public class Predicates {
private Predicates(){}
/**
* Returns a predicate that tests if two arguments are equal according to Objects.equals(Object, Object).
* @param targetRef the object ... |
package browserview;
import java.awt.*;
import java.io.*;
import java.util.concurrent.Executor;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang3.StringEscapeUtils;
import org.apache.logging.log4j.LogManager;
import ... |
package cat.nyaa.nyaautils;
import cat.nyaa.nyaautils.commandwarpper.Teleport;
import cat.nyaa.nyaautils.dropprotect.DropProtectListener;
import cat.nyaa.nyaautils.elytra.ElytraEnhanceListener;
import cat.nyaa.nyaautils.elytra.FuelManager;
import cat.nyaa.nyaautils.exhibition.ExhibitionListener;
import cat.nyaa.nyaauti... |
package cn.janescott;
import cn.janescott.common.Constants;
import cn.janescott.common.MyFilter;
import org.jasypt.encryption.StringEncryptor;
import org.jasypt.encryption.pbe.PooledPBEStringEncryptor;
import org.jasypt.encryption.pbe.config.SimpleStringPBEConfig;
import org.mybatis.spring.annotation.MapperScan;
import... |
package cn.net.communion.core;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import java.time.temporal.ChronoUnit;
import java.util.HashMap;
import java.util.Map;
import java.util.Random;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import cn.net.communion.helper.FileHelper;
... |
package com.ajlopez.templie;
import java.util.ArrayList;
import java.util.List;
class Compiler {
private String text;
private int length;
private List<Step> steps = new ArrayList<Step>();
private int from = 0;
Compiler(String text) {
this.text = text;
this.length = text.length();
... |
package Controladores;
import Controladores.exceptions.IllegalOrphanException;
import Controladores.exceptions.NonexistentEntityException;
import Controladores.exceptions.PreexistingEntityException;
import Negocio.Cuenta;
import java.io.Serializable;
import javax.persistence.Query;
import javax.persistence.EntityNotFou... |
package com.almasb.fxgl.util;
import com.almasb.fxgl.logging.Logger;
import com.almasb.fxgl.logging.SystemLogger;
import java.util.ResourceBundle;
/**
* Holds version info about various frameworks used in FXGL.
*
* @author Almas Baimagambetov (AlmasB) (almaslvl@gmail.com)
*/
public final class Version {
private... |
package com.aphyr.riemann.client;
import java.io.*;
import java.net.InetSocketAddress;
import java.security.cert.*;
import java.security.Key;
import java.security.KeyFactory;
import java.security.KeyManagementException;
import java.security.KeyPair;
import java.security.KeyStore;
import java.security.KeyStoreException;... |
package com.techtalk4geeks.blogspot;
public class Bean extends Item
{
public Bean(String name)
{
super(name);
}
} |
package com.bio4j.model;
import com.bio4j.angulillos.*;
import com.bio4j.angulillos.Arity.*;
public final class UniProtGraph<V,E> extends TypedGraph<UniProtGraph<V,E>,V,E> {
public UniProtGraph(UntypedGraph<V,E> graph) { super(graph); }
@Override public final UniProtGraph<V,E> self() { return this; }
/*
## Pr... |
package com.db.prisma.droolspoc;
import com.db.prisma.droolspoc.generation.Pain00100108Generator;
import com.db.prisma.droolspoc.pain001.Document;
import org.xml.sax.SAXException;
import javax.xml.XMLConstants;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Marshaller;
imp... |
package com.filestack.model;
import com.filestack.model.transform.base.ImageTransform;
import com.filestack.util.FilestackException;
import com.filestack.util.FilestackService;
import com.filestack.util.Networking;
import io.reactivex.Completable;
import io.reactivex.Single;
import io.reactivex.functions.Action;
import... |
package com.gengo.client;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import com.gengo.client.GengoConstants;
import com.gengo.client.enums.HttpMethod;
... |
package main.java.com.graphics.shapes;
import main.java.com.graphics.shapes.utils.GraphicsObject;
import main.java.com.graphics.shapes.utils.Point;
/**
*
* @author Richard Coan
*/
public class Triangle extends GraphicsObject {
public Triangle(Point p1, Point p2, Point p3)
{
points.addAll(new Line(p1,... |
package com.iobeam.api.client;
import com.iobeam.api.ApiException;
import com.iobeam.api.RestException;
import com.iobeam.api.auth.AuthHandler;
import com.iobeam.api.auth.DefaultAuthHandler;
import com.iobeam.api.resource.DataPoint;
import com.iobeam.api.resource.DataStore;
import com.iobeam.api.resource.Device;
import... |
package com.joelhockey.jacknji11;
import java.math.BigInteger;
import java.util.Map;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import com.sun.jna.Memory;
import com.sun.jna.NativeLong;
import com.sun.jna.Pointer;
import com.sun.jna.ptr.ByteByReference;
import com.sun.jna.ptr.N... |
package com.messners.ajf.util;
/**
* This class encapsulates the command line passed to
* the main() function of an executable. It processes
* the arguments in the same way as Unixes getopt().
*
* @author Greg Messner <greg@messners.com>
*/
public class GetOpt {
public static final char NUM_CHR = '
publ... |
package com.net2plan.cli;
import com.jom.JOMException;
import com.net2plan.interfaces.networkDesign.Net2PlanException;
import com.net2plan.internal.CommandLineParser;
import com.net2plan.internal.Constants.UserInterface;
import com.net2plan.internal.ErrorHandling;
import com.net2plan.internal.SystemUtils;
import com.ne... |
package com.rox.emu.mem;
import com.rox.emu.env.RoxByte;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Simple array representing memory, implementing the memory interface
*
* @author Ross Drew
*/
public class SimpleMemory implements Memory {
private final Logger LOG = LoggerFactory.getLogger(th... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.sister.kelompok5;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
public class Message extends UnicastRemoteObject implements MessageInterface {
private static final long seri... |
package com.stratio.specs;
import com.auth0.jwt.JWTSigner;
import com.ning.http.client.cookie.Cookie;
import com.stratio.exceptions.DBException;
import com.stratio.tests.utils.RemoteSSHConnection;
import com.stratio.tests.utils.ThreadProperty;
import cucumber.api.DataTable;
import cucumber.api.java.en.Given;
import org... |
package com.zandero.rest;
import com.zandero.rest.context.ContextProvider;
import com.zandero.rest.data.ClassFactory;
import com.zandero.rest.data.MediaTypeHelper;
import com.zandero.rest.exception.ClassFactoryException;
import com.zandero.rest.exception.ExceptionHandler;
import com.zandero.rest.injection.InjectionProv... |
package control;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import data.Camera;
import data.CameraShot;
import data.DirectorShot;
import data.Instrument;
import data.Shot;
import gui.centerarea.CameraShotBlock;
import gui.centerarea.DirectorShotBlock;
import gui.... |
package control;
import java.util.Set;
import data.DirectorShot;
import gui.centerarea.CameraShotBlock;
import gui.centerarea.DirectorShotBlock;
import gui.headerarea.DetailView;
import gui.headerarea.DirectorDetailView;
import javafx.beans.value.ObservableValue;
import javafx.scene.input.KeyCode;
/**
* Controller for... |
package cyclops.control.lazy;
import com.aol.cyclops2.data.collections.extensions.CollectionX;
import com.aol.cyclops2.hkt.Higher;
import com.aol.cyclops2.hkt.Higher4;
import com.aol.cyclops2.types.*;
import com.aol.cyclops2.types.foldable.To;
import com.aol.cyclops2.types.functor.BiTransformable;
import com.aol.cyclop... |
package de.bwaldvogel.liblinear;
import static de.bwaldvogel.liblinear.Linear.info;
/**
* Trust Region Newton Method optimization
*/
class Tron {
private final Function fun_obj;
private final double eps;
private final int max_iter;
private final double eps_cg;
public Tron(Function fun_obj... |
package de.movope.web;
import de.movope.game.ChessGame;
import de.movope.game.Color;
import de.movope.game.Move;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import ... |
/* *\
** SICU Stress Measurement System **
** Project P04 | C380 Team A **
** EBME 380: Biomedical Engineering Design Experience **
** ... |
/* *\
** SICU Stress Measurement System **
** Project P04 | C380 Team A **
** EBME 380: Biomedical Engineering Design Experience **
** ... |
package hudson.plugins.jira;
import hudson.Util;
import hudson.model.AbstractProject;
import hudson.plugins.jira.soap.JiraSoapService;
import hudson.plugins.jira.soap.JiraSoapServiceService;
import hudson.plugins.jira.soap.JiraSoapServiceServiceLocator;
import javax.xml.rpc.ServiceException;
import java.io.IOException;... |
package io.github.robwin;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.actuate.health.HealthIndicator;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.