answer
stringlengths
17
10.2M
package org.smerty.jham; 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.smerty.jham.Passert.assertMaxError; import org.junit.Test; public class AngleTest { private stati...
package prm4j.util; import java.util.Collection; import java.util.Iterator; import java.util.Map; import prm4j.api.Alphabet; import prm4j.api.MatchHandler; import prm4j.api.Parameter; import prm4j.api.Symbol0; import prm4j.api.Symbol1; import prm4j.api.Symbol2; import prm4j.api.fsm.FSM; import prm4j.api.fsm.FSMState; i...
package us.kbase.test.auth2.cli; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import static org.junit.Assert.fail; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import static us.kbase.test.auth2.TestCommon.assertClear; import java.io.IOExceptio...
package com.facebook.presto.server; import com.facebook.presto.OutputBuffers; import com.facebook.presto.ScheduledSplit; import com.facebook.presto.TaskSource; import com.facebook.presto.client.FailureInfo; import com.facebook.presto.execution.BufferInfo; import com.facebook.presto.execution.ExecutionStats.ExecutionSta...
package gov.nih.nci.cabig.caaers.domain; import java.util.ArrayList; import java.util.Date; import java.util.List; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.OneToMany; import javax.persistence.Ta...
package org.bouncycastle.jce.provider; import java.io.IOException; import java.security.AccessController; import java.security.PrivateKey; import java.security.PrivilegedAction; import java.security.Provider; import java.security.PublicKey; import java.util.HashMap; import java.util.Map; import org.bouncycastle.asn1.AS...
package com.mysema.query.codegen; import static com.mysema.codegen.Symbols.ASSIGN; import static com.mysema.codegen.Symbols.COMMA; import static com.mysema.codegen.Symbols.DOT; import static com.mysema.codegen.Symbols.DOT_CLASS; import static com.mysema.codegen.Symbols.EMPTY; import static com.mysema.codegen.Symbols.NE...
package org.rakam; import com.google.common.eventbus.EventBus; import org.rakam.analysis.ContinuousQueryService; import org.rakam.analysis.InMemoryQueryMetadataStore; import org.rakam.analysis.TestContinuousQueryService; import org.rakam.analysis.metadata.Metastore; import org.rakam.collection.FieldDependencyBuilder; i...
package zorbage.type.data.util; import zorbage.type.algebra.AbsoluteValue; import zorbage.type.algebra.Equality; import zorbage.type.algebra.Group; import zorbage.type.algebra.IntegralDivision; import zorbage.type.algebra.Multiplication; /** * * @author Barry DeZonia * */ public class GcdLcmHelper { private Gcd...
package VASSAL.build.module; import java.awt.AWTEventMulticaster; import java.awt.AlphaComposite; import java.awt.Color; import java.awt.Component; import java.awt.Composite; import java.awt.Container; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Insets; import java.a...
package org.cbioportal.security.spring.authentication.saml; import java.util.List; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.cbioportal.model.User; import org.cbioportal.model.UserAuthorities; import org.cbioportal.persistence.SecurityRepository; import org.cbioport...
package gow.fcm.pantallas; import gow.fcm.footballcoachmanager.R; import gow.fcm.footballcoachmanager.R.layout; import gow.fcm.footballcoachmanager.R.menu; import android.os.Bundle; import android.app.Activity; import android.view.Menu; public class EstadisticasJugador extends Activity { @Override protected voi...
package eu.bcvsolutions.idm.core.rest.impl; import java.util.List; import org.joda.time.LocalDate; import org.junit.Assert; import org.junit.Ignore; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import eu.bcvsolutions.idm.core.api.dto.IdmContractPositionDto; import eu.bcvsolution...
package com.rgi.g2t; import java.awt.AlphaComposite; import java.awt.Color; import java.awt.Graphics2D; import java.awt.geom.AffineTransform; import java.awt.image.AffineTransformOp; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Pa...
package org.csstudio.sds.components.ui.internal.figures; import org.csstudio.sds.ui.figures.IBorderEquippedWidget; import org.csstudio.sds.util.CustomMediaFactory; import org.eclipse.draw2d.AbstractBorder; import org.eclipse.draw2d.Graphics; import org.eclipse.draw2d.IFigure; import org.eclipse.draw2d.LineBorder; impor...
package org.hisp.dhis.artemis.audit.listener; import static com.google.common.base.Preconditions.checkNotNull; import java.io.Serializable; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Optional; ...
package org.elasticsearch.xpack.security.action.user; import org.elasticsearch.ElasticsearchSecurityException; import org.elasticsearch.action.ActionListener; import org.elasticsearch.action.support.ActionFilters; import org.elasticsearch.cluster.metadata.IndexNameExpressionResolver; import org.elasticsearch.common.Str...
package com.rockwellcollins.atc.agree.analysis; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.SortedMap; import org.osate.aadl2.instance.ComponentInstance; import com.rockwellcollins.atc.agree...
package io.quarkus.bootstrap.resolver.maven; import io.quarkus.bootstrap.model.AppArtifact; import io.quarkus.bootstrap.resolver.maven.options.BootstrapMavenOptions; import io.quarkus.bootstrap.resolver.maven.workspace.LocalProject; import io.quarkus.bootstrap.resolver.maven.workspace.LocalWorkspace; import io.quarkus....
package io.subutai.core.hubmanager.impl.tunnel; import java.util.Set; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.apache.http.HttpStatus; import io.subutai.common.command.CommandException; import io.subutai.common.command.CommandResult; import io.subutai.common.command.RequestBuilder; import io....
package org.safehaus.subutai.core.peer.impl; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.UUID; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import ja...
package mutation; import controller.GenomeGraph; import genome.Strand; import genome.StrandEdge; import java.util.ArrayList; import java.util.HashMap; /** * The Class AllMutations. * * @author Jeffrey Helgers. * This class computes all the mutations in the given dataset. */ public class Mutations { /** * ...
package org.eclipse.xtext.parser.terminalrules; import org.eclipse.xtext.GrammarUtil; import org.eclipse.xtext.conversion.IValueConverter; import org.eclipse.xtext.conversion.ValueConverter; import org.eclipse.xtext.conversion.impl.AbstractDeclarativeValueConverterService; import org.eclipse.xtext.conversion.impl.Abstr...
package cn.com.sunjiesh.thirdservice.wechat.controller; import java.util.HashMap; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; impor...
package org.eclipse.birt.report.designer.internal.ui.dialogs; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import org.eclipse.birt.report.designer.core.model.Sessio...
import org.json.simple.JSONArray; import org.json.simple.JSONObject; import spark.Request; import spark.Response; import java.io.IOException; import java.util.Date; import java.util.HashMap; import java.util.Map; import java.util.logging.FileHandler; import java.util.logging.Logger; import java.util.logging.SimpleForma...
package org.epics.pvmanager.graphene; import java.awt.image.BufferedImage; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.epics.graphene.*; import org.epics.pvmanager.QueueCollector; import org.epics.pvmanager.ReadFunction; import org.epics.util.array.ArrayDouble; import org...
package org.kuali.coeus.s2sgen.impl.generate.support; import gov.grants.apply.forms.phsFellowshipSupplemental31V31.*; import gov.grants.apply.forms.phsFellowshipSupplemental31V31.DegreeTypeDataType; import gov.grants.apply.forms.phsFellowshipSupplemental31V31.FieldOfTrainingDataType; import gov.grants.apply.forms.phsFe...
package orc.ast.simple.type; import java.lang.reflect.TypeVariable; import java.util.LinkedList; import java.util.List; import orc.env.Env; import orc.error.OrcError; import orc.error.compiletime.typing.ArgumentArityException; import orc.error.compiletime.typing.SubtypeFailureException; import orc.error.compiletime.typ...
package org.hisp.dhis.analytics.table; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.hisp.dhis.analytics.AnalyticsTableGenerator; import org.hisp.dhis.analytics.AnalyticsTableHook; import org.hisp.dhis.analytics.AnalyticsTableHookService; import org.hisp.dhis.analytics....
package org.eclipse.collections.codegenerator.maven; import java.net.URL; import java.net.URLClassLoader; import java.util.Arrays; import java.util.List; import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureException; import org.ap...
package org.elasticsearch.shield.authc.ldap.support; import com.unboundid.ldap.listener.InMemoryDirectoryServer; import com.unboundid.ldap.sdk.LDAPConnection; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.shield.authc.RealmConfig; import org.elasticsearch.shield.authc.support.SecuredString...
package org.ovirt.engine.ui.uicommonweb.models.storage; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import org.ovirt.engine.core.common.action.ImportVmTemplat...
package edu.kit.iti.formal.pse.worthwhile.interpreter; import java.math.BigInteger; import java.util.HashMap; import java.util.Map; import java.util.Set; import java.util.Stack; import org.eclipse.emf.common.util.EList; import edu.kit.iti.formal.pse.worthwhile.model.ast.ASTNode; import edu.kit.iti.formal.pse.worthwhile...
package org.wso2.carbon.pc.core.assets.resources; import org.apache.commons.io.IOUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.jaggeryjs.hostobjects.stream.StreamHostObject; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; imp...
package mod._file.calc; import java.io.PrintWriter; import lib.Status; import lib.StatusException; import lib.TestCase; import lib.TestEnvironment; import lib.TestParameters; import com.sun.star.beans.PropertyValue; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.uno.XInterface; /** * Here <code>com....
package uk.ac.ebi.pride.proteinidentificationindex.search.service.repository; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.solr.core.query.result.FacetPage; import org.springframework.data.solr.core.query.result.HighlightPage; import org.s...
package fr.inra.maiage.bibliome.alvisnlp.bibliomefactory.modules.tees; import java.io.File; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.logging.Logger; import fr.inra.maiage.bibliome.alvisnlp.bibliomefactory.modules.tees.CorpusTEES.Document.Se...
package at.irian.ankorman.sample2.fxclient.task; import at.irian.ankor.action.Action; import at.irian.ankor.ref.Ref; import at.irian.ankor.ref.listener.RefChangeListener; import at.irian.ankor.ref.listener.RefListeners; import at.irian.ankorman.sample2.fxclient.BaseTabController; import at.irian.ankorman.sample2.viewmo...
package org.vitrivr.cineast.standalone.importer.vbs2019.v3c1analysis; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.vitrivr.cineast.core.features.SegmentTags; import org.vitrivr.cineast.co...
package io.quarkus.kubernetes.client.deployment; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.function.Predicate; import java.util.stream.Collectors; import org.jboss.jandex.ClassInfo; import org.jboss.jandex.DotName; import org.jboss.jandex.Type; impo...
package org.ovirt.engine.ui.uicommonweb.builders.vm; import java.util.ArrayList; import java.util.List; import org.ovirt.engine.core.common.businessentities.VmBase; import org.ovirt.engine.core.common.businessentities.VmNumaNode; import org.ovirt.engine.core.common.utils.Pair; import org.ovirt.engine.core.compat.Guid; ...
package org.ovirt.engine.ui.uicommonweb.models.networks; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; import org.ovirt.engine.core.common.action.AddNetworkStoragePoolParameters; import...
package no.uio.ifi.alboc.chargenerator; /* * module CharGenerator */ import java.io.*; import no.uio.ifi.alboc.alboc.AlboC; import no.uio.ifi.alboc.error.Error; import no.uio.ifi.alboc.log.Log; /* * Module for reading single characters. */ public class CharGenerator { public static char curC, nextC; private...
package org.pocketcampus.plugin.freeroom.server.tests; import static org.junit.Assert.assertTrue; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.net.HttpURLConnection; import java.sql.Connection; import java.sql.DriverManager; import java.sq...
package com.opengamma.financial.analytics.model.forex.forward; import java.util.Map; import java.util.Set; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Iterables; import com.opengamma.OpenGammaRuntimeException; import com.opengamma.engine.ComputationTarget; import com.opengamma.engine...
package org.keycloak.testsuite.saml; import org.junit.Ignore; import org.junit.Test; import org.keycloak.saml.common.constants.JBossSAMLURIConstants; import org.keycloak.testsuite.arquillian.annotation.AuthServerContainerExclude; import org.keycloak.testsuite.arquillian.annotation.SetDefaultProvider; import org.keycloa...
package org.jboss.as.test.integration.domain.mixed.eap700; import org.jboss.as.test.integration.domain.mixed.MixedDomainDeploymentTest; import org.jboss.as.test.integration.domain.mixed.Version; import org.jboss.as.test.integration.domain.mixed.Version.AsVersion; import org.jboss.as.test.shared.TestSuiteEnvironment; im...
package io.github.jklingsporn.vertx.jooq.shared.reactive; import io.github.jklingsporn.vertx.jooq.shared.internal.AbstractQueryExecutor; import io.reactiverse.pgclient.Tuple; import io.reactiverse.pgclient.impl.ArrayTuple; import io.vertx.core.logging.Logger; import io.vertx.core.logging.LoggerFactory; import org.jooq....
package org.eclipse.birt.report.item.crosstab.internal.ui.dnd; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import org.eclipse.birt.report.designer.core.DesignerConstants; import org.eclipse.birt.report.designer.core.commands.CreateCommand...
package org.csstudio.utility.channelfinder; import org.eclipse.ui.plugin.AbstractUIPlugin; import org.osgi.framework.BundleContext; /** * The activator class controls the plug-in life cycle */ public class Activator extends AbstractUIPlugin { // The plug-in ID public static final String PLUGIN_ID = "org.csstu...
package de.ptb.epics.eve.editor.views.motoraxisview.filecomposite; import java.io.File; import org.apache.log4j.Logger; import org.eclipse.core.databinding.Binding; import org.eclipse.core.databinding.UpdateValueStrategy; import org.eclipse.core.databinding.beans.BeansObservables; import org.eclipse.core.databinding.ob...
package com.horcrux.svg; import android.graphics.PointF; import com.facebook.react.bridge.Arguments; import com.facebook.react.bridge.ReadableArray; import com.facebook.react.bridge.ReadableMap; import com.facebook.react.bridge.WritableMap; import java.util.ArrayList; import javax.annotation.Nonnull; import javax.annot...
package org.csstudio.opibuilder.adl2boy.translator; import org.csstudio.opibuilder.model.AbstractContainerModel; import org.csstudio.opibuilder.model.AbstractWidgetModel; import org.csstudio.opibuilder.util.MacrosInput; import org.csstudio.opibuilder.widgetActions.ActionsInput; import org.csstudio.opibuilder.widgetActi...
package edu.umd.cs.findbugs.detect; import java.util.HashSet; import java.util.Set; import org.apache.bcel.Repository; import org.apache.bcel.classfile.JavaClass; import edu.umd.cs.findbugs.ba.AnalysisContext; import edu.umd.cs.findbugs.ba.ch.Subtypes; public class Analyze { static private JavaClass serializable; ...
package vgtest.testview.view; import rhcad.touchvg.IGraphView; import rhcad.touchvg.IViewHelper; import rhcad.touchvg.ViewFactory; import rhcad.touchvg.view.SFGraphView; import vgtest.testview.TestFlags; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.util.Log; impo...
package org.csstudio.opibuilder.adl2boy.translator; import org.csstudio.opibuilder.model.AbstractContainerModel; import org.csstudio.opibuilder.model.AbstractWidgetModel; import org.csstudio.opibuilder.util.MacrosInput; import org.csstudio.opibuilder.widgetActions.ActionsInput; import org.csstudio.opibuilder.widgetActi...
package gov.nih.nci.cabig.caaers.rules.business.service; import gov.nih.nci.cabig.caaers.AbstractTestCase; import gov.nih.nci.cabig.caaers.domain.*; import gov.nih.nci.cabig.caaers.domain.expeditedfields.ExpeditedReportSection; import gov.nih.nci.cabig.caaers.domain.report.Mandatory; import gov.nih.nci.cabig.caaers.dom...
package com.goree.api.sample; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.SpringApplicationConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; impor...
package de.itemis.xtext.utils.jface.viewers; import java.util.List; import org.eclipse.core.runtime.NullProgressMonitor; import org.eclipse.emf.ecore.EObject; import org.eclipse.jface.bindings.keys.KeyStroke; import org.eclipse.jface.fieldassist.ControlDecoration; import org.eclipse.jface.resource.ImageDescriptor; impo...
package br.net.mirante.singular.exemplos.ggtox.primariasimplificada.common; import br.net.mirante.singular.exemplos.SelectBuilder; import br.net.mirante.singular.exemplos.SelectBuilder.CidadeDTO; import br.net.mirante.singular.exemplos.SelectBuilder.EstadoDTO; import br.net.mirante.singular.exemplos.ggtox.primariasimpl...
package uk.ac.ebi.spot.goci.curation.service.deposition; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import org.springframework.stereotype.Service; import uk.ac.ebi.spot.goci.curation.service.AssociationOperationsService; import uk.ac.ebi.spot.goci.exc...
package uk.ac.ebi.spot.goci.curation.service; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.runners.MockitoJUnitRunner; import uk.ac.ebi.spot.goci.curation.builder.AssociationBuilder; import uk.ac.ebi.spot.goci....
package io.quarkus.it.kubernetes; import static org.assertj.core.api.Assertions.assertThat; import java.io.IOException; import java.nio.file.Path; import java.util.Collections; import java.util.List; import org.jboss.shrinkwrap.api.ShrinkWrap; import org.jboss.shrinkwrap.api.spec.JavaArchive; import org.junit.jupiter.a...
package com.googlecode.jmxtrans.model.output.support; import com.googlecode.jmxtrans.test.IntegrationTest; import com.googlecode.jmxtrans.test.RequiresIO; import com.googlecode.jmxtrans.test.UdpLoggingServer; import org.junit.Rule; import org.junit.Test; import org.junit.experimental.categories.Category; import java.ut...
package util; import java.io.DataInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.zip.ZipEntry; import j...
package utils; import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.profile.ProfileCredentialsProvider; import com.amazonaws.services.sqs.AmazonSQSClient; import com.amazonaws.services.sqs.model.*; import com.beust.jcommander.internal.Lists; import com.beust.jcommander.internal.Maps; import com.fasterxml...
package org.javacint.gps; import java.util.Hashtable; import org.javacint.logging.Logger; import org.javacint.settings.Settings; import org.javacint.settings.SettingsProvider; /** * High level GPS chip management. This is mostly useful for GPS chip * auto-detection. */ public class GpsManager implements Runnable, Se...
package org.jetel.graph; import java.io.IOException; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.NoSuchElementException; import java.util.TreeMap; import java.util.concurrent.CyclicBarrier; ...
package org.jetel.graph; import java.io.IOException; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.NoSuchElementException; import java.util.Properties; import java.util.TreeMap; import java.ut...
package com.Ryan.Calculator; import android.annotation.TargetApi; import android.app.Activity; import android.os.Build; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.EditText; import java.math.BigInteger; public class Ma...
package com.nordicsemi.nrfUARTv2; import android.util.Log; public class Braille { private final int ASCII_0 = 48; private final int ASCII_9 = 57; private final int ASCII_A = 65; private final int ASCII_Z = 90; private final int ASCII_a = 97; private final int ASCII_z = 122; private final int...
package com.platypii.basemap; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteStatement; import android.os.AsyncTask; import android.util.Log; import java.util.ArrayList; import java.util.Iterator; import java.util.List;...
package com.samourai.wallet.util; import android.content.Context; import android.util.Log; //import android.util.Log; import com.samourai.wallet.R; import org.apache.commons.io.IOUtils; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.InputStream; import java.io.InputStreamReader; import j...
package deadline.statebutton; import android.content.Context; import android.content.res.ColorStateList; import android.content.res.TypedArray; import android.graphics.drawable.Drawable; import android.graphics.drawable.GradientDrawable; import android.graphics.drawable.StateListDrawable; import android.support.annotat...
package edu.deanza.calendar.models; import org.joda.time.LocalTime; public class Event { protected String name, description, location; protected LocalTime startTime, endTime; // TODO: add `categories` field Event(String name, String description, String location, String startTime, String endTim...
package org.stepic.droid.util; import android.os.Build; import android.support.annotation.ColorInt; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import org.s...
package org.stepic.droid.util; import android.text.Html; import android.text.Spanned; import net.htmlparser.jericho.Element; import net.htmlparser.jericho.Source; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.stepic.droid.notifications.model.Notification; import java.ut...
package org.safehaus.kiskis.mgmt.server.ui.modules.oozie.management; import org.safehaus.kiskis.mgmt.api.taskrunner.Task; import com.vaadin.data.Container; import com.vaadin.data.Item; import com.vaadin.data.util.IndexedContainer; import com.vaadin.ui.Button; import com.vaadin.ui.HorizontalLayout; import com.vaadin.ui....
package org.opendaylight.controller.sal.rest.doc.impl; import static org.opendaylight.controller.sal.rest.doc.util.RestDocgenUtil.resolvePathArgumentsName; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.SerializationFeature; import com.fasterxml.jackson.datatype.jsonorg.JsonOr...
package org.carewebframework.ui.zk; import org.apache.commons.lang.StringUtils; import org.carewebframework.common.StrUtil; import org.zkoss.zk.ui.Component; import org.zkoss.zul.Cell; import org.zkoss.zul.Column; import org.zkoss.zul.Columns; import org.zkoss.zul.Detail; import org.zkoss.zul.Grid; import org.zkoss.zul...
package org.opendaylight.bgpcep.pcep.tunnel.provider; import static java.util.Objects.requireNonNull; import com.google.common.base.Preconditions; import com.google.common.util.concurrent.FluentFuture; import java.util.Dictionary; import java.util.Hashtable; import java.util.concurrent.TimeUnit; import javax.annotation...
package com.github.rnowling.bps.datagenerator.generators.store; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.util.Arrays; import java.util.List; import org.junit.Test; import com.github.rnowling.bps.datagenerator.datamodels.Pair; import com.github.rnowling.bps.dat...
package org.cyclops.commoncapabilities.modcompat.vanilla.capability.recipehandler; import com.google.common.base.Function; import com.google.common.base.Predicates; import com.google.common.collect.Iterables; import com.google.common.collect.Lists; import com.google.common.collect.Sets; import net.minecraft.init.Items;...
package org.apache.wicket.bean.validation; import static org.junit.Assert.*; import javax.validation.constraints.NotNull; import org.apache.wicket.MarkupContainer; import org.apache.wicket.markup.IMarkupResourceStreamProvider; import org.apache.wicket.markup.html.WebPage; import org.apache.wicket.markup.html.form.Form;...
package org.elasticsearch.xpack.ml.integration; import org.apache.lucene.util.Constants; import org.elasticsearch.common.unit.TimeValue; import org.elasticsearch.xpack.core.ml.action.GetJobsStatsAction; import org.elasticsearch.xpack.core.ml.job.config.AnalysisConfig; import org.elasticsearch.xpack.core.ml.job.config.A...
package org.xwiki.rendering.internal.macro.ctsreport; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import org.xwiki.text.XWikiToStringBuilder; /** * Represents a parsed JUnit test result (see {@link TestParser} for more). * * @version $Id$ * @since ...
package org.yamcs.studio.product.utility; import org.eclipse.core.runtime.IExtension; import org.eclipse.jface.action.GroupMarker; import org.eclipse.jface.action.ICoolBarManager; import org.eclipse.jface.action.IMenuManager; import org.eclipse.jface.action.IStatusLineManager; import org.eclipse.jface.action.IToolBarMa...
package org.fundacionjala.automation.scenario.steps.admin.service; import org.fundacionjala.automation.framework.pages.admin.conferencerooms.ConferenceRoomsPage; import org.fundacionjala.automation.framework.pages.admin.emailserver.AddEmailServerPage; import org.fundacionjala.automation.framework.pages.admin.emailserve...
package com.arjinmc.recyclerviewdecoration; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.DashPathEffect; import android.graphics.NinePatch; import android.graphics.Paint; impo...
package org.eclipse.birt.report.designer.ui.cubebuilder.dialog; import java.util.ArrayList; import java.util.List; import org.eclipse.birt.report.designer.core.commands.DeleteCommand; import org.eclipse.birt.report.designer.internal.ui.dialogs.helper.IDialogHelper; import org.eclipse.birt.report.designer.internal.ui.di...
package gov.nih.nci.caintegrator2.application.study.deployment; import gov.nih.nci.caintegrator2.application.arraydata.ArrayDataService; import gov.nih.nci.caintegrator2.application.arraydata.ArrayDataValues; import gov.nih.nci.caintegrator2.application.arraydata.PlatformHelper; import gov.nih.nci.caintegrator2.applica...
package edu.ucdenver.ccp.nlp.wrapper.conceptmapper.dictionary.obo; import static org.junit.Assert.assertTrue; import java.io.File; import java.io.IOException; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import org.junit.Test; import org.semanticweb.owlapi.model.OWLOntolo...
package org.deegree.securityproxy.authorization.wcs; import java.util.Collection; import javax.servlet.http.HttpServletRequest; import org.deegree.securityproxy.authentication.wcs.WcsPermission; import org.deegree.securityproxy.commons.WcsOperationType; import org.deegree.securityproxy.request.WcsRequest; import org.sp...
package at.tuwien.ss17.dp.lab3.datascience.service.impl; import at.tuwien.ss17.dp.lab3.datascience.exception.DataModelInstanceValidationException; import at.tuwien.ss17.dp.lab3.datascience.model.dmp.javax.*; import at.tuwien.ss17.dp.lab3.datascience.model.dmp.json.LinkDataArray; import at.tuwien.ss17.dp.lab3.datascienc...
package org.eclipse.persistence.testing.tests.queries.report; import java.math.BigDecimal; import java.util.Vector; import org.eclipse.persistence.descriptors.ClassDescriptor; import org.eclipse.persistence.expressions.ExpressionBuilder; import org.eclipse.persistence.queries.ReadAllQuery; import org.eclipse.persistenc...
package util; public class BattleHandler { private static String Exception; /* * takes in the EntityPlayer object and the EntityCreature object, using the existing methods inside, applies the damage to creature * * this takes care of changing the health */ public static void playerTurn (...
// EditDistance.java import java.io.*; /** Computes minimum edit distance between two strings. */ public class EditDistance { public static void main(String[] args) throws IOException { String a = args.length > 0 ? args[0] : getString("First string? "); String b = args.length > 1 ? args[1] : getString("Second...
package controllers.api; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ArrayNode; import com.sun.syndication.feed.synd.*; import com.sun.syndication.io.FeedException; import com.sun.syndication.io.SyndFeedOutput; import org.joda.time.DateTime; import play.mvc.Result; import ...
package no.rmz.gtp.gtpsim; import static org.junit.Assert.assertEquals; import org.junit.Test; public class GtpPacketTest { private GtpPacket newBytePacket(final byte b) { return new GtpPacket(new byte[]{b}); } private GtpPacket newBytePacket(final int... bytes) { final byte[] byteArray = ne...