answer
stringlengths
17
10.2M
package gov.nih.nci.calab.ui.search; /** * This class searches workflows based on user supplied criteria. * * @author pansu */ /* CVS $Id: SearchWorkflowAction.java,v 1.8 2006-04-26 21:35:46 pansu Exp $ */ import gov.nih.nci.calab.dto.search.WorkflowResultBean; import gov.nih.nci.calab.service.search.SearchWorkflow...
/* Open Source Software - may be modified and shared by FRC teams. The code */ /* the project. */ package edu.wpi.first.wpilibj.templates; import edu.wpi.first.wpilibj.DriverStation; import edu.wpi.first.wpilibj.SimpleRobot; import edu.wpi.first.wpilibj.Jo...
package edu.cmu.sv.ws.ssnoc.test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import java.sql.Timestamp; import java.util.List; import javax.ws.rs.core.Response; import org.junit.After; import org.junit.Before; import org.junit.Test;...
package org.xins.server; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.PrintWriter; import java.lang.reflect.Field; import java.util.Enumeration; import java.util.Properties; import java.util.Random; import javax.servlet.ServletConfig; import javax.serv...
package scal.io.liger.av; import timber.log.Timber; import android.content.Context; import android.media.MediaRecorder; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.util.Log; import java.io.File; import java.io.IOException; import java.text.SimpleDateFormat; impo...
package org.xins.server; import java.io.IOException; import java.io.PrintWriter; import java.lang.reflect.Field; import java.util.Properties; import javax.servlet.Servlet; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse...
package com.sun.facelets.impl; import java.io.FileNotFoundException; import java.io.IOException; import java.net.URL; import java.util.HashMap; import java.util.Map; import java.util.logging.Level; import java.util.logging.Logger; import javax.el.ELException; import javax.faces.FacesException; import javax.faces.contex...
package com.baoyz.actionsheet; import android.annotation.TargetApi; import android.content.Context; import android.content.res.Configuration; import android.content.res.Resources; import android.content.res.TypedArray; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.graphic...
// Narya library - tools for developing networked games // This library is free software; you can redistribute it and/or modify it // (at your option) any later version. // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // You should ...
package krasa.formatter.plugin; import java.util.ArrayList; import java.util.List; import com.intellij.lang.Language; import com.intellij.openapi.editor.*; import com.intellij.openapi.util.TextRange; import com.intellij.psi.codeStyle.CodeStyleSettings; import com.intellij.psi.codeStyle.CodeStyleSettingsManager; import ...
package com.weblyzard.api.client; import javax.ws.rs.WebApplicationException; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; public class JohnDoeClient extends BasicClient { private static final String PROFILE = "profileName"; private static final String CONTENT = "content"; private st...
package foam.nanos.export; import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport; import com.google.api.client.http.javanet.NetHttpTransport; import com.google.api.client.json.JsonFactory; import com.google.api.client.json.jackson2.JacksonFactory; import com.google.api.services.sheets.v4.Sheets; import...
// This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // You should have received a copy of the GNU Lesser General ...
package com.joelapenna.foursquared; import com.joelapenna.foursquare.Foursquare; import com.joelapenna.foursquare.Foursquare.Location; import com.joelapenna.foursquare.error.FoursquareError; import com.joelapenna.foursquare.error.FoursquareException; import com.joelapenna.foursquare.types.Checkin; import com.joelapenna...
package com.necla.am.zwutils.Debugging; import java.io.File; import java.io.IOException; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Type; import java.nio.file.ProviderNotFoundException; import java.util.ArrayList; import ...
package org.voltdb.export; import static com.google_voltpatches.common.base.Preconditions.checkNotNull; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.lang.management.ManagementFactory; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.Iterator; impo...
package org.voltdb.export; import static com.google_voltpatches.common.base.Preconditions.checkNotNull; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.lang.management.ManagementFactory; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.Iterator; impo...
package org.concord.otrunk.net; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.net.HttpURLConnection; import java.net.URL; import java.net.URLConnection; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.logging.Logger; import java...
package org.dellroad.stuff.schema; import java.sql.Connection; import java.sql.SQLException; import java.sql.Statement; import java.util.regex.Pattern; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * A {@link DatabaseAction} that executes a provided SQL script. * * <p> * The script may contain multip...
package org.jivesoftware.wildfire.roster; import org.jivesoftware.util.CacheSizes; import org.jivesoftware.util.Cacheable; import org.jivesoftware.util.IntEnum; import org.jivesoftware.wildfire.SharedGroupException; import org.jivesoftware.wildfire.group.Group; import org.jivesoftware.wildfire.group.GroupManager; impor...
/* * $Log: not supported by cvs2svn $ * Revision 1.15 2007/10/31 14:51:11 pandyas * Fixed #9169 Connect availability of model to person to resolve the available from investigator issue * * Revision 1.14 2007/09/12 19:35:52 pandyas * modified debug statements for build to stage tier * * Revision 1.13 2...
package org.orbeon.oxf.xforms; import org.orbeon.oxf.common.OXFException; import org.orbeon.oxf.xforms.function.*; import org.orbeon.oxf.xforms.function.Current; import org.orbeon.oxf.xforms.function.Last; import org.orbeon.oxf.xforms.function.exforms.EXFormsReadonly; import org.orbeon.oxf.xforms.function.exforms.EXFor...
package gov.nih.nci.nautilus.test; import java.util.Iterator; import gov.nih.nci.nautilus.data.DifferentialExpressionSfact; import gov.nih.nci.nautilus.lookup.CytobandLookup; import gov.nih.nci.nautilus.lookup.ExpPlatformLookup; import gov.nih.nci.nautilus.lookup.LookupManager; import gov.nih.nci.nautilus.lookup.Patien...
package org.orbeon.oxf.xforms; import org.orbeon.oxf.pipeline.api.PipelineContext; import org.orbeon.oxf.pipeline.api.ExternalContext; import org.orbeon.oxf.externalcontext.ForwardExternalContextRequestWrapper; import org.orbeon.oxf.common.OXFException; import org.orbeon.oxf.xforms.event.events.XFormsSubmitDoneEvent; i...
package main.com.pcache.engines; import java.util.HashMap; import java.util.List; import java.util.Map; import main.com.pcache.DO.timeseries.VariableTimeseries; import main.com.pcache.exceptions.PCacheException; /** * Class to hold the list of variable time series' in the system. * * Essentially, this is a simple st...
package com.sailthru.client.http; import com.sailthru.client.AbstractSailthruClient.HttpRequestMethod; import java.io.File; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.loggi...
package Command.InformationModule; import Command.Command; import Config.Info; import Config.Prefix; import Main.*; import java.awt.Color; import java.time.Instant; import net.dv8tion.jda.core.EmbedBuilder; import net.dv8tion.jda.core.entities.MessageEmbed; import net.dv8tion.jda.core.events.message.MessageReceivedEven...
package com.threerings.media.sound; import java.util.Set; import com.google.common.collect.Sets; import com.samskivert.util.Interval; import com.samskivert.util.RunQueue; /** * Loads, plays and loops sounds. */ public abstract class SoundPlayer { /** A pan value indicating that a sound should play from the left o...
package SW9.controllers; import SW9.abstractions.Component; import SW9.abstractions.Edge; import SW9.abstractions.Jork; import SW9.abstractions.SubComponent; import SW9.code_analysis.CodeAnalysis; import SW9.code_analysis.Nearable; import SW9.presentations.CanvasPresentation; import SW9.presentations.ComponentPresentat...
// Narya library - tools for developing networked games // This library is free software; you can redistribute it and/or modify it // (at your option) any later version. // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // You should ...
package br.com.dbsoft.ui.bean.crud; import java.math.BigDecimal; import java.sql.Connection; import java.sql.Timestamp; import java.util.ArrayList; import java.util.Collection; import java.util.List; import javax.enterprise.context.Conversation; import javax.faces.component.UIComponent; import javax.faces.context.Faces...
package org.jsmpp.bean; /** * @author uudashr * */ public enum GSMSpecificFeature { DEFAULT((byte) 0x00), /** * User data header indicator. */ UDHI((byte)0x40), /** * Reply path. */ REPLYPATH((byte)0x80), /** * User data header indicator and Reply path. */ UD...
package ch.ethz.geco.gecko.command.core; import ch.ethz.geco.gecko.GECkO; import ch.ethz.geco.gecko.command.Command; import ch.ethz.geco.gecko.command.CommandUtils; import ch.ethz.geco.gecko.rest.api.PastebinAPI; import ch.ethz.geco.gecko.rest.api.exception.APIException; import org.apache.maven.shared.invoker.*; import...
package cn.wizzer.common.services.wx; import cn.wizzer.modules.back.wx.models.*; import cn.wizzer.modules.back.wx.services.*; import com.vdurmont.emoji.EmojiParser; import org.nutz.dao.Chain; import org.nutz.dao.Cnd; import org.nutz.ioc.impl.PropertiesProxy; import org.nutz.ioc.loader.annotation.Inject; import org.nutz...
package com.adaptionsoft.games.uglytrivia; public class Game { private final Questions questions; private final Players currentPlayer; // TODO smell: Players class reads better as currentPlayer field. static class UI { public void currentPlayersTurn(String name, int eyesOfDice) { Sys...
package com.akiban.server.store; 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.SortedSet; import java.util.TreeSet; import com.akiban.ais.model.Inde...
package com.akiban.server.types3.pvalue; import com.akiban.server.collation.AkCollator; public final class PValue implements PValueSource, PValueTarget { // PValue interface public void underlying(PUnderlying underlying) { this.underlying = underlying; this.state = State.UNSET; } public ...
// Contributors: Georg Lundesgaard package org.apache.log4j.config; import java.beans.Introspector; import java.beans.PropertyDescriptor; import java.beans.BeanInfo; import java.beans.IntrospectionException; import java.lang.reflect.*; import java.util.*; import org.apache.log4j.*; import org.apache.log4j.helpers.LogL...
package com.celements.inheritor; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.celements.iterator.XObjectIterator; import com.xpn.xwiki.XWikiException; import com.xpn.xwiki.objects.BaseCollection; import com.xpn.xwiki.objects.BaseProperty; public class FieldInheritor extends AbstractObjectInherito...
package com.celements.web.sajson; import java.util.Stack; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; public class LexicalParser<T extends IGenericLiteral> implements ILexicalParser<T> { private static Log mLogger = LogFactory.getFactory().getInstance( LexicalParser....
package com.codeborne.selenide; import com.codeborne.selenide.impl.WebDriverContainer; import com.codeborne.selenide.impl.WebDriverThreadLocalContainer; import com.codeborne.selenide.proxy.SelenideProxyServer; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.Proxy; import org.openqa.selenium.We...
package org.jdesktop.swingx.table; import java.awt.ComponentOrientation; import java.util.List; import javax.swing.Action; import javax.swing.JComponent; import org.jdesktop.swingx.table.ColumnControlButton.ColumnVisibilityAction; /** * encapsulates the popup component which is the delegate for * all popup visuals, u...
package com.haulmont.cuba.web.jmx; import com.haulmont.cuba.core.entity.JmxInstance; import com.haulmont.cuba.web.jmx.entity.ManagedBeanAttribute; import com.haulmont.cuba.web.jmx.entity.ManagedBeanDomain; import com.haulmont.cuba.web.jmx.entity.ManagedBeanInfo; import com.haulmont.cuba.web.jmx.entity.ManagedBeanOperat...
package com.crawljax.browser; import java.io.File; import java.io.IOException; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.log4j.Logger; import org.openqa.selenium.By; import org.openqa.selenium.ElementNotVisibleException; import org.openqa.selenium.JavascriptExecutor; import org.o...
package com.fangxuele.tool.push.logic; import java.util.List; public class PushData { public static List<String[]> allUser; public static long totalRecords; public static long successRecords; public static long failRecords; public static List<String[]> toSendList; public static List<String[]> se...
package lama.tablegen.sqlite3; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; import lama.Main.StateToReproduce; import lama.Randomly; import lama.sqlite3.SQLite3Visitor; public class SQLite3TableGenerator { private final StringBuilder sb = new StringBuilder(); private fi...
package com.gamingmesh.jobs.CMILib; import java.awt.Color; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map.Entry; import java.util.UUID; import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.Offl...
package com.gmathiou.shuttler.server; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.logging.Level; import java.util.logging.Logger; import org.json.simple.JSONObject; /** * * @author mathioud */ ...
package com.google.sps.servlets; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.Uns...
package com.heroku.config; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.context.web.Spring...
package com.legendzero.lzlib.command; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Maps; import com.legendzero.lzlib.lang.LZLibLang; import com.legendzero.lzlib.util.Reflections; import net.md_5.bungee.api.ChatColor; import net.md_5.bungee.api.chat.BaseComponent; import net.md_5.bunge...
package com.lothrazar.cyclicmagic.gui; import com.lothrazar.cyclicmagic.core.gui.GuiBaseContainer; import com.lothrazar.cyclicmagic.core.util.Const; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.Gui; import net.minecraft.client.renderer.texture.TextureAtlasSprite; import net.minecraft.client.re...
package com.lothrazar.enderbook; import net.minecraftforge.common.config.Configuration; public class ConfigSettings { boolean doesPauseGame; boolean craftNetherStar; int maximumSaved; Configuration config; public ConfigSettings(Configuration c) { config = c; config.load(); ...
package com.matt.forgehax.util.command; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import com.matt.forgehax.util.SafeConverter; import com.matt.forgehax.util.command.callbacks.OnChangeCallback; import com.matt.forgehax.util.command.exception.CommandBuildException; import com.mat...
package com.nhn.pinpoint.common.bo; import com.nhn.pinpoint.common.buffer.AutomaticBuffer; import com.nhn.pinpoint.common.buffer.Buffer; import com.nhn.pinpoint.common.buffer.FixedBuffer; import com.nhn.pinpoint.thrift.dto.AgentInfo; public class AgentInfoBo implements Comparable<AgentInfoBo> { private String ip; ...
package com.squarespace.less.match; import com.squarespace.less.core.CharClass; /** * Simple pattern recognizer state machines. * * Recognizers constructed by this class return the ending position of the match, or FAIL for no match. * * In most cases these will be faster than the equivalent java.util.regex regular...
package com.techcavern.wavetact.utils; import com.techcavern.wavetact.objects.IRCCommand; import org.apache.commons.lang3.StringUtils; import org.jooq.Record; import org.pircbotx.Channel; import org.pircbotx.PircBotX; import org.pircbotx.User; import org.pircbotx.UserLevel; import org.pircbotx.exception.DaoException; i...
package com.ukefu.webim.service.task; import java.util.Date; import java.util.List; import org.apache.commons.lang.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.data.domain.Page; import org.springframew...
package cz.esc.iot.cloudservice.resources; import java.util.List; import org.restlet.data.Form; import org.restlet.data.Reference; import org.restlet.data.Status; import org.restlet.resource.Get; import org.restlet.resource.ServerResource; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import cz.esc.i...
package de.alpharogroup.enums; import de.alpharogroup.check.Check; import lombok.Getter; /** * The class {@link CustomizableEnum} can decorate an enum with a new value that may be extended in * a future release. */ @Getter public class CustomizableEnum<E extends Enum<E>, T> { /** The enumtype. */ private fin...
package org.subethamail.smtp.command; import org.subethamail.smtp.server.SMTPServerContext; import org.subethamail.smtp.session.Session; /** * @author Ian McFarland &lt;ian@neo.com&gt; * @author Jon Stevens */ public class EhloCommand extends BaseCommand { public EhloCommand(CommandDispatcher commandDispatcher) ...
package de.tum.in.www1.artemis.domain; import java.time.ZonedDateTime; import java.util.*; import java.util.stream.Collectors; import javax.annotation.Nullable; import javax.persistence.*; import org.hibernate.annotations.Cache; import org.hibernate.annotations.CacheConcurrencyStrategy; import org.hibernate.annotations...
package es.xan.servantv3; import io.vertx.core.AsyncResult; import io.vertx.core.Vertx; import io.vertx.core.eventbus.Message; import io.vertx.core.json.Json; import io.vertx.core.json.JsonObject; import io.vertx.core.logging.Logger; import io.vertx.core.logging.LoggerFactory; import io.vertx.ext.mongo.FindOptions; imp...
package freemarker.ext.beans; import java.beans.BeanInfo; import java.beans.IndexedPropertyDescriptor; import java.beans.IntrospectionException; import java.beans.Introspector; import java.beans.MethodDescriptor; import java.beans.PropertyDescriptor; import java.lang.ref.Reference; import java.lang.ref.ReferenceQueue; ...
package froop.db.common; import java.io.File; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class DerbyConnectionFactory { private final String connectUrl; static { final String logDir = "logs"; new File(logDir).mkdir(); System.setProperty("derby.stream....
package in.twizmwaz.cardinal.util; import org.bukkit.Color; import org.bukkit.FireworkEffect; import org.bukkit.Location; import org.bukkit.World; import org.bukkit.entity.Firework; import org.bukkit.inventory.meta.FireworkMeta; import java.util.Random; public class FireworkUtil { public static void spawnFirework(L...
package info.igreque.keepmecontributing; import info.igreque.keepmecontributing.github.Github; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.impl.client.HttpClients; import org.apache.http.util.EntityUtils; import static spark...
package innovimax.mixthem.io; import innovimax.mixthem.interfaces.IInputChar; import java.io.File; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; public class DefaultCharReader implements IInputChar { private final BufferedReader reader; public DefaultCharReader(File input...
package innovimax.mixthem.io; import innovimax.mixthem.ReadType; import innovimax.mixthem.interfaces.IInputLine; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Path; import java.util.Random; /** *...
package innovimax.mixthem.operation; import java.util.EnumSet; /** * <p>Describes the result of an line operation on two files.</p> * @author Innovimax * @version 1.0 */ public class LineResult { private final EnumSet<ResultType> types = EnumSet.noneOf(ResultType.class); private String line1 = null; private...
package io.github.mzmine.util; import io.github.mzmine.datamodel.Frame; import io.github.mzmine.datamodel.MobilityScan; import io.github.mzmine.datamodel.features.ModularFeature; import io.github.mzmine.datamodel.features.types.numbers.MobilityType; import java.awt.geom.Path2D; import java.awt.geom.Point2D; import java...
package jplee.worldmanager.gen; import java.util.Collection; import java.util.Comparator; import java.util.List; import java.util.Map; import java.util.Random; import com.google.common.collect.HashMultimap; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.collect.M...
package main.java.com.bag.server; import main.java.com.bag.server.database.Neo4jDatabaseAccess; import main.java.com.bag.server.database.OrientDBDatabaseAccess; import main.java.com.bag.server.database.SparkseeDatabaseAccess; import main.java.com.bag.server.database.TitanDatabaseAccess; import main.java.com.bag.server....
package mcjty.deepresonance.boom; import elec332.core.explosion.Elexplosion; import elec332.core.util.BlockLoc; import elec332.core.world.WorldHelper; import net.minecraft.block.Block; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLiving; import net.minecraft.init.Blocks; import net.minecraft.ut...
package me.otisdiver.otisarena.event; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.GameMode; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.event.entity.EntityDamageByEntityEvent; import org.bukkit.event.entity....
package me.prettyprint.cassandra.model; import static me.prettyprint.cassandra.utils.Assert.notNull; import org.apache.cassandra.thrift.Column; import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; /** * Hector Column definition. * * @param <N> The type of the ...
package net.aeronica.mods.mxtune.init; import java.util.HashSet; import java.util.Set; import net.aeronica.mods.mxtune.MXTuneMain; import net.aeronica.mods.mxtune.blocks.ItemPiano; import net.aeronica.mods.mxtune.items.ItemConverter; import net.aeronica.mods.mxtune.items.ItemInstrument; import net.aeronica.mods.mxtune....
package net.aicomp.javachallenge2015; import java.util.ArrayList; import java.util.Random; import java.util.Scanner; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.CommandLineParser; import org.apache.commons.cli.DefaultParser; import org.apache.commons.cli.HelpFormatter; import org.apache.com...
package net.daragh.jira.mailparser; import com.atlassian.jira.service.util.handler.MessageHandler; import com.atlassian.jira.service.util.handler.MessageHandlerContext; import com.atlassian.jira.service.util.handler.MessageHandlerErrorCollector; import java.util.Map; import java.util.HashMap; import java.util.HashSet; ...
package net.imagej.legacy; import java.awt.GraphicsEnvironment; import java.io.File; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.Map; import net.imagej.DatasetService; import net.imagej.display.ImageDisplay; import net.imagej.display.ImageDisplayService; import net.imagej.display.OverlayS...
package net.imagej.updater.util; /** * A default implementation of the {@link Progress} interface. * * @author Johannes Schindelin */ public class StderrProgress implements Progress { protected final static boolean redirected = System.console() == null; protected final static String end = redirected ? "\n" ...
package net.minecraftforge.common; import static net.minecraftforge.common.ForgeVersion.Status.*; import java.io.InputStream; import java.net.URL; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java....
package net.sf.mzmine.util.R.Rsession; import java.io.File; import java.io.FileFilter; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.PrintStream; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; impo...
package org.asup.il.core.util; import org.asup.il.core.FormatType; import org.asup.il.core.QFormat; public class FormatHelper { private static String COMMAND_STRING_REGEX ="[A-Z][A-Z0-9\\$£@()&./\\s_*]{0,255}"; private static String COMMUNICATION_STRING_REGEX ="[A-Z\\$£@][A-Z0-9\\$£@]*"; priva...
package nl.hsac.fitnesse.fixture.slim; import fit.exception.FitFailureException; import freemarker.template.Template; import nl.hsac.fitnesse.fixture.util.BinaryHttpResponse; import nl.hsac.fitnesse.fixture.util.HttpResponse; import nl.hsac.fitnesse.fixture.util.NonValidResponseReceivedException; import org.apache.comm...
package nl.hsac.fitnesse.fixture.slim; import freemarker.template.Template; import nl.hsac.fitnesse.fixture.util.HttpResponse; import java.io.File; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.regex...
package org.orienteer.core.dao; import java.lang.reflect.Proxy; import com.orientechnologies.orient.core.id.ORID; import com.orientechnologies.orient.core.record.impl.ODocument; import com.orientechnologies.orient.core.type.ODocumentWrapper; /** * Utility class for creating implementations for required interfaces */ ...
package nl.hsac.fitnesse.fixture.slim; import freemarker.template.Template; import nl.hsac.fitnesse.fixture.util.HttpResponse; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.regex.Matcher; import java...
package no.geonorge.nedlasting.data; import org.apache.cayenne.Cayenne; import org.apache.cayenne.ObjectContext; import no.geonorge.nedlasting.data.auto._Projection; public class Projection extends _Projection { public no.geonorge.nedlasting.data.client.Projection forClient() { no.geonorge.nedlasting.data.c...
package org.avaje.metric.elastic; import okhttp3.MediaType; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.RequestBody; import okhttp3.Response; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import jav...
package org.binwang.bard.util; import org.binwang.bard.core.BindTo; import org.binwang.bard.core.Injector; import org.binwang.bard.core.marker.After; import org.binwang.bard.core.marker.Before; @BindTo(Required.class) public class RequiredInjector extends Injector<Required> { @Before public void validateParam()...
package org.deepsymmetry.beatlink; import java.net.DatagramPacket; import java.net.InetAddress; /** * Represents a device status update seen on a DJ Link network. * * @author James Elliott */ public abstract class DeviceUpdate { /** * The address from which this device update was received. */ prot...
package org.kumoricon.model.badge; public class BadgeFactory { public static final Badge badgeFactory(String name, String dayText, double adultCost, double youthCost, double childCost) { Badge b = new Badge(); b.setName(name); b.setDayText(dayText);...
package org.lightmare.ejb.handlers; import java.io.IOException; import java.lang.reflect.Field; import java.lang.reflect.InvocationHandler; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java...
package org.lightmare.utils.config; import java.io.File; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Set; import org.lightmare.cache.DeploymentDirectory; import org.lightmare.utils.Colle...
package org.minimalj.application; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.lang.reflect.Constructor; import java.util.Properties; import java.util.logging.Level; import java.util.logging.Logger; import org.minimalj.util.LoggingRuntimeException; /** *...
package org.mtransit.parser; import org.apache.commons.lang3.StringUtils; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.mtransit.parser.gtfs.GAgencyTools; import org.mtransit.parser.gtfs.GReader; import org.mtransit.parser.gtfs.data.GAgency; import org.mtransit.parser.g...
package org.mybatis.jpetstore.domain; import java.io.Serializable; import java.math.BigDecimal; public class Calculate implements Serializable { public void hello() { System.out.println("JPET Store Application"); System.out.println("Class name: Calculate.java"); System.out.println("Hello World"); System.out.println("Ma...
package org.openbaton.vnfm.generic; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonObject; import org.apache.commons.codec.binary.Base64; import org.openbaton.catalogue.mano.common.Event; import org.openbaton.catalogue.mano.common.Ip; import org.openbaton.catalogue.mano.comm...
package org.surfnet.crowd; import javax.ws.rs.GET; import javax.ws.rs.Path; import com.atlassian.plugins.rest.common.security.AnonymousAllowed; import com.atlassian.sal.api.pluginsettings.PluginSettings; import com.atlassian.sal.api.pluginsettings.PluginSettingsFactory; import com.atlassian.sal.api.transaction.Transact...