answer
stringlengths
17
10.2M
package i5.las2peer.logging; import java.util.Date; import rice.pastry.PastryNode; import rice.pastry.socket.SocketNodeHandle; /** * * The NodeObserver is an abstract class providing all necessary methods * to log all interesting node events for a {@link i5.las2peer.p2p.Node} * (mainly {@link i5.las2peer.p2p.Pastry...
package BQJDBC.QueryResultTest; import junit.framework.Assert; import net.starschema.clouddb.jdbc.Oauth2Bigquery; import net.starschema.clouddb.jdbc.BQConnection; import net.starschema.clouddb.jdbc.BQStatement; import net.starschema.clouddb.jdbc.BQSupportFuncts; import org.junit.Before; import org.junit.Test; import ja...
package me.zero.client.api.command; import me.zero.client.api.Client; import me.zero.client.api.command.parse.CommandContext; import me.zero.client.api.event.EventHandler; import me.zero.client.api.event.Listener; import me.zero.client.api.event.defaults.ChatEvent; import me.zero.client.api.manage.Manager; import java....
package imagej.ops.slicer; import net.imglib2.Interval; import net.imglib2.RandomAccessibleInterval; import net.imglib2.util.Intervals; import net.imglib2.view.IntervalView; import net.imglib2.view.Views; /** * @author Christian Dietz */ public abstract class AbstractSlicer implements Slicer { @Override publi...
package biweekly.io.json; import static biweekly.util.StringUtils.NEWLINE; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import java.io.StringReader; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import...
package mx.infotec.dads.kukulkan.util; import static mx.infotec.dads.kukulkan.util.JavaFileNameParser.formatToPackageStatement; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.apache.metamodel.DataContext; import org.apache.metamodel.schema.Column; import org.apache.metamodel.schema....
package io.coinswap.swap; import net.minidev.json.JSONObject; import org.bitcoinj.core.Coin; import java.util.ArrayList; import java.util.List; import java.util.Map; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkState; public class AtomicSwapTra...
package com.akiban.sql.pg; import com.akiban.server.error.ErrorCode; import com.akiban.server.service.dxl.DXLReadWriteLockHook; import com.akiban.server.service.session.Session; import static com.akiban.server.service.dxl.DXLFunctionsHook.DXLFunction; import java.sql.ResultSet; import java.sql.SQLException; import java...
package mx.nic.rdap.server.result; import java.util.ArrayList; import java.util.logging.Level; import java.util.logging.Logger; import javax.json.Json; import javax.json.JsonObject; import javax.json.JsonObjectBuilder; import javax.servlet.RequestDispatcher; import javax.servlet.http.HttpServletRequest; import mx.nic.r...
package com.alexrnl.commons.database; import java.util.EnumMap; import java.util.Map; import com.alexrnl.commons.utils.object.AutoCompare; import com.alexrnl.commons.utils.object.AutoHashCode; import com.alexrnl.commons.utils.object.Field; /** * Dummy entity for test purposes. * @author Alex */ public class Dummy ex...
package it.near.sdk.Recipes; import android.content.Context; import android.content.SharedPreferences; import android.support.annotation.NonNull; import org.json.JSONObject; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import it.near.sdk.Recipes.Models.Recipe; import...
package com.jakewharton.trakt; import junit.framework.TestCase; public abstract class BaseTestCase extends TestCase { protected static final String API_KEY = "5abdaea0246b840cb7c709f8e1788fed"; private final ServiceManager manager = new ServiceManager(); @Override public void setUp() { manager.s...
package net.fortuna.ical4j.vcard.property; import static net.fortuna.ical4j.util.Strings.escape; import static org.apache.commons.lang.StringUtils.isNotEmpty; import java.net.URISyntaxException; import java.text.ParseException; import java.util.List; import net.fortuna.ical4j.model.ValidationException; import net.fortu...
package javax.enterprise.inject; import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.RetentionPolicy.RUNTIME; @Ta...
package net.openhft.chronicle.queue.impl; import net.openhft.chronicle.bytes.*; import net.openhft.chronicle.core.OS; import net.openhft.chronicle.core.annotation.ForceInline; import net.openhft.chronicle.queue.ChronicleQueue; import net.openhft.chronicle.queue.ExcerptAppender; import net.openhft.chronicle.queue.Excerp...
package javax.time.zone; import static javax.time.calendrical.DateTimeAdjusters.nextOrCurrent; import static javax.time.calendrical.DateTimeAdjusters.previousOrCurrent; import static javax.time.calendrical.LocalDateTimeField.YEAR; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; impor...
package lemming.context; import lemming.WebApplication; import org.xml.sax.ErrorHandler; import org.xml.sax.SAXException; import org.xml.sax.SAXParseException; import javax.servlet.ServletContext; import javax.xml.XMLConstants; import javax.xml.stream.*; import javax.xml.stream.events.*; import javax.xml.transform.stre...
package com.skraylabs.poker.model; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.MatcherAssert.assertThat; import org.junit.Before; import org.junit.Test; public class CardTest { /** * Test fixture card. */ Card fixedCard; /** * Test fixture rank. */ final Rank fixedRan...
package library.service; import org.seasar.extension.jdbc.service.S2AbstractService; import org.seasar.extension.jdbc.where.SimpleWhere; import library.dto.UserInfoDto; import library.entity.User; public class UserLoginService extends S2AbstractService<User> { public boolean isUserExist(String mail, String password...
package manon.app.config; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.SerializationFeature; import org.springframework.context.annotation.Configuration; import org.springframework.http.converter.HttpMessageConverter; impo...
package net.blay09.javairc; import lombok.extern.java.Log; import net.blay09.javairc.snapshot.ChannelSnapshot; import net.blay09.javairc.snapshot.SnapshotWrapper; import net.blay09.javairc.snapshot.UserSnapshot; import javax.net.ssl.SSLContext; import javax.net.ssl.SSLSocket; import javax.net.ssl.SSLSocketFactory; impo...
package net.conan.file; import junit.framework.TestCase; import net.conan.file.ZipFileCombiner.CollisionStrategy; import net.conan.io.IOUtil; import net.conan.lambda.ExceptionWrapper; import org.junit.After; import org.junit.Before; import org.junit.Test; import java.io.BufferedInputStream; import java.io.BufferedOutpu...
package net.imagej.legacy; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.rmi.Remote; import java.rmi.RemoteException; import java.rmi.server.UnicastRemoteObject; import org.scijava.log.LogService; /*...
package org.cactoos.io; import org.hamcrest.core.IsEqual; import org.junit.jupiter.api.Test; import org.llorllale.cactoos.matchers.Assertion; /** * Test for {@link SlowInputStream}. * * @since 0.47 * @checkstyle MagicNumberCheck (20 lines) */ final class SlowInputStreamTest { @Test void readsSigned() throw...
package org.codereligion.test.bean; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.Collections; import java.util.HashSet; import java.util.Set; import org.codereligion.test.bean.creation.ObjectFactory; import org.codereligion.test.bean.exception.BeanTestException; ...
package net.pixelcop.sewer.util; import java.io.IOException; import java.util.List; import net.pixelcop.sewer.node.Node; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.compress.CompressionCodec; import org.apache.hadoop....
package org.mvel.tests.main; import junit.framework.TestCase; import org.mvel.MVEL; import org.mvel.MVELTemplateRegistry; import org.mvel.TemplateInterpreter; import org.mvel.TemplateRegistry; import org.mvel.tests.main.res.Bar; import org.mvel.tests.main.res.Base; import org.mvel.tests.main.res.Foo; import org.mvel.te...
package openmods.api; import net.minecraft.block.Block; import net.minecraft.util.math.BlockPos; public interface INeighbourAwareTile { public void onNeighbourChanged(BlockPos neighbourPos, Block neigbourBlock); }
package org.myrobotlab.service; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import java.io.IOException; import java.util.HashMap; import java.u...
package org.takes.facets.auth; import com.google.common.collect.ImmutableMap; import java.io.IOException; import org.hamcrest.MatcherAssert; import org.hamcrest.Matchers; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; import org.takes.Response; import org.takes.rq.RqFake; import org.takes.rs.R...
package org.jvnet.hudson.plugins; import hudson.*; import hudson.model.*; import hudson.slaves.NodeSpecific; import hudson.tasks.BuildStepDescriptor; import hudson.tasks.Builder; import hudson.tools.*; import hudson.util.ArgumentListBuilder; import hudson.util.FormValidation; import java.io.File; import java.io.IOExcep...
package org.madhatters.mediaplayer.media; import javafx.collections.ObservableList; import org.madhatters.mediaplayer.models.Audio; import java.util.List; public class Playlist { private static final int FIRST_SONG = 0; private List<Audio> files; private Audio currentSong; private int currentSongIndex; ...
package org.ejbca.cvc.internal.tlv; import java.nio.ByteBuffer; import java.nio.CharBuffer; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; /** * Simple {@link ByteBuffer} value wrapper. * * <p> * NOT THREADSAFE - do not use across threads! * * @author fichtelmannm * */ public class V...
package org.spongepowered.common.util; import com.flowpowered.math.vector.Vector3i; import com.google.common.reflect.TypeToken; import it.unimi.dsi.fastutil.objects.Object2LongMap; import it.unimi.dsi.fastutil.objects.Object2LongOpenHashMap; import net.minecraft.block.Block; import net.minecraft.entity.Entity; import n...
package org.geoscript.js.proj; import java.lang.reflect.InvocationTargetException; import java.util.logging.Logger; import org.geoscript.js.GeoObject; import org.geotools.factory.Hints; import org.geotools.referencing.CRS; import org.geotools.util.logging.Logging; import org.mozilla.javascript.Context; import org.mozil...
package org.treetank.sessionlayer; import org.treetank.api.IItem; import org.treetank.api.IReadTransaction; import org.treetank.nodelayer.AbstractNode; import org.treetank.utils.TypedValue; /** * <h1>ReadTransaction</h1> * * <p> * Read-only transaction wiht single-threaded cursor semantics. Each * read-only transa...
package org.jbake.launcher; import java.io.BufferedReader; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.nio.CharBuffer; import java.util.Map; import javax.servlet.ServletException; import javax.servlet.http.H...
package reborncore.common.blocks; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.Material; import net.minecraft.block.entity.BlockEntity; import net.minecraft.entity.EntityType; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.player.PlayerEntity...
package org.jhove2.core.io; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.RandomAccessFile; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.channels.FileChannel; /** Abstract JHOVE2...
package restapi.weatherinfo; import entities.sub_entity.WeatherInfo; import entities.sub_entity.WeatherStation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import repository.WeatherInfoRepository; import java.util.ArrayList; import java.util.List; @Re...
package org.jtrfp.trcl.core; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.TreeSet; import org.apache.commons.collections4.map.AbstractReferenceMap.ReferenceStrength; i...
package romelo333.notenoughwands.Items; import net.minecraft.block.Block; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import n...
package org.lightmare.deploy; import java.io.File; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.co...
package rpraut.osgi.api.cache; import java.util.Map; import java.util.logging.Level; import java.util.logging.Logger; import org.osgi.service.component.annotations.Activate; import org.osgi.service.component.annotations.Component; import org.osgi.service.component.annotations.Deactivate; import org.osgi.service.compone...
package org.lightmare.deploy; import java.io.File; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.co...
package seedu.taskitty.logic.parser; import seedu.taskitty.commons.exceptions.IllegalValueException; import seedu.taskitty.commons.util.StringUtil; import seedu.taskitty.logic.commands.*; import seedu.taskitty.model.tag.Tag; import seedu.taskitty.model.task.TaskDate; import seedu.taskitty.model.task.TaskTime; import st...
package org.lightmare.deploy; import static org.lightmare.cache.MetaContainer.closeConnections; import java.io.File; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Lis...
package seedu.todo.ui.components; import java.time.LocalDateTime; import java.util.List; import javafx.fxml.FXML; import javafx.scene.layout.Pane; import javafx.scene.layout.VBox; import javafx.scene.text.Text; import javafx.stage.Stage; import seedu.todo.commons.EphemeralDB; import seedu.todo.commons.util.DateUtil; im...
package org.littleshoot.proxy; import java.io.UnsupportedEncodingException; import java.net.InetAddress; import java.net.UnknownHostException; import java.nio.charset.Charset; import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.Collection; import java.util.Date; import java.util.HashSet; import...
package team.unstudio.udpl.area; import org.bukkit.configuration.serialization.ConfigurationSerializable; import java.util.HashMap; import java.util.Map; public class AreaDataContainer extends HashMap<String, Object> implements ConfigurationSerializable{ public AreaDataContainer() {} public AreaDataContainer(Ma...
package org.mcupdater.gui; import layout.SpringUtilities; import org.mcupdater.settings.Settings; import org.mcupdater.settings.SettingsListener; import org.mcupdater.settings.SettingsManager; import javax.swing.*; import java.awt.*; public class SettingsDialog extends JDialog implements SettingsListener { private ...
package org.mitre.stix; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.StringReader; import java.io.UnsupportedEncodingException; import java.util.HashSet; import java.util.Set; import java.util.logging.Logger; import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBElement; impor...
package org.neo4j.kernel; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.HashMap; import java.util.Map; import java.util.logging.Logger; import org.neo4j.graphdb.GraphDatabaseService; import org.neo4j.helpers.Service; public abstr...
package uk.ac.ic.wlgitbridge.server; import org.eclipse.jetty.server.HttpConnection; import org.eclipse.jetty.server.Request; import org.eclipse.jetty.server.handler.AbstractHandler; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import uk.ac.ic.wlgitbridge.bridge.Bridge; import uk.ac.ic.wlgitbridge.util.Log;...
package org.spongepowered.api.text; import static com.google.common.base.Preconditions.checkNotNull; import com.google.common.collect.ImmutableList; import org.spongepowered.api.text.format.TextColor; import org.spongepowered.api.text.format.TextColors; import org.spongepowered.api.text.format.TextStyle; import org.spo...
package mondrian.olap4j; import mondrian.olap.MondrianServer; import mondrian.xmla.XmlaUtil; import org.olap4j.OlapDatabaseMetaData; import org.olap4j.OlapException; import org.olap4j.OlapConnection; import org.olap4j.impl.NamedListImpl; import org.olap4j.impl.Olap4jUtil; import org.olap4j.metadata.*; import java.sql.R...
/** * (lhjz) */ package org.xiwc.semantic; import javax.sql.DataSource; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.annotation.Order; import org.springfr...
package rocks.matchmaker; import java.util.function.Function; public class PropertyMatcher<F, R> { private final Function<F, Option<?>> property; private final Matcher<R> matcher; private PropertyMatcher(Function<F, Option<?>> property, Matcher<R> matcher) { this.property = property; this.ma...
package rustic.common; import java.lang.reflect.Field; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Random; import org.lwjgl.opengl.GL11; import com.mojang.authlib.GameProfile; import net.minecraft.block.Block; import net.minecraft.block.ITileEntityProvider; import net.minecra...
package tenttiarkisto.service; 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.nio.charset.StandardCharsets; import java.util.ArrayList; import java.util.List; import org.j...
// Prevayler(TM) - The Open-Source Prevalence Layer. package org.prevayler.implementation; import java.io.*; import org.prevayler.*; import org.prevayler.implementation.log.TransactionLogger; /** * Provides transparent persistence and replication for native Java business objects. * Provides Atomicity, Isolation and D...
package tigase.monitor.tasks; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.util.Date; import java.util.HashSet; import java.util.logging.Level; import java.util.logging.Logger; import tigase.disteventbus.EventBus; import tigase.form.Fie...
package uk.co.sftrabbit.stackanswers; import android.app.ActionBar; import android.app.Fragment; import android.app.FragmentManager; import android.app.FragmentTransaction; import android.content.Intent; import android.os.Bundle; import android.support.v4.view.ViewPager; import android.support.v4.widget.DrawerLayout; i...
package uk.ac.susx.tag.peg.parboiled; import org.parboiled.BaseParser; import org.parboiled.Parboiled; import org.parboiled.Rule; import org.parboiled.common.ImmutableList; import org.parboiled.errors.ErrorUtils; import org.parboiled.parserunners.ReportingParseRunner; import org.parboiled.support.ParseTreeUtils; import...
package uk.org.taverna.server.client; import java.io.File; import java.io.IOException; import java.net.URI; import java.util.Calendar; import java.util.Date; import java.util.HashMap; import java.util.Map; import javax.xml.bind.DatatypeConverter; import net.sf.practicalxml.ParseUtil; import net.sf.practicalxml.XmlUtil;...
package xyz.meunier.wav2pzx; import com.google.common.primitives.Bytes; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.Collection; import java.util.List; import static xyz.meunier.wav2pzx.PZXEncodeUtils.putUnsignedByte; import static xyz.meunier.wav2pzx.PZXEncodeUtils.putUnsignedLittleEnd...
import java.util.List; import java.util.LinkedList; public class Hashtable { int m; List<Element>[] slots; public Hashtable(int m) { this.m = m; slots = new List[m]; for (int i =0; i < m; i++ ) { slots[i] = new LinkedList<Element>(); } } public int h(Eleme...
package com.structurizr.view; import com.structurizr.model.Element; import com.structurizr.model.Relationship; import com.structurizr.model.Tags; import com.structurizr.util.StringUtils; import java.util.Collection; import java.util.LinkedList; public final class Styles { private static final Integer DEFAULT_WIDTH_...
package com.hubspot.jinjava.lib.fn; import static com.hubspot.jinjava.util.Logging.ENGINE_LOG; import com.google.common.collect.Lists; import com.hubspot.jinjava.JinjavaConfig; import com.hubspot.jinjava.doc.annotations.JinjavaDoc; import com.hubspot.jinjava.doc.annotations.JinjavaParam; import com.hubspot.jinjava.doc....
package com.jaamsim.BasicObjects; import java.util.ArrayList; import java.util.HashMap; import java.util.Locale; import com.jaamsim.Samples.SampleInput; import com.jaamsim.events.ProcessTarget; import com.jaamsim.input.InputAgent; import com.jaamsim.input.Keyword; import com.jaamsim.math.Vec3d; import com.jaamsim.rende...
package com.jaamsim.ui; import java.awt.Color; import java.awt.Component; import javax.swing.BorderFactory; import javax.swing.JTable; import javax.swing.border.Border; import javax.swing.table.DefaultTableCellRenderer; import com.sandwell.JavaSimulation.Input; public class EditBoxColumnRenderer extends DefaultTableCel...
package com.laytonsmith.core; import com.laytonsmith.abstraction.*; import com.laytonsmith.abstraction.enums.MCRecipeType; import com.laytonsmith.core.constructs.*; import com.laytonsmith.core.exceptions.ConfigRuntimeException; import com.laytonsmith.core.functions.Exceptions; import com.laytonsmith.core.functions.Exce...
package com.laytonsmith.core; import com.laytonsmith.abstraction.MCBookMeta; import com.laytonsmith.abstraction.MCColor; import com.laytonsmith.abstraction.MCEnchantment; import com.laytonsmith.abstraction.MCEnchantmentStorageMeta; import com.laytonsmith.abstraction.MCEntity; import com.laytonsmith.abstraction.MCFurnac...
package com.laytonsmith.core.functions; import com.laytonsmith.PureUtilities.Common.StringUtils; import com.laytonsmith.PureUtilities.Vector3D; import com.laytonsmith.PureUtilities.Version; import com.laytonsmith.abstraction.MCChunk; import com.laytonsmith.abstraction.MCCommandSender; import com.laytonsmith.abstraction...
package com.learning.ads.search; public class BinarySearch<T extends Comparable<T>> { public int search(T[] array, T element) { int first = 0, last = array.length - 1, position = -1; while (first <= last) { int mid = (first + last) / 2; int r = element.compareTo(array[mid]); ...
package com.mango.jtt.springAspect; import org.aspectj.lang.annotation.AfterReturning; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Before; import org.springframework.stereotype.Component; import com.mango.jtt.po.Order; import com.mango.jtt.util.LogUtil; /** * @AspectJaop * * @author...
package com.mmimica.ajackson; import java.io.IOException; import java.util.LinkedList; import java.util.function.Consumer; import com.fasterxml.jackson.core.JsonFactory; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.core.async.ByteArrayFeeder; import com.fasterxml.jackson.core.json.async.Non...
package com.ociweb.iot.hardware; import java.util.concurrent.locks.ReentrantLock; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.ociweb.gl.api.Behavior; import com.ociweb.gl.api.MsgCommandChannel; import com.ociweb.gl.impl.BuilderImpl; import com.ociweb.gl.impl.schema.IngressMessages; import com.oc...
package com.opennms.cassandra.mapper; import java.util.UUID; import com.google.common.base.Optional; public interface Storage { /** * Persist a new object. * <p> * Unique IDs are generated for objects at creation-time. This ID will be assigned to the passed * object reference on success; It is c...
package com.redhat.ceylon.compiler; import java.io.File; import java.io.InputStream; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import java.util.List; import com.redhat.ceylon.compiler.js.JsCompiler; import com.redhat.ceylon.compiler.typechecker.TypeChecker; import com.redhat.ceylon...
// samskivert library - useful routines for java programs package com.samskivert.swing; import java.util.List; import javax.swing.JLabel; import javax.swing.JList; import javax.swing.JPanel; import javax.swing.ListModel; /** * Displays a list of components in sections (with section headers) that * can be collapsed. E...
package com.sciul.cloud_configurator.dsl; import com.sciul.cloud_configurator.Provider; import javax.json.JsonObject; public class Dns extends Resource { private final String hostedZoneName; private RecordSets recordSets = new RecordSets(); private String type = null; private String domain; private int ttl; ...
package com.xplosivesnet; import net.minecraft.block.Block; import com.xplosivesnet.explosives.genericExplosive; import cpw.mods.fml.common.registry.GameRegistry; public class xplosivesnet_blocks { public static Block[] blocks = new Block[25]; private static int counter = 0; public static void loadBlocks() ...
package de.alpharogroup.lang; import java.io.File; import java.io.FileFilter; import java.io.IOException; import java.io.InputStream; import java.net.URISyntaxException; import java.net.URL; import java.net.URLDecoder; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.ut...
package de.fhws.fiw.pvs.restdemo; import javax.servlet.http.HttpServletRequest; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.container.ContainerRequestContext; import javax.ws.rs.core.Context; import javax.ws.rs.core.Request; import javax.ws....
package de.lessvoid.xml.tools; import java.lang.reflect.Method; /** * MethodResolver helper class. * @author void */ public class MethodResolver { /** * you can't instantiate this class it's a helper class. */ private MethodResolver() { } /** * find a method per name in the given class. * @param ...
package edu.stanford.lcls.xal.model; import java.util.ArrayList; import java.util.List; import xal.model.IAlgorithm; import xal.model.ModelException; import xal.model.probe.EnvelopeProbe; import xal.sim.scenario.AlgorithmFactory; import xal.sim.scenario.ProbeFactory; import xal.sim.scenario.Scenario; import xal.smf.Acc...
package function.genotype.trio; import function.genotype.base.CalledVariant; import global.Index; import function.external.evs.EvsManager; import function.external.exac.ExacManager; import function.external.genomes.GenomesManager; import function.external.gerp.GerpManager; import function.external.kaviar.KaviarManager;...
package guru.haun.hackery.blocks; import guru.haun.hackery.HackeryMod; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.util.AxisAlignedBB; i...
package hk.ust.comp4321.engine; import hk.ust.comp4321.database.ForwardIndexTable; import hk.ust.comp4321.database.InvertedIndexTable; import hk.ust.comp4321.database.InvertedPageTable; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Vector; import hk.ust.comp4321.databas...
package i5.las2peer.security; import java.io.Serializable; import java.security.KeyPair; import java.security.PublicKey; import java.util.Random; import org.apache.commons.codec.binary.Base64; import i5.las2peer.communication.Message; import i5.las2peer.communication.MessageException; import i5.las2peer.execution.L2pSe...
package io.ebean.dbmigration; import io.ebean.dbmigration.runner.LocalMigrationResource; import io.ebean.dbmigration.runner.LocalMigrationResources; import io.ebean.dbmigration.runner.MigrationTable; import io.ebean.dbmigration.runner.MigrationSchema; import io.ebean.dbmigration.util.JdbcClose; import org.slf4j.Logger;...
package mingzuozhibi.action; import mingzuozhibi.persist.Disc; import mingzuozhibi.persist.Sakura; import mingzuozhibi.persist.Sakura.ViewType; import mingzuozhibi.support.JsonArg; import org.hibernate.criterion.Restrictions; import org.json.JSONArray; import org.json.JSONObject; import org.springframework.transaction....
package ml.duncte123.skybot.utils; import ml.duncte123.skybot.Author; import ml.duncte123.skybot.CommandManager; import ml.duncte123.skybot.Settings; import ml.duncte123.skybot.objects.command.CommandCategory; import ml.duncte123.skybot.objects.command.ICommand; import net.dv8tion.jda.core.EmbedBuilder; import net.dv8t...
package net.etalia.client.services; import static org.springframework.web.bind.annotation.RequestMethod.GET; import static org.springframework.web.bind.annotation.RequestMethod.POST; import java.util.List; import java.util.Map; import net.etalia.client.domain.AdvertisedPaginationList; import net.etalia.client.domain.Ar...
package net.morematerials.manager; import java.io.File; import java.util.ArrayList; import java.util.Enumeration; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.logging.Level; import java.util.zip.ZipEntry; import java.util.zip.ZipFile; import org.bukkit.configuration.file.YamlC...
package net.osten.watermap.convert; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.nio.charset.Charset; import java.text.ParseException; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.logging.Logger; impor...
package netdiscoveryIPv6; import java.net.DatagramPacket; import java.net.Inet6Address; import java.net.InetSocketAddress; import java.net.InterfaceAddress; import java.net.MulticastSocket; import java.net.NetworkInterface; import java.net.SocketAddress; import java.util.Enumeration; import plugincore.PluginEngine; imp...
package org.agmip.core.translators; import java.io.IOException; import java.io.File; import java.io.FileWriter; import java.io.BufferedWriter; import java.util.Map; import java.util.ArrayList; import org.agmip.core.types.*; import org.agmip.core.types.weather.*; import org.agmip.util.JSONAdapter; /** * DSSAT Soil Data...
package org.bitvector.microservice2; import akka.actor.ActorContext; import akka.event.Logging; import akka.event.LoggingAdapter; import io.jsonwebtoken.Claims; import io.jsonwebtoken.Jwts; import io.jsonwebtoken.SignatureAlgorithm; import io.undertow.Handlers; import io.undertow.server.HttpServerExchange; import io.un...