answer
stringlengths
17
10.2M
package squeek.applecore.api; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; import squeek.applecore.api.food.FoodValues; import javax.annotation.Nonnull; public interface IAppleCoreAccessor { /** * Check whether or not the given ItemStack is an edible food. * *...
package ca.corefacility.bioinformatics.irida.ria.integration.pages.projects; import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.support.PageFactory; import org.openqa.sel...
package dr.evomodel.coalescent; import com.sun.xml.internal.rngom.digested.DDataPattern; import dr.app.beast.BeastDialog; import dr.evolution.tree.NodeRef; import dr.evolution.tree.Tree; import dr.evomodel.tree.TreeModel; import dr.evomodelxml.coalescent.GaussianProcessSkytrackLikelihoodParser; import dr.inference.mode...
package squeek.veganoption.blocks; import java.lang.reflect.Field; import net.minecraft.block.Block; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.util.ChunkCoordinates; import net.minecraft.util.DamageSource; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.event.entit...
package org.buddycloud.channelserver.packetprocessor.iq.namespace.pubsub.set; import java.util.ArrayList; import java.util.concurrent.BlockingQueue; import java.util.concurrent.LinkedBlockingQueue; import junit.framework.Assert; import org.buddycloud.channelserver.Configuration; import org.buddycloud.channelserver.chan...
package org.arquillian.smart.testing.surefire.provider; import java.io.File; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.Enumeration; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.logging.Level; import ja...
package org.reasm.commons.parseerrors; import java.util.Objects; import javax.annotation.Nonnull; import javax.annotation.concurrent.Immutable; import org.reasm.commons.source.BlockDirective; import org.reasm.source.ParseError; @Immutable public class UnclosedBlockParseError extends ParseError { @Nonnull privat...
package com.opengamma.math.statistics.estimation; import static org.junit.Assert.assertEquals; import org.junit.Test; import cern.jet.random.engine.MersenneTwister64; import com.opengamma.math.statistics.distribution.LaplaceDistribution; import com.opengamma.math.statistics.distribution.ProbabilityDistribution; public ...
package org.jboss.as.test.integration.domain.mixed; import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.BLOCKING; import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.CORE_SERVICE; import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.EXTENSION; im...
package org.search.nibrs.validation; import java.time.LocalDateTime; import java.time.ZoneId; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.function.Function; import org.apache.logging.log4j.LogManager; import org.apache.loggin...
package org.jfree.chart.renderer.category; import java.awt.Font; import java.awt.Graphics2D; import java.awt.Paint; import java.awt.Shape; import java.awt.Stroke; import java.awt.geom.Rectangle2D; import org.jfree.chart.LegendItem; import org.jfree.chart.LegendItemSource; import org.jfree.chart.axis.CategoryAxis; impor...
package cz.habarta.typescript.generator.parser; import cz.habarta.typescript.generator.JaxrsApplicationScanner; import cz.habarta.typescript.generator.Settings; import cz.habarta.typescript.generator.util.Parameter; import cz.habarta.typescript.generator.util.Predicate; import cz.habarta.typescript.generator.util.Utils...
package io.vertx.ext.web.api.contract.openapi3; import io.vertx.core.Handler; import io.vertx.core.http.HttpClientOptions; import io.vertx.core.http.HttpMethod; import io.vertx.core.http.HttpServerOptions; import io.vertx.ext.web.Router; import io.vertx.ext.web.RoutingContext; import io.vertx.ext.web.WebTestWithWebClie...
package org.archive.wayback.archivalurl; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.net.URL; import java.util.Properties; import javax.servlet.ServletException; import junit.framework.TestCase; import org.archive.wayback.core.WaybackRequest; import...
package za.org.grassroot.services.job; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; import java.text.SimpleDateFormat; import java.util.Date; import java.util.logging.Logger; @Component public class ScheduledTasks { private Logger log = Logger.getLogge...
package water.bindings.proxies.retrofit; import water.bindings.pojos.*; import water.bindings.proxies.*; import com.google.gson.*; import retrofit2.*; import retrofit2.http.*; import retrofit2.converter.gson.GsonConverterFactory; import retrofit2.Call; import java.io.IOException; import java.lang.reflect.Type; import j...
package org.callistasoftware.netcare.core.spi.impl; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Collections; import java.util.Date; import java.util.List; import org.callistasoftware.netcare.core.api.ActivityComment; import ...
package org.fao.fenix.commons.msd.dto.full; import com.fasterxml.jackson.annotation.JsonProperty; import org.fao.fenix.commons.annotations.Description; import org.fao.fenix.commons.annotations.Label; import org.fao.fenix.commons.msd.dto.JSONEntity; import javax.persistence.Embedded; import java.io.Serializable; public ...
package org.jkiss.dbeaver.model.impl.jdbc.cache; import org.jkiss.code.NotNull; import org.jkiss.code.Nullable; import org.jkiss.dbeaver.DBException; import org.jkiss.dbeaver.Log; import org.jkiss.dbeaver.model.DBConstants; import org.jkiss.dbeaver.model.DBPDataSource; import org.jkiss.dbeaver.model.DBUtils; import org...
package org.devgateway.ocds.persistence.mongo.repository; import org.devgateway.ocds.persistence.mongo.Organization; import org.devgateway.ocds.persistence.mongo.Organization.OrganizationType; import org.springframework.data.mongodb.repository.Query; /** * @author mpostelnicu * */ public interface OrganizationReposi...
package uk.ac.ebi.atlas.experimentpage.baseline.download; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.RequestMapping; import uk.ac.ebi.atlas.experiment...
package org.vrjuggler.vrjconfig.customeditors.display_window; import java.awt.BorderLayout; import java.awt.Component; import java.awt.Container; import java.awt.Dimension; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import java.util.HashMap; import java.util.Ite...
package fi.evident.dalesbred; import fi.evident.dalesbred.connection.DataSourceConnectionProvider; import fi.evident.dalesbred.connection.DriverManagerConnectionProvider; import fi.evident.dalesbred.dialects.Dialect; import fi.evident.dalesbred.instantiation.InstantiatorRegistry; import fi.evident.dalesbred.results.*; ...
package alma.COUNTER.CounterConsumerImpl; import java.util.logging.Logger; import alma.ACS.ComponentStates; import alma.ACSErrTypeCommon.CouldntPerformActionEx; import alma.ACSErrTypeCommon.wrappers.AcsJCouldntPerformActionEx; import alma.COUNTER.CounterConsumerOperations; import alma.COUNTER.OnOffStates; import alma.C...
package de.naoth.rc.dialogs.multiagentconfiguration; import de.naoth.rc.core.dialog.AbstractJFXDialog; import de.naoth.rc.core.dialog.DialogPlugin; import de.naoth.rc.core.dialog.RCDialog; import de.naoth.rc.dialogs.multiagentconfiguration.ui.AgentTab; import de.naoth.rc.dialogs.multiagentconfiguration.ui.AgentTabGloba...
package be.ibridge.kettle.cluster; import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.Authenticator; import java.net.MalformedURLException; import java.net.PasswordAuthentication; import java.net.UR...
package it.alfrescoinaction.lab.awsi.repository; import it.alfrescoinaction.lab.awsi.domain.Downloadable; import it.alfrescoinaction.lab.awsi.domain.RenditionDownloadable; import it.alfrescoinaction.lab.awsi.domain.SearchFilterItem; import it.alfrescoinaction.lab.awsi.domain.SearchFilters; import it.alfrescoinaction.la...
package be.ibridge.kettle.core; import java.util.ArrayList; import java.util.Hashtable; import java.util.List; import java.util.Map; /** * This class is a container for "Local" enrvironment variables. * This is a singleton. We are going to launch jobs using a customer classloader. * This will make the variables ins...
package beast.app.treeannotator; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.io.PrintStream; import java.util.ArrayList; import java.util.Arrays; import java.util.BitSet; imp...
package ca.nmsasaki.silenttouch; import java.text.DateFormat; import java.util.Calendar; import android.app.AlarmManager; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; ...
package de.ptb.epics.eve.data.tests.internal; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import javax.xml.parsers.ParserConfigurationException; import org.apache.log4j.Logger; import org.apache.log4j.xml.DOMConfigurator; import org.xml.sax.SAXException; import de...
package com.KST.eCommerce; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import java.util.ResourceBundle; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.fxml.Initializable; import javafx.scene.Node; ...
package com.backendless.persistence; import java.util.ArrayList; import java.util.List; public class QueryOptions { private List<String> sortBy = new ArrayList<String>(); private List<String> related = new ArrayList<String>(); private Integer relationsDepth; public QueryOptions() { } public QueryOptions(...
package com.haxademic.sketch.render; import com.haxademic.core.app.P; import com.haxademic.core.app.PAppletHax; import com.haxademic.core.constants.AppSettings; import com.haxademic.core.draw.context.OpenGLUtil; import com.haxademic.core.draw.image.TiledTexture; import com.haxademic.core.draw.shapes.PShapeUtil; import ...
package com.hp.hpl.jena.graph.query; import com.hp.hpl.jena.graph.*; import com.hp.hpl.jena.util.iterator.*; /** A PatternStage is a Stage that handles some bunch of related patterns; those patterns are encoded as Triples. @author hedgehog */ public class PatternStage extends Stage { protected Graph...
package com.io7m.jsycamore.components; import java.util.Set; import javax.annotation.Nonnull; import com.io7m.jaux.Constraints.ConstraintError; import com.io7m.jcanephora.GLException; import com.io7m.jcanephora.GLInterface; import com.io7m.jsycamore.Component; import com.io7m.jsycamore.ComponentAlignment; import com.io...
package com.jcwhatever.pvs.api.arena; import com.jcwhatever.nucleus.regions.IRegion; import com.jcwhatever.nucleus.regions.RegionPriorityInfo; import com.jcwhatever.nucleus.regions.RestorableRegion; import com.jcwhatever.nucleus.regions.file.IRegionFileFactory; import com.jcwhatever.nucleus.regions.file.basic.BasicFile...
package com.jwetherell.algorithms; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Random; import com.jwetherell.algorithms.data_structures.BinarySearchTree; import com.jwetherell.algorithms.data_structures.BinaryHeap; import com.jwetherell.algorithms.data_structures.BinaryHeap...
package main; import java.awt.Color; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.Random; import algorithms.AStar; import algorithms.Anya; import algorithms.BasicThetaStar; import algorithms.JumpPointSearch; import algorithms.StrictVisibilityGraphAlgorithm; import alg...
package com.kapouta.katools; import java.util.Vector; import javax.microedition.khronos.egl.EGLConfig; import javax.microedition.khronos.opengles.GL10; import android.opengl.GLSurfaceView.Renderer; import android.view.MotionEvent; import android.view.View; import android.view.View.OnTouchListener; public abstract class...
import java.util.List; public class taco { public static void main(String[] args) { int amount = 8; List<Integer> numbers = generateNumbers(amount); loop(numbers); } public static boolean isSorted(List<Integer> numbers){ for (Integer number : numbers){ if (number ...
package com.opencms.workplace; import com.opencms.file.*; import com.opencms.core.*; import com.opencms.util.*; import com.opencms.template.*; import org.w3c.dom.*; import org.xml.sax.*; import javax.servlet.http.*; import java.util.*; import java.io.*; public class CmsNewResourcePage extends CmsWorkplaceDefault implem...
package com.pmovil.codenameone.nativeshare; import com.codename1.io.FileSystemStorage; import com.codename1.io.Log; import com.codename1.io.services.ImageDownloadService; import com.codename1.system.NativeLookup; import com.codename1.ui.events.ActionEvent; import com.codename1.ui.events.ActionListener; import org.bounc...
package com.intellij.pom; /** * @author peter */ public interface PomNamedTarget extends PomTarget { PomNamedTarget[] EMPTY_ARRAY = new PomNamedTarget[0]; String getName(); }
package matlab; import java.io.IOException; import java.io.StringReader; import java.util.ArrayList; import java.util.List; import matlab.ExtractionParser.Terminals; import beaver.Scanner; import beaver.Symbol; public class CommandFormatter { private final List<Symbol> originalSymbols; private final List<Symbol...
package com.winitzki.prototyping.androjoin; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java...
package com.hbb20; import android.content.Context; import android.content.res.TypedArray; import android.graphics.PorterDuff; import android.graphics.Typeface; import android.os.Build; import android.telephony.PhoneNumberFormattingTextWatcher; import android.telephony.PhoneNumberUtils; import android.telephony.Telephon...
package ucar.nc2.iosp.nids; import ucar.ma2.*; import ucar.nc2.*; import ucar.nc2.iosp.AbstractIOServiceProvider; import ucar.nc2.units.DateUnit; import java.io.*; import java.util.*; import java.util.zip.DataFormatException; import java.util.zip.Inflater; import java.nio.ByteBuffer; /** * IOServiceProvider implementa...
package org.bitrepository.integrityclient; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.util.Properties; import org.bitrepository.common.settings.Settings; import org.bitrepository.common.settings.SettingsProvider; import org.bitrepository.common.settings.XMLFileSett...
package ilg.gnumcueclipse.debug.gdbjtag.datamodel; import java.math.BigInteger; import java.util.LinkedList; import java.util.List; import ilg.gnumcueclipse.packs.core.tree.Leaf; import ilg.gnumcueclipse.packs.core.tree.Node; /** * As per SVD 1.1, <i>"A cluster describes a sequence of registers within a * peripheral....
package org.openhab.model.core.internal; import java.io.IOException; import java.io.InputStream; import java.util.Collections; import java.util.HashMap; import java.util.Map; import org.eclipse.core.runtime.ListenerList; import org.eclipse.emf.common.util.URI; import org.eclipse.emf.ecore.EObject; import org.eclipse.em...
package org.eclipse.birt.chart.reportitem; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import org.eclipse.birt.chart.log.ILogger; import org.eclipse.birt.chart.log.Logger; import org.eclipse.birt.chart.model.Chart; import org.eclipse.birt...
package org.eclipse.birt.chart.reportitem; import org.eclipse.birt.chart.model.Chart; import org.eclipse.birt.chart.model.util.ChartValueUpdater; import org.eclipse.birt.report.model.api.DesignElementHandle; import org.eclipse.birt.report.model.api.elements.structures.FormatValue; /** * This class process extra styles...
package org.chromium.chrome.browser.sync; import android.app.Activity; import android.app.FragmentTransaction; import android.os.Bundle; import android.preference.CheckBoxPreference; import android.preference.Preference; import android.preference.SwitchPreference; import android.preference.TwoStatePreference; import an...
package com.vogella.eclipse.languagetool.spellchecker; import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.util.List; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IMarker; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime...
package com.nobodyiam.spring.cloud.in.action.config.server; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.cloud.config.server.EnableConfigServer; @EnableConfigServer @SpringBootApplication public class Co...
package ca.qc.bergeron.marcantoine.crammeur.librairy.utils; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.math.BigDecimal; import java.util.Collection; import java.util.Iterator; import java.util.LinkedList; import java.util.NoSuchElementException; import ca.qc.bergero...
package org.eclipse.birt.report.data.oda.jdbc; import java.io.File; import java.io.FileFilter; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.security.CodeSource; import java.security.PermissionCollection; import java.sql.Connection; import java.sql.Driver; import ja...
package hu.elte.txtuml.export.plantuml.seqdiag; import org.eclipse.jdt.core.dom.ASTNode; import org.eclipse.jdt.core.dom.Expression; import org.eclipse.jdt.core.dom.MethodInvocation; import hu.elte.txtuml.export.plantuml.generator.PlantUmlCompiler; /** * Exporter implementation, which is responsible for exporting the ...
package pl.edu.icm.coansys.disambiguation.author.pig; import java.io.IOException; import java.util.LinkedList; import java.util.List; import java.util.Map; import org.apache.pig.EvalFunc; import org.apache.pig.data.DataType; import org.apache.pig.data.Tuple; import org.apache.pig.data.TupleFactory; import org.apache.pi...
package com.xpn.xwiki.it.selenium; import com.xpn.xwiki.it.selenium.framework.AbstractXWikiTestCase; import com.xpn.xwiki.it.selenium.framework.AlbatrossSkinExecutor; import com.xpn.xwiki.it.selenium.framework.XWikiTestSuite; import junit.framework.Test; /** * Verify the Users, Groups and Rights Management features of...
package org.apache.mesos.elasticsearch.executor.elasticsearch; import com.jayway.awaitility.Awaitility; import com.mashape.unirest.http.Unirest; import com.mashape.unirest.http.exceptions.UnirestException; import org.apache.log4j.Logger; import org.apache.mesos.elasticsearch.common.cli.ElasticsearchCLIParameter; import...
package de.roamingthings.expenses.ui.expense.controller; import de.roamingthings.expenses.business.expense.domain.RecurringExpense; import de.roamingthings.expenses.business.expense.service.RecurringExpenseService; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springf...
package net.openid.consumer; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.HttpStatus; import org.apache.commons.httpclient.cookie.CookiePolicy; import org.apache.commons.httpclient.methods.PostMethod; import org.apache.commons.httpclient.methods.StringRequestEntity; import org.a...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net.sf.jaer.util; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.PrintStream; import java.util.ArrayList; import java.util.C...
package net.wigle.wigleandroid; import static android.location.LocationManager.GPS_PROVIDER; import static android.location.LocationManager.NETWORK_PROVIDER; import java.io.File; import java.io.FileOutputStream; import java.io.InputStream; import java.io.IOException; import java.io.PrintStream; import java.text.Decimal...
package burlap.behavior.singleagent; import burlap.behavior.policy.Policy; import burlap.behavior.policy.RandomPolicy; import burlap.datastructures.AlphanumericSorting; import burlap.domain.singleagent.gridworld.GridWorldDomain; import burlap.oomdp.auxiliary.common.NullTermination; import burlap.oomdp.core.Domain; impo...
package com.akjava.gwt.poseeditor.client; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import com.akjava.bvh.client.BVH; import com.akjava.bvh.client.BVHNode; import com.akjava.bvh.client.BVHParser; import com.akjava.bvh.client.BVHParser.ParserListener; import com.a...
package com.bkahlert.nebula.widgets.browser; import java.io.File; import java.io.FileOutputStream; import java.net.URI; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.Future; import java.util.concurrent.atomic.AtomicReference; import org.apache.commo...
package com.bkahlert.nebula.widgets.browser; import java.io.File; import java.io.FileOutputStream; import java.net.URI; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.Future; import java.util.concurrent.atomic.AtomicReference; import org.apache.commo...
package eu.nimble.core.infrastructure.identity.clients; import feign.Retryer; import feign.hystrix.HystrixFeign; import feign.jackson.JacksonDecoder; import feign.jackson.JacksonEncoder; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org....
package eu.nimble.core.infrastructure.identity.system; import com.fasterxml.jackson.core.JsonProcessingException; import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.JsonNode; import com.mashape.unirest.http.Unirest; import com.mashape.unirest.http.exceptions.UnirestException; import eu.nimble...
package com.mutinycraft.irc.impl; import org.bukkit.entity.Player; import org.bukkit.event.*; import org.bukkit.event.player.*; import com.massivecraft.factions.P; import com.mutinycraft.irc.*; import com.mutinycraft.irc.plugin.Plugin; public class DefaultChatHandler extends IRCListener implements Listener { public...
package org.jboss.forge.addon.javaee.rest.ui; import java.util.Arrays; import java.util.List; import javax.inject.Inject; import javax.ws.rs.HttpMethod; import javax.ws.rs.container.ContainerRequestContext; import javax.ws.rs.container.ContainerResponseContext; import javax.ws.rs.container.ContainerResponseFilter; impo...
package com.axiastudio.zoefx.core.db; import java.util.Map; public interface Database { void open(String persistenceUnit); void open(String persistenceUnit, Map<String, String> properties); public <E> Manager<E> createManager(Class<E> klass); }
package com.atlassian.jira.plugins.dvcs.spi.gitlab; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.Date; import java.util.EnumSet; import java.util.List; import java.util.Set; import javax.annotation.Resource; import org.apache.commons.lang.StringUtils; import org....
package com.googlecode.kanbanik.client.modules.editworkflow; import java.util.ArrayList; import java.util.List; import com.google.gwt.user.client.ui.HorizontalPanel; import com.googlecode.kanbanik.client.KanbanikAsyncCallback; import com.googlecode.kanbanik.client.KanbanikServerCaller; import com.googlecode.kanbanik.cl...
package com.onlinephotosubmission.csv_importer; import javax.net.ssl.HttpsURLConnection; import java.io.*; import java.net.HttpURLConnection; import java.net.URL; import java.nio.file.Files; import java.nio.file.Paths; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.util.ArrayList...
package org.eclipse.kura.net.admin.monitor; import java.util.Dictionary; import java.util.HashMap; import java.util.HashSet; import java.util.Hashtable; import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.ExecutorService; import java.util.concur...
package com.opencms.defaults; import com.opencms.template.*; import com.opencms.file.*; import java.util.*; import java.lang.reflect.*; import com.opencms.core.*; import com.opencms.core.exceptions.*; public abstract class A_CmsContentDefinition implements I_CmsContent, I_CmsConstants { /** * The owner of this resour...
package com.example.beer.services; import java.net.HttpURLConnection; import javax.ejb.Stateless; import javax.inject.Inject; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaTyp...
import javax.sql.DataSource; import java.sql.Connection; import java.sql.Statement; import java.sql.ResultSet; import java.sql.SQLException; // Here are the dbcp-specific classes. // Note that they are only used in the setupDataSource // method. In normal use, your classes interact // only with the standard JDBC API im...
package core; import java.util.ArrayList; import static config.Values.*; public class Wcm { public static ArrayList<Masume> null_wcm(){ return new ArrayList<Masume>(); } public static ArrayList<Masume> pl_hu_wcm(Banmen ban, Masume current){ ArrayList<Masume> result = new ArrayList<>(); ...
package example; import java.util.EmptyStackException; import java.util.Stack; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; // tag::user_guide[] @DisplayName("A stack") ...
package com.smartnsoft.droid4me.ws; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.StringWriter; import java.io.UnsupportedEncodingException; import java.net.SocketException; import java.net.URL...
package com.valkryst.VTerminal.misc; import java.awt.Point; import java.util.ArrayList; import java.util.List; public final class ShapeAlgorithms { // Prevent users from creating an instance. private ShapeAlgorithms() {} /** * Constructs a list, containing the outline, of an ellipse's points * by ...
package com.heanthor.printer.utils; import javax.imageio.ImageIO; import java.awt.*; import java.awt.color.ColorSpace; import java.awt.color.ICC_ColorSpace; import java.awt.color.ICC_Profile; import java.awt.image.*; import java.io.File; import java.io.IOException; import java.util.HashMap; /** * @author reedt */ pub...
package com.valkryst.generator; import com.valkryst.VParser_CFG.ContextFreeGrammar; import java.util.List; public final class GrammarNameGenerator implements NameGenerator{ /** The CFG to generate names with. */ private final ContextFreeGrammar contextFreeGrammar; public GrammarNameGenerator(final List<Stri...
package com.irccloud.android; import java.util.Timer; import java.util.TimerTask; import org.json.JSONObject; import android.annotation.SuppressLint; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageManager.NameNotFoundException; i...
package me.nallar.patched.storage; import java.util.ArrayList; import java.util.List; import java.util.Set; import java.util.concurrent.locks.Lock; import java.util.logging.Level; import cpw.mods.fml.common.FMLLog; import me.nallar.tickthreading.Log; import me.nallar.tickthreading.patcher.Declare; import me.nallar.tick...
package com.thaiopensource.relaxng; import com.thaiopensource.datatype.Datatype; import com.thaiopensource.datatype.DatatypeContext; class StringAtom extends Atom { private String str; private DatatypeContext dc; StringAtom(String str, DatatypeContext dc) { this.str = str; this.dc = dc; } boolean matc...
package org.nuxeo.connect.client.jsf; import java.io.Serializable; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.HashMap; import java.util.List; import java.util.Locale; import java.util.Map; import java.util.Properties; import ja...
package com.thaiopensource.validate; import org.xml.sax.ContentHandler; import org.xml.sax.DTDHandler; /** * Validates an XML document with respect to a schema. The schema is * determined when the <code>Validator</code> is created and cannot be * changed. The XML document is provided to the <code>Validator</code> ...
package it.unibz.krdb.obda.owlrefplatform.core.abox; import it.unibz.krdb.obda.model.OBDADataFactory; import it.unibz.krdb.obda.model.impl.OBDADataFactoryImpl; import it.unibz.krdb.obda.owlrefplatform.core.ontology.*; import it.unibz.krdb.obda.owlrefplatform.core.ontology.imp.BasicDescriptionFactory; import it.unibz.kr...
package com.tzapps.tzpalette.data; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import android.graphics.Bitmap; public class PaletteData { private static final String TAG = "PaletteData"; private static final int THUMB_MAX_WIDTH = 500; private static final int THUMB_MAX_HEIGH...
package org.eclipse.mylyn.bugzilla.tests; import java.io.File; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashSet; import java.util.List; import java.util.Set; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.NullProgressMoni...
package org.exist.xquery; import org.exist.dom.DocumentSet; import org.exist.xquery.util.ExpressionDumper; import org.exist.xquery.value.BooleanValue; import org.exist.xquery.value.Item; import org.exist.xquery.value.Sequence; import org.exist.xquery.value.Type; /** * Implements the "castable as" XQuery expression. *...
package com.wakatime.intellij.plugin; import com.intellij.AppTopics; import com.intellij.ide.DataManager; import com.intellij.openapi.actionSystem.*; import com.intellij.openapi.application.ApplicationInfo; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.components.ApplicationCom...
package org.metaborg.spoofax.meta.core.pluto.build.misc; import java.io.File; import org.apache.commons.vfs2.FileObject; import org.metaborg.core.language.ILanguageImpl; import org.metaborg.spoofax.core.unit.ISpoofaxInputUnit; import org.metaborg.spoofax.core.unit.ISpoofaxParseUnit; import org.metaborg.spoofax.meta.cor...
package org.exist.xquery.test; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileFilter; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import org.exist.xmldb.XQueryService; import org.xmldb.api.DatabaseManager; import org.xmldb.api.base.Collection; i...