answer
stringlengths
17
10.2M
package fr.openwide.core.wicket.more.lesscss.service; import java.io.IOException; import java.io.InputStream; import java.util.List; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.commons.io.FilenameUtils; import org.apache.wicket.util.io.IOUtils; import org.slf4...
package polyglot.visit; import java.util.HashMap; import java.util.Map; import polyglot.ast.Node; import polyglot.ast.NodeFactory; import polyglot.frontend.Job; import polyglot.types.*; import polyglot.util.*; /** Visitor which checks if exceptions are caught or declared properly. */ public class ExceptionChecker exten...
package com.jcwhatever.nucleus.npc.traits; import com.jcwhatever.nucleus.providers.npc.INpc; import com.jcwhatever.nucleus.providers.npc.traits.NpcTrait; import com.jcwhatever.nucleus.providers.npc.traits.NpcTraitType; import org.bukkit.Location; import org.bukkit.entity.Entity; import org.bukkit.plugin.Plugin; import ...
package com.thaiopensource.datatype.xsd; import java.util.Hashtable; import org.xml.sax.XMLReader; import com.thaiopensource.datatype.DatatypeFactory; import com.thaiopensource.datatype.Datatype; import com.thaiopensource.datatype.DatatypeReader; import com.thaiopensource.datatype.DatatypeContext; import com.thaiopenso...
package com.thinkbiganalytics.feedmgr.service.feed; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Sets; import com.thinkbiganalytics.datalake.authorization.service.HadoopAuthorizationService; import com.thinkbiganalytics.feedmgr.rest.model.FeedMetadata; import com.thinkbiganalytics.fee...
package com.thaiopensource.relaxng.mns; import com.thaiopensource.relaxng.Schema; import com.thaiopensource.relaxng.ValidatorHandler; import com.thaiopensource.util.Localizer; import org.xml.sax.Attributes; import org.xml.sax.ErrorHandler; import org.xml.sax.Locator; import org.xml.sax.SAXException; import org.xml.sax....
package ameba.http.session; import ameba.util.Times; import com.google.common.base.Charsets; import com.google.common.hash.Hashing; import javax.annotation.Priority; import javax.inject.Singleton; import javax.ws.rs.Priorities; import javax.ws.rs.container.*; import javax.ws.rs.core.Cookie; import javax.ws.rs.core.NewC...
package com.areen.jlib.gui; import java.awt.Image; import java.io.IOException; import java.net.URL; import java.util.concurrent.ExecutionException; import javax.imageio.ImageIO; import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.SwingWorker; /** * * @author Dejan */ public class ImageLoaderS...
package purejavacomm; // FIXME move javadoc comments for input stream to SerialPort.java import java.io.*; import java.util.*; import com.sun.jna.Native; import jtermios.*; import static jtermios.JTermios.JTermiosLogging.*; import static jtermios.JTermios.*; public class PureJavaSerialPort extends SerialPort { fina...
package com.codeborne.selenide; import org.openqa.selenium.By; import static com.codeborne.selenide.impl.Quotes.escape; public class Selectors { /** * Find element CONTAINING given text (as a substring) * * NB! It seems that Selenium WebDriver does not support i18n characters in XPath :( * * @param ele...
package com.fewlaps.quitnowcache; import java.util.*; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; public class QNCache<T> { public static final long KEEPALIVE_FOREVER = 0; privat...
package org.innovateuk.ifs.project.workflow.projectdetails; import org.innovateuk.ifs.project.domain.Project; import org.innovateuk.ifs.project.projectdetails.domain.ProjectDetailsProcess; import org.innovateuk.ifs.project.domain.ProjectUser; import org.innovateuk.ifs.project.projectdetails.repository.ProjectDetailsPro...
package io.getlime.security.powerauth.lib.webflow.authentication.service; import io.getlime.core.rest.model.base.response.ObjectResponse; import io.getlime.powerauth.soap.ActivationStatus; import io.getlime.powerauth.soap.GetActivationListForUserResponse; import io.getlime.security.powerauth.lib.nextstep.client.NextSte...
package scalac.transformer.matching; import scalac.ast.*; import scalac.util.*; import scalac.symtab.*; import java.util.*; public class TestRegTraverser extends Traverser { boolean result = false; Set variables = new HashSet(); public void traverse(Tree tree) { if (!result) switch (tree...
package com.github.petrovich4j; public class Petrovich { private final RuleSet firstNameRules; private final RuleSet lastNameRules; private final RuleSet patronymicNameRules; public Petrovich() { this(Library.FIRST_NAME_RULES, Library.LAST_NAME_RULES, Library.PATRONYMIC_NAME_RULES); } pu...
package dk.statsbiblioteket.medieplatform.autonomous.iterator.filesystem.transforming; import dk.statsbiblioteket.medieplatform.autonomous.iterator.common.DelegatingTreeIterator; import dk.statsbiblioteket.util.Pair; import org.apache.commons.io.FileUtils; import org.apache.commons.io.filefilter.AbstractFileFilter; imp...
package com.haogrgr.test.util; import java.math.BigDecimal; import java.math.RoundingMode; import java.util.Objects; /** * BigDecimal * * @author desheng.tu * @date 2015612 2:17:23 * */ public final class ArithUtils { /** * return a + b + c */ public static BigDecimal add(BigDecimal a, BigDecima...
package org.xwiki.component.embed; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.ServiceLoader; import java.util.concurrent.Concurrent...
package com.hpe.caf.api.worker; import com.hpe.caf.api.HealthReporter; import java.io.InputStream; import java.io.OutputStream; /** * A representation of a generic data store, for reading and writing data * typically used by workers in the course of their computation. */ public abstract class DataStore implements He...
// This file is part of the Kaltura Collaborative Media Suite which allows users // to do with audio, video, and animation what Wiki platfroms allow them to do with // text. // This program is free software: you can redistribute it and/or modify // published by the Free Software Foundation, either version 3 of the // T...
package org.wso2.carbon.device.mgt.core.geo.service; import org.junit.runner.RunWith; import org.mockito.Mockito; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.powermock.core.classloader.annotations.PrepareForTest; import org.testng.Assert; import org.testng.annotations...
// This file is part of the Kaltura Collaborative Media Suite which allows users // to do with audio, video, and animation what Wiki platfroms allow them to do with // text. // This program is free software: you can redistribute it and/or modify // published by the Free Software Foundation, either version 3 of the // T...
// This file is part of the Kaltura Collaborative Media Suite which allows users // to do with audio, video, and animation what Wiki platfroms allow them to do with // text. // This program is free software: you can redistribute it and/or modify // published by the Free Software Foundation, either version 3 of the // T...
package org.nuxeo.ecm.platform.pictures.tiles.service; import java.io.File; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.io.FilenameUtils; import org.apache.commons.logging.Log; import org.apache.commons.loggin...
package com.safecharge.retail.model; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; public class Item { @NotNull(message = "name may not be null!") @Size(min = 1, max = 255, ...
package org.jboss.hal.testsuite.test.configuration.messaging.remote.activemq.server.connection.factory; import java.io.IOException; import java.util.Arrays; import java.util.Collections; import java.util.concurrent.TimeoutException; import org.jboss.arquillian.core.api.annotation.Inject; import org.jboss.arquillian.dro...
package com.springapp.batch.bo; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import org.joda.time.DateTime; import org.joda.time.format.DateTimeFormat; import org.joda.time.format.DateTimeFormatter; /** * BO used to describe rows found insider the AddressBook */ @Data @NoArgs...
package com.timepath.maven; import com.timepath.IOUtils; import com.timepath.Utils; import com.timepath.XMLUtils; import com.timepath.util.Cache; import com.timepath.util.concurrent.DaemonThreadFactory; import org.w3c.dom.Node; import org.xml.sax.SAXException; import javax.xml.parsers.ParserConfigurationException; impo...
package org.springframework.ide.vscode.boot.java.requestmapping; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.List; import java.util.stream.Collectors; import java.util.stream.Stream; import org.eclipse.jdt.core.dom.ASTNode; import org.eclipse.jdt.core.dom.Annotatio...
package crazypants.enderio.config; import java.io.File; import java.util.ArrayList; import java.util.List; import net.minecraftforge.common.config.Configuration; import cpw.mods.fml.client.event.ConfigChangedEvent.OnConfigChangedEvent; import cpw.mods.fml.common.FMLCommonHandler; import cpw.mods.fml.common.event.FMLPre...
package org.safehaus.subutai.core.dispatcher.impl; import java.util.Map; import java.util.Set; import java.util.UUID; import java.util.logging.Logger; import org.safehaus.subutai.common.command.AgentRequestBuilder; import org.safehaus.subutai.common.command.Command; import org.safehaus.subutai.common.command.CommandCal...
package cubicchunks.server; import static cubicchunks.util.Coords.blockToCube; import static cubicchunks.util.Coords.blockToLocal; import static net.minecraft.util.math.MathHelper.clamp; import com.google.common.base.Predicate; import com.google.common.collect.AbstractIterator; import com.google.common.collect.Comparis...
package de.hbz.lobid.helper; import java.io.InputStream; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jacks...
package org.xwiki.rendering.macro.script; import org.xwiki.properties.annotation.PropertyDescription; /** * Parameters for the Script Macro. * * @version $Id$ * @since 1.9M1 */ public class DefaultScriptMacroParameters extends JSR223ScriptMacroParameters { /** * The identifier of the script language. ...
package edu.jhu.hlt.optimize; import java.util.Arrays; import org.apache.log4j.Logger; import cc.mallet.optimize.BackTrackLineSearch; import cc.mallet.optimize.BetterLimitedMemoryBFGS; import cc.mallet.optimize.InvalidOptimizableException; import cc.mallet.optimize.Optimizable; import edu.jhu.hlt.optimize.function.Diff...
package ee.pardiralli.web; import ee.pardiralli.domain.DonationChart; import ee.pardiralli.domain.FeedbackType; import ee.pardiralli.dto.RaceDTO; import ee.pardiralli.service.RaceService; import ee.pardiralli.service.StatisticsService; import ee.pardiralli.util.ControllerUtil; import ee.pardiralli.util.RaceUtil; import...
package eme.generator; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; import org.apache.log4j.LogManager; import org.apache.log4j.Logger; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EDataType; import org.eclipse.e...
package eu.goodlike.resty.url; import eu.goodlike.misc.SpecialUtils; import eu.goodlike.neat.Null; import eu.goodlike.neat.string.Str; import eu.goodlike.resty.http.HttpMethod; import eu.goodlike.resty.http.HttpRequest; import eu.goodlike.resty.http.steps.BodyTypeStep; import eu.goodlike.resty.http.steps.QueryParamStep...
package io.quarkus.container.image.buildpack.deployment; import static io.quarkus.container.util.PathsUtil.findMainSourcesRoot; import java.nio.file.Path; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.stream.Stream; impor...
package eu.lp0.cursus.db.data; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; import javax.persistence.UniqueConstraint; import eu.lp0.cursus.util.Constants; @Entity(name = "race_no") @Table(uniqu...
package fr.openwide.core.jpa.config.spring.provider; import java.util.List; import javax.persistence.spi.PersistenceProvider; import javax.sql.DataSource; import org.hibernate.cfg.NamingStrategy; import org.hibernate.dialect.Dialect; import org.springframework.beans.factory.annotation.Autowired; import org.springframew...
package fi.eis.libraries.di; import java.io.PrintStream; import java.util.Date; public class SimpleLogger { private volatile boolean debugFlag = false; private final String className; private transient PrintStream printStream = System.out; public SimpleLogger(Class<?> targetClass) { this.classNa...
package org.csstudio.opibuilder.converter.writer; import java.util.LinkedHashMap; import java.util.Map; import java.util.logging.Level; import java.util.logging.Logger; import org.csstudio.opibuilder.converter.StringSplitter; import org.csstudio.opibuilder.converter.model.EdmString; import org.csstudio.opibuilder.conve...
package gov.nasa.jpl.mbee; import gov.nasa.jpl.mbee.actions.systemsreasoner.AspectAction; import gov.nasa.jpl.mbee.actions.systemsreasoner.CreateInstanceMenuAction; import gov.nasa.jpl.mbee.actions.systemsreasoner.CreateOntoBehaviorBlocks; import gov.nasa.jpl.mbee.actions.systemsreasoner.CreateSpecificAction; import go...
package com.evolveum.midpoint.eclipse.ui.components.browser; import java.util.List; import javax.xml.namespace.QName; import org.w3c.dom.Element; import com.evolveum.midpoint.eclipse.runtime.api.Constants; import com.evolveum.midpoint.eclipse.runtime.api.ObjectTypes; import com.evolveum.midpoint.eclipse.runtime.api.res...
package graphql.execution; import graphql.Assert; import graphql.Internal; import graphql.language.Argument; import graphql.language.ArrayValue; import graphql.language.NullValue; import graphql.language.ObjectField; import graphql.language.ObjectValue; import graphql.language.Value; import graphql.language.VariableDef...
package graphql.schema; import graphql.introspection.Introspection; import graphql.util.TraversalControl; import graphql.util.TraverserContext; import graphql.util.TraverserVisitor; import graphql.util.TreeTransformer; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import static graphql.As...
package innovimax.mixthem.arguments; import java.util.EnumSet; /** * <p>This is a detailed enumeration of rules used to mix files.</p> * <p>Some rules may not be implemented yet.<.p> * <p>(Also used to print usage.)</p> * @author Innovimax * @version 1.0 */ public enum Rule { FILE_1("1", "1", "will output file1", t...
package org.innovateuk.ifs.management.application.view.populator; import org.innovateuk.ifs.application.readonly.ApplicationReadOnlySettings; import org.innovateuk.ifs.application.readonly.populator.ApplicationReadOnlyViewModelPopulator; import org.innovateuk.ifs.application.readonly.viewmodel.ApplicationReadOnlyViewMo...
package innovimax.mixthem.io; import java.io.IOException; /** * This interface provides for writing characters in an output stream. * @author Innovimax * @version 1.0 */ public interface IOutputChar { /** * Writes a single character. * @param c The character to be written * @throws IOException - If a...
package org.eclipse.persistence.testing.oxm.mappings.directcollection.typeattribute; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.eclipse.persistence.testing.oxm.mappings.directcollection.typeattribute.identifiedbyname.withgroupingelement.*; import org.eclip...
package fr.openwide.core.jpa.more.business.property.service; import java.io.File; import java.math.BigDecimal; import java.net.URI; import java.util.Date; import java.util.Map; import javax.annotation.PostConstruct; import org.javatuples.Pair; import org.springframework.beans.factory.annotation.Autowired; import org.sp...
package io.disassemble.asm.util; import io.disassemble.asm.ClassFactory; import io.disassemble.asm.ClassField; import io.disassemble.asm.ClassMethod; import org.objectweb.asm.Label; import org.objectweb.asm.Opcodes; import org.objectweb.asm.tree.*; import org.objectweb.asm.util.Printer; import java.util.ArrayList; impo...
package org.xwiki.url.internal; import javax.inject.Inject; import javax.inject.Named; import org.xwiki.component.manager.ComponentLookupException; import org.xwiki.component.manager.ComponentManager; import org.xwiki.component.util.DefaultParameterizedType; import org.xwiki.resource.ResourceReference; import org.xwiki...
package io.luna.net; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableSet; import com.google.gson.JsonObject; import com.moandjiezana.toml.Toml; import io.luna.net.session.Session; import io.netty.channel.Channel; import io.netty.util.AttributeKey; import io.netty.util.ResourceL...
package cz.cuni.mff.d3s.spl.core.data; import java.util.Collection; public class PrecomputedStatistics implements Statistics { private double mean = 0.0; private long count = 0; public static final PrecomputedStatistics empty = PrecomputedStatistics.create(Double.NaN, 0); public static PrecomputedStatis...
package jfdi.storage.data; import java.time.Duration; import java.time.LocalDateTime; import java.util.HashSet; import java.util.Objects; import java.util.TreeSet; import jfdi.storage.Constants; import jfdi.storage.exceptions.InvalidIdException; import jfdi.storage.exceptions.InvalidTaskParametersException; import jfdi...
package jiconfont.swing; import jiconfont.IconBuilder; import jiconfont.IconCode; import javax.swing.Icon; import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.SwingUtilities; import java.awt.*; import java.awt.font.FontRenderContext; import java.awt.font.TextLayout; import java.awt.image.Buffere...
package lan.dk.podcastserver.entity; import com.fasterxml.jackson.annotation.JsonBackReference; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import org.apache.commons.io.FilenameUtils; import org.a...
package lou.arane.util; import java.util.logging.Handler; import java.util.logging.Level; import java.util.logging.LogRecord; import java.util.logging.SimpleFormatter; import java.util.logging.StreamHandler; /** * Log to either System.err or System.out depending on log level. * <p> * NOTE: This handler does not read...
package org.innovateuk.ifs.management.controller; import org.innovateuk.ifs.BaseControllerMockMVCTest; import org.innovateuk.ifs.application.resource.ApplicationSummaryPageResource; import org.innovateuk.ifs.application.resource.ApplicationSummaryResource; import org.innovateuk.ifs.application.resource.CompetitionSumma...
package com.x.organization.assemble.express.jaxrs.unitduty; import java.util.*; import com.x.organization.core.entity.*; import org.apache.commons.lang3.BooleanUtils; import org.apache.commons.lang3.StringUtils; import com.google.gson.JsonElement; import com.x.base.core.container.EntityManagerContainer; import com.x.ba...
package me.legrange.mikrotik.impl; import java.util.Arrays; import java.util.LinkedList; import java.util.List; import me.legrange.mikrotik.impl.Scanner.Token; /** * Parse the pseudo-command line into command objects. * * @author GideonLeGrange */ class Parser { /** * parse the given bit of text into a Com...
package edu.psu.compbio.seqcode.gse.viz.metagenes; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Container; import java.awt.FlowLayout; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.sql.SQLException; import java.util.ArrayLi...
package moe.tristan.easyfxml.util; import moe.tristan.easyfxml.api.FxmlStylesheet; import io.vavr.Tuple; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javafx.scene.Scene; import javafx.scene.layout.Pane; import javafx.stage.Stage; import javafx.stage.StageStyle; import java.util.concurrent.CompletionS...
package edu.rutgers.css.Rutgers.auxiliary; import java.util.ArrayList; import java.util.List; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; import edu.rutgers.css.Rutgers2.R...
package ninja.sequence.internal.util; import ninja.sequence.delegate.EqualityComparator; public class Key<T> { private final T value; private final EqualityComparator<? super T> comparator; public Key(T value, EqualityComparator<? super T> comparator) { this.value = value; this.comparator = ...
package edu.ucla.cens.awserver.service; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; import org.apache.log4j.Logger; import org.json.JSONArray; impor...
package org.eclipse.birt.report.designer.internal.ui.editors.schematic.editparts; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.eclipse.birt.report.designer.internal.ui.editors.parts.event.IFastConsumerProcessor; import org.eclipse.birt.report.model.api.DesignElementHandle; import ...
package edu.washington.escience.myriad.util; import java.io.IOException; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.util.HashMap; import java.util.Map; import org.slf4j.LoggerFactory; import edu.washington.escience.myriad.MyriaConstants; import edu.washing...
package org.deviceconnect.android.deviceplugin.heartrate.ble.adapter; import android.annotation.TargetApi; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothManager; import android.bluetooth.le.BluetoothLeScanner; import android.bluetooth.le.ScanCallb...
package org.attribyte.wp.model; import com.google.common.base.Strings; import com.google.common.collect.ImmutableMap; import java.text.ParseException; import java.util.Map; public class Shortcode { /** * Creates a shortcode without content. * @param name The name. * @param attributes The attributes. ...
package com.thinkbiganalytics.nifi.v1.rest.client; import com.thinkbiganalytics.nifi.rest.client.NiFiProcessorsRestClient; import com.thinkbiganalytics.nifi.rest.client.NifiComponentNotFoundException; import com.thinkbiganalytics.nifi.rest.support.NifiConstants; import org.apache.nifi.web.api.dto.ProcessorDTO; import o...
package org.basex.gui.view.info; import static org.basex.core.Text.*; import static org.basex.gui.GUIConstants.*; import java.awt.*; import java.awt.event.*; import org.basex.core.*; import org.basex.core.cmd.*; import org.basex.gui.GUIConstants.Fill; import org.basex.gui.*; import org.basex.gui.layout.*; import org.ba...
package org.brutusin.wava.core; import org.brutusin.wava.core.io.Event; import org.brutusin.wava.core.io.PeerChannel; import org.brutusin.wava.core.cfg.Config; import org.brutusin.wava.core.plug.PromiseHandler; import org.brutusin.wava.core.plug.LinuxCommands; import java.io.IOException; import java.util.Arrays; import...
package ucar.nc2.iosp.grid; import ucar.ma2.*; import ucar.nc2.*; import ucar.nc2.dt.fmr.FmrcCoordSys; import ucar.nc2.iosp.AbstractIOServiceProvider; import ucar.nc2.util.CancelTask; import ucar.unidata.io.RandomAccessFile; import ucar.grid.GridIndex; import ucar.grid.GridRecord; import java.io.IOException; import jav...
package org.voovan.http.message; import org.voovan.http.message.packet.Cookie; import org.voovan.http.message.packet.Part; import org.voovan.tools.*; import java.io.File; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.nio.ByteBuffer; import java.util.*; import java.util.Map.Entry; ...
// This source code is available under agreement available at // You should have received a copy of the agreement // along with this program; if not, write to Talend SA // 9 rue Pages 92150 Suresnes, France package org.talend.components.salesforce.dataset; import java.io.IOException; import java.util.List; import org.t...
package coprocessor; import java.io.IOException; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import coprocessor.generated.ObserverStatisticsProtos; import coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair; import org.apache.hadoop.conf.Configuratio...
package org.springframework.ide.vscode.commons.languageserver.util; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.CompletableFuture; import java.util.function.Consumer; import java.util.stream.Collectors; imp...
package ru.job4j.iterator; import java.util.Iterator; import java.util.NoSuchElementException; /** * Iterator for even numbers. */ public class EvenIterator implements Iterator { /** * input array. */ private int[] arr; /** * index of current element. */ private int index = 0; ...
package experimentalcode.lisa; import java.util.HashMap; import java.util.List; import java.util.Map.Entry; import de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm; import de.lmu.ifi.dbs.elki.data.NumberVector; import de.lmu.ifi.dbs.elki.database.AssociationID; import de.lmu.ifi.dbs.elki.database.Database; import de.lmu...
package org.firepick.firesight; import java.awt.image.BufferedImage; import java.awt.image.DataBufferByte; import java.util.Map; import nu.pattern.OpenCV; import org.firepick.firesight.utils.OpenCvUtils; import org.firepick.firesight.utils.SharedLibLoader; import org.opencv.core.Mat; public class FireSight { privat...
package io.sniffy.tls; import io.sniffy.*; import io.sniffy.socket.AddressMatchers; import io.sniffy.socket.NetworkPacket; import io.sniffy.socket.SocketMetaData; import io.sniffy.util.JVMUtil; import io.sniffy.util.OSUtil; import org.bouncycastle.jce.provider.BouncyCastleProvider; import org.bouncycastle.jsse.provider...
package com.HRank.String; import java.util.Scanner; public class Ex10 { public static void main(String[] args) { // TODO Auto-generated method stub Scanner scan = new Scanner(System.in); int t = scan.nextInt(); StringBuilder build = new StringBuilder(); StringBuilder temp = n...
package fi.cie.chiru.servicefusionar.serviceApi; import util.IO; import util.Vec; import java.io.IOException; import java.io.InputStream; import java.util.Vector; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import fi.cie.chiru.servicefusionar.gdx.GDXLoader; import fi.cie.chiru....
package org.hibernate.example.model; import java.io.Serializable; import java.lang.String; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Lob; import javax.persistence.Table; import org.apache.lucene.analysis.core.LowerCaseF...
package com.b2international.snowowl.snomed.api.rest.components; import static com.b2international.snowowl.snomed.api.rest.CodeSystemRestRequests.createCodeSystem; import static com.b2international.snowowl.snomed.api.rest.CodeSystemVersionRestRequests.createVersion; import static com.b2international.snowowl.snomed.api.r...
package org.iiitb.os.os_proj.commands; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import org.iiitb.os.os_proj.UserFile; import org.iiitb.os.os_proj.db.MongoConnectivity; import com.mongodb.DBObject; import com.mongodb.WriteResult; public class Mv implements ICommand { public ArrayLi...
package org.jtrfp.trcl.mem; import java.io.IOException; import java.lang.ref.WeakReference; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.Iterator; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.BlockingQueue; import java.util.concurrent.Callable; import java.util...
package org.lightmare.deploy; import static org.lightmare.cache.MetaContainer.closeConnections; import java.io.File; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Lis...
package se.nielstrom.greed; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Random; import se.nielstrom.greed.DieButton.StateChangeListener; import android.app.Activity; import android.os.Bundle; import android.view.View; im...
package org.lightmare.deploy; import java.io.File; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.co...
package org.lightmare.utils.fs; import java.io.File; import java.io.FilenameFilter; import java.io.IOException; import java.net.MalformedURLException; import java.net.URISyntaxException; import java.net.URL; import java.util.ArrayList; import java.util.Collection; import java.util.Enumeration; import java.util.List; im...
package org.mastodon.trackmate; import java.util.Map; import org.mastodon.HasErrorMessage; import org.mastodon.detection.mamut.SpotDetectorOp; import org.mastodon.graph.algorithm.RootFinder; import org.mastodon.linking.mamut.SpotLinkerOp; import org.mastodon.revised.model.mamut.Link; import org.mastodon.revised.model.m...
package org.oucs.gaboto.entities; import java.lang.reflect.Method; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import org.oucs.gaboto.entities.pool.GabotoEntityPool; import org.oucs.gaboto.entities.pool.PassiveEntitiesRequest; import org....
package org.owasp.esapi; import org.owasp.esapi.errors.AccessControlException; public interface AccessController { /** * Checks if the current user is authorized to access the referenced URL. Generally, this method should be invoked in the * application's controller or a filter as follows: * <PRE>ESA...
package com.psddev.dari.db; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Queue; import org.junit.After; import org.junit.AfterClass; import org.junit.Befor...
package de.cooperateproject.modeling.textual.usecase.derivedstate.calculator; import java.util.Optional; import org.eclipse.uml2.uml.Classifier; import de.cooperateproject.modeling.textual.common.metamodel.textualCommons.UMLReferencingElement; import de.cooperateproject.modeling.textual.usecase.usecase.Generalization; ...
package org.rhq.maven.plugins; import java.io.File; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import org.apache.http.HttpResponse; import org.apache.http.HttpStatus; import org.apache.http.auth.AuthScope; import org.apache.http.auth.UsernamePasswordCredentials; import org.apac...