answer stringlengths 17 10.2M |
|---|
package com.thaiopensource.relaxng.util;
import com.thaiopensource.util.OptionParser;
import org.xml.sax.SAXException;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
class TestDriver {
static public void main(String[]... |
package io.hops.hopsworks.common.util;
import com.google.common.base.Strings;
import io.hops.hopsworks.common.dao.project.Project;;
import io.hops.hopsworks.common.jobs.configuration.JobConfiguration;
import io.hops.hopsworks.common.jobs.configuration.JobType;
import io.hops.hopsworks.common.jobs.spark.DistributionStra... |
package com.twelvemonkeys.imageio.plugins.psd;
import com.twelvemonkeys.imageio.metadata.Directory;
import com.twelvemonkeys.imageio.metadata.Entry;
import com.twelvemonkeys.imageio.metadata.exif.TIFF;
import com.twelvemonkeys.imageio.metadata.iptc.IPTC;
import com.twelvemonkeys.lang.StringUtil;
import com.twelvemonkey... |
package io.quarkus.arc.impl;
import io.quarkus.arc.Arc;
import io.quarkus.arc.ArcContainer;
import io.quarkus.arc.Components;
import io.quarkus.arc.ComponentsProvider;
import io.quarkus.arc.InjectableBean;
import io.quarkus.arc.InjectableContext;
import io.quarkus.arc.InjectableInterceptor;
import io.quarkus.arc.Inject... |
package controllers.builder;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import java.util.ArrayList;
import controllers.common.Move;
import controllers.common.MovePieceOffBoardMove;
import controllers.common.MovePieceOnBoardMove;
import controllers.c... |
package org.broadinstitute.sting.gatk.walkers.recalibration;
import net.sf.samtools.SAMRecord;
import net.sf.samtools.SAMReadGroupRecord;
import org.broadinstitute.sting.gatk.LocusContext;
import org.broadinstitute.sting.gatk.refdata.RefMetaDataTracker;
import org.broadinstitute.sting.gatk.refdata.rodDbSNP;
import org.... |
package org.broadinstitute.sting.playground.gatk.walkers.variants;
import org.broadinstitute.sting.gatk.refdata.rodVariants;
import org.broadinstitute.sting.gatk.contexts.AlignmentContext;
import org.broadinstitute.sting.utils.ReadBackedPileup;
import org.broadinstitute.sting.utils.Utils;
import org.broadinstitute.stin... |
package com.jenjinstudios.core.message;
import com.jenjinstudios.core.Connection;
import com.jenjinstudios.core.io.Message;
import java.security.KeyFactory;
import java.security.NoSuchAlgorithmException;
import java.security.PublicKey;
import java.security.spec.InvalidKeySpecException;
import java.security.spec.X509Enc... |
package us.dot.its.jpo.ode.importer.parser;
import java.io.BufferedInputStream;
import java.io.IOException;
import java.nio.ByteOrder;
import java.util.Arrays;
import us.dot.its.jpo.ode.util.CodecUtils;
public class DriverAlertFileParser extends LogFileParser {
private static final int TIM_LOCATION_LAT_LENGTH = 4;
... |
package jsystem.framework.scenario;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Properties;
import java.util.Vector;
import java... |
package org.kuali.coeus.propdev.impl.core;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.kuali.coeus.common.framework.sponsor... |
package org.languagetool.language;
import org.languagetool.Language;
import org.languagetool.LanguageMaintainedState;
import org.languagetool.rules.*;
import org.languagetool.synthesis.Synthesizer;
import org.languagetool.synthesis.pt.PortugueseSynthesizer;
import org.languagetool.rules.pt.PreReformPortugueseCompoundRu... |
package org.languagetool.language;
import org.languagetool.Language;
import org.languagetool.LanguageMaintainedState;
import org.languagetool.rules.*;
import org.languagetool.rules.pt.*;
import org.languagetool.synthesis.Synthesizer;
import org.languagetool.synthesis.pt.PortugueseSynthesizer;
import org.languagetool.ru... |
package dr.app.beauti.generator;
import dr.app.beauti.util.XMLWriter;
import dr.app.beauti.components.ComponentFactory;
import dr.app.beauti.options.BeautiOptions;
import dr.app.beauti.options.ClockType;
import dr.app.beauti.options.FixRateType;
import dr.app.beauti.options.Operator;
import dr.app.beauti.options.Parame... |
package dr.inference.operators.hmc;
import dr.inference.hmc.GradientWrtParameterProvider;
import dr.inference.model.Likelihood;
import dr.inference.model.Parameter;
import dr.inference.operators.CoercionMode;
import dr.inference.operators.GeneralOperator;
import dr.inference.operators.GibbsOperator;
import dr.math.Math... |
package edu.mit.streamjit.impl.compiler2;
import com.google.common.base.Function;
import com.google.common.collect.ContiguousSet;
import com.google.common.collect.DiscreteDomain;
import com.google.common.collect.FluentIterable;
import com.google.common.collect.HashBasedTable;
import com.google.common.collect.ImmutableL... |
package fr.desaintsteban.liste.envies.service;
import com.auth0.jwt.interfaces.Claim;
import com.auth0.jwt.interfaces.DecodedJWT;
import com.google.api.client.json.Json;
import com.google.appengine.api.users.User;
import com.google.appengine.api.users.UserService;
import com.google.appengine.api.users.UserServiceFactor... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package nl.uva.cs.lobcder.webDav.resources;
import com.maxmind.geoip.Location;
import com.maxmind.geoip.LookupService;
import io.milton.common.ContentTypeUtils;
import io.milton.common.Path;
import io.milton.http.Auth;
i... |
package fr.cs.aerospace.orekit.bodies;
import org.spaceroots.mantissa.geometry.Rotation;
import org.spaceroots.mantissa.geometry.Vector3D;
import fr.cs.aerospace.orekit.time.AbsoluteDate;
/** Interface representing a rotating natural body.
* <p>The orientation of a natural body is similar to the attitude for a satelli... |
package io.github.zutherb.appstash.shop.ui.panel.cart;
import io.github.zutherb.appstash.common.util.Config;
import io.github.zutherb.appstash.shop.service.cart.api.Cart;
import io.github.zutherb.appstash.shop.service.cart.model.CartItemInfo;
import io.github.zutherb.appstash.shop.ui.event.cart.CartChangeEvent;
import ... |
package net.anotheria.moskito.core.threshold;
import net.anotheria.moskito.core.config.MoskitoConfigurationHolder;
import net.anotheria.moskito.core.config.thresholds.GuardConfig;
import net.anotheria.moskito.core.config.thresholds.ThresholdConfig;
import net.anotheria.moskito.core.config.thresholds.ThresholdsConfig;
i... |
package net.anotheria.moskito.web.filters;
import net.anotheria.moskito.core.config.MoskitoConfiguration;
import net.anotheria.moskito.core.config.MoskitoConfigurationHolder;
import net.anotheria.moskito.core.dynamic.EntryCountLimitedOnDemandStatsProducer;
import net.anotheria.moskito.core.dynamic.OnDemandStatsProducer... |
package com.microsoft.aad.msal4j;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutionException;
class AcquireTokenByAppProviderSupplier extends AuthenticationResultSupplier {
private AppTokenProviderParameters appTokenProviderParameters;
private ClientCredentialRequest clientCre... |
package istic.gla.groupb.nivimoju.container;
import istic.gla.groupb.nivimoju.dao.DroneDAO;
import istic.gla.groupb.nivimoju.drone.client.DroneClient;
import istic.gla.groupb.nivimoju.entity.Drone;
import istic.gla.groupb.nivimoju.entity.Intervention;
import istic.gla.groupb.nivimoju.entity.Position;
import org.apache.... |
package org.gbif.occurrence.download.hive;
import org.gbif.dwc.terms.DcTerm;
import org.gbif.dwc.terms.DwcTerm;
import org.gbif.dwc.terms.GbifInternalTerm;
import org.gbif.dwc.terms.GbifTerm;
import org.gbif.dwc.terms.Term;
import java.util.Set;
import com.google.common.collect.ImmutableSet;
import com.google.common.co... |
package org.opennms.javamail;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintStream;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import j... |
package org.eclipse.scanning.sequencer;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.EnumSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import java.util.concurrent.CountDownLatch;... |
package org.strategoxt.imp.runtime.parser.ast;
import lpg.runtime.IToken;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.IPath;
import org.eclipse.imp.editor.ModelTreeNode;
import org.eclipse.imp.parser.ISourcePositionLocator;
import org.strategoxt.imp.runtime.Environment;
import org.strat... |
package org.voltdb.fault;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import org.apache.log4j.Logger;
import org.voltdb.VoltDB;
import org.voltdb.fault.VoltFault.FaultType;
import org.voltdb.utils.VoltLoggerFactory;
import java.util.HashSe... |
package net.sf.saffron.sql2rel;
import junit.framework.AssertionFailedError;
import junit.framework.TestCase;
import net.sf.saffron.jdbc.SaffronJdbcConnection;
import net.sf.saffron.oj.OJPlannerFactory;
import openjava.mop.*;
import openjava.ptree.ClassDeclaration;
import openjava.ptree.MemberDeclarationList;
import op... |
package gov.nih.nci.common.util;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Stack;
import org.apache.log4j.Logger;
import org.hibernate.Criteria;
import org.h... |
module org.opendaylight.yangtools.openconfig.model.api {
exports org.opendaylight.yangtools.openconfig.model.api;
requires transitive org.opendaylight.yangtools.yang.model.api;
// Annotations
requires static com.github.spotbugs.annotations;
} |
package ru.stqa.java.sandbox;
public class Point {
public double x;
public double y;
public Point(double x, double y) {
this.x = x;
this.y = y;
}
public static double distance(Point p1, Point p2) {
return Math.sqrt((p1.x - p2.x) * (p1.x - p2.x) + (p1.y - p2.y) * (p1.y - p2.y)... |
package com.directions.route;
import android.app.ProgressDialog;
import android.content.Context;
import android.graphics.Color;
import android.os.AsyncTask;
import android.util.Log;
import com.directions.api.R;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.model.*;
public class Routin... |
package com.globalsight.tools;
import static org.junit.Assert.*;
import java.util.Arrays;
import java.util.List;
import java.util.SortedSet;
import java.util.TreeSet;
import javax.xml.stream.XMLInputFactory;
import org.junit.Test;
public class TestFileProfilesParser {
XMLInputFactory factory = XMLInputFactory.newFa... |
package satori.common.ui;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JComponent;
import javax.swing.JTabbedPane;
import satori.common.SView;
import satori.common.SViewList;
public class STabbedPane implements SPane, STabs {
private final List<STabPane> panes = new ArrayList<STabPane>();
... |
package com.tempodb;
import java.io.File;
import java.io.FileInputStream;
import java.net.InetSocketAddress;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Properties;
import org.joda.time.DateTime;
import org.joda.time.Da... |
package com.relteq.sirius.simulator;
import static org.junit.Assert.*;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameters;
import org.xml.sax.SAXException;
import java.io.File;
import java.io.Fil... |
package org.concord.otrunk.datamodel;
import org.concord.framework.otrunk.OTID;
/**
* OTPathID
* Class name and description
*
* Date created: May 11, 2005
*
* @author scott<p>
*
*/
public class OTPathID
implements OTID
{
String path;
public OTPathID(String path)
{
this.path = path;
}... |
package com.intellij.openapi.actionSystem.impl;
import com.intellij.icons.AllIcons;
import com.intellij.ide.DataManager;
import com.intellij.ide.impl.DataManagerImpl;
import com.intellij.ide.ui.UISettings;
import com.intellij.internal.statistic.collectors.fus.ui.persistence.ToolbarClicksCollector;
import com.intellij.o... |
package nl.esciencecenter.diffevo;
import static org.junit.Assert.*;
import nl.esciencecenter.diffevo.TimeChunks;
import org.junit.Test;
public class TimeChunksTest {
@Test
public void testTimeChunks() {
double[] times = new double[]{0,1,2,3,4,5,6,7,8};
boolean[] assimilate = new boolean[]{true,... |
package org.nick.wwwjdic.history;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
import java.io.OutputStream;
import org.nick.wwwjdic.R;
import org.nick.wwwjdic.Wwwjdic;
import org.nick.wwwjdic.utils.Analytics;
import or... |
package org.eclipse.n4js.ui.building;
import static com.google.common.collect.Maps.newHashMap;
import static com.google.common.collect.Maps.uniqueIndex;
import static java.util.Collections.emptyMap;
import static org.eclipse.xtext.ui.util.ResourceUtil.getContainer;
import java.util.Collection;
import java.util.Collecti... |
package pt.uminho.haslab.echo.transform.alloy;
import java.util.AbstractMap.SimpleEntry;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.eclipse.em... |
package com.coreoz.plume.jersey.errors;
import java.io.IOException;
import java.io.InputStream;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.MultivaluedMap;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.fasterxml.... |
package gov.nih.nci.cabig.caaers.web.ae;
import static org.easymock.EasyMock.expect;
import gov.nih.nci.cabig.caaers.AbstractTestCase;
import gov.nih.nci.cabig.caaers.domain.Fixtures;
import gov.nih.nci.cabig.caaers.domain.Study;
import gov.nih.nci.cabig.caaers.domain.Term;
import gov.nih.nci.cabig.ctms.web.tabs.Flow;
... |
package com.raygun.raygun4android.services;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.JobIntentService;
import com.raygun.raygun4android.RaygunLogger;
import com.raygun.raygun4android.RaygunSettings;
... |
package org.broadinstitute.sting.gatk.walkers.indels;
import net.sf.samtools.Cigar;
import net.sf.samtools.CigarElement;
import net.sf.samtools.CigarOperator;
import net.sf.samtools.SAMRecord;
import org.broadinstitute.sting.gatk.contexts.ReferenceContext;
import org.broadinstitute.sting.utils.Haplotype;
import org.bro... |
package jsettlers.graphics.map.draw;
import go.graphics.GLDrawContext;
import jsettlers.common.buildings.EBuildingType;
import jsettlers.common.buildings.IBuilding;
import jsettlers.graphics.image.Image;
import jsettlers.graphics.map.MapDrawContext;
import jsettlers.graphics.sequence.Sequence;
/**
* This class is used... |
package java.awt;
import java.awt.peer.KeyboardFocusManagerPeer;
import sun.awt.ComponentFactory;
import sun.awt.KeyboardFocusManagerPeerProvider;
import sun.awt.datatransfer.DataTransferer;
import java.awt.peer.BDFramePeer;
import java.awt.peer.BDKeyboardFocusManagerPeer;
import org.videolan.GUIManager;
import org.vid... |
package java.awt;
import java.lang.reflect.Field;
import java.text.AttributedCharacterIterator;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.awt.image.AreaAveragingScaleFilter;
import java.awt.image.BufferedImage;
import java.awt.image.ImageCon... |
package go;
import go.LoadJNI;
import java.util.Arrays;
import java.lang.Math;
import java.lang.reflect.Method;
import java.util.regex.Pattern;
import go.SeqTest;
public class MoreAsserts {
public static void assertTrue(String msg, boolean condition) {
if (!condition) {
throw new RuntimeExceptio... |
package net.runelite.client.ui.overlay.infobox;
import com.google.common.base.Strings;
import java.awt.Dimension;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.Rectangle;
import java.util.List;
import javax.inject.Inject;
import javax.inject.Provider;
import net.runelite.api.Client;
import net.rune... |
package org.gluu.oxauth.client.util;
import org.gluu.oxauth.client.conf.AppConfiguration;
import org.gluu.oxauth.client.conf.Configuration;
import org.gluu.oxauth.client.conf.LdapAppConfiguration;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* oAuth properties and constants
*
* @author Yuriy Movchan
... |
package T145.magistics.client.lib;
import org.lwjgl.opengl.GL11;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.rende... |
package api.v1.Utils;
import net.minidev.json.JSONObject;
import java.util.List;
public class JSONRecipeValidator implements Validator {
/**
* Validate if a JsonObject respects the recipe structure
* (name, difficulty, duration, image_url and uid)
* @recipe the JSONObject to validate
* @return ... |
package main.java.author.controller;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.swing.JFileChooser;
import javax.swing.SwingUtilities;
import javax.swing.filechooser.FileNameExtensionFilter;
import main.java.author.controller.tabbed_controll... |
package com.smartdevicelink.test.rpc.requests;
import java.util.Hashtable;
import java.util.zip.CRC32;
import org.json.JSONException;
import org.json.JSONObject;
import com.smartdevicelink.marshal.JsonRPCMarshaller;
import com.smartdevicelink.protocol.enums.FunctionID;
import com.smartdevicelink.proxy.RPCMessage;
impor... |
package betterwithaddons.block;
import betterwithmods.common.BWMBlocks;
import betterwithmods.common.blocks.BlockAesthetic;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.item.Item;
import java.util.Random;
public cl... |
package com.smartdevicelink.managers.screen;
import android.support.annotation.NonNull;
import android.util.Log;
import com.smartdevicelink.R;
import com.smartdevicelink.managers.BaseSubManager;
import com.smartdevicelink.managers.CompletionListener;
import com.smartdevicelink.managers.file.FileManager;
import com.smar... |
package com.continuuity.security.server;
import com.continuuity.common.conf.CConfiguration;
import com.continuuity.common.conf.Constants;
import com.continuuity.common.guice.ConfigModule;
import com.continuuity.common.guice.DiscoveryRuntimeModule;
import com.continuuity.common.guice.IOModule;
import com.continuuity.sec... |
package cat.udl.eps.butterp.data;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
public class ListOps {
public static SExpression cons(SExpression car, SExpression cdr) {
return new ConsCell(car, cdr);
}
public static SExpression car(SExpres... |
package org.jboss.as.arquillian.service;
import org.jboss.as.server.deployment.Attachments;
import org.jboss.as.server.deployment.DeploymentPhaseContext;
import org.jboss.as.server.deployment.DeploymentUnit;
import org.jboss.as.server.deployment.DeploymentUnitProcessingException;
import org.jboss.as.server.deployment.D... |
package com.codebud7.service;
import com.codebud7.model.response.MessengerBotRecipient;
import com.codebud7.properties.MessengerProperties;
import com.mashape.unirest.http.Unirest;
import com.mashape.unirest.http.exceptions.UnirestException;
import org.aeonbits.owner.ConfigFactory;
import org.slf4j.Logger;
import org.s... |
package com.conveyal.taui.models;
import java.util.List;
public class Reroute extends Modification {
public String name;
public String feed;
public String[] routes;
public String[] trips;
public String fromStop;
public String toStop;
public List<AddTripPattern.Segment> segments;
/** spee... |
package com.finitejs.modules.read;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
/**
* Class represents a column in {@link DataTable}.
*
* @param <T> type of the column
*/
public class Column<T> implements Iterable<T>{
/** Column header name */
... |
package com.github.davidmoten.logan;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Collection;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.NavigableSet;
import java.util.SortedMap;
import java.util.TimeZone;
import j... |
package com.truemesh.squiggle.tests;
import com.truemesh.squiggle.SelectQuery;
import com.truemesh.squiggle.Table;
import com.truemesh.squiggle.criteria.InCriteria;
import com.truemesh.squiggle.criteria.MatchCriteria;
import static com.truemesh.squiggle.tests.support.SqlMatcher.generatesSql;
import org.junit.Test;
impo... |
package ai;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.HashSet;
import java.util.PriorityQueue;
import java.util.Queue;
public class AStar implements ISolver, ISearch {
@Override
public ArrayList<Action> solve(int x0, int y0, int xG, int yG, int[][] map)
{
Problem prob... |
package com.goboomtown.client;
import io.swagger.client.ApiException;
import io.swagger.client.model.Member;
import io.swagger.client.model.MemberLocation;
import io.swagger.client.model.MemberUser;
import java.util.List;
/**
* Example Boomtown Provider API client.
*
* @see Constants for configuration
*/
public cla... |
package org.voltdb.planner;
import java.io.File;
import java.io.IOException;
import junit.framework.TestCase;
import org.voltdb.CatalogContext;
import org.voltdb.benchmark.tpcc.TPCCProjectBuilder;
import org.voltdb.catalog.Catalog;
import org.voltdb.compiler.PlannerTool;
import org.voltdb.compiler.VoltProjectBuilder;
i... |
package com.badlogic.gdx.tests;
import com.badlogic.gdx.Files.FileType;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.InputListener;
import com.badlogic.gdx.RenderListener;
import com.badlogic.gdx.graphics.GL10;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.Texture.TextureFilter;
imp... |
package com.jaamsim.Thresholds;
import java.util.ArrayList;
import com.jaamsim.events.ProcessTarget;
import com.jaamsim.input.Keyword;
import com.jaamsim.input.Output;
import com.jaamsim.math.Color4d;
import com.jaamsim.units.DimensionlessUnit;
import com.sandwell.JavaSimulation.BooleanInput;
import com.sandwell.JavaSi... |
package com.jblur.acme_client;
import com.beust.jcommander.Parameter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.nio.file.Paths;
import java.util.List;
public class Parameters {
public final static String COMMAND_REGISTER = "register";
public final static String COMMAND_GET_AGREEMENT_U... |
package com.justjournal.utility;
import com.swabunga.spell.engine.GenericSpellDictionary;
import com.swabunga.spell.event.SpellCheckEvent;
import com.swabunga.spell.event.SpellCheckListener;
import com.swabunga.spell.event.SpellChecker;
import com.swabunga.spell.event.StringWordTokenizer;
import java.io.File;
import ja... |
// 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.kodcu.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import jav... |
package com.kpelykh.docker.client;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.net.URI;
import java.util.Properties;
class Config {
URI url;
String version, username, password, email;
private Config() {
}
static Config createConfig() throws DockerExce... |
package com.ljs.ifootballmanager.ai;
import com.google.common.base.Charsets;
import com.google.common.base.Preconditions;
import com.google.common.base.Predicates;
import com.google.common.collect.FluentIterable;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.g... |
package com.mcjty.rftools.items;
import com.mcjty.rftools.RFTools;
import com.mcjty.rftools.items.devdelight.DevelopersDelightItem;
import com.mcjty.rftools.items.dimensionmonitor.DimensionMonitorItem;
import com.mcjty.rftools.items.dimensionmonitor.PhasedFieldGeneratorItem;
import com.mcjty.rftools.items.dimlets.*;
im... |
package functionalTests.gcmdeployment.virtualnode;
import java.io.FileNotFoundException;
import java.util.Set;
import org.junit.Assert;
import org.junit.Test;
import org.objectweb.proactive.core.ProActiveException;
import org.objectweb.proactive.core.node.Node;
import org.objectweb.proactive.extra.gcmdeployment.API;
im... |
package eic.beike.projectx.util;
import eic.beike.projectx.R;
public enum Colour {
GREEN(R.color.green),
BLUE(R.color.blue),
RED(R.color.red);
/**
* Carried color code initiated at first use.
*/
private int androidColor;
Colour(int androidColor){
this.androidColor = androidCol... |
package com.yahoo.test;
import com.yahoo.component.annotation.Inject;
import java.time.Clock;
import java.time.Instant;
import java.time.LocalDateTime;
import java.time.ZoneId;
import java.time.ZoneOffset;
import java.time.format.DateTimeFormatter;
import java.time.temporal.TemporalAmount;
import java.util.concurrent.a... |
package com.moosemorals.calculator.ui;
import com.moosemorals.calculator.Config;
import com.moosemorals.calculator.Engine;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.KeyEventDispatcher;
import java.awt.KeyboardFocusManager;
impor... |
package squeek.spiceoflife.asm;
import static org.objectweb.asm.Opcodes.*;
import net.minecraft.launchwrapper.IClassTransformer;
import org.objectweb.asm.ClassReader;
import org.objectweb.asm.ClassWriter;
import org.objectweb.asm.Type;
import org.objectweb.asm.tree.*;
import squeek.spiceoflife.ModSpiceOfLife;
public cl... |
package org.mozilla.javascript.tools.shell;
import java.io.*;
import java.net.*;
import java.nio.charset.Charset;
import java.lang.reflect.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.regex.Pattern;
import java.util.regex.Matcher;
import org.jsdo... |
package org.rstudio.studio.client.workbench.views.source.editors.text;
import java.util.ArrayList;
import java.util.List;
import com.google.gwt.animation.client.AnimationScheduler;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.core.client.JsArrayStr... |
package com.theironyard.entities;
import javax.persistence.*;
import java.time.LocalDateTime;
@Entity
@Table(name = "messages")
public class Message
{
@Id
@GeneratedValue
private int id;
@Column(nullable = false)
private String body;
@Column(nullable = false)
private LocalDateTime time;
... |
package org.ccnx.ccn.impl;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;
import java.util.TreeMap;
import org.ccnx.ccn.CCNFilterListener;
import org.ccnx.ccn.CCNHandle;
import org.ccnx.ccn.config.ConfigurationExc... |
package uk.org.opentrv.test.ETV;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.io.IOException;
import java.io.InputStream;
import java.io.I... |
package com.tinkerrocks.storage;
import com.tinkerrocks.structure.*;
import org.apache.tinkerpop.gremlin.structure.*;
import org.apache.tinkerpop.gremlin.structure.util.ElementHelper;
import org.rocksdb.*;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.uti... |
package com.ttaylorr.uhc.pvp.util;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.configuration.serialization.ConfigurationSerializable;
import org.bukkit.util.Vector;
import java.util.HashMap;
import java.util.Map;
import static com.google.... |
package com.zakgof.db.sqlkvs;
import java.io.ByteArrayInputStream;
import java.util.Map.Entry;
import com.sleepycat.je.Database;
import com.sleepycat.je.DatabaseEntry;
import com.sleepycat.je.DatabaseException;
import com.sleepycat.je.LockMode;
import com.sleepycat.je.OperationStatus;
import com.sleepycat.je.Transactio... |
package com.atlassian.jira.plugins.bitbucket.issuetabpanels;
import com.atlassian.core.util.StringUtils;
import com.atlassian.core.util.collection.EasyList;
import com.atlassian.jira.issue.Issue;
import com.atlassian.jira.issue.tabpanels.GenericMessageAction;
import com.atlassian.jira.plugin.issuetabpanel.AbstractIssue... |
package org.jpos.util;
import java.io.IOException;
import org.jpos.iso.ISOUtil;
/**
* Implements DialupModem
*
* @author <a href="mailto:apr@cs.com.uy">Alejandro P. Revilla</a>
* @version $Revision$ $Date$
*/
public class SimpleDialupModem implements Modem {
V24 v24;
String dialPrefix = "DT";
long last... |
package turtapp.service;
import java.io.IOException;
import java.sql.SQLException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Required;
import turtapp.domain.Employee;
import turtapp.repository.EmployeeDao;
public class SimpleEmployeeManager implem... |
package de.domisum.lib.auxilium.util;
import de.domisum.lib.auxilium.util.java.annotations.API;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public final class PHR
{
// CONSTA... |
package org.jpos.iso;
import org.jpos.util.Loggeable;
import java.io.PrintStream;
import java.io.PrintWriter;
/**
* Signals that an ISO exception of some sort has occurred.
*
* @author <a href="mailto:apr@cs.com.uy">Alejandro P. Revilla</a>
* @version $Revision$ $Date$
*/
public class ISOException extends Excepti... |
package de.mxro.metrics.js;
import delight.async.properties.PropertyNode;
import org.timepedia.exporter.client.Export;
import org.timepedia.exporter.client.Exportable;
import org.timepedia.exporter.client.NoExport;
import de.mxro.metrics.MetricsCommon;
@Export
public class JsMetricsNode implements Exportable {
@NoE... |
package defyndian.sensor.test;
import java.io.IOException;
import java.util.Collection;
import java.util.Collections;
import java.util.Date;
import defyndian.core.DefyndianSensor;
import defyndian.exception.DefyndianDatabaseException;
import defyndian.exception.DefyndianMQException;
import defyndian.messaging.Defyndian... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.