answer
stringlengths
17
10.2M
package org.jdesktop.swingx.graphics; import java.awt.image.BufferedImage; import java.awt.image.ColorModel; import java.awt.image.Raster; import java.awt.image.WritableRaster; import java.awt.GraphicsConfiguration; import java.awt.Transparency; import java.awt.Graphics; import java.awt.GraphicsEnvironment; import java...
package com.facebook.litho; import java.util.Collections; import java.util.Map; import android.support.v4.util.ArrayMap; import com.facebook.litho.annotations.TreeProp; import com.facebook.infer.annotation.ThreadConfined; import com.facebook.infer.annotation.ThreadSafe; /** * A data structure to store tree props. * @...
package kr.pe.kwonnam.fdqlbuilder.methods; import freemarker.template.*; import kr.pe.kwonnam.fdqlbuilder.objectunwrapper.TemplateModelObjectUnwrapper; import kr.pe.kwonnam.fdqlbuilder.paramconverter.ParameterConverter; import org.slf4j.Logger; import java.util.ArrayList; import java.util.Collections; import java.util....
package ru.yandex.market.graphouse.search; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.springframework.beans.factory.InitializingBean; import org.springframework.beans.factory.annotation.Required; import org.springframework.jdbc.core.JdbcTemplate; import org.springfram...
package com.mikepenz.fastadapter.app; import android.graphics.Color; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.DefaultItemAnimator; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.suppor...
package net.intelie.lognit.cli.http; import com.google.common.collect.Iterators; import com.google.common.io.ByteStreams; import net.intelie.lognit.cli.json.Jsonizer; import org.apache.commons.httpclient.Cookie; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.HttpMethod; import org...
package de.mpicbg.tds.knime.hcstools.utils; import org.apache.commons.math.random.RandomData; import org.apache.commons.math.random.RandomDataImpl; import org.apache.commons.math.stat.descriptive.DescriptiveStatistics; public class MutualInformation { private Double logbase = 2.0; // logarithmic logbase private...
package net.openhft.chronicle.map; import net.openhft.chronicle.hash.ChronicleHashErrorListener; import net.openhft.chronicle.hash.ChronicleHashInstanceConfig; import net.openhft.chronicle.hash.StatelessClientConfig; import net.openhft.chronicle.hash.replication.SingleChronicleHashReplication; import net.openhft.chroni...
package com.scientists.happy.botanist; import android.app.ProgressDialog; import android.content.Intent; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.Menu; import androi...
package net.minecraftforge.client; import static net.minecraftforge.common.ForgeVersion.Status.BETA; import static net.minecraftforge.common.ForgeVersion.Status.BETA_OUTDATED; import static org.lwjgl.opengl.GL11.*; import static org.lwjgl.opengl.GL20.*; import java.nio.ByteBuffer; import java.nio.FloatBuffer; import ja...
package dk.netarkivet.harvester.harvesting; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import org.apache.commons.io.IOUtils; import org.apache.commons.loggin...
package net.openright.infrastructure.db; import net.openright.infrastructure.util.ExceptionUtil; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.naming.InitialContext; import javax.naming.NamingException; import javax.sql.DataSource; import java.sql.Connection; import java.sql.PreparedStatement; i...
package net.sf.taverna.t2.component; import static java.lang.Thread.currentThread; import static net.sf.taverna.t2.component.registry.ComponentDataflowCache.getDataflow; import static org.apache.log4j.Logger.getLogger; import java.util.Map; import net.sf.taverna.t2.activities.dataflow.DataflowActivity; import net.sf.ta...
package de.eightbitboy.hijacr.data.comic; /** * Information about a comic. */ public class ComicData { /** * The comic's title. */ private String title; /** * The comic's website URL. */ private String baseUrl; /** * The comic's first page URL. */ private String f...
//FILE: OMEMetadata.java //PROJECT: Micro-Manager //SUBSYSTEM: mmstudio // This file is distributed in the hope that it will be useful, // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, // ...
package nl.hsac.fitnesse.slim; import fitnesse.testsystems.TestExecutionException; import fitnesse.testsystems.slim.SlimTestContext; import fitnesse.testsystems.slim.Table; import fitnesse.testsystems.slim.tables.*; import nl.hsac.fitnesse.slimcoverage.SlimCoverageTestContextImpl; import java.util.LinkedHashSet; import...
package org.agmip.translators.dssat; import com.google.common.base.Function; import java.io.File; import java.io.PrintWriter; import java.io.StringWriter; import java.io.Writer; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Calendar; import java.util.HashMap; import java.util.HashSet; import...
package de.sopa.model.justplay; import de.sopa.helper.LevelCreator; import de.sopa.model.game.LevelDestroyer; /** * @author Raphael Schilling - raphaelschiling@gmail.com */ public class JustPlayServiceImpl implements JustPlayService { private int levelCount; private final LevelCreator levelCreator; privat...
package applets.etsmtl.ca.cooptel; import applets.etsmtl.ca.cooptel.model.ConsommationDate; import applets.etsmtl.ca.cooptel.model.ConsommationGlobal; import com.squareup.okhttp.OkHttpClient; import com.squareup.okhttp.Request; import com.squareup.okhttp.Response; import org.jsoup.Jsoup; import org.jsoup.nodes.Document...
package com.kaltura.playersdk.helpers; import android.app.Activity; import android.util.Log; import android.view.ViewGroup; import android.widget.FrameLayout; import com.google.ads.interactivemedia.v3.api.Ad; import com.google.ads.interactivemedia.v3.api.AdDisplayContainer; import com.google.ads.interactivemedia.v3.api...
package astava.samples; import astava.core.Atom; import astava.core.Node; import astava.core.Tuple; import astava.java.ArithmeticOperator; import astava.java.Descriptor; import astava.java.LogicalOperator; import astava.java.RelationalOperator; import astava.java.gen.ClassGenerator; import astava.java.gen.CodeAnalyzer;...
package org.adonai.ui.editor; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.collections.FXCollections; import javafx.fxml.FXML; import javafx.scene.control.Alert; import javafx.scene.control.ButtonType; import javafx.scene.control.ComboBox; import org.adonai.Key; imp...
package fr.free.nrw.commons.category; import android.os.AsyncTask; import android.text.TextUtils; import android.view.View; import java.io.IOException; import java.util.ArrayList; import java.util.Calendar; import java.util.Iterator; import java.util.List; import fr.free.nrw.commons.CommonsApplication; import fr.free.n...
package com.amazon.jenkins.ec2fleet; import com.amazon.jenkins.ec2fleet.cloud.FleetNode; import com.amazonaws.services.ec2.AmazonEC2; import com.amazonaws.services.ec2.AmazonEC2Client; import com.amazonaws.services.ec2.model.DescribeInstancesRequest; import com.amazonaws.services.ec2.model.DescribeInstancesResult; impo...
//FILE: AcquisitionPanel.java //PROJECT: Micro-Manager //SUBSYSTEM: ASIdiSPIM plugin // This file is distributed in the hope that it will be useful, // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,...
package fitnesse.responders.run.slimResponder; import fitnesse.components.CommandRunner; import fitnesse.responders.run.ExecutionLog; import fitnesse.responders.run.TestSummary; import fitnesse.responders.run.TestSystem; import fitnesse.responders.run.TestSystemListener; import fitnesse.slim.SlimClient; import fitnesse...
package jcollado.pw.pimpam.controller; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v7.widget.Toolbar; import com.mikepenz.materialdrawer.Drawer; import jcollado.pw.pimpam.R; import jcollado.pw.pimpam.model.Database; impo...
package com.cjpowered.learn.inventory; import java.time.LocalDate; import java.util.Optional; import com.cjpowered.learn.marketing.MarketingInfo; public class StockedItem implements Item { private final int wantOnHand; private final boolean isRestricted; private final int bulkAmt; public StockedItem(int...
package heufybot.modules; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Locale; import heufybot.utils.FileUtils; import heufybot.utils.StringUtils; import heufybot.utils.URLUtils; import org.json.simple.JSONArra...
package mn.devfest.schedule; import android.content.Context; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.support.annotation.NonNull; import java.util.ArrayList; import java.util.HashSet; import java.util.Set; /** * Stores and provides the sessions that the user...
package com.conveyal.r5.speed_test.test; import com.conveyal.r5.profile.entur.util.TimeUtils; import com.csvreader.CsvReader; import java.io.File; import java.io.IOException; import java.io.PrintWriter; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; ...
package net.egordmitriev.cheatsheets.pojo; import java.util.ArrayList; import java.util.List; public class Category extends MatchableModel { public boolean temp; public int id; public String title; public String description; public List<CheatSheet> cheat_sheets; public Category() { } pub...
package com.creativemd.ambientsounds; import com.creativemd.ambientsounds.env.AmbientEnv; import com.creativemd.ambientsounds.env.HeightEnv.HeightArea; import com.creativemd.ambientsounds.sound.HeightSound; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.util.math.BlockPos; import net.minecraft.wo...
package org.b3log.symphony.processor; import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.math.RandomUtils; import org.b3log.latke.logging.Level; import org.b3log.latke.logging.Logger; import org.b3log.latke.servlet.HTTPRequestContext; import org.b3log.latke.servlet.HTTPRequestMethod; import org....
package com.doctor.esper.spring; import javax.annotation.PostConstruct; import javax.annotation.PreDestroy; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @see org.opencredo.esper.spring.EsperTemplateBean * * @author doctor * * @time 201568 5:16:51 */ public class EsperTemplateBean extends EsperTe...
package org.codehaus.mojo.aspectj; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Set; import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.ArtifactUtils; import org.apache.maven.artifact.handler.Arti...
package com.dongdongxia.myfastjson.util; import java.lang.annotation.Annotation; import java.lang.reflect.Array; import java.lang.reflect.Field; import java.lang.reflect.GenericArrayType; import java.lang.reflect.GenericDeclaration; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; im...
package org.codehaus.mojo.scmchangelog.scm; import java.util.ArrayList; import java.util.Collections; import java.util.Date; import java.util.Iterator; import java.util.List; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.logging.Log; import org.apache.maven.scm.ScmBranch; import ...
package org.wikipedia.feed.onthisday; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import org.wikipedia.R; import org.wikipedia.WikipediaApp; import org.wikipedia.dataclient.WikiSite; import org.wikipedia.dataclient.restbase.page.RbPageSummary; import org.wikipedia.feed.model.C...
package productcatalog.pages; import com.google.common.collect.ImmutableList; import common.cms.CmsPage; import common.contexts.AppContext; import common.pages.*; import common.prices.PriceFinder; import common.utils.PriceFormatter; import io.sphere.sdk.attributes.Attribute; import io.sphere.sdk.attributes.AttributeAcc...
package org.dannil.httpdownloader.utility; import java.io.File; import java.io.IOException; import java.net.URL; import org.apache.commons.io.FileUtils; import org.dannil.httpdownloader.model.Download; /** * Class which handles operations on files. * * @author Daniel Nilsson */ public class FileUtility { privat...
package sword.langbook3.android; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.text.Spannable; import android.text.SpannableString; import android.text.style.ForegroundColorSpan; import android.view.ActionMode; import android.view.Menu; import android.view.MenuItem...
package org.commcare.resources.model; import org.commcare.resources.model.installers.ProfileInstaller; import org.commcare.util.CommCarePlatform; import org.commcare.util.LogTypes; import org.javarosa.core.reference.InvalidReferenceException; import org.javarosa.core.reference.Reference; import org.javarosa.core.refere...
package com.malhartech.demos.pi; import com.malhartech.api.ApplicationFactory; import com.malhartech.api.DAG; import com.malhartech.lib.io.ConsoleOutputOperator; import com.malhartech.lib.math.*; import com.malhartech.lib.stream.AbstractAggregator; import com.malhartech.lib.stream.ArrayListAggregator; import com.malhar...
package za.co.codetribe.userhelpdesk; import android.app.ProgressDialog; import android.content.Intent; import android.os.Handler; import android.os.Looper; import android.os.Message; import android.provider.SyncStateContract; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.uti...
package biomodelsim; import gcm2sbml.gui.GCM2SBMLEditor; import gcm2sbml.network.GeneticNetwork; import gcm2sbml.parser.CompatibilityFixer; import gcm2sbml.parser.GCMFile; import gcm2sbml.parser.GCMParser; import gcm2sbml.util.GlobalConstants; import lhpn2sbml.parser.LHPNFile; import lhpn2sbml.parser.Translator; import...
package com.github.detro.jsonconf; import com.google.gson.*; import com.jayway.jsonpath.internal.PathToken; import com.jayway.jsonpath.internal.PathTokenizer; import java.io.*; import java.util.Iterator; import java.util.Map; import java.util.Properties; public class JSONConfBuilder { public static final String DEF...
package io.digdag.spi; import com.fasterxml.jackson.databind.node.ObjectNode; import io.digdag.client.config.Config; import java.io.IOException; public interface CommandExecutor { /** * Starts a command and returns its state. Caller must check isFinished of the returned CommandStatus. * If it's true, the ...
package org.commcare.android.fragments; import android.app.Activity; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.support.v4.app.Fragment; import android.widget.Button; import android.widget.EditText; import android.widget.Spinner;...
package net.md_5.bungee; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import org.junit.Assert; import org.junit.Test; import org.junit.FixMethodOrder; import org.junit.runners.MethodSorters; import javax.crypto.SecretKey; import javax.crypto.spec.SecretKeySpec; @FixMethodOrder(MethodSorters.NAME_ASC...
package com.github.nwillc.funjdbc.migrate; import almost.functional.utils.LogFactory; import com.github.nwillc.funjdbc.DbAccessor; import com.github.nwillc.funjdbc.SqlStatement; import com.github.nwillc.funjdbc.UncheckedSQLException; import com.github.nwillc.funjdbc.functions.ConnectionProvider; import java.sql.Connect...
package com.diozero.util; import java.io.*; import java.util.Properties; import java.util.ServiceLoader; import org.pmw.tinylog.Logger; public class SystemInfo { private static final String OS_RELEASE_FILE = "/etc/os-release"; private static final String CPUINFO_FILE = "/proc/cpuinfo"; private static boolea...
package org.odk.collect.android.activities; import android.annotation.SuppressLint; import android.app.ActionBar; import android.content.BroadcastReceiver; import android.content.ContentUris; import android.content.ContentValues; import android.content.Context; import android.content.DialogInterface; import android.con...
package org.jabref.logic.importer.fetcher; import java.net.MalformedURLException; import java.net.URISyntaxException; import java.net.URL; import java.util.Objects; import org.jabref.logic.cleanup.DoiCleanup; import org.jabref.logic.formatter.bibtexfields.ClearFormatter; import org.jabref.logic.help.HelpFile; import or...
package org.jboss.logmanager.formatters; import org.jboss.logmanager.ExtLogRecord; import java.util.logging.Level; import java.security.AccessController; import java.security.PrivilegedAction; import java.text.SimpleDateFormat; import java.util.Date; import static java.lang.Math.min; import static java.lang.Math.max; /...
package org.jenkinsci.remoting.protocol; import javax.annotation.Nonnull; import java.io.IOException; import java.nio.ByteBuffer; import javax.annotation.CheckForNull; import org.jenkinsci.remoting.util.ByteBufferUtils; /** * A network {@link ProtocolStack} consists of a number of {@link ProtocolLayer}s. This interfac...
package gov.nih.nci.calab.service.search; import gov.nih.nci.calab.db.DataAccessProxy; import gov.nih.nci.calab.db.IDataAccess; import gov.nih.nci.calab.domain.Sample; import gov.nih.nci.calab.dto.inventory.SampleBean; import gov.nih.nci.calab.dto.inventory.StorageLocation; import gov.nih.nci.calab.service.util.CalabCo...
package org.msgpack.rpc.client.netty; import java.net.ConnectException; import org.jboss.netty.channel.ChannelEvent; import org.jboss.netty.channel.ChannelPipelineCoverage; import org.jboss.netty.channel.ChannelStateEvent; import org.jboss.netty.channel.SimpleChannelHandler; import org.jboss.netty.channel.ChannelHandle...
package com.heroku; import com.atlassian.bamboo.collections.ActionParametersMap; import com.atlassian.bamboo.task.AbstractTaskConfigurator; import com.atlassian.bamboo.task.TaskDefinition; import com.atlassian.bamboo.utils.error.ErrorCollection; import com.google.common.collect.ImmutableList; import com.opensymphony.xw...
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...
package cx2x.xcodeml.xelement; import cx2x.xcodeml.helper.XelementHelper; import org.w3c.dom.Element; /** * The XmoduleDefinition represents the FmoduleDefinition (5.7) element in XcodeML * intermediate representation. * * Elements: (symbols?, declarations?, FcontainsStatement?) * - Optional: * - symbols (Xsymb...
package org.wiztools.restclient.util; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.nio.file.Files; import java.security.KeyFactory; import java.security.KeyStore; import java.security.KeyStoreException; import java.security.NoSuchAlgor...
package javasearch; import org.apache.commons.io.LineIterator; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.NoSuchElementException; import ...
package org.neo4j.server.webadmin.rest; import java.util.Date; import java.util.HashMap; import java.util.Map; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.Context; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response;...
package com.imcode.imcms.mapping.mappers; @FunctionalInterface public interface Mappable<FROM, TO> { TO map(FROM source); }
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...
package com.jaeksoft.searchlib.index; import java.util.ArrayList; import java.util.List; import com.jaeksoft.searchlib.schema.FieldValueItem; import com.jaeksoft.searchlib.util.External.Collecter; public class FieldContent implements Collecter<FieldValueItem> { private String field; private List<FieldValueItem>...
package hk.reality.stock.service.fetcher; import hk.reality.stock.model.StockDetail; import hk.reality.stock.service.exception.DownloadException; import hk.reality.stock.service.exception.ParseException; import java.io.IOException; import java.math.BigDecimal; import java.text.SimpleDateFormat; import java.util.Calenda...
package uk.org.ponder.reflect; import java.lang.reflect.Constructor; import java.lang.reflect.Method; import java.util.Map; import uk.org.ponder.saxalizer.SAXAccessMethod; import uk.org.ponder.util.Logger; import uk.org.ponder.util.UniversalRuntimeException; /** * A cache for simple no-arg methods and constructors, of...
package org.lightmare.utils.fs.codecs; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URISyntaxException; import java.net.URL; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; impor...
package org.perfcake.pc4idea.editor; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.command.CommandProcessor; import com.intellij.openapi.command.UndoConfirmationPolicy; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.editor.Document; import com.intell...
package com.jetdrone.vertx.yoke.middleware; import com.jetdrone.vertx.yoke.Middleware; import org.vertx.java.core.Handler; import org.vertx.java.core.http.HttpServerRequest; import java.util.*; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Router extends Middleware { private final Lis...
import java.util.Calendar; import org.csstudio.swt.xygraph.dataprovider.CircularBufferDataProvider; import org.csstudio.swt.xygraph.dataprovider.Sample; import org.csstudio.swt.xygraph.figures.Axis; import org.csstudio.swt.xygraph.figures.ToolbarArmedXYGraph; import org.csstudio.swt.xygraph.figures.Trace; import org.cs...
package org.lightmare.utils.fs.codecs; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URISyntaxException; import java.net.URL; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; impor...
package org.procrastinationpatients.tts.entities; import javafx.geometry.Point2D; import javafx.scene.canvas.GraphicsContext; import javafx.scene.paint.Color; import org.procrastinationpatients.tts.source.StaticConfig; import org.procrastinationpatients.tts.utils.DrawUtils; import org.procrastinationpatients.tts.utils....
package org.literacyapp.tasks; import java.util.List; import java.util.Locale; import org.apache.commons.lang.StringUtils; import org.apache.log4j.Logger; import org.json.JSONArray; import org.json.JSONObject; import org.literacyapp.dao.ContributorDao; import org.literacyapp.model.Contributor; import org.literacyapp.mo...
package org.rm3l.maoni.doorbell; import android.app.Activity; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.text.TextUtils; import android.util.Log; import android.widget.T...
package com.lothrazar.cyclic.event; import com.lothrazar.cyclic.ModCyclic; import com.lothrazar.cyclic.registry.BlockRegistry; import net.minecraft.world.gen.GenerationStage; import net.minecraft.world.gen.blockplacer.SimpleBlockPlacer; import net.minecraft.world.gen.blockstateprovider.SimpleBlockStateProvider; import ...
package org.mcisb.subliminal.shorthand; import java.io.*; import java.util.*; import java.util.Map.Entry; import java.util.regex.*; import javax.xml.stream.*; import javax.xml.transform.*; import org.mcisb.ontology.*; import org.mcisb.ontology.chebi.*; import org.mcisb.ontology.kegg.*; import org.mcisb.ontology.sbo.*; ...
package com.moldedbits.argus; import android.support.annotation.Nullable; import com.moldedbits.argus.model.ArgusUser; /** * Helper to access Session information */ public class ArgusSessionManager { /** * Static user object only for DEMO. This will be stored in a secure storage in the actual * implemen...
package org.scijava.ui.swing.console; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.Dimension; import java.awt.Font; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTextPane; import javax.swing.text.BadLocationException; import javax.swing...
package com.lothrazar.powerinventory; import net.minecraft.client.gui.ScaledResolution; import net.minecraft.entity.player.EntityPlayer; import net.minecraftforge.client.GuiIngameForge; import net.minecraftforge.client.event.RenderGameOverlayEvent; import net.minecraftforge.client.event.GuiScreenEvent.InitGuiEvent; imp...
package org.spongepowered.api.text.action; import java.net.URL; /** * Represents a {@link TextAction} that responds to clicks. * * @param <R> The type of the result of the action */ public abstract class ClickAction<R> extends TextAction<R> { /** * Constructs a new {@link ClickAction} with the given result...
package com.maxent.dscache.common.tools; import com.google.common.base.Preconditions; import com.maxent.dscache.cache.Host; import com.maxent.dscache.cache.exceptions.InvalidHostException; import java.util.ArrayList; import java.util.List; public class HostUtils { public static int DEFAULT_SERVICE_PORT = 5232; ...
// 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 org.telegram.telegrambots.api.objects; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.SerializerProvider; import com.fasterxml.jackson.databind.jsontype.TypeSerializer; import org.json.JSONArray; import org.json.JSONOb...
package edu.csus.ecs.moneybeets.narvaro.ui; import java.util.TimerTask; import java.util.zip.DataFormatException; import org.apache.log4j.Logger; import edu.csus.ecs.moneybeets.narvaro.database.DatabaseType; import edu.csus.ecs.moneybeets.narvaro.util.ConfigurationManager; import edu.csus.ecs.moneybeets.narvaro.util.Ta...
package org.onedatashare.server.service; import org.codehaus.jackson.map.ObjectMapper; import org.onedatashare.server.model.core.*; import org.onedatashare.server.model.credential.UserInfoCredential; import org.onedatashare.server.model.useraction.UserAction; import org.onedatashare.server.model.useraction.UserActionRe...
package org.testeditor.fixture.host; import org.testeditor.fixture.core.interaction.FixtureMethod; import org.testeditor.fixture.host.net.Connection; import org.testeditor.fixture.host.s3270.Status; import org.testeditor.fixture.host.s3270.options.CharacterSet; import org.testeditor.fixture.host.s3270.options.TerminalM...
package com.nincraft.ninbot.components.fun; import com.nincraft.ninbot.components.common.MessageUtils; import com.nincraft.ninbot.components.config.ConfigConstants; import com.nincraft.ninbot.components.config.ConfigService; import lombok.val; import net.dv8tion.jda.core.events.message.MessageReceivedEvent; import net....
package net.sf.picard.analysis; import java.io.File; import java.util.*; import net.sf.picard.PicardException; import net.sf.picard.analysis.directed.InsertSizeMetricsCollector; import net.sf.picard.cmdline.Option; import net.sf.picard.cmdline.Usage; import net.sf.picard.io.IoUtil; import net.sf.picard.metrics.MetricsF...
package org.owasp.esapi.reference; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.text.DateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; impo...
package hello; public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World!"); System.out.println("Hello World! the new user Win!"); System.out.println("Oh,what a pity!"); } }
package com.pollistics.controllers; import com.pollistics.models.Poll; import com.pollistics.models.User; import com.pollistics.models.validators.PollValidator; import com.pollistics.services.PollService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.Authenticat...
package org.owasp.esapi.reference; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.text.DateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; impo...
package org.yaba.entity.script; import no.priv.garshol.duke.Cleaner; import no.priv.garshol.duke.Comparator; import no.priv.garshol.duke.Record; import no.priv.garshol.duke.RecordImpl; import no.priv.garshol.duke.comparators.Levenshtein; import no.priv.garshol.duke.utils.Utils; import no.priv.garshol.duke.utils.ObjectU...
package org.apache.commons.lang.builder; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import java.util.HashSet; import java.util.Set; public class ToStringBuilder { /** * A registry of objects used by <code>reflectionToString</code> methods to detect cyclical object references * and ...
package org.petapico.nanopub.indexer; import java.io.IOException; import java.util.List; import org.nanopub.Nanopub; import org.nanopub.NanopubUtils; import org.nanopub.extra.server.GetNanopub; import org.nanopub.extra.server.NanopubServerUtils; import org.nanopub.extra.server.ServerInfo; import org.nanopub.extra.serve...
package prm4j.indexing.staticdata; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.HashSet; import java.util.List; import java.util.Set; import prm4j.Util; import prm4j.Util.Tuple; import prm4j.api.BaseEvent; i...
package com.reason.ide.hints; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.editor.Document; import com.intellij.openapi.editor.Editor; import com.intellij.openapi.editor.LogicalPosition; import com.intellij.openapi.fileEditor.FileEditorManager; import com.intellij.openapi.file...