answer stringlengths 17 10.2M |
|---|
package com.xpn.xwiki.plugin.applicationmanager.core.doc.objects.classes;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;... |
package org.openhab.binding.zwave.test.internal.converter;
import static org.junit.Assert.assertEquals;
import static org.mockito.Matchers.*;
import static org.mockito.Mockito.*;
import java.util.HashMap;
import java.util.Map;
import org.eclipse.smarthome.core.library.types.OnOffType;
import org.eclipse.smarthome.core.... |
package org.hswebframework.web.dao.mybatis.mapper;
import lombok.extern.slf4j.Slf4j;
import org.hswebframework.ezorm.core.param.Term;
import org.hswebframework.ezorm.rdb.meta.RDBColumnMetaData;
import org.hswebframework.ezorm.rdb.render.SqlAppender;
import org.hswebframework.ezorm.rdb.render.dialect.Dialect;
import org... |
package org.opencb.opencga.storage.hadoop.utils;
import org.apache.commons.collections4.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.*;
import org.apache.hadoop.hbase.Cell;
import org.apache.hadoop.hbase.CellUtil;
import org.apach... |
package org.opendaylight.controller.samples.differentiatedforwarding.openstack;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;... |
package fr.openwide.core.test.jpa.more.business;
import java.util.Date;
import org.apache.http.HttpStatus;
import org.junit.Assert;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import fr.openwide.core.jpa.exception.Se... |
package io.quarkus.rest.client.reactive.deployment;
import static io.quarkus.arc.processor.MethodDescriptors.MAP_PUT;
import static io.quarkus.rest.client.reactive.deployment.DotNames.CLIENT_EXCEPTION_MAPPER;
import static io.quarkus.rest.client.reactive.deployment.DotNames.CLIENT_HEADER_PARAM;
import static io.quarkus... |
package org.eclipse.smarthome.binding.mqtt.generic.internal.values;
import java.math.BigDecimal;
import java.util.Collections;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import org.eclipse.jdt.annotation.NonNullByDefault;
import org.eclipse.jdt.annotation.Nullable;
import... |
package org.innovateuk.ifs.application.overview.controller;
import org.innovateuk.ifs.security.BaseControllerSecurityTest;
import org.innovateuk.ifs.user.resource.Role;
import org.junit.Test;
import java.util.ArrayList;
import java.util.List;
public class ApplicationOverviewControllerSecurityTest extends BaseController... |
package io.subutai.core.hubmanager.impl.environment.state.build;
import java.util.Set;
import com.google.common.collect.Sets;
import io.subutai.common.environment.Node;
import io.subutai.common.environment.Nodes;
import io.subutai.common.network.UsedNetworkResources;
import io.subutai.common.peer.PeerException;
import ... |
package org.opendaylight.controller.samples.differentiatedforwarding.openstack.performance;
import java.util.ArrayList;
import java.util.List;
import org.opendaylight.controller.samples.differentiatedforwarding.openstack.ReportManager;
import org.opendaylight.controller.samples.differentiatedforwarding.openstack.ssh.Ov... |
package com.b2international.snowowl.snomed.api.impl.validation.service;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import... |
package net.ssehub.easy.instantiation.core.model.vilTypes.configuration;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import net.ssehub.easy.b... |
package org.deviceconnect.android.profile;
import android.content.Intent;
import android.os.Bundle;
import org.deviceconnect.android.message.MessageUtils;
import org.deviceconnect.profile.MediaStreamRecordingProfileConstants;
import java.util.List;
/**
* MediaStream Recording .
*
* <p>
* API.<br/>
* API <br/>
* <... |
package se.callista.microservices.composite.product;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;
/*@Ru... |
package org.nuxeo.ecm.platform.annotations.gwt.client.view;
import org.nuxeo.ecm.platform.annotations.gwt.client.controler.AnnotationController;
import org.nuxeo.ecm.platform.annotations.gwt.client.view.i18n.TranslationConstants;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ClickEvent;
... |
package com.ge.research.sadl.jena.translator;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.ServiceL... |
package org.xwiki.tool.enforcer;
import org.apache.maven.enforcer.rule.api.EnforcerRuleException;
import org.apache.maven.enforcer.rule.api.EnforcerRuleHelper;
import org.apache.maven.model.Dependency;
import org.apache.maven.model.Model;
/**
* Performs checks on the type specified for dependencies in pom.xml files. F... |
package org.csstudio.archive.common.service.mysqlimpl.sample;
import java.io.Serializable;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import javax.annotation.CheckForN... |
//$HeadURL: svn+ssh://lbuesching@svn.wald.intevation.de/deegree/base/trunk/resources/eclipse/files_template.xml $
package org.deegree.services.wps.provider.jrxml.contentprovider;
import static org.deegree.services.wps.provider.jrxml.JrxmlUtils.getAsCodeType;
import static org.deegree.services.wps.provider.jrxml.JrxmlUt... |
package org.xwiki.uiextension;
import java.io.StringWriter;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import org.apache.velocity.VelocityContext;
import org.junit.jupiter.api.Test;
import org.xwiki.component.internal.multi.DelegateComponentManager;
import org.xwiki.component.manager.Componen... |
package io.quarkus.resteasy.server.common.deployment;
import static io.quarkus.runtime.annotations.ConfigPhase.BUILD_TIME;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMa... |
package picodedTests.jCache;
import java.lang.Exception;
import picodedTests.TestConfig;
import redis.embedded.*;
import com.hazelcast.core.*;
import com.hazelcast.config.*;
import com.hazelcast.client.config.ClientConfig;
import com.hazelcast.client.HazelcastClient;
import com.hazelcast.client.config.ClientConfig;
imp... |
package org.eclipse.persistence.tools.workbench.mappingsmodel.query.relational;
import java.util.Iterator;
import java.util.List;
import org.eclipse.persistence.descriptors.ClassDescriptor;
import org.eclipse.persistence.descriptors.DescriptorEvent;
import org.eclipse.persistence.descriptors.DescriptorQueryManager;
imp... |
package pl.wurmonline.deedplanner.data;
import pl.wurmonline.deedplanner.data.bridges.BridgePart;
import java.util.*;
import java.util.Map.Entry;
import javax.media.opengl.GL2;
import org.w3c.dom.*;
import pl.wurmonline.deedplanner.*;
import pl.wurmonline.deedplanner.data.storage.Data;
import pl.wurmonline.deedplanner.... |
package org.xwiki.eventstream.internal;
import java.util.Date;
import java.util.List;
import org.xwiki.job.AbstractRequest;
import org.xwiki.job.Request;
/**
* The request used to configure {@link LegacyEventMigrationJob}.
*
* @version $Id$
* @since 12.6
*/
public class LegacyEventMigrationRequest extends Abstract... |
package io.airlift.log;
public enum Level
{
OFF(java.util.logging.Level.OFF),
DEBUG(java.util.logging.Level.FINE),
INFO(java.util.logging.Level.INFO),
WARN(java.util.logging.Level.WARNING),
ERROR(java.util.logging.Level.SEVERE);
private final java.util.logging.Level julLevel;
Level(java.util... |
package org.csstudio.opibuilder.converter.writer;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import org.csstudio.opibuilder.converter.EdmConverterTest;
import org.csstudio.opibuilder.converter.model.EdmColor;
import org.csstudio.opibuilder.converter.model.EdmDisplay;
import ... |
package com.arun.parallel;
import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.List;
import java.util.function.Supplier;
public class SupplierFactory {
public static Supplier<Boolean> createSupplier(BooleanConsumer consumer) {
re... |
package com.biermacht.brews.recipe;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import com.biermacht.brews.ingredient.Fermentable;
import com.biermacht.brews.ingredient.Hop;
import com.biermacht.brews.ingredient.Ingredient;
import com.biermacht.brews.ingredient.Misc;
import co... |
package org.deeplearning4j.models.sequencevectors.transformers.impl.iterables;
import lombok.NonNull;
import lombok.extern.slf4j.Slf4j;
import org.deeplearning4j.models.sequencevectors.sequence.Sequence;
import org.deeplearning4j.models.sequencevectors.transformers.impl.SentenceTransformer;
import org.deeplearning4j.mo... |
package com.brein.api;
import com.brein.domain.BreinConfig;
import com.brein.domain.results.BreinRecommendationResult;
import com.brein.util.BreinMapUtil;
import com.brein.util.BreinUtil;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class BreinRecommendation ext... |
package cn.cerc.core;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
/**
*
*
* @author
*/
public class TDate extends TDateTime {
private static final long serialVersionUID = 1L;
public TDate(Date date) {
this.setData(date);
}
public TDate(String da... |
package com.edinarobotics.zeke;
import com.edinarobotics.zeke.subsystems.Collector;
import com.edinarobotics.zeke.subsystems.Drivetrain;
import com.edinarobotics.zeke.subsystems.DrivetrainRotation;
import com.edinarobotics.zeke.subsystems.DrivetrainStrafe;
import com.edinarobotics.zeke.subsystems.Shooter;
import edu.wp... |
package com.example.mystocks;
import java.util.Arrays;
import java.util.HashMap;
import com.example.mystocks.info.AbstractOnXMLParseAction;
import com.example.mystocks.info.AsyncTaskGetAndParseXML;
import com.example.mystocks.info.EStockAttributes;
import android.app.Activity;
import android.content.Context;
import and... |
package com.haxademic.core.app;
import java.awt.Robot;
import java.awt.event.KeyEvent;
import java.io.IOException;
import javax.sound.midi.InvalidMidiDataException;
import com.haxademic.core.audio.analysis.input.AudioInputBeads;
import com.haxademic.core.audio.analysis.input.AudioInputESS;
import com.haxademic.core.aud... |
package org.xwiki.security.authorization.internal;
import java.util.Formatter;
import java.util.HashMap;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.xwiki.model.reference.DocumentReference;
import org.xwiki.model.reference.DocumentReferenceResolver;
import org.xwiki.model.... |
package com.ibm.nmon.parser;
import org.slf4j.Logger;
import java.io.IOException;
import java.io.File;
import java.io.FileReader;
import java.io.LineNumberReader;
import java.text.SimpleDateFormat;
import java.text.ParseException;
import java.util.List;
import java.util.Map;
import java.util.TimeZone;
import java.util.... |
package com.inet.lib.less;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import java.awt.image.DataBufferInt;
import java.awt.image.WritableRaster;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.net.URL;
import java.util.List;
import javax.imageio... |
package com.maddyhome.idea.vim;
import com.intellij.ide.DataManager;
import com.intellij.ide.IdeEventQueue;
import com.intellij.openapi.actionSystem.*;
import com.intellij.openapi.application.Application;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.application.ModalityState;
... |
package org.springframework.ide.vscode.commons.languageserver.completion;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.CompletableFuture;
import org.eclipse.lsp4j.CompletionItem;
import org.eclipse.lsp4j.CompletionList;
import org.eclipse.lsp4j.InsertTextF... |
package org.opentosca.iaengine.plugins.dockercompose.service.impl;
import java.net.URI;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.Map;
import java.util.HashMap;
import org.opentosca.core.model.artifact.AbstractArtifact;
import org.opentosca.core.model.artifact.file.Abstra... |
package de.uni_hildesheim.sse.easy_producer.instantiator.model.expressions;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import de.uni_hildesheim.sse.easy_producer.instantiator.model.common.VilException;
import de.uni_hildesheim.sse.easy_producer.instantiator.model.vilTypes.Constants;
imp... |
package se.z_app.zmote.gui;
import java.util.ArrayList;
import android.content.Context;
import android.util.AttributeSet;
import android.util.Log;
import android.view.GestureDetector;
import android.view.GestureDetector.SimpleOnGestureListener;
import android.view.MotionEvent;
import android.view.View;
import android.w... |
package es.eurohelp.ldts;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.junit.AfterClass;
import org.junit.Rule;
import org.junit.Test;
impo... |
package examples;
import co.unruly.control.result.Result;
import co.unruly.control.result.Types;
import co.unruly.control.validation.Validator;
import co.unruly.control.validation.Validators;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
import static co.unruly.control.re... |
package guitests;
import static seedu.doit.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import java.util.Arrays;
import java.util.Comparator;
import org.junit.Test;
import seedu.doit.commons.exceptions.IllegalValueException;
import seedu.doit.logic.commands.SortCommand;
import seedu.doit.model.comparators.EndT... |
package imagej.patcher;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.util.jar.JarOutputStream;
import java.util.zip.ZipEntry;
public class TestUtils {
/**
* Makes a temporary directory for use with unit tests.
... |
package javax.time;
import static javax.time.DayOfWeek.*;
import static javax.time.Moments.*;
/**
* Test class.
*
* @author Stephen Colebourne
*/
public class TestFluentAPI {
public static void main(String[] args) {
TimeOfDay tod = currentTime();
tod.plusHours(6).plusMinutes(2);
tod.plus... |
package oktesting;
import ext.junit.SparkApplicationTest;
import ext.junit.SparkRunner;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import oktesting.app.di.TestApplicationContainer;
import org.junit.Test;
import org.junit.runner.RunWith;
import java.io.IOException;
import static org.as... |
package org.kitteh.irc;
import org.junit.Assert;
import org.junit.Test;
/**
* Confirm an event listener can be registered and an event fired.
*/
public class EventTest {
private class Event {
private boolean success = false;
}
@Test
public void testEventRegistration() {
EventManager ma... |
package org.takes.tk;
import com.jcabi.aspects.Tv;
import java.io.IOException;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.junit.Test;
import org.mockito.Mockito;
import org.takes.Request;
import org.takes.Take;
import org.takes.rq.RqFake;
import org.takes.rq.RqMethod;
import org.takes.r... |
package BlueTurtle.TSE;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;
import static org.junit.Assert.assertTrue;
import java.io.File;
import org.junit.Before;
import org.junit.Test;
import BlueTurtle.gui.GUIController.ASAT;
/**
* Test for the JavaController class.
*
* @... |
package com.alibaba.json.bvt.bug;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.annotation.JSONField;
import junit.framework.TestCase;
import java.util.Date;
import java.util.Locale;
import java.util.TimeZone;
public class Issue978 extends TestCase {
protected... |
package org.javacint.settings;
//#if sdkns == "siemens"
import com.siemens.icm.io.file.FileConnection;
//#elif sdkns == "cinterion"
//# import com.cinterion.io.file.FileConnection;
//#endif
import java.io.*;
import java.util.*;
import javax.microedition.io.Connector;
import org.javacint.logging.Logger;
/**
* Settings ... |
package ie.omk.smpp.message;
import ie.omk.smpp.Address;
import ie.omk.smpp.BadCommandIDException;
import ie.omk.smpp.ErrorAddress;
import ie.omk.smpp.SMPPException;
import ie.omk.smpp.util.GSMConstants;
import ie.omk.smpp.util.PacketFactory;
import ie.omk.smpp.util.SMPPDate;
import ie.omk.smpp.util.SMPPIO;
import java... |
package e2e;
import scaffolding.TestProject;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.MatcherAssert.assertThat;
import static scaffolding.CountMatcher.noneOf;
import static scaffolding.CountMatcher.oneOf;
import static scaffolding.MvnRunner.assertArtifactInLocalRepo;
import sta... |
package hudson.plugins.git;
import static java.util.Arrays.asList;
import static java.util.concurrent.TimeUnit.SECONDS;
import hudson.model.FreeStyleBuild;
import hudson.model.FreeStyleProject;
import hudson.plugins.git.extensions.impl.EnforceGitClient;
import hudson.scm.PollingResult;
import hudson.triggers.SCMTrigger... |
package info.javaspecproto;
import info.javaspec.dsl.Because;
import info.javaspec.dsl.Cleanup;
import info.javaspec.dsl.Establish;
import info.javaspec.dsl.It;
import org.hamcrest.MatcherAssert;
import java.io.ByteArrayOutputStream;
import java.util.LinkedList;
import java.util.List;
import static org.hamcrest.Matcher... |
//@@author A0121621Y
package jfdi.test.storage;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.HashMap;
import jfd... |
package org.exist.storage.btree;
import org.exist.EXistException;
import org.exist.storage.BrokerPool;
import org.exist.test.ExistEmbeddedServer;
import org.exist.util.*;
import org.exist.xquery.TerminatedException;
import org.exist.xquery.value.AtomicValue;
import org.exist.xquery.value.DoubleValue;
import org.junit.*... |
package org.opencompare;
import org.junit.Assert;
import org.junit.Test;
import org.opencompare.api.java.PCMElement;
import org.opencompare.api.java.PCMFactory;
import org.opencompare.api.java.Value;
import org.opencompare.api.java.util.PCMVisitor;
import org.opencompare.api.java.value.BooleanValue;
import org.opencomp... |
package org.redmine.ta;
import org.junit.*;
import org.redmine.ta.RedmineManager.INCLUDE;
import org.redmine.ta.beans.*;
import org.redmine.ta.internal.logging.Logger;
import org.redmine.ta.internal.logging.LoggerFactory;
import java.io.IOException;
import java.net.URISyntaxException;
import java.util.*;
import static ... |
package cgeo.geocaching;
import butterknife.ButterKnife;
import butterknife.InjectView;
import cgeo.geocaching.activity.ShowcaseViewBuilder;
import cgeo.geocaching.connector.ILoggingManager;
import cgeo.geocaching.connector.ImageResult;
import cgeo.geocaching.connector.LogResult;
import cgeo.geocaching.enumerations.Loa... |
package org.redmine.ta;
import org.junit.*;
import org.redmine.ta.RedmineManager.INCLUDE;
import org.redmine.ta.beans.*;
import org.redmine.ta.internal.logging.Logger;
import org.redmine.ta.internal.logging.LoggerFactory;
import java.io.IOException;
import java.net.URISyntaxException;
import java.util.*;
import static ... |
package org.deviceconnect.android.deviceplugin.smartmeter.setting.fragment;
import android.app.Activity;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.hardware.usb.UsbDevice;
import android.hardware.usb.UsbMan... |
package tutorialspoint.basicoperators;
public class Test {
void printArithmeticOperatorsExample() {
int a = 10;
int b = 20;
int c = 25;
int d = 25;
System.out.println("a = " + a);
System.out.println("b = " + b);
System.out.println("c = " + c);
System.out.println("d = " + d);
System... |
package seedu.ezdo.logic;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static seedu.ezdo.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import static seedu.ezdo.commons.core.Messages.MESSAGE_INVALID_TASK_DISPLAYED_INDEX... |
package org.deeplearning4j.models.sequencevectors.transformers.impl.iterables;
import lombok.extern.slf4j.Slf4j;
import org.datavec.api.util.ClassPathResource;
import org.deeplearning4j.models.sequencevectors.sequence.Sequence;
import org.deeplearning4j.models.sequencevectors.transformers.impl.SentenceTransformer;
impo... |
package seedu.jimi.logic;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static seedu.jimi.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import static seedu.jimi.commons.core.Messages.MESSAGE_INVALID_TASK_DISPLAYED_INDEX... |
package io.quarkus.resteasy.reactive.server.deployment;
import static io.quarkus.resteasy.reactive.common.deployment.QuarkusResteasyReactiveDotNames.HTTP_SERVER_REQUEST;
import static io.quarkus.resteasy.reactive.common.deployment.QuarkusResteasyReactiveDotNames.HTTP_SERVER_RESPONSE;
import static io.quarkus.resteasy.r... |
package org.innovateuk.ifs.application.forms.questions.generic.controller;
import org.innovateuk.ifs.BaseControllerMockMVCTest;
import org.innovateuk.ifs.applicant.resource.ApplicantQuestionResource;
import org.innovateuk.ifs.applicant.service.ApplicantRestService;
import org.innovateuk.ifs.application.forms.questions.... |
package fr.openwide.core.showcase.web.application.portfolio.component;
import org.apache.wicket.markup.html.WebMarkupContainer;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.model.IModel;
import org.odlabs.wiquery.core.events.MouseEvent;
import fr.openwide.core.showcase.core.business.user.m... |
package org.xins.tests.server;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.xins.server.AccessRule;
import org.xins.server.IPFilter;
import org.xins.util.text.FastStringBuffer;
import org.xins.util.text.ParseException;
/**
* Tests for class <code>AccessRule... |
package rapanui.dsl;
public interface Visitor {
default void visit(RuleSystem ruleSystem) {}
default void visit(Rule rule) {}
default void visit(Definition definition) {}
default void visit(Formula formula) {};
default void visit(Equation equation) { visit((Formula)equation); }
default void visi... |
package org.apereo.cas.support.oauth.web.response.accesstoken.response;
import org.apereo.cas.support.oauth.OAuth20Constants;
import org.apereo.cas.support.oauth.OAuth20ResponseTypes;
import org.apereo.cas.ticket.accesstoken.AccessToken;
import org.apereo.cas.token.JWTBuilder;
import com.fasterxml.jackson.databind.Obje... |
package org.xwiki.sharepage.test.ui;
import javax.mail.internet.MimeMessage;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Order;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInfo;
import org.xw... |
package org.geomajas.widget.searchandfilter.command.searchandfilter;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.geomajas.command.Command;
import org.geomajas.global.ExceptionCode;
import org.geomajas.global.GeomajasException;
import org.geomajas.layer... |
package BluebellAdventures.Characters;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.util.Iterator;
import java.util.concurrent.CopyOnWriteArrayList;
import javax.imageio.ImageIO;
import BluebellAdventures.Characters.GameMap;
import Megumin... |
package org.carlspring.strongbox.config;
import org.carlspring.strongbox.artifact.coordinates.MavenArtifactCoordinates;
import org.carlspring.strongbox.providers.layout.Maven2LayoutProvider;
import org.carlspring.strongbox.providers.search.MavenIndexerSearchProvider;
import org.carlspring.strongbox.repository.MavenRepo... |
package org.xwiki.search.solr.internal.rest;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import java.util.Locale;
import javax.inject.Inject;
import javax.inject.Named;
import javax.inject.Provider;
import javax.inject.Singleton;
import javax.ws.rs.core.UriInfo;
... |
package org.apache.hadoop.yarn.server.timeline;
import com.google.gson.Gson;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.net.NetUtils;
import org.apache.hadoop.service.AbstractService;
import org.apache.hadoop... |
package com.net2plan.gui.plugins.networkDesign.viewEditTopolTables.rightPanelTabs;
import cern.colt.matrix.tdouble.DoubleMatrix1D;
import com.google.common.collect.Sets;
import com.net2plan.gui.plugins.networkDesign.ParamValueTable;
import com.net2plan.gui.utils.*;
import com.net2plan.gui.plugins.networkDesign.viewEdit... |
package dk.itu.ai;
import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;
import org.newdawn.slick.util.Log;
import mu.nu.nullpo.game.component.Controller;
import mu.nu.nullpo.game.component.Piece;
import mu.nu.nullpo.game.component.RuleOptions;
import mu.nu.nullpo.game.play.GameEngine;
import mu... |
package org.jpos.ee;
import org.dom4j.Document;
import org.dom4j.DocumentException;
import org.dom4j.Element;
import org.dom4j.io.SAXReader;
import org.hibernate.*;
import org.hibernate.boot.Metadata;
import org.hibernate.boot.MetadataSources;
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
import or... |
package org.jboss.qa.brms.performance.localsearch.projectjobscheduling.moveselector;
import org.jboss.qa.brms.performance.examples.projectjobscheduling.termination.ProjectJobSchedulingCalculateCountTermination;
import org.jboss.qa.brms.performance.configuration.AcceptorConfigurations;
import org.jboss.qa.brms.performan... |
package org.xwiki.rendering.internal.macro;
import org.junit.jupiter.api.Test;
import org.xwiki.model.EntityType;
import org.xwiki.rendering.macro.include.IncludeMacroParameters;
import static org.junit.jupiter.api.Assertions.assertSame;
/**
* Validate {@link IncludeMacroParameters}.
*
* @version $Id$
*/
public cla... |
package org.xwiki.image.style.test.ui;
import java.net.URI;
import java.util.HashMap;
import java.util.List;
import javax.ws.rs.core.UriBuilder;
import org.apache.commons.httpclient.methods.GetMethod;
import org.junit.jupiter.api.Test;
import org.xwiki.image.style.rest.ImageStylesResource;
import org.xwiki.image.style.... |
package com.google.mbdebian.springboot.playground.microservices.tutorial;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
impo... |
package org.xwiki.wikistream.instance.internal.input;
import java.lang.reflect.ParameterizedType;
import java.util.Iterator;
import java.util.Map;
import javax.inject.Inject;
import javax.inject.Provider;
import javax.inject.Singleton;
import org.xwiki.component.annotation.Component;
import org.xwiki.component.util.Def... |
package ysitd.ircbot.java.api;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.jar.JarEntry;
import java.u... |
package org.xwiki.notifications.filters.internal;
import java.util.Arrays;
import java.util.List;
import javax.inject.Named;
import javax.inject.Singleton;
import org.xwiki.component.annotation.Component;
import org.xwiki.model.reference.LocalDocumentReference;
import org.xwiki.text.StringUtils;
import com.xpn.xwiki.do... |
package NewApproaches;
import static BlockBuilding.IBlockBuilding.DOC_ID;
import static BlockBuilding.IBlockBuilding.VALUE_LABEL;
import BlockBuilding.StandardBlocking;
import DataModel.Attribute;
import DataModel.EntityProfile;
import java.io.IOException;
import java.util.HashSet;
import java.util.List;
import java.ut... |
package com.jake.sword;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.lang.model.element.Element;
import javax.lang.model.element.ExecutableElement;
import javax.lang.model.element.PackageElement;
import ja... |
/*
* Formerly a camera controller, now provides calculations to support
* PlanetAppState as a camera controller.
*/
package engine;
import celestial.Celestial;
import com.jme3.app.Application;
import com.jme3.asset.AssetManager;
import com.jme3.export.JmeExporter;
import com.jme3.export.JmeImporter;
import com.jme3.... |
package entity.model;
import entity.model.strategies.FeedingStrategy;
import entity.model.strategies.MoveStrategy;
import entity.model.strategies.RandomMoveStrategy;
import entity.model.util.AnimalAnim;
import io.Window;
import org.joml.Vector2f;
import render.Animation;
import render.Camera;
import world.World;
public... |
package com.creedon.cordova.plugin.captioninput;
import android.app.Activity;
import android.app.ActivityManager;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import org.apache.cordova.CallbackContext;
import org.apache.cordova.CordovaPlugin;
import org.apache.cordova.PluginR... |
package com.mbppower;
import android.app.Activity;
import android.content.pm.ActivityInfo;
import android.app.Fragment;
import android.content.Context;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.graphics.Bitmap.CompressFormat;
import android.util.Base64;
import android.grap... |
package fractalFlameV3;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import javax.imageio.stream.FileImageInputStream;
import com.google.gson.GsonBuilder;
import fractalFlameV3.fractalGenome.FractalGenome;
imp... |
package gamepack;
import org.newdawn.slick.AppGameContainer;
import org.newdawn.slick.BasicGame;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.SlickException;
public class WindowGame extends BasicGame
{
// ATTRIBUTES
private GameContainer container;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.