answer
stringlengths
17
10.2M
package com.gbr.nyan.config; import com.gbr.nyan.openid.OpenIdUserDetailsService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.securi...
package org.jpos.apps.qsp.config; import java.io.IOException; import java.util.Properties; import java.util.Arrays; import javax.swing.JPanel; import org.jpos.iso.ISOChannel; import org.jpos.iso.BaseChannel; import org.jpos.iso.ClientChannel; import org.jpos.iso.ISOPackager; import org.jpos.iso.ISOException; import org...
package de.mrapp.android.preference; import android.annotation.TargetApi; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import android.content.DialogInterface.OnDismissListener; import android.content.res.TypedA...
package com.github.davidmoten.rx; import static rx.Observable.just; import java.util.ArrayList; import java.util.Collection; import java.util.Comparator; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.concurrent.TimeUnit; import com.github.davidmoten.rx.internal.operators.Operat...
package dr.app.beauti.components.dnds; import dr.app.beauti.generator.BaseComponentGenerator; import dr.app.beauti.options.BeautiOptions; import dr.app.beauti.options.PartitionSubstitutionModel; import dr.app.beauti.util.XMLWriter; import dr.util.Attribute; /** * @author Filip Bielejec * @version $Id$ */ public clas...
package dr.evomodel.speciation; import dr.evolution.tree.NodeRef; import dr.evolution.tree.Tree; import dr.evolution.util.Taxon; import dr.inference.model.Parameter; import dr.inference.model.Variable; import java.util.Set; /** * Beginning of tree prior for birth-death + serial sampling + extant sample proportion. Mor...
package edu.iu.grid.oim.model.db; import java.io.IOException; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.sql.Timestamp; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import org.bouncycastle.asn1.x500.RDN; im...
package com.cloud.async; import java.lang.reflect.Type; import java.util.Date; import java.util.List; import java.util.Map; import java.util.Random; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeU...
package com.gocardless.resources; import java.util.List; import java.util.Map; import com.google.gson.annotations.SerializedName; public class Subscription { private Subscription() { // blank to prevent instantiation } private Integer amount; private Integer appFee; private Integer count; ...
/** * @author Kevin Fisher * @since February 19, 2015 * @version 0.1.0 */ package edu.millersville.cs.bitsplease.model; import javafx.geometry.Point2D; import javafx.event.Event; import javafx.event.EventDispatchChain; /* * A class model to represent a UML Object symbol */ public class UMLObjectSymbol extends UML...
package com.gocardless.services; import java.util.HashMap; import java.util.List; import java.util.Map; import com.gocardless.http.*; import com.gocardless.resources.Refund; import com.google.common.collect.ImmutableMap; import com.google.gson.annotations.SerializedName; import com.google.gson.reflect.TypeToken; /** *...
package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.command.Command; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; import edu.wpi.first.wpilibj.templates.OI; import edu.wpi.first.wpilibj.templates.subsystems.ArmFeeder; import edu.wpi.first.wpilibj.templates.subsystems.ExampleSub...
package com.google.sps.data; import java.util.List; import java.util.LinkedList; import java.util.Arrays; import java.io.Serializable; import java.net.URL; import java.util.logging.Logger; import com.google.maps.GeoApiContext; import com.google.maps.PlacesApi; import com.google.maps.NearbySearchRequest; import com.goog...
package edu.wpi.first.wpilibj.templates.helpers; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; public class ProcessError { private String errorString; private String creator; private boolean isError; /** * This creates a new Error that is NOT an error. * * @param owner The o...
package com.googlecode.jsu.util; import com.atlassian.crowd.embedded.api.CrowdService; import com.atlassian.crowd.embedded.api.Group; import com.atlassian.crowd.embedded.api.User; import com.atlassian.jira.ComponentManager; import com.atlassian.jira.bc.project.component.ProjectComponent; import com.atlassian.jira.bc.pr...
// -*- Java -*- // modification, are permitted provided that the following conditions are // met: // documentation and/or other materials provided with the distribution. // * Neither the name of the University of Colorado at Boulder nor the // names of its contributors may be used to endorse or promote // product...
package mx.fiscoflex.web.contabilidad; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import or...
package com.laytonsmith.database; import com.laytonsmith.core.Profiles; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.sql.SQLException; import java.util.Map; @Profiles.ProfileType(type = "mysql") public class MySQLProfile extends SQLProfile { private final String host; pri...
package com.minelittlepony.model.gear; import net.minecraft.entity.Entity; import net.minecraft.util.ResourceLocation; import com.minelittlepony.model.BodyPart; import com.minelittlepony.model.capabilities.IModel; import com.minelittlepony.pony.data.PonyWearable; import com.minelittlepony.render.model.PlaneRenderer; im...
package com.raether.watchwordbot; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintStream; import java.text.NumberFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.Comp...
package com.raether.watchwordbot; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintStream; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashSet; import java.util.LinkedList; import java.util.List; impo...
package com.relayrides.pushy.apns; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.util.concurrent.Future; import java.lang.Thread.UncaughtExceptionHandler; import java.security.KeyStore; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Vector; import java....
package specs.paymentmethods.paypal; import com.commercetools.pspadapter.payone.domain.ctp.BlockingClient; import com.commercetools.pspadapter.payone.domain.ctp.CustomTypeBuilder; import com.commercetools.pspadapter.payone.mapping.CustomFieldKeys; import com.google.common.base.Splitter; import com.google.common.collect...
package com.skraylabs.poker.model; import org.apache.commons.lang3.StringUtils; /** * Factory class for constructing {@link Card} objects from String values. */ public class CardFactory { /** * Creates a {@link Card} object given a two-character string (e.g. "2c" for the Two of Clubs). * <p> * First charac...
package com.sri.ai.grinder.core; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.concurrent.atomic.AtomicInteger; import com.google.common.annotations.Beta; import com.google.common.base.Function; import com.sri.ai.expresso.api.Expression; import com....
package fr.polytech.tictactoe.game.players; import fr.polytech.tictactoe.game.TicTacToe; import fr.polytech.tictactoe.game.boardgame.Coordinate; import fr.polytech.tictactoe.game.boardgame.Mark; public class IterativeAIPlayer extends Player { /** * Create an artificial intelligence player. * * @param...
package com.sri.ai.grinder.helper; import static com.sri.ai.expresso.helper.Expressions.INFINITY; import static com.sri.ai.expresso.helper.Expressions.MINUS_INFINITY; import static com.sri.ai.expresso.helper.Expressions.TRUE; import static com.sri.ai.expresso.helper.Expressions.apply; import static com.sri.ai.expresso....
package com.sri.ai.praise.rules; import java.text.NumberFormat; import java.text.ParseException; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import com.google.common.annotations.Beta; import com.sri.ai.expresso.api.Ex...
package gov.nih.nci.calab.domain.nano.characterization; import gov.nih.nci.calab.domain.Measurement; import java.io.Serializable; import java.util.ArrayList; import java.util.Collection; /** * @author zengje * */ public class Datum implements Serializable { private static final long serialVersionUID = 1234567890...
package com.sri.ai.praise.rules; import java.text.NumberFormat; import java.text.ParseException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import java....
package gov.nih.nci.calab.ui.core; import gov.nih.nci.calab.dto.characterization.CharacterizationBean; import gov.nih.nci.calab.dto.characterization.CharacterizationSummaryBean; import gov.nih.nci.calab.dto.characterization.DatumBean; import gov.nih.nci.calab.dto.characterization.DerivedBioAssayDataBean; import gov.nih...
/* Solution 1, Brute force: O(n2) runtime and O(1) space complexities An array element can store water if there are higher bars on its left and/or right sides. We find the total amount of water that each array element can store, add them all up. To find the total amount of water that each array element can trap, we do ...
package com.szh.algorithm.array; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; public class ArraySolution { public boolean find(int target, int[][] array) { boolean found = false; int rows = array.length; int columns = array[r...
package com.tinkerpop.gremlin.server; import com.tinkerpop.blueprints.util.StreamFactory; import com.tinkerpop.gremlin.server.util.ser.ToStringResultSerializer; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util.ServiceLoader; import java.util.stream.Stream; public interface Resul...
package nars.grid2d; import java.awt.BorderLayout; import java.awt.Button; import java.awt.Container; import java.awt.FlowLayout; import java.awt.event.MouseWheelEvent; import java.awt.event.MouseWheelListener; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Collections; import java.util.HashM...
package org.jboss.as.console.client.shared.subsys.jca; import static org.jboss.dmr.client.ModelDescriptionConstants.*; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import com.google.gwt.user.client.rpc.AsyncCallback; import org.jboss.as.console.client.Console; import org.jboss.as.conso...
package de.katzenpapst.amunra.config; import java.util.HashMap; import java.util.HashSet; import java.util.Set; import org.apache.logging.log4j.Level; import cpw.mods.fml.relauncher.FMLRelaunchLog; import de.katzenpapst.amunra.AmunRa; import de.katzenpapst.amunra.client.RingsRenderInfo; import micdoodle8.mods.galacticr...
package de.tr7zw.itemnbtapi; import java.util.Set; import org.bukkit.Bukkit; import org.bukkit.inventory.ItemStack; import com.google.gson.Gson; import com.google.gson.JsonSyntaxException; public class NBTReflectionUtil { private static final Gson gson = new Gson(); @SuppressWarnings("rawtypes") private sta...
package edu.neu.ccs.pyramid.experiment; import edu.neu.ccs.pyramid.dataset.DataSetType; import edu.neu.ccs.pyramid.dataset.DataSetUtil; import edu.neu.ccs.pyramid.dataset.RegDataSet; import edu.neu.ccs.pyramid.dataset.TRECFormat; import edu.neu.ccs.pyramid.eval.MSE; import edu.neu.ccs.pyramid.optimization.LBFGS; import...
package com.heroku.api.command; import com.google.inject.Inject; import com.heroku.api.ConnectionTestModule; import com.heroku.api.HerokuRequestKey; import com.heroku.api.HerokuStack; import com.heroku.api.exception.HerokuAPIException; import com.heroku.api.connection.Connection; import com.jcraft.jsch.JSch; import com...
package edu.neu.ccs.pyramid.experiment; import org.apache.commons.io.FileUtils; import java.io.File; import java.util.Arrays; import java.util.List; public class Exp143 { public static void main(String[] args) throws Exception{ String[][] table = load(); System.out.println(table.length); Sys...
package edu.wright.hendrix11.c3; import org.apache.commons.lang3.StringUtils; import javax.faces.component.UIComponent; import javax.faces.context.FacesContext; import javax.faces.context.ResponseWriter; import javax.faces.render.FacesRenderer; import javax.faces.render.Renderer; import java.io.IOException; /** * @aut...
/** * * LabPending.java * @author echeng (table2type.pl) * * the LabPending object * * */ package edu.yu.einstein.wasp.model; import org.hibernate.*; import org.hibernate.envers.Audited; import org.hibernate.envers.NotAudited; import org.hibernate.validator.constraints.NotEmpty; import org.hibernate.validator.c...
package eu.goodlike.twitch.token; import eu.goodlike.okhttp.JsonCallback; import eu.goodlike.utils.StringFormatter; import okhttp3.OkHttpClient; import okhttp3.Request; import java.util.concurrent.CompletableFuture; public final class TokenFetcher { public CompletableFuture<Token> generateNewToken(int vodId) { ...
package net.shikii.widgets; import android.content.Context; import android.graphics.Color; import android.graphics.ColorFilter; import android.graphics.LightingColorFilter; import android.graphics.drawable.Drawable; import android.graphics.drawable.LayerDrawable; import android.util.AttributeSet; import android.widget....
package innovimax.mixthem.arguments; import innovimax.mixthem.io.InputResource; import java.io.File; import java.io.InputStream; import java.io.IOException; import java.nio.file.Files; import java.nio.file.LinkOption; import java.nio.file.Path; import java.util.Enumeration; import java.util.EnumMap; import java.util.It...
package net.sf.iwant.entry3; import java.io.File; import java.io.IOException; import java.util.LinkedHashSet; import java.util.Set; import net.sf.iwant.api.FromRepository; import net.sf.iwant.api.IwantPluginWish; import net.sf.iwant.api.IwantPluginWishes; import net.sf.iwant.api.TestedIwantDependencies; import net.sf.i...
package io.craft.armor; import io.craft.armor.api.ArmorService; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; /** * @author warden * @author mindwind * @version 1.0, Dec 18, 2014 */ public class ArmorInvocationHandler implements InvocationHandler { private Object delegate ...
package psidev.psi.mi.jami.examples.html; import psidev.psi.mi.jami.commons.MIDataSourceOptionFactory; import psidev.psi.mi.jami.commons.PsiJami; import psidev.psi.mi.jami.datasource.InteractionStream; import psidev.psi.mi.jami.datasource.InteractionWriter; import psidev.psi.mi.jami.factory.InteractionWriterFactory; im...
package io.kuzzle.sdk.security; import android.support.annotation.NonNull; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.util.ArrayList; import io.kuzzle.sdk.core.Kuzzle; import io.kuzzle.sdk.core.KuzzleOptions; import io.kuzzle.sdk.listeners.KuzzleResponseListener; i...
package it.sk.alfresco.clojure; /** * @author Carlo Sciolla */ public class RunSwankServer { public void init() throws Exception { Runnable cljRunner = new Runnable() { public void run() { Thread thisThread = Thread.currentThread(); Class...
package org.xins.client; import java.io.IOException; import java.util.Map; /** * Interface for API function calling functionality. * * @version $Revision$ $Date$ * @author Ernst de Haan (<a href="mailto:znerd@FreeBSD.org">znerd@FreeBSD.org</a>) */ public interface FunctionCaller { CallResult call(String functio...
package com.exedio.cope.lib.util; import java.util.Comparator; public final class ClassComparator implements Comparator { private static final ClassComparator instance = new ClassComparator(); public static final ClassComparator getInstance() { return instance; } private ClassComparator() ...
package it.sogei.ngflow.servlet; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.io.RandomAccessFile; import java.util.Arrays; import java.util.List; import javax.servlet.RequestDispatcher; import javax.servlet.annotation.WebServlet; import javax.serv...
// $Id: ExplodeAnimation.java,v 1.5 2002/01/19 06:06:05 shaper Exp $ package com.threerings.media.animation; import java.awt.Color; import java.awt.Graphics2D; import java.awt.Image; import java.awt.Rectangle; import java.awt.Shape; import com.threerings.media.Log; import com.threerings.media.util.RandomUtil; /** * An...
package net.mm2d.upnp; import net.mm2d.util.StringPair; import net.mm2d.util.XmlUtils; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import org.mockito.ArgumentCaptor; import org.mockito.ArgumentMatchers; import org.w3c.dom.Document; import org.w3c.dom...
// $Id: ZoneProvider.java,v 1.19 2004/10/30 04:33:22 mdb Exp $ // 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 o...
package mcjty.lostcities; import mcjty.lostcities.config.LostCityProfile; import mcjty.lostcities.dimensions.world.LostCityChunkGenerator; import mcjty.lostcities.dimensions.world.WorldTypeTools; import mcjty.lostcities.dimensions.world.lost.BuildingInfo; import mcjty.lostcities.dimensions.world.lost.CitySphere; import...
package com.yahoo.jdisc.http.server.jetty; import com.google.common.annotations.Beta; import com.google.common.util.concurrent.ThreadFactoryBuilder; import com.google.inject.Inject; import com.yahoo.component.ComponentId; import com.yahoo.component.provider.ComponentRegistry; import com.yahoo.container.logging.AccessLo...
package org.bedework.calsvc; import org.bedework.calenv.CalEnv; import org.bedework.calfacade.base.BwOwnedDbentity; import org.bedework.calfacade.base.BwShareableDbentity; import org.bedework.calfacade.BwAlarm; import org.bedework.calfacade.BwCalendar; import org.bedework.calfacade.BwCategory; import org.bedework.calfa...
package org.uma.jmetal.operator.mutation.impl; import org.uma.jmetal.operator.mutation.MutationOperator; import org.uma.jmetal.problem.doubleproblem.DoubleProblem; import org.uma.jmetal.solution.doublesolution.DoubleSolution; import org.uma.jmetal.solution.util.RepairDoubleSolution; import org.uma.jmetal.solution.util....
package mnm.mods.util.gui.config; import mnm.mods.util.config.SettingsFile; import mnm.mods.util.gui.GuiComponent; import mnm.mods.util.gui.GuiPanel; /** * Base class for a setting panel. */ public abstract class SettingPanel<T extends SettingsFile<?>> extends GuiPanel { private String displayString; /** ...
package com.evothings; import android.content.Context; import android.util.Log; import com.estimote.sdk.*; import org.apache.cordova.*; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.io.InputStream; import java.util.HashMap; import java.util.List; /** * Plugin class f...
package com.googlecode.jslint4java.maven; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.nio.chars...
package com.googlecode.jslint4java.maven; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.nio.charset.Charset; import java.util...
package net.dean.jraw.managers; import com.fasterxml.jackson.databind.JsonNode; import com.google.common.collect.ImmutableList; import net.dean.jraw.AccountPreferencesEditor; import net.dean.jraw.ApiException; import net.dean.jraw.EndpointImplementation; import net.dean.jraw.Endpoints; import net.dean.jraw.RedditClient...
package org.jtrim.taskgraph.impl; import java.util.Collection; import java.util.Collections; import java.util.IdentityHashMap; import java.util.Map; import java.util.Set; import java.util.concurrent.CompletableFuture; import java.util.concurrent.CompletionStage; import java.util.concurrent.ConcurrentHashMap; import jav...
package fi.jumi.actors.eventizers.dynamic; import fi.jumi.actors.Promise; import fi.jumi.actors.eventizers.Event; import fi.jumi.actors.queue.MessageSender; import javax.annotation.concurrent.ThreadSafe; import java.lang.reflect.*; import java.util.concurrent.Future; @ThreadSafe public class DynamicListenerToEvent<T> i...
package net.imagej.ops.filter; import net.imagej.ops.AbstractNamespace; import net.imagej.ops.Namespace; import net.imagej.ops.OpMethod; import net.imagej.ops.Ops; import net.imagej.ops.special.computer.BinaryComputerOp; import net.imagej.ops.special.computer.UnaryComputerOp; import net.imagej.ops.special.function.Unar...
// $Id: Nidsheader.java,v 1.35 2006/07/25 22:16:18 yuanho Exp $ package ucar.nc2.iosp.nids; import ucar.ma2.*; import ucar.ma2.DataType; import ucar.nc2.Attribute; import ucar.nc2.*; import ucar.nc2.iosp.nexrad2.NexradStationDB; import ucar.nc2.iosp.IospHelper; import ucar.nc2.constants.AxisType; import ucar.nc2.consta...
package net.malisis.core.asm; import static net.malisis.core.util.parser.token.Token.*; import net.malisis.core.util.parser.Parser; import net.malisis.core.util.parser.token.Token; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.mutable.Mutable; import org.apache.commons.lang3.mutable.Mutabl...
package org.languagetool.rules.ngrams; import org.languagetool.AnalyzedSentence; import org.languagetool.Experimental; import org.languagetool.Language; import org.languagetool.languagemodel.LanguageModel; import org.languagetool.rules.Category; import org.languagetool.rules.ITSIssueType; import org.languagetool.rules....
package org.languagetool.rules; import org.junit.Test; import org.languagetool.JLanguageTool; import org.languagetool.Language; import org.languagetool.Languages; import org.languagetool.rules.spelling.CachingWordListLoader; import org.languagetool.rules.spelling.SpellingCheckRule; import java.io.IOException; import ja...
package de.ii.ldproxy.wfs3.sitemaps; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Range; import de.ii.ldproxy.wfs3.Wfs3Service; import de.ii.ldproxy.wfs3.api.FeatureTypeConfigurationWfs3; import de.ii.ldproxy.wfs3.api.Wfs3ServiceData; import de.ii.xtraplatform.feature.query.api.*; imp...
package net.spy.memcached; import java.io.IOException; import java.net.ConnectException; import java.net.InetSocketAddress; import java.net.SocketAddress; import java.net.SocketException; import java.nio.ByteBuffer; import java.nio.channels.ClosedChannelException; import java.nio.channels.SelectionKey; import java.nio....
package ru.mbogomolov; import ru.mbogomolov.Point; import ru.mbogomolov.Triangle; public class MaxSide { public double max(Triangle triangle){ double maxSide = 0; if((triangle.a.distanceTo(triangle.b)) > (triangle.b.distanceTo(triangle.c)) || (triangle.a.distanceTo(triangle.b)) > (triangle.c.distanceTo(tr...
package org.grouplens.lenskit.test; import org.grouplens.lenskit.data.dao.DAOFactory; import org.grouplens.lenskit.data.dao.SimpleFileRatingDAO; import org.junit.Before; import java.io.File; import java.io.FileNotFoundException; import static org.hamcrest.Matchers.*; import static org.junit.Assume.assumeThat; import st...
package aeronicamc.mods.mxtune.events; import aeronicamc.mods.mxtune.Reference; import aeronicamc.mods.mxtune.blocks.MusicBlock; import aeronicamc.mods.mxtune.caps.stages.ServerStageAreaProvider; import aeronicamc.mods.mxtune.init.ModBlocks; import aeronicamc.mods.mxtune.init.ModItems; import aeronicamc.mods.mxtune.ite...
package com.alexvasilkov.events; import android.support.annotation.NonNull; import com.alexvasilkov.events.internal.Dispatcher; import com.alexvasilkov.events.internal.EventBase; import com.alexvasilkov.events.internal.EventsParams; import java.util.Arrays; import java.util.List; public class Event extends EventBase { ...
package net.trajano.webutil; import java.io.IOException; import java.util.Date; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * This is a sample servlet, typically you would not use this, but it is useful * for testing the sanit...
package aeronicamc.mods.mxtune.render; import aeronicamc.mods.mxtune.Reference; import aeronicamc.mods.mxtune.caps.venues.ToolManager; import aeronicamc.mods.mxtune.init.ModBlocks; import aeronicamc.mods.mxtune.init.ModItems; import aeronicamc.mods.mxtune.items.MusicVenueToolItem; import aeronicamc.mods.mxtune.util.IIn...
package net.wizardsoflua.lua.view; import static com.google.common.base.Preconditions.checkArgument; import javax.annotation.Nullable; import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; import net.sandius.rembulan.Table; import net.sandius.rembulan.runtime.ExecutionContext; import net.sa...
package alex.mojaki.s3upload; import com.amazonaws.services.s3.AmazonS3; import com.amazonaws.services.s3.model.*; import com.amazonaws.util.BinaryUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.ByteArrayInputStream; import java.math.BigInteger; import java.security.MessageDigest; import ...
package com.nostra13.universalimageloader.core.model; import android.support.annotation.IntDef; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; /** * // TODO Add class description * * @author Matt Allen * @project UniversalImageLoader */ public class SimpleTextImage implements I...
package nu.studer.gradle.rocker; import org.gradle.api.Action; import org.gradle.api.DefaultTask; import org.gradle.api.Task; import org.gradle.api.file.ConfigurableFileTree; import org.gradle.api.file.FileCollection; import org.gradle.api.file.FileSystemOperations; import org.gradle.api.file.ProjectLayout; import org....
package at.ac.tuwien.inso.config; import at.ac.tuwien.inso.entity.Role; import at.ac.tuwien.inso.entity.*; import at.ac.tuwien.inso.service.*; import org.springframework.beans.factory.annotation.*; import org.springframework.context.annotation.*; import org.springframework.security.config.annotation.authentication.buil...
package biz.neustar.discovery; 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.Map.Entry; import org.openxri.XRI; import org.openxri.proxy.impl.AbstractProxy; import org.openxri.resolve.Resolve...
package org.agmip.core.types; /** * The primary interface for translators to implement for output files. */ import java.util.Map; import java.io.IOException; public interface TranslatorOutput { public void writeFile(String outputDirectory, Map data) throws IOException; }
package ca.gc.ip346.classification.cors; import static org.apache.logging.log4j.Level.DEBUG; import java.io.IOException; import javax.ws.rs.container.ContainerRequestContext; import javax.ws.rs.container.ContainerResponseContext; import javax.ws.rs.container.ContainerResponseFilter; import javax.ws.rs.ext.Provider; imp...
package org.animotron.bridge.web; import org.animotron.statement.operator.AN; import org.animotron.statement.operator.REF; import org.animotron.statement.operator.THE; import org.neo4j.graphdb.Node; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletReques...
package mathsquared.resultswizard2; /** * An immutable object that represents a proper fraction. Can support improper fractions intermittently as well. * * Note that any post-conditions on any methods of this class only apply after the constructor has successfully completed, as several clean-up methods are required ...
package co.phoenixlab.discord.api.entities; import com.google.gson.annotations.SerializedName; import java.util.Objects; /** * Represents a text Message sent in a Channel on a Server */ public class Message { private final User author; @SerializedName("channel_id") private final String channelId; priv...
package org.animotron.exist.interpreter; import org.animotron.Keywords; import org.animotron.Namespaces; import org.animotron.exist.index.AnimoIndex; import org.animotron.exist.index.AnimoIndexWorker; import org.exist.dom.NewArrayNodeSet; import org.exist.dom.NodeProxy; import org.exist.dom.NodeSet; import org.exist.do...
package com.tqdev.metrics.influxdb; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.spy; import static org.mockito.Mockito.when; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStr...
package com.alibaba.ttl.spi; import edu.umd.cs.findbugs.annotations.NonNull; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; /** * {@link TtlAttachments} delegate/implementation. * * @author Jerry Lee (oldratlee at gmail dot com) * @see com.alibaba.ttl.TtlRunnable * @see c...
package org.aksw.limes.spark; import avro.shaded.com.google.common.collect.Lists; import org.apache.hadoop.fs.FSDataOutputStream; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.hadoop.util.GenericOptionsParser; import org.apache.spark.api.java.function.MapFunction; import or...
package org.hisp.dhis.android.sdk.models.metadata; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import org.hisp.dhis.android.sdk.models.common.BaseIdentifiableObject; import java.util.List; import java.util.Map; @JsonIgnoreProperties(ignoreUnknown =...
package org.yamcs.utils; import java.io.IOException; import java.io.InputStream; import java.nio.ByteBuffer; import org.yamcs.utils.TimeEncoding; public class CcsdsPacket implements Comparable<CcsdsPacket>{ static public final int DATA_OFFSET=16; static public final int MAX_CCSDS_SIZE=1500; protected ByteBu...
package com.compomics.moff.gui.view; import com.compomics.pladipus.moff.logic.step.MoFFPeptideShakerConversionStep; import com.compomics.moff.gui.config.ConfigHolder; import com.compomics.pladipus.moff.logic.util.FileChangeScanner; import com.compomics.moff.gui.view.filter.CpsFileFilter; import com.compomics.moff.gui.v...
package org.zanata.dao; import java.util.ArrayList; import java.util.List; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang.StringUtils; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.index.Term; import org.apache.lucene.queryParser.MultiFieldQueryParser; import org.apache.lucene.q...