answer
stringlengths
17
10.2M
package org.apereo.cas.config; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.dynamodb.AmazonDynamoDbClientFactory; import org.apereo.cas.ticket.TicketCatalog; import org.apereo.cas.ticket.registry.DynamoDbTicketRegistry; import org.apereo.cas.ticket.registry.DynamoDbTicketRegistr...
//FILE: XYPositionListDlg.java //PROJECT: Micro-Manager //SUBSYSTEM: mmstudio // Nico Stuurman, nico@cmp.ucsf.edu June 23, 2009 //This file is distributed in the hope that it will be useful, //of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. //CONTRIBUTORS BE LIABLE FOR ANY DIRECT...
package org.eclipse.nebula.widgets.pagination.example; import java.util.ArrayList; import java.util.List; import org.eclipse.jface.viewers.ArrayContentProvider; import org.eclipse.jface.viewers.ColumnLabelProvider; import org.eclipse.jface.viewers.LabelProvider; import org.eclipse.jface.viewers.TableViewer; import org....
package com.cradle.iitc_mobile; import java.io.IOException; import java.net.URISyntaxException; import java.util.ArrayList; import java.util.HashMap; import android.app.ActionBar; import android.app.Activity; import android.app.AlertDialog; import android.app.SearchManager; import android.content.Context; import androi...
package org.zoodb.index.critbit; /** * This version of CritBit uses Copy-On-Write to create new versions of the tree * following each write operation. * */ import java.util.Iterator; import java.util.NoSuchElementException; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; /**...
package ru.tsibrovskii.models; public class Item { private String id; public String name; public String description; public long create; public Comment[] comments = new Comment[1]; public Item() { } public Item(String name, String description, long create) { this.name = name; ...
package tr.xip.wanikani; import android.app.ActionBar; import android.app.Activity; import android.content.Intent; import android.graphics.PorterDuff; import android.graphics.drawable.ColorDrawable; import android.os.AsyncTask; import android.os.Build; import android.os.Bundle; import android.view.Menu; import android....
package org.ccnx.ccn.protocol; import java.util.ArrayList; import java.util.Arrays; import java.util.Random; import java.util.logging.Level; import org.ccnx.ccn.TrustManager; import org.ccnx.ccn.impl.encoding.GenericXMLEncodable; import org.ccnx.ccn.impl.encoding.XMLDecoder; import org.ccnx.ccn.impl.encoding.XMLEncodab...
package jolie.net; import java.io.IOException; import java.io.InputStream; public class PreBufferedInputStream extends InputStream { private static final int INITIAL_BUFFER_SIZE = 10; private final InputStream istream; private byte[] buffer = new byte[ INITIAL_BUFFER_SIZE ]; private int writePos = 0; ...
package joliex.util; import java.io.IOException; import java.io.StringReader; import java.io.StringWriter; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import javax.xml.transform.Transformer; import javax.xml.transform....
package io.quarkus.jaxrs.client.runtime; import java.util.ArrayList; import java.util.List; import java.util.Objects; import java.util.concurrent.TimeUnit; import java.util.function.Consumer; import javax.ws.rs.sse.InboundSseEvent; import javax.ws.rs.sse.SseEventSource; import io.quarkus.rest.common.runtime.util.Common...
package org.mifosplatform.accounting.journalentry.service; import java.math.BigDecimal; import java.sql.ResultSet; import java.sql.SQLException; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import org.mifosplatform.accounting.common.AccountingEnumerations; import org.mif...
package com.brunocapezzali; import java.io.IOException; import java.net.InetAddress; import java.net.ServerSocket; import java.net.Socket; import java.net.UnknownHostException; import java.util.HashMap; public class MainServer extends Thread { private static final String TAG = "MainServer"; private final long mSt...
package raptor.connector.ics; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.net.Socket; import java.net.URLEncoder; import java.nio.ByteBuffer; import java.nio.channels.Channels; import java.nio.channels.ReadableByteChannel; import java.util.ArrayList; import java.util.Arrays; imp...
package org.rakam.aws; import com.amazonaws.auth.AWSCredentialsProvider; import com.amazonaws.auth.BasicAWSCredentials; import com.amazonaws.auth.DefaultAWSCredentialsProviderChain; import com.amazonaws.internal.StaticCredentialsProvider; import com.amazonaws.regions.Region; import io.airlift.configuration.Config; impo...
package crawler; import java.io.File; import java.util.function.Consumer; import org.json.JSONArray; import org.json.JSONObject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import central.Central; import central.Component; import central.ThreadedComponent; import crawler.file.MP3File; /** * The crawler se...
package org.yeastrc.xlink.www.searcher_via_cached_data.cached_data_holders; import java.util.Calendar; import java.util.List; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicLong; import org.apache.log4j.Logger; import org.yeastrc.xlink.www.cached_data_mgmt.CacheCurrentSizeMaxSizeResult; ...
package io.oasp.gastronomy.restaurant.tablemanagement.service.impl.rest; import javax.inject.Inject; import org.apache.commons.codec.binary.Base64; import org.flywaydb.core.Flyway; import org.json.JSONObject; import org.junit.Before; import org.junit.Test; import org.springframework.beans.factory.annotation.Value; impo...
package benchmark.SRA; import automata.sra.*; import automata.sfa.SFA; import automata.sfa.SFAInputMove; import automata.sfa.SFAMove; import org.apache.commons.lang3.tuple.ImmutablePair; import org.sat4j.specs.TimeoutException; import theory.characters.CharPred; import theory.characters.StdCharPred; import theory.inter...
package com.badlogic.gdx.maps.tiled; import java.io.ByteArrayInputStream; import java.io.IOException; import java.util.StringTokenizer; import java.util.zip.DataFormatException; import java.util.zip.GZIPInputStream; import java.util.zip.Inflater; import com.badlogic.gdx.assets.AssetDescriptor; import com.badlogic.gdx.a...
package org.reldb.relui.dbui; import java.io.File; import java.io.IOException; import java.net.URL; import java.util.Enumeration; import java.util.Vector; import org.eclipse.core.runtime.FileLocator; import org.osgi.framework.Bundle; import org.osgi.framework.FrameworkUtil; import org.reldb.rel.client.Connection; impor...
package org.carlspring.strongbox.security.managers; import org.carlspring.strongbox.config.CommonConfig; import org.carlspring.strongbox.configuration.StrongboxSecurityConfig; import javax.inject.Inject; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.springframework.con...
package util; /** * * @author Merfoo */ public class Coordinate { private double x; private double y; public Coordinate(double newX, double newY) { x = newX; y = newY; } public void setCoordinate(double newX, double newY) { x = newX; y = newY; } pub...
package io.openex.sms.ovh; import java.util.List; import static io.openex.sms.ovh.OvhSmsProducer.UTF_8; @SuppressWarnings({"WeakerAccess", "unused"}) public class OvhSmsMessage { private String charset = UTF_8; private List<String> receivers; private String message; private String coding = "8bit"; p...
package org.ovirt.engine.core.bll.storage; import java.util.ArrayList; import java.util.List; import java.util.Random; import org.ovirt.engine.core.bll.QueriesCommandBase; import org.ovirt.engine.core.common.businessentities.StorageDomain; import org.ovirt.engine.core.common.businessentities.StorageDomainStatic; import...
package jade.imtp.leap; import jade.core.*; import jade.security.AuthException; /** The <code>ServiceManagerStub</code> class is the remote proxy of JADE platform <i>Service Manager</i> and <i>Service Finder</i> components, running over LEAP transport layer. @author Giovanni Rimassa - FRAMeTech s.r.l. */ cl...
package hu.elte.txtuml.api.model.execution.impl.seqdiag; import hu.elte.txtuml.api.model.ModelClass; import hu.elte.txtuml.api.model.Signal; import hu.elte.txtuml.api.model.execution.impl.base.AbstractModelClassRuntime; import hu.elte.txtuml.api.model.execution.impl.base.AbstractModelExecutor; import hu.elte.txtuml.api...
package utils; public class Benchmark { public static long getTime() { return System.nanoTime(); } public static long getMemory() { return Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory(); } public static void printTime(String description, long startTime, long e...
package fr.openwide.core.wicket.more.model; import static com.google.common.base.Preconditions.checkNotNull; import java.io.Serializable; import org.apache.wicket.Component; import org.apache.wicket.model.AbstractReadOnlyModel; import org.apache.wicket.model.IComponentAssignedModel; import org.apache.wicket.model.IMode...
package org.xwiki.edit.internal; import java.lang.reflect.Type; import javax.inject.Inject; import javax.inject.Provider; import org.apache.commons.lang3.exception.ExceptionUtils; import org.slf4j.Logger; import org.xwiki.component.annotation.Component; import org.xwiki.component.annotation.InstantiationStrategy; impor...
package matlabcontrol; import java.io.File; import java.io.IOException; import java.lang.reflect.Method; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.security.CodeSource; import java.security.ProtectionDomain; /** * Contains important configuration information regarding the...
package com.redhat.ceylon.compiler.java; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Set; import ceylon.language.Iterable; import ceylon.language.Iterator; import ceylon.language.Ranged; import ceylon.language.Sequential; import ceylon.language.empty_; import ceylon.la...
package org.csstudio.utility.treemodel.builder; import java.io.File; import java.io.IOException; import java.util.Set; import junit.framework.Assert; import org.csstudio.utility.treemodel.Activator; import org.csstudio.utility.treemodel.ContentModel; import org.csstudio.utility.treemodel.CreateContentModelException; im...
package net.echinopsii.ariane.community.core.mapping.ds.blueprintsimpl.graphdb; import com.tinkerpop.blueprints.Vertex; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.math.BigDecimal; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; public class MappingDSGraphDBObje...
package editor.search; import editor.GosuEditor; import editor.LabFrame; import gw.lang.parser.IDynamicFunctionSymbol; import gw.lang.parser.IDynamicPropertySymbol; import gw.lang.parser.IDynamicSymbol; import gw.lang.parser.IFileRepositoryBasedType; import gw.lang.parser.IFunctionSymbol; import gw.lang.parser.IParseTr...
package Project; /** * @author Marco * @version 1.0 * @created 04-feb-2015 17.03.03 */ public class Viewer implements IViewer { public ClientComunicator m_ClientComunicator; public IDisplay m_IDisplay; public Viewer(){ } public void finalize() throws Throwable { } public SensorData[] rec...
package org.ovirt.engine.ui.uicommonweb.models.userportal; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import org.ovirt.engine.core.common.businessentities.DisplayType; import org.ovirt.engine.core.common.businessentities.VM; import org.ovirt.engine.core.common....
package net.javacrumbs.shedlock.provider.jdbctemplate; import net.javacrumbs.shedlock.provider.jdbctemplate.JdbcTemplateLockProvider.Configuration; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.jdbc.core.ConnectionCallback; class SqlStatementsSource { private final Configuratio...
package matlabcontrol; import java.awt.EventQueue; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.Callable; import java.util.concurrent.atomic.AtomicLong; import com.mathworks.jmi.Matlab; import com.mathworks.jmi.NativeMatlab; class JMIWrapper ...
package com.xpn.xwiki.store.migration.hibernate; import java.io.IOException; import java.sql.ResultSet; import java.sql.SQLException; import java.util.Collection; import java.util.List; import javax.inject.Named; import javax.inject.Singleton; import org.hibernate.HibernateException; import org.hibernate.Session; impor...
package fundamentals.tree.construct.lc106_constructbinarytreefrominorderandpostordertraversal; import fundamentals.tree.TreeNode; /** * Given inorder and postorder traversal of a tree, construct the binary tree. * Note: You may assume that duplicates do not exist in the tree. */ public class Solution { // My 2nd...
package org.eclipse.smarthome.automation.core.internal; import java.util.Hashtable; import org.eclipse.smarthome.automation.RuleProvider; import org.eclipse.smarthome.automation.RuleRegistry; import org.eclipse.smarthome.automation.core.internal.composite.CompositeModuleHandlerFactory; import org.eclipse.smarthome.auto...
package org.deviceconnect.android.deviceplugin.theta.core; import android.content.Context; import android.net.wifi.WifiInfo; class ThetaDeviceFactory { private ThetaDeviceFactory() { } public static ThetaDevice createDevice(final Context context, final WifiInfo wifiInfo) { String ssId = parseSSID(wi...
package org.ovirt.engine.ui.common.widget.uicommon.storage; import java.util.ArrayList; import java.util.List; import org.ovirt.engine.ui.common.widget.UiCommandButton; import org.ovirt.engine.ui.common.widget.editor.EntityModelCellTable; import org.ovirt.engine.ui.common.widget.label.TextBoxLabel; import org.ovirt.eng...
package fr.openwide.core.test; import java.util.List; import org.junit.After; import org.junit.Before; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.authentication.ProviderManager; import org.springframework.security.authentication.UsernamePasswordAuthenticationToken...
package com.matthewtamlin.spyglass.processors.annotation_utils.annotation_mirror_util; import com.google.testing.compile.CompilationRule; import com.google.testing.compile.JavaFileObjects; import com.matthewtamlin.java_compiler_utilities.element_supplier.CompilerMissingException; import com.matthewtamlin.java_compiler_...
package org.collectionspace.services.common.vocabulary.nuxeo; import org.collectionspace.services.client.AuthorityClient; import org.collectionspace.services.client.PayloadInputPart; import org.collectionspace.services.client.PayloadOutputPart; import org.collectionspace.services.client.PoxPayloadIn; import org.collect...
package testcase; import annotations.MUTABLE; public class AGT114_This_ThisInstanceVariableArrayComponent { @MUTABLE public Object[] f = new Object[]{ new Object() }; @Override public String toString() { String arrayToString = "["; String prefix = ""; for(Object o : f){ ...
package DatabaseModel; import java.sql.ResultSet; import java.sql.SQLException; //import com.mysql.jdbc.NotImplemented; import DatabaseModel.Table; public class DatabaseInitializer { private DatabaseModel model; public DatabaseInitializer(DatabaseModel model) { this.model = model; } public void ...
package com.google.android.apps.forscience.whistlepunk.metadata; import android.content.Intent; import android.os.Bundle; import android.support.design.widget.Snackbar; import android.support.v4.app.Fragment; import android.support.v4.app.NavUtils; import android.support.v7.app.ActionBar; import android.support.v7.app....
package org.csstudio.alarm.diirt.datasource; import org.csstudio.alarm.beast.TimestampHelper; import org.csstudio.alarm.beast.client.AlarmTreeItem; import org.csstudio.alarm.beast.client.AlarmTreeLeaf; import org.csstudio.alarm.beast.client.AlarmTreePV; /** * A message payload used by the beast datasource. * * @auth...
package org.ovirt.engine.core.vdsbroker.gluster; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.ovirt.engine.core.common.businessentities.gluster.GlusterGeoRepSession; import org.ovirt.engine.core.common.businessentities.gluster.GlusterGeoRepSessionDetails; public class GlusterVolum...
package com.codenvy.ide.ext.datasource.client.sqleditor.codeassist; import com.codenvy.ide.api.ui.Icon; import com.codenvy.ide.text.BadLocationException; import com.codenvy.ide.text.Document; import com.codenvy.ide.text.Region; import com.codenvy.ide.text.RegionImpl; import com.codenvy.ide.text.edits.MalformedTreeExcep...
package org.ovirt.engine.ui.webadmin.section.main.view.tab.host; import javax.inject.Inject; import org.ovirt.engine.core.common.businessentities.VDS; import org.ovirt.engine.ui.common.SubTableResources; import org.ovirt.engine.ui.common.idhandler.ElementIdHandler; import org.ovirt.engine.ui.common.idhandler.WithElemen...
package com.sun.star.wizards.form; import com.sun.star.beans.PropertyValue; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.sdb.CommandType; import com.sun.star.uno.AnyConverter; import com.sun.star.lang.XComponent; import com.sun.star.wizards.common.*; import com.sun.star.wizards.db.DBMetaData; impo...
package com.gss.gmo.cao.integration.xmpp.component.config; import org.springframework.beans.factory.xml.NamespaceHandlerSupport; /** * @author linus_chien * */ public class XmppComponentNamespaceHandler extends NamespaceHandlerSupport { public static final String XMPP_COMPONENT_MANAGER_BEAN_NAME = "xmppComponent...
package org.innovateuk.ifs.application.review.controller; import org.innovateuk.ifs.application.forms.form.ApplicationReopenForm; import org.innovateuk.ifs.application.forms.form.ApplicationSubmitForm; import org.innovateuk.ifs.application.resource.ApplicationResource; import org.innovateuk.ifs.application.review.popul...
package org.innovateuk.ifs.application.review.controller; import org.innovateuk.ifs.application.forms.form.ApplicationSubmitForm; import org.innovateuk.ifs.application.resource.ApplicationResource; import org.innovateuk.ifs.application.review.populator.ReviewAndSubmitViewModelPopulator; import org.innovateuk.ifs.applic...
package io.subutai.core.hubmanager.impl.proccessors; import java.io.IOException; import java.security.KeyStoreException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.security.UnrecoverableKeyException; import java.util.HashSet; import java.util.Map; import java.util.Set...
package org.opendaylight.yang.gen.v1.http.netconfcentral.org.ns.xsql.rev140626; import org.opendaylight.controller.md.sal.dom.xsql.XSQLAdapter; import org.opendaylight.xsql.XSQLProvider; public class XSQLModule extends org.opendaylight.yang.gen.v1.http.netconfcentral.org.ns.xsql.rev140626.AbstractXSQLModule { publi...
package LinkedList; public class AddTwoNumbers { public static class ListNode { int val; ListNode next; ListNode(int x) { val = x; } } public ListNode addTwoNumbers(ListNode l1, ListNode l2) { if (l1 == null && l2 == null) { return null; } else if (l1 == n...
package org.eclipse.birt.report.designer.ui.cubebuilder.dialog; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import org.eclipse.birt.report.designer.internal.ui.util.ExceptionHandler; import org.eclipse.birt.report.designer.internal....
package com.cloud.upgrade.dao; import java.io.File; import java.io.IOException; import java.io.StringReader; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.sql.Types; import java.util.ArrayList; import java.u...
package org.eclipse.birt.report.designer.internal.ui.editors.script; import java.text.ParseException; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.SortedMap; import java.util.TreeMap; import java.util.logging.Level; import java.util.logging.Log...
package org.eclipse.birt.report.designer.internal.ui.views.outline; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Map; import org.eclipse.birt.report.designer.core.model.SessionHandleAdapter; import org.eclipse.birt.report.designer.core.util.mediator.request.IRequestConv...
package org.eclipse.emf.emfstore.internal.client.model.changeTracking.merging; import static org.eclipse.emf.emfstore.internal.server.model.versioning.operations.util.OperationUtil.isAttribute; import static org.eclipse.emf.emfstore.internal.server.model.versioning.operations.util.OperationUtil.isComposite; import stat...
package org.deeplearning4j.spark.canova.iterator; import org.apache.spark.input.PortableDataStream; import org.nd4j.linalg.dataset.DataSet; import org.nd4j.linalg.dataset.api.DataSetPreProcessor; import org.nd4j.linalg.dataset.api.iterator.DataSetIterator; import java.util.Collection; import java.util.Iterator; import ...
package dto; import java.io.Serializable; import java.sql.Timestamp; import java.util.ArrayList; import java.util.HashMap; import enumeration.ElectionStatus; import enumeration.ElectionType; /** * @date : Mar 16, 2014 * @author : Hirosh Wickramasuriya */ public class ElectionDto implements Serializable{ private ...
package com.atlassian.jira.plugins.dvcs.sync; import com.atlassian.jira.plugins.dvcs.model.Changeset; import com.atlassian.jira.plugins.dvcs.model.DefaultProgress; import com.atlassian.jira.plugins.dvcs.model.Repository; import com.atlassian.jira.plugins.dvcs.service.ChangesetService; import com.atlassian.jira.plugins....
package org.safehaus.subutai.core.lxc.quota.api; import java.util.Set; import java.util.UUID; import org.safehaus.subutai.common.quota.DiskPartition; import org.safehaus.subutai.common.quota.DiskQuota; import org.safehaus.subutai.common.quota.PeerQuotaInfo; import org.safehaus.subutai.common.quota.QuotaException; impor...
package fr.hoteia.qalingo.core.web.servlet; import java.util.Locale; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.web.servlet.View; import org.springframework.web.servlet.view.RedirectView; public class VelocityLayoutViewResolver extends org.springframework.web.servlet.view.veloci...
package com.b2international.snowowl.snomed.api.impl.domain; import java.util.Collections; import java.util.HashMap; import java.util.Map; import com.b2international.commons.ClassUtils; import com.b2international.snowowl.snomed.api.impl.domain.browser.SnomedBrowserDescription; import com.b2international.snowowl.snomed.c...
package hudson.tasks; import hudson.model.Build; import hudson.model.FreeStyleProject; import jenkins.mvn.DefaultGlobalSettingsProvider; import jenkins.mvn.DefaultSettingsProvider; import jenkins.mvn.FilePathGlobalSettingsProvider; import jenkins.mvn.FilePathSettingsProvider; import jenkins.mvn.GlobalMavenConfig; impor...
package org.jgrapes.core; import org.jgrapes.core.annotation.Handler; /** * Instances of this this interface can be used as a communication * bus for sending events between components. The instances work * as identifiers of channels. Their only functionality is defined * by the {@link Eligible} interface, which all...
package org.apereo.cas.web.flow.config; import lombok.extern.slf4j.Slf4j; import org.apereo.cas.CentralAuthenticationService; import org.apereo.cas.audit.AuditableExecution; import org.apereo.cas.authentication.AuthenticationServiceSelectionPlan; import org.apereo.cas.authentication.AuthenticationSystemSupport; import ...
package org.apereo.cas.web.support; import org.apache.commons.lang3.StringEscapeUtils; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.http.HttpStatus; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.http.HttpMethod; import org.springframework.web.servlet.M...
// IT Innovation Centre of Gamma House, Enterprise Road, // Chilworth Science Park, Southampton, SO16 7NS, UK. // or reproduced in whole or in part in any manner or form or in or // on any media by any person other than in accordance with the terms // of the Licence Agreement supplied with the software, or otherwise //...
package org.apereo.cas.authentication.handler.support.jaas; import lombok.RequiredArgsConstructor; import lombok.Setter; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; import org.apereo.cas.authentication.AuthenticationHandlerExecutionResult; import org.apereo.cas.authentication.Authenti...
package edu.kit.ipd.sdq.vitruvius.codeintegration.deco; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Optional; import java.util.Set; import org.apache.log4j.Logger; import edu.kit.ipd.sdq.vitruvius.framework.contracts.datatypes.AbstractDelegatingCor...
package api.web.gw2.mapping.v2.colors; import java.lang.reflect.Field; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.*; public class JsonpColorMaterialTest { public JsonpColorMaterialTest() { } ...
package squeek.applecore.asm.module; import org.objectweb.asm.MethodVisitor; import org.objectweb.asm.Type; import org.objectweb.asm.tree.*; import squeek.applecore.asm.ASMConstants; import squeek.applecore.asm.IClassTransformerModule; import squeek.asmhelper.applecore.ASMHelper; import squeek.asmhelper.applecore.ObfHe...
package de.cdietze.ld37.java; import de.cdietze.ld37.core.MainGame; import playn.java.LWJGLPlatform; public class JavaMain { public static void main(String[] args) { LWJGLPlatform.Config config = new LWJGLPlatform.Config(); // 900x600 is the max window size of the embedded ludumdate.com window // config.w...
package fr.openwide.core.commons.util.collections; import java.util.Collection; import java.util.Collections; import java.util.Map; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.collect.Sets; public final class CollectionUtils { /** * Replaces all eleme...
package cz.metacentrum.perun.core.impl.modules.attributes; import cz.metacentrum.perun.core.api.Attribute; import cz.metacentrum.perun.core.api.AttributeDefinition; import cz.metacentrum.perun.core.api.AttributesManager; import cz.metacentrum.perun.core.api.ExtSource; import cz.metacentrum.perun.core.api.User; import c...
package gov.nih.nci.integration.catissue.client; import edu.wustl.catissuecore.cacore.CaTissueWritableAppService; import gov.nih.nci.system.applicationservice.ApplicationException; import gov.nih.nci.system.client.ApplicationServiceProvider; import gov.nih.nci.system.query.SDKQuery; import gov.nih.nci.system.query.SDKQ...
package XZot1K.plugins.zb; import XZot1K.plugins.zb.commands.BaseCommand; import XZot1K.plugins.zb.libraries.*; import XZot1K.plugins.zb.libraries.inventorylib.InventoryLibrary; import XZot1K.plugins.zb.libraries.locationlib.LocationLibrary; import XZot1K.plugins.zb.listeners.HologramListeners; import XZot1K.plugins.zb...
package edu.columbia.gemma.loader.genome.gene; import java.io.InputStream; import java.lang.reflect.Method; import java.util.HashMap; import java.util.Map; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.beans.factory.BeanFactory; import edu.columbia.gemma...
package net.ssehub.easy.reasoning.sseReasoner; import java.util.ArrayList; import java.util.Collection; import java.util.Deque; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; import net.ssehub.easy.basics.logger.EASyLog...
package org.fundacionjala.automation.scenario.steps.tablet.editMeeting; import org.fundacionjala.automation.framework.utils.api.managers.MeetingAPIManager; import org.fundacionjala.automation.framework.utils.api.objects.admin.Meeting; import org.fundacionjala.automation.framework.utils.common.PropertiesReader; import o...
package nars.gui.output.graph; /** * * @author me */ import automenta.vivisect.dimensionalize.FastOrganicLayout; import automenta.vivisect.dimensionalize.HyperassociativeLayout; import automenta.vivisect.graph.AnimatingGraphVis; import automenta.vivisect.graph.GraphDisplay; import automenta.vivisect.graph.GraphDispl...
package net.sf.ij_plugins.color; import junit.framework.TestCase; /** * Unit test for {@link ColorSpaceConversion}. * * @author Jarek Sacha */ public class ColorSpaceConversionTest extends TestCase { public ColorSpaceConversionTest(String test) { super(test); } public void testXyzToRGB() { ...
package org.innovateuk.ifs.project.projectteam.controller; import org.innovateuk.ifs.BaseControllerMockMVCTest; import org.innovateuk.ifs.invite.resource.ProjectUserInviteResource; import org.innovateuk.ifs.organisation.resource.OrganisationResource; import org.innovateuk.ifs.project.ProjectService; import org.innovate...
package com.continuuity.test; import com.continuuity.api.data.BatchCollectionRegistry; import com.continuuity.api.data.DataFabric; import com.continuuity.api.data.DataSetRegistry; import com.continuuity.api.data.OperationContext; import com.continuuity.api.data.OperationException; import com.continuuity.api.flow.Flow; ...
package com.atlassian.jira.plugins.dvcs.spi.bitbucket.transformers; import java.util.List; import com.atlassian.jira.plugins.dvcs.model.Changeset; import com.atlassian.jira.plugins.dvcs.model.ChangesetFile; import com.atlassian.jira.plugins.dvcs.spi.bitbucket.clientlibrary.model.BitbucketChangesetWithDiffstat; /** * D...
/* Open Source Software - may be modified and shared by FRC teams. The code */ /* the project. */ package edu.stuy; import edu.wpi.first.wpilibj.Timer; import edu.stuy.commands.Autonomous; import edu.stuy.commands.CommandBase; import edu.stuy.commands.Move...
package engine; import java.awt.Color; import java.awt.Graphics2D; import java.awt.Point; import java.awt.geom.Point2D; /** * * @author PastaPojken */ public class Vector2D { static final Vector2D zero = new Vector2D(0, 0); Point.Double point; Double length; Double angle; public Vector2D(Point.Do...
package org.nick.wwwjdic.ocr; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.nick.wwwjdic.Analytics; import org.nick.wwwjdic.Constants; import org.nick.wwwjdic.DictionaryResultListView; import org.nick.wwwjdic.ExamplesResul...
package net.acomputerdog.core.java; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.regex.Pattern; /** * Utility class that contains pre-calculated Regexes for common strings */ public class Patterns { /** * Map from string to quote regex */ private static final...
package xhl.core; import static xhl.core.Token.TokenType.*; import java.io.IOException; import java.io.StringReader; import java.util.Arrays; import java.util.HashSet; import java.util.Set; import xhl.core.Token.TokenType; import xhl.core.elements.*; /** * XHL parser * * Grammar: * * <pre> * block ::= { e...
package org.safehaus.subutai.core.peer.impl.entity; import java.io.IOException; import java.nio.charset.Charset; import java.nio.file.Files; import java.nio.file.Paths; import java.util.Set; import java.util.SortedSet; import java.util.UUID; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionExc...