answer stringlengths 17 10.2M |
|---|
package org.tiatus.server.rest;
import mockit.Deencapsulation;
import mockit.Invocation;
import mockit.Mock;
import mockit.MockUp;
import org.jboss.resteasy.core.Dispatcher;
import org.jboss.resteasy.mock.MockDispatcherFactory;
import org.jboss.resteasy.mock.MockHttpRequest;
import org.jboss.resteasy.mock.MockHttpRespo... |
package com.jfcorugedo.rserver.engine;
import static java.lang.String.format;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import javax.inject.Inject;
import org.rosuda.REngine.REXP;
import org.rosuda.REngine.REXPDouble;
import org.rosuda.REngine.REXPInteger;
import ... |
package com.google.sitebricks;
import com.google.inject.Inject;
import com.google.inject.Provider;
import net.jcip.annotations.Immutable;
import javax.servlet.ServletContext;
import java.io.*;
import java.net.URL;
/**
* @author Dhanji R. Prasanna (dhanji@gmail.com)
*/
@Immutable
class TemplateLoader {
private final... |
package com.lenis0012.bukkit.loginsecurity.session;
import com.avaje.ebean.EbeanServer;
import com.google.common.cache.Cache;
import com.google.common.cache.CacheBuilder;
import com.google.common.cache.CacheLoader;
import com.google.common.cache.LoadingCache;
import com.google.common.collect.Maps;
import com.lenis0012.... |
package com.publicuhc.pluginframework.routing;
import com.publicuhc.pluginframework.routing.exception.CommandInvocationException;
import com.publicuhc.pluginframework.routing.proxy.MethodProxy;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.craftbukkit.libs.joptsimple.Opti... |
// checkstyle: Checks Java source code for adherence to a set of rules.
// 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... |
package com.salesforce.dataloader.action.visitor;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.i... |
package org.opennms.smoketest;
import org.junit.FixMethodOrder;
import org.junit.Test;
import org.junit.runners.MethodSorters;
import org.openqa.selenium.Alert;
import org.openqa.selenium.By;
import org.openqa.selenium.support.ui.ExpectedConditions;
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class MenuHeaderT... |
package com.tealcube.minecraft.spigot.metashop.shops;
import com.tealcube.minecraft.bukkit.hilt.HiltItemStack;
import com.tealcube.minecraft.spigot.metashop.MetaShopPlugin;
import com.tealcube.minecraft.spigot.metashop.utils.InventoryUtils;
import com.tealcube.minecraft.spigot.metashop.utils.MessageUtils;
import com.te... |
package com.teamwizardry.refraction.init.recipies;
import com.teamwizardry.refraction.init.ModBlocks;
import com.teamwizardry.refraction.init.ModItems;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fml.common.registry.GameRegistry;
impo... |
package com.treasure_data.commands.bulk_import;
import java.util.Properties;
import java.util.logging.Logger;
import com.treasure_data.commands.Command;
import com.treasure_data.commands.CommandException;
import com.treasure_data.commands.MultithreadsCommand;
public class UploadPartsFactory {
private static final L... |
package org.webrtc;
import android.media.MediaCodec;
import android.media.MediaCodecInfo.CodecCapabilities;
import android.media.MediaCodecInfo;
import android.media.MediaCodecList;
import android.media.MediaFormat;
import android.os.Build;
import android.os.Bundle;
import android.util.Log;
import java.nio.ByteBuffer;
... |
package com.xtremelabs.robolectric.shadows;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDatabase.CursorFactory;
import android.database.sqlite.SQLiteOpenHelper;
import com.xtremelabs.robolectric.internal.Implementation;
import com.xtremelabs.robole... |
package de.fesere.hypermedia.cj.serialization;
import com.fasterxml.jackson.core.JsonGenerationException;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.SerializerProvider;
import com.fasterxml.jackson.databind.ser.std.StdSerializer;
import de.fesere.hypermedia.cj.exceptions.Seri... |
package de.javakaffee.kryoserializers.protobuf;
import com.esotericsoftware.kryo.Kryo;
import com.esotericsoftware.kryo.Serializer;
import com.esotericsoftware.kryo.io.Input;
import com.esotericsoftware.kryo.io.Output;
import com.google.protobuf.AbstractMessage;
import java.lang.reflect.InvocationTargetException;
impor... |
package eu.musesproject.server.policyrulesselector;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import org.apache.log4j.Logger;
import org.json.JSONException;
import org.json.JSONObject;
import org.json.XML;
import com.hp.hpl.jena.util.FileMan... |
package eu.musesproject.server.policyrulesselector;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import org.json.JSONException;
import org.json.JSONObject;
import org.json.XML;
import com.hp.hpl.jena.util.FileManager;
import eu.musesproject.cli... |
package info.u_team.u_team_core.util.annotation;
import org.apache.logging.log4j.*;
import org.objectweb.asm.Type;
import info.u_team.u_team_core.api.construct.*;
import info.u_team.u_team_core.api.integration.*;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.fml.ModList;
import net.minecraftf... |
package info.u_team.u_team_core.util.registry;
import java.util.*;
import java.util.Map.Entry;
import java.util.function.Supplier;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.event.RegistryEvent;
import net.minecraftforge.eventbus.api.*;
import net.minecraftforge.fml.RegistryObject;
import net... |
package cn.vimer.kpush;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.os.Handler;
import android.os.IBinder;
import android.util.Log;
import cn.vimer.fer... |
package com.xenon.greenup;
import java.util.ArrayList;
import com.xenon.greenup.api.APIServerInterface;
import com.xenon.greenup.api.Comment;
import com.xenon.greenup.api.CommentPage;
import android.support.v4.app.ListFragment;
import android.app.Activity;
import android.os.AsyncTask;
import android.os.Bundle;
import a... |
package org.adridadou.ethereum.smartcontract;
import org.adridadou.ethereum.EthereumListenerImpl;
import org.ethereum.core.*;
import org.ethereum.crypto.ECKey;
import org.ethereum.facade.Ethereum;
import org.ethereum.util.ByteUtil;
import org.ethereum.util.blockchain.SolidityContract;
import org.ethereum.util.blockchai... |
package org.jenkinsci.plugins.docker.workflow.client;
import com.google.common.base.Optional;
import hudson.EnvVars;
import hudson.FilePath;
import hudson.Launcher;
import hudson.model.Node;
import hudson.util.ArgumentListBuilder;
import hudson.util.VersionNumber;
import org.jenkinsci.plugins.docker.commons.fingerprint... |
package org.netmelody.cieye.server.observation;
import static com.google.common.cache.CacheLoader.from;
import java.util.Map;
import org.netmelody.cieye.core.domain.CiServerType;
import org.netmelody.cieye.core.domain.Feature;
import org.netmelody.cieye.core.domain.TargetId;
import org.netmelody.cieye.core.observation.... |
package org.realityforge.gwt.webpoller.server;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.ScheduledFuture;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantReadWriteLock;
import java.util.function.Supplier;
im... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.synyx.urlaubsverwaltung.validator;
import org.joda.time.DateMidnight;
import org.springframework.validation.Errors;
import org.synyx.urlaubsverwaltung.application.web.AppForm;
import org.synyx.urlaubsverwaltu... |
package org.jfree.chart.labels;
import java.io.Serializable;
import java.text.MessageFormat;
import java.text.NumberFormat;
import org.jfree.chart.plot.Crosshair;
/**
* A default label generator.
*
* @since 1.0.13
*/
public class StandardCrosshairLabelGenerator implements CrosshairLabelGenerator,
Serializab... |
package com.apptentive.android.sdk;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.view.View;
import android.widget.TextView;
import com.apptentive.android.sdk.model.ExtendedData;
import com.apptentive.android.sdk.module.ActivityContent;
import com.apptentive.android.... |
package org.springframework.asm;
import java.io.IOException;
import java.io.InputStream;
/**
* A Java class parser to make a {@link ClassVisitor} visit an existing class.
* This class parses a byte array conforming to the Java class file format and
* calls the appropriate visit methods of a given class visitor for e... |
package net.kyori.adventure.sound;
import java.util.function.Supplier;
import net.kyori.adventure.key.Key;
import net.kyori.adventure.key.Keyed;
import net.kyori.adventure.util.Index;
import net.kyori.examination.Examinable;
import org.checkerframework.checker.nullness.qual.NonNull;
import static java.util.Objects.requ... |
package net.java.sip.communicator.impl.gui.main.contactlist;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import java.util.List;
import java.util.regex.*;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.tree.*;
import net.java.sip.communicator.impl.gui.*;
import net.java.sip.comm... |
package org.ow2.proactive.scheduler.common.task;
import java.io.IOException;
import java.util.LinkedList;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;
import javax.per... |
package at.ac.tuwien.inso.integration_tests;
import at.ac.tuwien.inso.entity.Lecturer;
import at.ac.tuwien.inso.entity.Role;
import at.ac.tuwien.inso.entity.Subject;
import at.ac.tuwien.inso.entity.UserAccount;
import at.ac.tuwien.inso.repository.LecturerRepository;
import at.ac.tuwien.inso.repository.SubjectRepository... |
package com.github.fluentxml4j.serializer;
import com.github.fluentxml4j.junit.DocumentTestRule;
import org.junit.ClassRule;
import org.junit.Test;
import javax.xml.transform.OutputKeys;
import javax.xml.transform.Transformer;
import static com.github.fluentxml4j.serializer.FluentXmlSerializer.serialize;
import static ... |
package com.civica.grads.boardgames.model;
import static org.fest.assertions.api.Assertions.assertThat;
import static org.junit.Assert.*;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import java.util.ArrayList;
import org.junit.Ignore;
import org.junit.Test;
import com.civica.grads.bo... |
package fr.paris.lutece.portal.web.rbac;
import org.springframework.mock.web.MockHttpServletRequest;
import fr.paris.lutece.portal.business.user.AdminUser;
import fr.paris.lutece.portal.service.admin.AccessDeniedException;
import fr.paris.lutece.test.LuteceTestCase;
import fr.paris.lutece.test.Utils;
/**
* StyleSheetJ... |
package no.finn.unleash.strategy;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
import com.google.common.collect.ImmutableList;
import no.finn.unleash.UnleashContext;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import static org.hamcrest.Cor... |
package org.sagebionetworks.bridge.sdk.integration;
import static com.google.common.base.Preconditions.checkNotNull;
import java.util.Set;
import org.sagebionetworks.bridge.sdk.AdminClient;
import org.sagebionetworks.bridge.sdk.ClientProvider;
import org.sagebionetworks.bridge.sdk.Config;
import org.sagebionetworks.bri... |
package com.hazelcast.stabilizer.agent;
import com.hazelcast.stabilizer.common.StabilizerProperties;
import com.hazelcast.stabilizer.provisioner.Bash;
import org.apache.log4j.Logger;
import java.util.concurrent.TimeUnit;
import static java.lang.String.format;
public class HarakiriMonitor extends Thread {
private fi... |
package com.khacks.srp;
import android.app.Activity;
import android.content.Context;
import android.graphics.Color;
import android.graphics.Point;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.support.v4.app.FragmentActivity;
import a... |
package com.jcwhatever.bukkit.generic.events;
import com.jcwhatever.bukkit.generic.GenericsLib;
import com.jcwhatever.bukkit.generic.collections.TimeScale;
import com.jcwhatever.bukkit.generic.collections.TimedHashSet;
import com.jcwhatever.bukkit.generic.events.exceptions.EventManagerDisposedException;
import com.jcwh... |
package com.tisawesomeness.minecord.command.general;
import java.awt.Color;
import com.tisawesomeness.minecord.Bot;
import com.tisawesomeness.minecord.Config;
import com.tisawesomeness.minecord.command.Command;
import com.tisawesomeness.minecord.util.MessageUtils;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8... |
package me.nallar.tickthreading.minecraft;
import java.lang.management.ManagementFactory;
import java.lang.management.ThreadInfo;
import java.lang.management.ThreadMXBean;
import java.util.EnumSet;
import java.util.Map;
import java.util.TreeMap;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.common.IT... |
package edu.wustl.common.query.impl;
import java.io.IOException;
import java.sql.Connection;
import java.sql.SQLException;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collection;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
impor... |
package de.gurkenlabs.litiengine.environment.tilemap.xml;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.zip.GZ... |
package org.voovan.http.message;
import org.voovan.Global;
import org.voovan.http.message.packet.Cookie;
import org.voovan.http.message.packet.Part;
import org.voovan.http.server.context.WebContext;
import org.voovan.http.server.exception.ParserException;
import org.voovan.http.server.exception.RequestTooLarge;
import ... |
package de.lmu.ifi.dbs.elki.datasource.parser;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import de.... |
package edu.mit.streamjit.util.bytecode.methodhandles;
import static com.google.common.base.Preconditions.checkArgument;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSortedMap;
import com.google.common.primitives.Primitives;
imp... |
package org.voovan.http.message;
import org.voovan.Global;
import org.voovan.http.message.packet.Cookie;
import org.voovan.http.message.packet.Part;
import org.voovan.http.server.context.WebContext;
import org.voovan.http.server.exception.HttpParserException;
import org.voovan.http.server.exception.RequestTooLarge;
imp... |
package gov.nih.nci.cananolab.ui.common;
import gov.nih.nci.cananolab.domain.common.Instrument;
import gov.nih.nci.cananolab.domain.common.Technique;
import gov.nih.nci.cananolab.dto.common.ExperimentConfigBean;
import gov.nih.nci.cananolab.service.common.ExperimentConfigService;
import gov.nih.nci.cananolab.service.co... |
package gov.nih.nci.cananolab.ui.sample;
import gov.nih.nci.cananolab.domain.common.Condition;
import gov.nih.nci.cananolab.domain.common.Datum;
import gov.nih.nci.cananolab.domain.common.Instrument;
import gov.nih.nci.cananolab.dto.common.ExperimentConfigBean;
import gov.nih.nci.cananolab.dto.common.PointOfContactBean... |
package gov.nih.nci.cananolab.ui.sample;
import gov.nih.nci.cananolab.domain.particle.Characterization;
import gov.nih.nci.cananolab.dto.common.PointOfContactBean;
import gov.nih.nci.cananolab.dto.particle.characterization.CharacterizationBean;
import gov.nih.nci.cananolab.service.common.LookupService;
import gov.nih.n... |
package com.puppetlabs.certificate_authority;
import org.bouncycastle.asn1.ASN1Encodable;
import org.bouncycastle.asn1.ASN1Object;
import org.bouncycastle.asn1.ASN1ObjectIdentifier;
import org.bouncycastle.asn1.ASN1OctetString;
import org.bouncycastle.asn1.ASN1Primitive;
import org.bouncycastle.asn1.ASN1Sequence;
impor... |
package logic;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
import java.i... |
package com.sarality.app.view.list;
import android.app.SearchManager;
import android.app.SearchableInfo;
import android.content.Context;
import android.support.v4.app.FragmentActivity;
import android.text.TextUtils;
import android.widget.ListView;
import android.widget.SearchView;
import com.sarality.app.view.datasourc... |
package com.home.clicker.ui;
import com.home.clicker.shared.events.*;
import com.home.clicker.shared.events.custom.*;
import com.home.clicker.ui.components.panel.HistoryContainerPanel;
import com.home.clicker.ui.misc.AppThemeColor;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
/**
* Exslims
* 07.1... |
package org.opentdc.resources.opencrx;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.logging.Logger;
import javax.jdo.PersistenceManager;
import javax.jmi.reflect.DuplicateException;
import javax.naming.NamingException;
import javax.servlet.ServletContext;
import org.ope... |
package me.devsaki.hentoid;
import android.annotation.SuppressLint;
import android.content.Intent;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.os.Handler;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import an... |
package org.rootio.services;
import org.rootio.tools.utils.Utils;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import com.esotericsoftware.kryo.util.Util;
/**
* This class listens for boot incidents and restores the services to the state
* they were in befor... |
package org.wikipedia.page;
import android.annotation.TargetApi;
import android.app.SearchManager;
import android.appwidget.AppWidgetManager;
import android.content.ComponentName;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.location.Location;
imp... |
package org.wikipedia.page;
import android.annotation.TargetApi;
import android.app.SearchManager;
import android.appwidget.AppWidgetManager;
import android.content.ComponentName;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.location.Location;
imp... |
package org.wikipedia.util;
import android.app.Activity;
import android.content.Context;
import android.content.DialogInterface;
import android.net.Uri;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.annotation.StringRes;
import android.support.design.widge... |
package wcdi.wcdiplayer;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.media.MediaMetadataRetriever;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
imp... |
package cc.cubone.turbo;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
}
} |
// R u n //
// This software is released under the terms of the GNU General Public //
// to report bugs & suggestions. //
package omr.lag;
import java.awt.*;
/**
* Class <code>Run</code> implements a contiguous ru... |
package org.voltdb.regressionsuites;
import java.io.IOException;
import java.sql.Timestamp;
import org.voltdb.BackendTarget;
import org.voltdb.VoltTable;
import org.voltdb.VoltType;
import org.voltdb.client.Client;
import org.voltdb.client.NoConnectionsException;
import org.voltdb.client.ProcCallException;
import org.v... |
package com.thinkaurelius.titan.graphdb;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Iterables;
import com.thinkaurelius.titan.core.*;
import com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration;
import com.thinkaurelius.titan.graphdb.internal.InternalType;
impor... |
package org.search.nibrs.model;
import java.util.Arrays;
import java.util.Date;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
/**
* Representation of an Arrestee reported within an Incident (either Group A or Group B) in a NIBRS report.
*
*/
public class ArresteeSegment extends ... |
package io.github.ihongs.util.verify;
import io.github.ihongs.HongsException;
import io.github.ihongs.util.Dict;
import io.github.ihongs.util.Synt;
import static io.github.ihongs.util.verify.Rule.BREAK;
import static io.github.ihongs.util.verify.Rule.BLANK;
import java.util.Collection;
import java.util.ArrayList;
impor... |
package org.helioviewer.jhv.gui.dialogs;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.MouseAdapter;
import java.awt.event.Mou... |
package clicker;
import support.Question;
import support.UserSession;
import android.content.Intent;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.support.v4.app.FragmentActivity;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import androi... |
package jsettlers.graphics.map.controls.original;
import go.graphics.GLDrawContext;
import go.graphics.UIPoint;
import go.graphics.event.GOEvent;
import go.graphics.event.GOModalEventHandler;
import go.graphics.event.mouse.GODrawEvent;
import jsettlers.common.buildings.EBuildingType;
import jsettlers.common.map.shapes.... |
package annis.gui.admin.reflinks;
import annis.QueryGenerator;
import annis.libgui.Helper;
import annis.model.DisplayedResultQuery;
import annis.model.Query;
import annis.service.objects.Match;
import annis.service.objects.QueryLanguage;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml... |
package br.com.dbsoft.ui.component.progress;
import javax.faces.component.FacesComponent;
import br.com.dbsoft.ui.component.DBSUIOutput;
import br.com.dbsoft.ui.core.DBSFaces;
import br.com.dbsoft.util.DBSNumber;
@FacesComponent(DBSProgress.COMPONENT_TYPE)
public class DBSProgress extends DBSUIOutput {
public final... |
package ca.blarg.gdx.tilemap3d.tilemesh;
import com.badlogic.gdx.graphics.GL10;
import com.badlogic.gdx.graphics.VertexAttributes;
import com.badlogic.gdx.graphics.g3d.Model;
import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder;
import com.badlogic.gdx.graphics.g3d.utils.ModelBuilder;
import com.badlogic.gdx.util... |
package ca.leblanc.appdirect.controller;
import java.net.HttpURLConnection;
import java.net.URL;
import oauth.signpost.OAuthConsumer;
import oauth.signpost.basic.DefaultOAuthConsumer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.we... |
package ch.fihlon.moodini.server;
import lombok.NonNull;
import lombok.extern.slf4j.Slf4j;
import org.jetbrains.annotations.NotNull;
import javax.json.Json;
import javax.json.JsonObject;
import javax.ws.rs.NotFoundException;
import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.MediaType;
import javax.ws.... |
package com.arkcraft.mod.core.entity.passive;
import net.minecraft.block.Block;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityAgeable;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIFollowOwner;
import net.minecraft.entity.ai.EntityAIFollowParent;
imp... |
package org.broad.igv.batch;
import org.broad.igv.Globals;
import org.broad.igv.PreferenceManager;
import org.broad.igv.feature.RegionOfInterest;
import org.broad.igv.feature.genome.GenomeManager;
import org.broad.igv.track.RegionScoreType;
import org.broad.igv.track.Track;
import org.broad.igv.ui.AbstractHeadedTest;
i... |
package hudson.maven;
import com.gargoylesoftware.htmlunit.html.HtmlPage;
import hudson.model.Descriptor;
import hudson.tasks.ArtifactArchiver;
import hudson.tasks.Maven.MavenInstallation;
import org.jvnet.hudson.test.ExtractResourceSCM;
import org.jvnet.hudson.test.HudsonTestCase;
/**
* @author huybrechts
*/
public ... |
package com.elmakers.mine.bukkit.api.action;
import com.elmakers.mine.bukkit.api.block.MaterialBrush;
import com.elmakers.mine.bukkit.api.block.UndoList;
import com.elmakers.mine.bukkit.api.effect.EffectPlayer;
import com.elmakers.mine.bukkit.api.magic.Mage;
import com.elmakers.mine.bukkit.api.magic.MageController;
imp... |
package com.elmakers.mine.bukkit.utility;
import java.lang.reflect.Method;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.UUID;
import java.util.logging.Level;
import org.bukkit.Bukkit;
import org.bukkit.Material;
import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.inve... |
package com.epam.ta.reportportal.core.configs;
import com.epam.ta.reportportal.commons.ExceptionMappings;
import com.epam.ta.reportportal.commons.exception.forwarding.ClientResponseForwardingExceptionHandler;
import com.epam.ta.reportportal.commons.exception.rest.DefaultErrorResolver;
import com.epam.ta.reportportal.co... |
package com.github.davidcarboni.restolino;
import org.apache.commons.lang3.StringUtils;
import org.reflections.Reflections;
import java.io.IOException;
import java.net.URL;
import java.net.URLClassLoader;
import java.nio.file.FileSystems;
import java.nio.file.Path;
/**
* Determines the correct configuration, based on ... |
package mainClasses;
import javafx.application.Application;
import javafx.stage.Stage;
public class Main extends Application {
public static void main (String[] args) {
launch(args);
}
@Override
public void start (Stage stage) throws Exception {
}
} |
package com.github.ferstl.streams;
import java.util.Collection;
import java.util.Comparator;
import java.util.Optional;
import java.util.Spliterator;
import java.util.concurrent.ForkJoinPool;
import java.util.function.BiConsumer;
import java.util.function.BiFunction;
import java.util.function.BinaryOperator;
import jav... |
package com.github.hiendo.tsa.netty;
import com.github.hiendo.tsa.db.DataPointRepository;
import com.github.hiendo.tsa.web.entities.DataPoint;
import io.netty.channel.ChannelHandler;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundHandlerAdapter;
import io.netty.channel.SimpleChanne... |
package Debrief.Wrappers;
import java.beans.IntrospectionException;
import java.beans.MethodDescriptor;
import java.beans.PropertyDescriptor;
import java.util.Enumeration;
import Debrief.Wrappers.Track.PlanningSegment;
import MWC.GUI.Editable;
import MWC.GUI.Layer;
import MWC.GUI.Properties.PlanningLegCalcModelProperty... |
package be.peopleware.jsf_II.persistence;
import java.beans.PropertyDescriptor;
import java.lang.reflect.InvocationTargetException;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedLi... |
package com.fluxtion.example.unplugged.part1;
public class Main {
public static void main(String[] args) {
TradingCalculator tradingCalculator = new TradingCalculator();
//add listener
tradingCalculator.markToMarketListener(m -> System.out.println("Asset mark to market\t:" + m));
tra... |
package com.graphi.suicideintent.layout;
import com.graphi.suicideintent.SuicideSimulation;
import com.graphi.suicideintent.util.SuicideNode;
import com.graphi.util.Edge;
import com.graphi.util.Node;
import edu.uci.ics.jung.graph.Graph;
import java.awt.CardLayout;
import java.awt.Dimension;
import java.awt.event.Action... |
package org.globus.usage.report;
import java.sql.DriverManager;
import java.sql.Connection;
import java.sql.Statement;
import java.sql.ResultSet;
import java.util.HashMap;
import java.util.TreeMap;
import java.util.Comparator;
import java.util.Map;
import java.util.Iterator;
import java.util.StringTokenizer;
import jav... |
package ai.vespa.feed.client.impl;
import ai.vespa.feed.client.HttpResponse;
import org.apache.hc.client5.http.async.methods.SimpleHttpRequest;
import org.apache.hc.client5.http.async.methods.SimpleHttpResponse;
import org.apache.hc.client5.http.config.RequestConfig;
import org.apache.hc.client5.http.impl.async.Closeab... |
package com.lahodiuk.postagger.viterbi;
import java.util.Arrays;
import java.util.List;
import java.util.Stack;
public class ViterbiAlgorithm {
public static void main(String[] args) {
Iterable<String> path = new ViterbiAlgorithm().getMostProbablePath(
new String[] { "1", "0" },
... |
package com.monkeyapp.blog.controllers;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import com.monkeyapp.blog.models.PostIdRepository;
import org.glassfish.jersey.server.monitoring.MonitoringSt... |
package com.raoulvdberge.refinedstorage.block;
import com.raoulvdberge.refinedstorage.RS;
import com.raoulvdberge.refinedstorage.api.network.node.INetworkNode;
import com.raoulvdberge.refinedstorage.api.network.node.INetworkNodeProxy;
import com.raoulvdberge.refinedstorage.api.network.security.Permission;
import com.ra... |
import javax.swing.JOptionPane;
import java.net.URL;
import java.net.URLClassLoader;
import java.net.URISyntaxException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.IOException;
import java.io.File;
import java.io.FileOutputStream;
import java.lang.reflect.Method;
import java.util.List;
impo... |
package com.google.sps;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableList;
import com.google.sps.data.Event;
import com.google.sps.data.Keyword;
import com.google.sps.store.SearchStore;
import com.google.sps.utilities.KeywordHelper;
import com.google.sps.utilities.SpannerClie... |
package com.smockin.mockserver.service;
import com.smockin.admin.persistence.entity.RestfulMock;
import com.smockin.mockserver.service.bean.ProxiedKey;
import com.smockin.mockserver.service.dto.ProxiedDTO;
import com.smockin.mockserver.service.dto.RestfulResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory... |
package com.theotherian.handlebars.client;
import java.util.List;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.Entity;
import javax.ws.rs.core.GenericType;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import org.apache.http.impl.conn.Poolin... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.