answer
stringlengths
17
10.2M
package fredboat.command.util; import fredboat.FredBoat; import fredboat.event.EventListenerBoat; import fredboat.commandmeta.Command; import fredboat.commandmeta.ICommandOwnerRestricted; import fredboat.util.ExitCodes; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.Input...
package hudson.plugins.ec2; import hudson.Util; import hudson.model.Computer; import hudson.model.Descriptor; import hudson.model.Descriptor.FormException; import hudson.model.Node; import hudson.model.Slave; import hudson.plugins.ec2.util.AmazonEC2Factory; import hudson.plugins.ec2.util.ResettableCountDownLatch; impor...
package org.opencloudb.heartbeat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.concurrent.locks.ReentrantLock; import org.apache.log4j.Logger; import org.opencloudb.backend.PhysicalDBPool; import org.opencloudb.backend.PhysicalDatasource; import org.opencloudb.config.model.DataHostConfig; ...
package de.pentasys.SilverPen.model; import java.util.Collection; import java.util.Date; import java.util.LinkedList; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Named...
package org.owasp.esapi.util; /** * Conversion to/from byte arrays to/from short, int, long. The assumption * is that they byte arrays are in network byte order (i.e., big-endian * ordered). * * @see org.owasp.esapi.crypto.CipherTextSerializer * @author kevin.w.wall@gmail.com */ public class ByteConversionUtil {...
package de.quaddy_services.proxy; import java.awt.AWTException; import java.awt.Dimension; import java.awt.EventQueue; import java.awt.Frame; import java.awt.Image; import java.awt.SystemTray; import java.awt.TrayIcon; import java.awt.TrayIcon.MessageType; import java.awt.event.ActionEvent; import java.awt.event.Action...
package jdungeonquest.network; import com.esotericsoftware.kryonet.Client; import com.esotericsoftware.kryonet.Connection; import com.esotericsoftware.kryonet.Listener; import com.esotericsoftware.minlog.Log; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.logging.Level; ...
/** Khalid */ package org.sikuli.slides.sikuli; import java.awt.image.BufferedImage; import java.io.File; import java.util.ArrayList; import java.util.List; import java.util.concurrent.atomic.AtomicInteger; import org.sikuli.api.DesktopScreenRegion; import org.sikuli.api.ImageTarget; import org.sikuli.api.ScreenRegion;...
package edu.hm.hafner.analysis; import java.io.Serializable; import java.util.AbstractList; import java.util.Collection; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.ListIterator; import java.util.stream.StreamSupport; /** * {@link List} of {@link LineRange} that stor...
package joshie.enchiridion.gui.book; import com.google.common.collect.Lists; import com.mojang.blaze3d.platform.GlStateManager; import joshie.enchiridion.EConfig; import joshie.enchiridion.api.EnchiridionAPI; import joshie.enchiridion.api.book.IBook; import joshie.enchiridion.api.book.IBookHelper; import joshie.enchiri...
package org.smoothbuild.exec.nativ; import static java.util.Arrays.stream; import static org.smoothbuild.exec.nativ.MapTypeToJType.mapTypeToJType; import static org.smoothbuild.util.reflect.Classes.loadClass; import static org.smoothbuild.util.reflect.Methods.isPublic; import static org.smoothbuild.util.reflect.Methods...
package frogcraftrebirth.common.tile; import frogcraftrebirth.common.lib.tile.TileFrogEStorage; import ic2.api.item.ElectricItem; import ic2.api.item.IElectricItem; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.util.EnumFacing; import net.minecraft.util.ITickable; import net.minecraftforge.common.capabi...
package main.java.com.bag.client; import bftsmart.communication.client.ReplyListener; import bftsmart.reconfiguration.util.RSAKeyLoader; import bftsmart.tom.AsynchServiceProxy; import bftsmart.tom.RequestContext; import bftsmart.tom.ServiceProxy; import bftsmart.tom.core.messages.TOMMessage; import bftsmart.tom.core.me...
package guru.haun.hackery.items; import cpw.mods.fml.common.registry.GameRegistry; import guru.haun.hackery.HackeryMod; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.potion.PotionHelper; import ja...
package main.java.com.bag.client; import bftsmart.communication.client.ReplyReceiver; import bftsmart.reconfiguration.util.RSAKeyLoader; import bftsmart.tom.ServiceProxy; import bftsmart.tom.core.messages.TOMMessage; import bftsmart.tom.core.messages.TOMMessageType; import bftsmart.tom.util.TOMUtil; import com.esoteric...
package main.java.com.bag.client; import bftsmart.communication.client.ReplyReceiver; import bftsmart.reconfiguration.util.RSAKeyLoader; import bftsmart.tom.ServiceProxy; import bftsmart.tom.core.messages.TOMMessage; import bftsmart.tom.core.messages.TOMMessageType; import bftsmart.tom.util.Extractor; import bftsmart.t...
package info.faceland.strife.util; import static info.faceland.strife.attributes.StrifeAttribute.HP_ON_HIT; import static info.faceland.strife.util.StatUtil.getArmorMult; import static info.faceland.strife.util.StatUtil.getFireResist; import static info.faceland.strife.util.StatUtil.getIceResist; import static info.fac...
package main.java.com.bag.client; import bftsmart.communication.client.ReplyReceiver; import bftsmart.reconfiguration.util.RSAKeyLoader; import bftsmart.tom.ServiceProxy; import bftsmart.tom.core.messages.TOMMessage; import bftsmart.tom.core.messages.TOMMessageType; import bftsmart.tom.util.TOMUtil; import com.esoteric...
package info.u_team.u_team_core.util; import org.lwjgl.opengl.GL11; import com.mojang.blaze3d.matrix.MatrixStack; import com.mojang.blaze3d.systems.RenderSystem; import com.mojang.blaze3d.vertex.IVertexBuilder; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.AbstractGui; import net.minecraft.clie...
package me.ampayne2.ampmenus.menus; import me.ampayne2.ampmenus.events.ItemClickEvent; import me.ampayne2.ampmenus.items.MenuItem; import org.bukkit.Bukkit; import org.bukkit.DyeColor; import org.bukkit.Material; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriorit...
package se.simonsoft.cms.item.impl; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.util.regex.Matcher; import java.util.regex.Pattern; import se.simonsoft.cms.item.CmsItemId; import se.simonsoft.cms.item.CmsItemPath; import se.simonsoft.cms.item.CmsRepository; /** * Concrete class...
package ljfa.noitemrot; import java.util.Iterator; import net.minecraft.launchwrapper.IClassTransformer; import org.apache.logging.log4j.Level; import org.objectweb.asm.ClassReader; import org.objectweb.asm.ClassWriter; import org.objectweb.asm.Opcodes; import org.objectweb.asm.tree.AbstractInsnNode; import org.objectw...
package me.otisdiver.otisarena.task; import org.bukkit.GameMode; import org.bukkit.entity.Player; import me.otisdiver.otisarena.ConfigUtils; import me.otisdiver.otisarena.OtisArena; import me.otisdiver.otisarena.game.Game; import me.otisdiver.otisarena.game.InventoryBuilder; public class Respawn extends Task { priv...
package seedu.whatnow.logic.commands; import java.text.DateFormat; 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 seedu.whatnow.commons.exceptions.IllegalValueException; import seedu.whatnow.model.t...
package net.argius.eclipse.proj_gen; import java.nio.file.Path; import java.nio.file.Paths; import java.util.*; import org.apache.velocity.VelocityContext; import org.apache.velocity.app.VelocityEngine; public final class Projects { public static void createProject(ProjectType type, Map<String, Object> ctx) { ...
package mx.nic.rdap.server.util; import java.io.IOException; import java.io.InputStream; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.Properties; import java.util.Set; import javax.servlet.ServletContext; import mx....
package sizebay.catalog.client.model; import lombok.Getter; import lombok.Setter; import java.util.HashMap; import java.util.Map; @Getter @Setter public class StrongSize { private String groupMeasures; private Map<SizeSystem, String> labels = new HashMap<>(); private Map<Measure, StrongMeasureRange> measure...
package net.galaxygaming.selection; import java.util.Map; import net.galaxygaming.util.LocationUtil; import net.galaxygaming.util.SelectionUtil; import org.bukkit.Location; import org.bukkit.block.Block; import org.bukkit.configuration.serialization.ConfigurationSerializable; import org.bukkit.entity.Player; import com...
package space.hideaway.services; import org.joda.time.DateTime; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Profile; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; impor...
package think.rpgitems.power.impl; import cat.nyaa.nyaacore.Pair; import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.google.common.cache.LoadingCache; import org.bukkit.Location; import org.bukkit.OfflinePlayer; import org.bukkit.configuration.ConfigurationSection; impor...
package net.openbyte.server; import io.netty.bootstrap.Bootstrap; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelHandlerAdapter; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.EventLoopGroup; import io.netty.channel.nio.NioEventLoopGroup; im...
package net.dsc.cluster.web; import java.util.List; import java.util.Map; import java.util.UUID; import net.dsc.cluster.IClusterService; import net.dsc.hazelcast.IHazelcastService; import net.dsc.hazelcast.message.RoleMessage; import org.restlet.resource.Get; import org.restlet.resource.ServerResource; import org.slf4j...
package top.zbeboy.isy.service; import com.alibaba.fastjson.JSONObject; import org.apache.commons.lang3.math.NumberUtils; import org.jooq.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.context.SecurityCo...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net.uvnode.uvgeartomats; import java.util.HashMap; import java.util.Map; import java.util.Random; import org.bukkit.Material; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.buk...
package valandur.webapi.command; import org.slf4j.Logger; import org.spongepowered.api.Sponge; import org.spongepowered.api.command.CommandManager; import org.spongepowered.api.command.CommandMapping; import org.spongepowered.api.command.args.CommandElement; import org.spongepowered.api.command.args.GenericArguments; i...
package net.xprova.netlistgraph; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Set; import net.xprova.graph.Graph; import net.xprova.graph.MultiMap; import net.xprova.netlist.Module; import net.xprova.netlist.Net; import net.xprova.netlist.Netlist; import net.xprova.ne...
package net.java.otr4j.session; import java.net.ProtocolException; /** * * @author Felix Eckhofer * */ public final class OtrAssembler { public OtrAssembler(InstanceTag ownInstance) { this.ownInstance = ownInstance; discard(); } /** * Accumulated fragment thus far. */ priva...
package vexatos.backpacks.backpack; import forestry.api.storage.EnumBackpackType; import forestry.api.storage.IBackpackDefinition; import net.minecraft.block.Block; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.util.ResourceLocation; i...
package openblocks.common; import java.io.File; import java.lang.ref.WeakReference; import java.util.List; import net.minecraft.block.Block; import net.minecraft.entity.item.EntityItem; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.IInventory; import net.minecraft.item.ItemStack; impor...
package werkbook.task.model.util; import werkbook.task.commons.exceptions.IllegalValueException; import werkbook.task.model.ReadOnlyTaskList; import werkbook.task.model.TaskList; import werkbook.task.model.tag.UniqueTagList; import werkbook.task.model.task.Description; import werkbook.task.model.task.EndDateTime; impor...
package org.ansj.app.keyword; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.TreeSet; import love.cq.util.StringUtil; import org.ansj.domain.Term; import org.ansj.splitWord.analysis.NlpAnalysis; public class KeyWordCompute...
package net.openhft.chronicle.wire; import net.openhft.chronicle.bytes.*; import net.openhft.chronicle.core.Maths; import net.openhft.chronicle.core.OS; import net.openhft.chronicle.core.pool.ClassAliasPool; import net.openhft.chronicle.core.util.ObjectUtils; import net.openhft.chronicle.core.util.StringUtils; import n...
package net.sf.jabref; import java.util.concurrent.*; /** * Responsible for managing of all threads (except Swing threads) in JabRef */ public class JabRefExecutorService implements Executor { public static final JabRefExecutorService INSTANCE = new JabRefExecutorService(); private final ExecutorService execu...
package net.ucanaccess.converters; import java.math.BigDecimal; import java.math.MathContext; import java.sql.Timestamp; import java.text.DateFormatSymbols; import java.text.DecimalFormat; import java.text.DecimalFormatSymbols; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calenda...
package nl.b3p.kar.stripes; import com.vividsolutions.jts.geom.GeometryCollection; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileWriter; import java.io.IOException; import java.io.O...
package nl.matsv.paaaas.tasks; import com.google.gson.Gson; import nl.matsv.paaaas.data.MinecraftData; import org.apache.commons.io.IOUtils; import org.springframework.scheduling.annotation.Async; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; import java.ne...
package org.buildobjects.process; import java.io.*; import java.util.*; import static java.util.Arrays.asList; import static org.buildobjects.process.Helper.asSet; /** A builder to construct a new process. The process gets configured by the withXXX-methods and * spawned by the run() method*/ public class ProcBuilder {...
package org.dasein.cloud.vsphere.compute; import com.vmware.vim25.*; import org.dasein.cloud.CloudException; import org.dasein.cloud.InternalException; import org.dasein.cloud.ProviderContext; import org.dasein.cloud.compute.*; import org.dasein.cloud.dc.DataCenter; import org.dasein.cloud.dc.Folder; import org.dasein....
package org.davidmoten.rx.pool; import java.io.Closeable; import java.io.IOException; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicReference; import org.davidmoten.rx.jdbc.pool.PoolClosedException; import org.reactivestreams.Subscriptio...
package org.deftserver.web.http; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.InetAddress; import java.net.ProtocolException; import java.nio.ByteBuffer; import java.util.Arrays; import java.util.Collection; import java.util.Col...
package org.icinga.plugin.oracle; import static org.icinga.plugin.oracle.NagiosStatus.CRITICAL; import static org.icinga.plugin.oracle.NagiosStatus.OK; import static org.icinga.plugin.oracle.NagiosStatus.UNKNOWN; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import org.apache....
package org.javarosa.form.api; import org.javarosa.core.model.FormDef; import org.javarosa.core.model.FormIndex; import org.javarosa.core.model.data.IAnswerData; import org.javarosa.core.model.instance.FormInstance; import org.javarosa.core.model.instance.TreeElement; import org.javarosa.core.services.transport.payload...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner stdin = new Scanner(System.in); int count = stdin.nextInt(); while (count String string = stdin.next(); int cPosition = string.indexOf('C'); if (cPosition > 1 &&...
package org.fife.ui.rtextarea; import java.awt.AWTEvent; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.awt.Image; import java.awt.Insets; import java.awt.Rectangle; import java.awt.event.ComponentEvent; import java.awt.event.FocusEvent; import java.awt.event.FocusListener; import ja...
package org.jembi.openhim; import java.io.Serializable; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.util.HashMap; import java.util.Map; import java.util.StringTokenizer; import java.util.UUID; public class RestfulHttpRequest implements Serializable { private static final lon...
package org.joow.elevator; import com.google.common.base.Optional; import com.google.common.base.Predicate; import com.google.common.base.Predicates; import com.google.common.collect.Collections2; import com.google.common.collect.Sets; import java.util.SortedSet; import java.util.TreeSet; public class ElevatorControlle...
package org.gitlab4j.api.models; import java.util.List; import org.gitlab4j.api.Constants.GroupOrderBy; import org.gitlab4j.api.Constants.SortOrder; import org.gitlab4j.api.GitLabApiForm; /** * This class is used to filter Projects when getting lists of projects for a specified group. */ public class GroupFilter { ...
package org.jtrfp.trcl; import java.lang.ref.WeakReference; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import org.apache.commons.math3.geometry.euclidean.threed.Vector3D; import org.jtrfp.trcl.obj.PositionListenable; import org.jtrfp.trcl.obj.PositionLi...
package org.grammaticalframework.reader; import java.util.Iterator; import java.util.Map; import java.util.HashMap; import java.util.Map.Entry; public class PGF { private int majorVersion; private int minorVersion; private Map<String, RLiteral> flags; private Abstract abstr; private Map<String, Conc...
package org.oucs.gaboto.model; import java.io.OutputStream; import java.util.Collection; import java.util.HashSet; import java.util.Set; import org.oucs.gaboto.entities.GabotoEntity; import org.oucs.gaboto.entities.pool.GabotoEntityPool; import org.oucs.gaboto.entities.pool.GabotoEntityPoolConfiguration; import org.ouc...
package org.usergrid.vx.experimental; import com.google.common.base.Preconditions; import groovy.lang.GroovyClassLoader; import org.apache.cassandra.config.CFMetaData; import org.apache.cassandra.config.KSMetaData; import org.apache.cassandra.config.Schema; import org.apache.cassandra.cql3.QueryProcessor; import org.ap...
package org.jboss.aesh.extensions.grep; import org.jboss.aesh.cl.Arguments; import org.jboss.aesh.cl.CommandDefinition; import org.jboss.aesh.cl.Option; import org.jboss.aesh.cl.completer.CompleterData; import org.jboss.aesh.cl.completer.OptionCompleter; import org.jboss.aesh.complete.CompleteOperation; import org.jbos...
package org.vaadin.viritin.form; import com.vaadin.ui.*; import com.vaadin.ui.themes.ValoTheme; import com.vaadin.util.ReflectTools; import java.io.Serializable; import org.vaadin.viritin.BeanBinder; import org.vaadin.viritin.MBeanFieldGroup; import org.vaadin.viritin.MBeanFieldGroup.FieldGroupListener; import org.vaad...
package org.jboss.modules; import java.io.File; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import java.util.Collections; import java.util.Enumeration; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.zip.ZipEntry; import java.util.zip.ZipFile; /**...
package pixlepix.auracascade.block; import cpw.mods.fml.common.ModAPIManager; import cpw.mods.fml.common.network.NetworkRegistry; import net.minecraft.block.Block; import net.minecraft.block.ITileEntityProvider; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IIconRegister; im...
package ptrman.levels.visual; import ptrman.Datastructures.IMap2d; import ptrman.Datastructures.Map2d; import ptrman.Datastructures.Vector2d; import ptrman.meter.event.DurationStartMeter; import java.util.HashMap; import java.util.Map; public class VisualProcessor { /** * * color to grayscale * ...
package org.minimalj.frontend.editor; import java.util.ArrayList; import java.util.List; import java.util.logging.Logger; import org.minimalj.application.DevMode; import org.minimalj.frontend.form.Form; import org.minimalj.frontend.toolkit.Action; import org.minimalj.frontend.toolkit.ClientToolkit; import org.minimalj....
package org.narwhal.core; import org.narwhal.annotation.Column; import org.narwhal.annotation.Table; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.lang.annotation.Annotation; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; ...
package se.kits.gakusei.content.model; import com.fasterxml.jackson.annotation.JsonManagedReference; import org.hibernate.annotations.Fetch; import org.hibernate.annotations.FetchMode; import javax.persistence.*; import java.io.Serializable; import java.util.List; @Entity @Table(name = "courses", schema = "contentschem...
package seedu.geekeep.storage; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlElement; import seedu.geekeep.commons.exceptions.IllegalValueException; import seedu.geekeep.model.tag.Tag; import seedu.geekeep.model.tag.UniqueTagList; import seedu.geekeep.model.task.DateTime; import...
package selling.sunshine.utils; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.UnsupportedEncodingException; import java.math.BigDecimal; import java.net.MalformedURLException; import java.net.URL...
package org.spectingular.spock.domain; import com.fasterxml.jackson.annotation.JsonIgnore; import org.bson.types.ObjectId; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.index.CompoundIndex; import org.springframework.data.mongodb.core.index.CompoundIndexes; import org.sprin...
package src.main.servlet; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.net.URISyntaxException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.ArrayList; import java.util.List; import javax.servlet.ServletException; import javax.servle...
package techreborn.items.tools; import com.google.common.collect.HashMultimap; import com.google.common.collect.Multimap; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.SharedMonsterAttributes; import net.minec...
package trinity.visitors; import trinity.ErrorReporter; import trinity.TrinityBaseVisitor; import trinity.TrinityParser; import trinity.TrinityVisitor; /** * This visitor goes through all function decls to verify that the end is not reachable. And that there are * no unreachable statements. This ensures that every fu...
package org.threeten.bp.temporal; import static org.threeten.bp.temporal.ChronoField.DAY_OF_MONTH; import static org.threeten.bp.temporal.ChronoField.DAY_OF_WEEK; import static org.threeten.bp.temporal.ChronoField.DAY_OF_YEAR; import static org.threeten.bp.temporal.ChronoField.MONTH_OF_YEAR; import static org.threeten....
// Triple Play - utilities for use in PlayN-based games package tripleplay.ui.bgs; import playn.core.ImmediateLayer; import playn.core.PlayN; import playn.core.Surface; import pythagoras.f.IDimension; import tripleplay.ui.Background; /** * A background that shows a line around a solid color. */ public class BorderedB...
package reborncore.common.fluid; import net.minecraft.block.BlockState; import net.minecraft.block.FluidBlock; import net.minecraft.fluid.BaseFluid; import net.minecraft.fluid.Fluid; import net.minecraft.fluid.FluidState; import net.minecraft.item.Item; import net.minecraft.state.StateManager; import net.minecraft.util...
package sc.iview.commands.demo; import bdv.BigDataViewer; import bdv.util.RandomAccessibleIntervalSource; import bdv.viewer.SourceAndConverter; import cleargl.GLVector; import graphics.scenery.BoundingGrid; import graphics.scenery.volumes.bdv.Volume; import ij.gui.GenericDialog; import ij.gui.NonBlockingGenericDialog; ...
package yanagishima.filter; import yanagishima.util.Constants; import javax.servlet.*; import javax.servlet.http.HttpServletResponse; import java.io.IOException; public class YanagishimaFilter implements Filter { private boolean corsEnabled; private String auditHttpHeaderName; public YanagishimaFilter(boole...
package scrum.client.files; import ilarkesto.gwt.client.Gwt; import scrum.client.common.TooltipBuilder; public class DeleteFileAction extends GDeleteFileAction { public DeleteFileAction(scrum.client.files.File file) { super(file); } @Override public String getLabel() { return "Delete"; ...
package seedu.address.commons.util; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; import java.util.concurrent.TimeUnit; import seedu.address.commons.exceptions.IllegalValueException; public class D...
package seedu.tache.model.task; import java.util.Optional; import seedu.tache.model.tag.UniqueTagList; public class DetailedTask extends Task implements ReadOnlyDetailedTask { private Date startDate; private Optional<Date> endDate; private Time startTime; private Optional<Time> endTime; public Detai...
package sheettastic.sheets; import com.fasterxml.jackson.databind.ObjectMapper; import lombok.Data; import lombok.NonNull; import org.json.JSONObject; import org.springframework.data.rest.webmvc.RepositoryRestController; import org.springframework.http.HttpMethod; import org.springframework.http.HttpStatus; import org....
package sotechat.controller; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.messaging.handler.annotation.DestinationVariable; import org.springframework.messaging.handler.annotation.MessageMapping; import or...
package tbax.baxshops.commands; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.Server; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.PlayerInventory; import org.b...
package tigase.server.ext; import tigase.db.ComponentRepository; import tigase.net.ConnectionType; import tigase.net.SocketType; import tigase.server.ConnectionManager; import tigase.server.Packet; import tigase.server.ext.handlers.BindProcessor; import tigase.server.ext.handlers.ComponentAcceptStreamOpenHandler; impor...
package tigase.server.filters; import java.util.Arrays; import java.util.Map.Entry; import java.util.concurrent.ConcurrentSkipListMap; import java.util.logging.Level; import java.util.logging.Logger; import tigase.server.Packet; import tigase.server.PacketFilterIfc; import tigase.server.QueueType; import tigase.stats.S...
package wasdev.sample.servlet; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.net.URL; import org.apache.commons.io.IOUtils; import ibm.smartWatch.heartRate.HeartRateController; import ibm.smartWatch.utils.CSVReader; import javax.servlet.ServletException; import javax.serv...
package xdi2.connect.core; import java.net.URI; import java.net.URISyntaxException; import java.security.GeneralSecurityException; import java.security.PrivateKey; import xdi2.client.exceptions.Xdi2ClientException; import xdi2.client.util.XDIClientUtil; import xdi2.core.ContextNode; import xdi2.core.features.signatures...
// B o o k P d f O u t p u t // // <editor-fold defaultstate="collapsed" desc="hdr"> // This program is free software: you can redistribute it and/or modify it under the terms of the // </editor-fold> package org.audiveris.omr.score.ui; import com.it...
// B r a c k e t I n t e r // // <editor-fold defaultstate="collapsed" desc="hdr"> // This program is free software: you can redistribute it and/or modify it under the terms of the // </editor-fold> package org.audiveris.omr.sig.inter; import org.a...
// ReaderTest.java package loci.formats.test; import java.awt.image.BufferedImage; import java.io.*; import java.util.*; import junit.framework.*; import loci.formats.*; import loci.formats.ome.OMEXMLMetadataStore; /** * JUnit tester for Bio-Formats file format readers. * Details on failed tests are written to a log ...
package main.java.frontend; import main.java.backend.produktion.*; public class WiSimFrontend { public static void main(String[] args) { // Taktgeber erzeugen: Taktgeber myTakt = new Taktgeber(); // Zentrallager anlegen: Zentrallager myLager = new Zentrallager(); Gebaeude myS...
package net.sf.savedirtyeditors.listeners; import net.sf.savedirtyeditors.PluginActivator; import net.sf.savedirtyeditors.PluginConstants; import net.sf.savedirtyeditors.jobs.SaveSnapshotJob; import net.sf.savedirtyeditors.utils.Messages; import net.sf.savedirtyeditors.utils.ResourceUtils; import org.eclipse.core.runti...
package net.techmastary.plugins.chatmaster; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; public class ChatCommand implements CommandExecutor { public Stri...
package org.TexasTorque.TexasTorque2013.io; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; import org.TexasTorque.TexasTorque2013.constants.Constants; import org.TexasTorque.TexasTorque2013.constants.Ports; import org.TexasTorque.TorqueLib.util.GenericController; import org.TexasTorque.TorqueLib.util.Param...
package org.androidfromfrankfurt.archnews; import com.negusoft.holoaccent.activity.AccentActivity; import android.app.Activity; import android.app.ActionBar; import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuItem; import android....
package org.biojava.spice.Panel; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import org.biojava.bio.structure.Chain; import org.biojava.bio.structure.Group; import org.biojava.bio.structure.Structure ; import org.biojava.spice.Feature.Feature; import org.biojava.spice.Feature...
package org.anddev.andengine.entity.sprite; import java.util.ArrayList; import javax.microedition.khronos.opengles.GL10; import org.anddev.andengine.entity.primitives.Rectangle; import org.anddev.andengine.opengl.GLHelper; import org.anddev.andengine.opengl.texture.TextureRegion; /** * @author Nicolas Gramlich * @sin...