answer
stringlengths
17
10.2M
package net.darkhax.darkutils.handler; import java.util.Arrays; import net.darkhax.bookshelf.common.BookshelfRegistry; import net.darkhax.bookshelf.item.ItemBlockBasic; import net.darkhax.bookshelf.lib.util.ItemStackUtils; import net.darkhax.bookshelf.lib.util.Utilities; import net.darkhax.darkutils.blocks.BlockAntiSli...
package org.mtransit.android.ui.view; import java.util.ArrayList; import java.util.Locale; import java.util.concurrent.TimeUnit; import org.mtransit.android.R; import org.mtransit.android.commons.MTLog; import org.mtransit.android.commons.SpanUtils; import org.mtransit.android.commons.data.AppStatus; import org.mtransi...
package net.geforcemods.securitycraft; import java.util.HashMap; import java.util.List; import java.util.Random; import net.geforcemods.securitycraft.api.CustomizableTileEntity; import net.geforcemods.securitycraft.api.IModuleInventory; import net.geforcemods.securitycraft.api.INameable; import net.geforcemods.security...
package org.objectweb.proactive.ext.util; import java.io.*; import java.util.StringTokenizer; import org.objectweb.proactive.core.mop.BytecodeStubBuilder; public class StubGenerator { public static void main (String[] args) { // This is the file into which we are about to write the bytecode for the stub ...
package org.opencms.jsp.util; import org.opencms.ade.configuration.CmsADEConfigData; import org.opencms.ade.configuration.CmsADEManager; import org.opencms.ade.configuration.CmsFunctionReference; import org.opencms.ade.containerpage.CmsContainerpageService; import org.opencms.ade.containerpage.CmsModelGroupHelper; impo...
package net.ripe.db.whois.common.rpsl; import com.google.common.base.Function; import com.google.common.collect.ImmutableList; import com.google.common.collect.Iterables; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.collect.Sets; import org.apache.commons.lang....
package org.pentaho.di.trans.steps.validator; import org.pentaho.di.core.Const; import org.pentaho.di.core.exception.KettleException; import org.pentaho.di.core.exception.KettleStepException; import org.pentaho.di.core.exception.KettleValueException; import org.pentaho.di.core.row.RowMetaInterface; import org.pentaho.d...
package net.sf.jabref.gui.entryeditor; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.SystemColor; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Optional; import java.util.stream.Collectors; import javax.swin...
package pacman.model.behaviour; import jade.core.AID; import jade.lang.acl.ACLMessage; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ThreadLocalRandom; import pacman.model.agent.PacmanAgent; import pacman.model.board.Board; import pacman.model.board.Cell; import pacman.model.board.CellT...
package nl.dykam.dev.reutil.data; import org.bukkit.Chunk; import org.bukkit.block.Block; import org.bukkit.entity.Player; import java.util.HashMap; import java.util.Map; class MapComponentStorage implements ComponentStorage { // Quick&Dirty. Map<Object, ComponentMap> map = new HashMap<>(); @Override @S...
package org.bsc.maven.plugin.processor; import javax.tools.JavaFileObject; import javax.tools.SimpleJavaFileObject; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.net.URI; import java.net.URISyntaxException; imp...
package org.jcodec.containers.mp4.demuxer; import static org.jcodec.common.Fourcc.free; import static org.jcodec.common.Fourcc.ftyp; import static org.jcodec.common.Fourcc.mdat; import static org.jcodec.common.Fourcc.moov; import static org.jcodec.common.Fourcc.wide; import java.io.IOException; import java.nio.ByteBuff...
package org.lantern; import java.net.Socket; import org.apache.commons.io.IOUtils; import org.jboss.netty.buffer.ChannelBuffer; import org.jboss.netty.channel.ChannelHandler.Sharable; import org.jboss.netty.channel.ChannelHandlerContext; import org.jboss.netty.channel.ChannelStateEvent; import org.jboss.netty.channel.E...
package org.mitre.taxii.messages.xml10; import java.net.URI; import java.util.List; import java.util.Map; import java.util.Random; /** * This class provides some convenience methods to make constructing TAXII messages * easier. * * @author jasenj1 */ public class MessageHelper { private static final int ID_LIM...
package org.motechproject.ws.server; import org.motechproject.ws.*; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebService; import java.util.Date; /** * The service endpoint interface for the major motech server web service * endpoint. The annotations allow for minimal configuration deploy...
package org.pentaho.di.trans.steps.html2xml; import java.io.StringReader; import java.io.StringWriter; import org.pentaho.di.core.Const; import org.pentaho.di.core.exception.KettleException; import org.pentaho.di.core.exception.KettleStepException; import org.pentaho.di.core.row.RowDataUtil; import org.pentaho.di.i18n....
package org.recap.camel; import org.apache.camel.CamelContext; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.model.dataformat.BindyType; import org.recap.ReCAPConstants; import org.recap.model.csv.ReCAPCSVFailureRecord; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springfr...
package org.red5.server.net.rtmp; import java.util.concurrent.Callable; import java.util.concurrent.atomic.AtomicBoolean; import org.red5.server.api.Red5; import org.red5.server.net.rtmp.message.Packet; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public final class ReceivedMessageTask implements Callable<B...
package org.sagebionetworks.dashboard.dao; public interface LogFileDao { void put(String filePath, int logType); void cleanup(); long count(); }
package org.voovan.http.server.router; import org.voovan.http.server.HttpBizHandler; import org.voovan.http.server.HttpRequest; import org.voovan.http.server.HttpResponse; import org.voovan.http.server.MimeTools; import org.voovan.http.server.exception.ResourceNotFound; import org.voovan.tools.TDateTime; import org.voo...
package seedu.taskmanager.logic.commands; import static seedu.taskmanager.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; import java.util.logging.*; import seedu.taskmanager.commons.core.LogsCenter; ...
package techreborn.tiles.tier1; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.Container; import net.minecraft.inventory.IInventory; import net.minecraft.inventory.InventoryCrafting; import net.minecraft.item.ItemStack; import net.minecraft.item.crafting.CraftingManager; import net.mine...
package top.quantic.sentry.service; import com.codahale.metrics.Gauge; import com.codahale.metrics.Histogram; import com.codahale.metrics.MetricRegistry; import com.codahale.metrics.Timer; import com.ibasco.agql.core.exceptions.ReadTimeoutException; import com.ibasco.agql.protocols.valve.source.query.SourceRconAuthStat...
package vg.civcraft.mc.civmodcore.util; import java.util.List; import java.util.Map; import java.util.concurrent.TimeUnit; import java.util.function.Function; import java.util.function.Predicate; import java.util.logging.Logger; import org.bukkit.Bukkit; import org.bukkit.Color; import org.bukkit.Location; import org.b...
// PSDReader.java package loci.formats.in; import java.io.IOException; import loci.common.ByteArrayHandle; import loci.common.RandomAccessInputStream; import loci.formats.FormatException; import loci.formats.FormatReader; import loci.formats.FormatTools; import loci.formats.MetadataTools; import loci.formats.codec.Code...
package net.hyperic.sigar.test; import net.hyperic.sigar.Sigar; import net.hyperic.sigar.SigarNotImplementedException; import net.hyperic.sigar.SigarProxy; import net.hyperic.sigar.Cpu; public class TestCpu extends SigarTestCase { public TestCpu(String name) { super(name); } private void checkCpu(Cp...
package hex.tree.drf; import org.junit.*; import static org.junit.Assert.assertEquals; import water.*; import water.fvec.Frame; import water.fvec.RebalanceDataSet; import water.fvec.Vec; import water.util.Log; import java.util.Arrays; public class DRFTest extends TestUtil { @BeforeClass public static void stall() { s...
package nz.bradcampbell.paperparcel; import android.os.Parcelable; import java.lang.reflect.Field; import java.util.Map; /** * Central mechanism for {@link #wrap(Object)}ing/{@link #unwrap(Parcelable)}ping arbitrary * PaperParcel objects. */ public final class PaperParcels { static final Map<Class, Delegator> FROM...
package bisq.core.dao.state; import bisq.core.app.BisqEnvironment; import bisq.core.btc.BaseCurrencyNetwork; import bisq.core.dao.DaoOptionKeys; import org.bitcoinj.core.Coin; import javax.inject.Inject; import javax.inject.Named; import lombok.Getter; import lombok.extern.slf4j.Slf4j; /** * Encapsulate the genesis tx...
package com.argo.runner; import com.argo.core.ContextConfig; import com.argo.core.configuration.SiteConfig; import com.argo.core.json.JsonUtil; import com.argo.core.msgpack.MsgPackResponse; import com.argo.core.protobuf.ProtobufMessage; import com.argo.core.utils.TokenUtil; import com.argo.core.web.JsonResponse; import...
package hudson.matrix; import hudson.FilePath; import hudson.tasks.Builder; import hudson.tasks.Publisher; import hudson.tasks.BuildWrapper; import hudson.tasks.LogRotator; import hudson.model.DependencyGraph; import hudson.model.Hudson; import hudson.model.Item; import hudson.model.ItemGroup; import hudson.model.JDK; ...
package hudson.matrix; import hudson.util.DescribableList; import hudson.model.AbstractBuild; import hudson.model.Cause; import hudson.model.CauseAction; import hudson.model.DependencyGraph; import hudson.model.Descriptor; import hudson.model.Hudson; import hudson.model.Item; import hudson.model.ItemGroup; import hudso...
package io.minecloud.models.server; import io.minecloud.db.mongo.model.MongoEntity; import io.minecloud.models.network.Network; import io.minecloud.models.nodes.Node; import io.minecloud.models.player.PlayerData; import io.minecloud.models.server.type.ServerType; import lombok.EqualsAndHashCode; import lombok.Setter; i...
package org.bouncycastle.math.ec; import java.math.BigInteger; public abstract class WNafUtil { private static int[] DEFAULT_WINDOW_SIZE_CUTOFFS = new int[]{ 13, 41, 121, 337, 897, 2305 }; public static int[] generateCompactNaf(BigInteger k) { BigInteger _3k = k.shiftLeft(1).add(k); int digi...
package org.javarosa.xpath.expr; import org.javarosa.core.util.Interner; import org.javarosa.core.util.externalizable.DeserializationException; import org.javarosa.core.util.externalizable.ExtUtil; import org.javarosa.core.util.externalizable.ExtWrapListPoly; import org.javarosa.core.util.externalizable.ExtWrapNullable...
package gov.nih.nci.calab.db; import java.io.Serializable; import java.sql.Connection; import java.util.Date; import java.util.List; import org.apache.log4j.Logger; import org.hibernate.Criteria; import org.hibernate.Query; import org.hibernate.SQLQuery; import org.hibernate.Session; import org.hibernate.SessionFactory...
package net.mgsx.game.plugins.core.tools; import com.badlogic.ashley.core.Entity; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Input; import com.badlogic.gdx.math.Rectangle; import com.badlogic.gdx.math.Vector2; import com.badlogic.gdx.math.Vector3; import com.badlogic.gdx.utils.Array; import net.mgsx.game.core...
package tut.baseball435.spaceinvaders.entity; import tut.baseball435.spaceinvaders.TextureManager; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Input.Keys; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.math.Vector2; public class Player extends Entity { public Player( Vector2 pos, Vector2...
package org.hsqldb_voltpatches; import org.hsqldb_voltpatches.lib.IntValueHashMap; import org.hsqldb_voltpatches.lib.OrderedIntHashSet; /** * Defines and enumerates reserved and non-reserved SQL keywords.<p> * * @author Nitin Chauhan (initial work) * @author Fred Toussi (fredt@users dot sourceforge.net) * @versio...
package bt.it.pex; import bt.it.fixture.BaseBtTest; import bt.it.fixture.SharedTrackerModule; import bt.it.fixture.SharedTrackerModule.PeerFilter; import bt.it.fixture.Swarm; import bt.it.fixture.SwarmPeer; import bt.net.Peer; import bt.peerexchange.PeerExchangeConfig; import bt.peerexchange.PeerExchangeModule; import ...
package butterknife; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.RetentionPolicy.CLASS; @Retention(CLASS) @Target(FIELD) public @interface InjectView { int value(); }
package info.tregmine.listeners; import info.tregmine.Tregmine; import info.tregmine.api.Notification; import info.tregmine.api.TregminePlayer; import info.tregmine.api.lore.Lore.Armor; import info.tregmine.api.lore.Lore.Sword; import java.util.EnumSet; import java.util.List; import java.util.Random; import java.util.S...
package inpro.synthesis.hts; import inpro.incremental.util.TTSUtil.SynthesisPayload; import inpro.synthesis.MaryAdapter5internal; import java.util.ArrayList; import java.util.List; import javax.sound.sampled.AudioFormat; import javax.sound.sampled.AudioInputStream; import org.w3c.dom.Element; import marytts.datatypes.M...
package com.sun.facelets; import java.io.FileNotFoundException; import java.io.IOException; import java.io.Writer; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import java.util.List; import java.util.Locale; import java.util....
package com.sun.facelets; import java.io.FileNotFoundException; import java.io.IOException; import java.io.Writer; import java.net.MalformedURLException; import java.net.URL; import java.util.Iterator; import java.util.Locale; import java.util.logging.Level; import java.util.logging.Logger; import javax.faces.FacesExce...
package nu.validator.servlet; import java.io.InputStream; import java.io.OutputStream; import java.net.ConnectException; import java.net.InetAddress; import java.net.ServerSocket; import java.net.Socket; import nu.validator.servletfilter.InboundGzipFilter; import nu.validator.servletfilter.InboundSizeLimitFilter; impor...
package org.jaxen.util; import java.io.*; import java.util.*; public class IdentityHashMap extends AbstractMap implements Map, Cloneable, java.io.Serializable { /** * The hash table data. */ private transient Entry table[]; /** * The total number of ma...
package org.apache.commons.lang; import java.math.BigInteger; import java.math.BigDecimal; /** * <p>Provides extra functionality for Java Number classes.</p> * * @author <a href="mailto:bayard@generationjava.com">Henri Yandell</a> * @author <a href="mailto:rand_mcneely@yahoo.com">Rand McNeely</a> * @author Stephen...
package org.apache.commons.lang; import java.util.ArrayList; import java.util.Iterator; import java.util.List; public class StringUtils { // Performance testing notes (JDK 1.4, Jul03, scolebourne) // Whitespace: // Character.isWhitespace() is faster than WHITESPACE.indexOf() // where WHITESPACE is a str...
package com.intellij.openapi.project; import com.intellij.openapi.fileTypes.FileType; import com.intellij.openapi.fileTypes.InternalFileType; import com.intellij.openapi.util.Comparing; import com.intellij.openapi.util.SystemInfoRt; import com.intellij.openapi.vfs.VirtualFile; public class ProjectCoreUtil { public st...
package com.intellij.openapi.project; import com.intellij.openapi.fileTypes.FileType; import com.intellij.openapi.fileTypes.InternalFileType; import com.intellij.openapi.util.Comparing; import com.intellij.openapi.util.SystemInfoRt; import com.intellij.openapi.vfs.VirtualFile; import org.jetbrains.annotations.Nullable;...
package org.apache.lucene.index; import java.io.IOException; import java.io.File; import java.io.PrintStream; import java.util.Vector; import org.apache.lucene.store.Directory; import org.apache.lucene.store.RAMDirectory; import org.apache.lucene.store.FSDirectory; import org.apache.lucene.store.Lock; import org.apache...
package org.apache.lucene.index; import java.io.IOException; import java.io.File; import java.io.PrintStream; import java.util.Vector; import org.apache.lucene.store.Directory; import org.apache.lucene.store.RAMDirectory; import org.apache.lucene.store.FSDirectory; import org.apache.lucene.store.Lock; import org.apache...
package org.apache.velocity.runtime; import java.io.InputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.net.URL; import java.net.MalformedURLException; import java.util.Hashtable; import java.util.Properties; import java.util.Stack; import org.apache.log.LogKit; imp...
package com.intellij.ui.tree; import com.intellij.ide.util.treeView.AbstractTreeNode; import com.intellij.ide.util.treeView.AbstractTreeStructure; import com.intellij.ide.util.treeView.NodeDescriptor; import com.intellij.ide.util.treeView.ValidateableNode; import com.intellij.openapi.Disposable; import com.intellij.ope...
package com.intellij.ui.win; import com.intellij.openapi.Disposable; import com.intellij.openapi.components.Service; import com.intellij.openapi.components.ServiceManager; import com.intellij.openapi.util.SystemInfo; import com.intellij.util.ConcurrencyUtil; import com.intellij.util.loader.NativeLibraryLoader; import o...
package com.intellij.vcs.log.ui; import com.google.common.util.concurrent.ListenableFuture; import com.google.common.util.concurrent.SettableFuture; import com.intellij.openapi.Disposable; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.diagnostic.Logger; import com.intellij.open...
package task.timer.view; import java.security.NoSuchAlgorithmException; import java.util.List; import org.hibernate.SessionFactory; import org.hibernate.cfg.Configuration; import arch.task.timer.model.ManageUsers; import arch.task.timer.model.UserFx; import javafx.collections.FXCollections; import javafx.collections.Ob...
package com.google.sps.servlets; import com.google.cloud.Date; import com.google.cloud.language.v1.ClassificationCategory; import com.google.cloud.language.v1.ClassifyTextResponse; import com.google.cloud.language.v1.ClassifyTextRequest; import com.google.cloud.language.v1.Document; import com.google.cloud.language.v1....
package com.google.sps.servlets; import com.google.cloud.Date; import com.google.cloud.language.v1.ClassificationCategory; import com.google.cloud.language.v1.ClassifyTextResponse; import com.google.cloud.language.v1.ClassifyTextRequest; import com.google.cloud.language.v1.Document; import com.google.cloud.language.v1....
package com.opengamma.web.bundle; import java.io.IOException; import java.util.List; import org.apache.commons.io.IOUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.opengamma.DataNotFoundException; import com.opengamma.util.ArgumentChecker; import com.opengamma.web.sass.RubySassCompiler; /** ...
package co.aikar.timings; import static co.aikar.timings.TimingsManager.HISTORY; import co.aikar.util.JSONUtil; import co.aikar.util.JSONUtil.JsonObjectBuilder; import com.google.common.base.Joiner; import com.google.common.collect.Sets; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.g...
package com.bazaarvoice.jolt; import org.codehaus.jackson.JsonFactory; import org.codehaus.jackson.map.ObjectMapper; import org.codehaus.jackson.type.TypeReference; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.HashMap; import j...
package com.bio4j.exporter; import com.tinkerpop.gremlin.process.Traversal; import com.tinkerpop.gremlin.process.graph.step.map.FlatMapStep; import com.tinkerpop.gremlin.process.graph.step.map.MapStep; import com.tinkerpop.gremlin.process.graph.step.map.StartStep; import com.tinkerpop.gremlin.process.util.DefaultTraver...
package com.clementscode.mmi.swing; import java.awt.BorderLayout; import java.awt.Color; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.awt.image.BufferedImage; import java.io.File; import java.io.FileInputStream; import j...
package com.cloudera.fce; import java.io.IOException; import java.util.regex.Pattern; import java.util.Arrays; import java.nio.ByteBuffer; import java.nio.IntBuffer; import java.nio.CharBuffer; import java.nio.FloatBuffer; import java.nio.ByteOrder; import org.apache.hadoop.conf.Configured; import org.apache.hadoop.uti...
package com.comandante.creeper.npc; import com.comandante.creeper.Items.Effect; import com.comandante.creeper.Items.Item; import com.comandante.creeper.Items.Loot; import com.comandante.creeper.Items.Rarity; import com.comandante.creeper.entity.CreeperEntity; import com.comandante.creeper.managers.GameManager; import c...
package com.continuuity; import ch.qos.logback.classic.Logger; import com.continuuity.common.conf.CConfiguration; import com.continuuity.common.conf.Constants; import com.continuuity.common.utils.Copyright; import com.continuuity.common.zookeeper.InMemoryZookeeper; import com.continuuity.data.runtime.DataFabricModules;...
package com.fishercoder.solutions; import com.fishercoder.common.classes.TreeNode; import java.util.Deque; import java.util.LinkedList; import java.util.Queue; import java.util.Stack; public class _173 { public static class Solution1 { public static class BSTIterator { private Queue<Integer> que...
package com.fishercoder.solutions; import java.util.Stack; public class _232 { public static class Solution1 { class MyQueue { Stack<Integer> input = new Stack(); Stack<Integer> output = new Stack(); // Push element x to the back of queue. public void push(int...
package com.fishercoder.solutions; import java.util.ArrayList; import java.util.List; /** * 305. Number of Islands II * * A 2d grid map of m rows and n columns is initially filled with water. * We may perform an addLand operation which turns the water at position (row, col) into a land. * Given a list of positions...
package com.fishercoder.solutions; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class _656 { public static class Solution1 { public List<Integer> cheapestJump(int[] A, int B) { int[] next = new int[A.length]; long[] dp = new long[A.length]; ...
package com.fishercoder.solutions; public class _740 { public static class Solution1 { public int deleteAndEarn(int[] nums) { int n = 10001; int[] values = new int[n]; for (int num : nums) { values[num] += num; } int take = 0; ...
package com.fishercoder.solutions; import java.util.Arrays; import java.util.HashSet; import java.util.Set; import java.util.stream.Collectors; public class _893 { public static class Solution1 { /** * my original solution, a bit lengthy: * generate a unique signaure as key for each equive...
package com.github.underscore.lodash; import com.github.underscore.BinaryOperator; import com.github.underscore.BiFunction; import com.github.underscore.Consumer; import com.github.underscore.Function; import com.github.underscore.Function3; import com.github.underscore.Predicate; import com.github.underscore.Predicate...
package com.justbuyit.config; import java.util.Properties; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.ViewResolver; import org.springframework.web.ser...
package com.keithbranton.mojo; import java.io.File; import java.io.IOException; 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.util.Set; import java.util.regex.Matcher; import...
package com.kodedu.component; import com.kodedu.config.EditorConfigBean; import com.kodedu.controller.ApplicationController; import com.kodedu.engine.AsciidocWebkitConverter; import com.kodedu.other.Current; import com.kodedu.service.ThreadService; import javafx.beans.property.ReadOnlyObjectProperty; import javafx.bean...
package com.lsnare.film.util; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.lsnare.film.dao.FilmDAO; import com.lsnare.film.exception.MyAPIFilmsConnectionException; import com.lsnare.film.model.Actor; import com.lsnare.film.model.Director; import com.lsnare.film.model.Movie; import com.lsn...
package com.intellij.refactoring; import com.intellij.find.findUsages.PsiElement2UsageTargetAdapter; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.command.CommandProcessor; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.localVcs.LvcsAction; import co...
package com.ociweb.gl.impl; import java.util.ArrayList; import java.util.concurrent.TimeUnit; 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.Builder; import com.ociweb.gl.api.GreenCommandChannel; impor...
package com.poseidon; import com.poseidon.logout.CustomLogoutHandler; import com.poseidon.logout.LogoutRequestMatcher; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.authentication.builders...
package org.wiztools.restclient.util; import java.nio.charset.Charset; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.wiztools.commons.Charsets; import org.wiztools.commons.MultiValueMap; import org.wiztools.commons.StringUtil; import org.wiztools.restclient.ContentType; import org.wiztools....
// OOO GWT Utils - utilities for creating GWT applications // This library is free software; you can redistribute it and/or modify it // (at your option) any later version. // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // You shou...
package com.votors.umls.graph; import com.mxgraph.layout.hierarchical.mxHierarchicalLayout; import com.mxgraph.layout.mxCircleLayout; import com.mxgraph.layout.mxFastOrganicLayout; import com.mxgraph.layout.mxGraphLayout; import com.mxgraph.swing.mxGraphComponent; import org.apache.commons.csv.CSVFormat; import org.apa...
package com.wuest.prefab.gui; import com.google.common.collect.ImmutableList; import com.mojang.blaze3d.vertex.PoseStack; import com.mojang.serialization.Codec; import com.wuest.prefab.Quadruple; import com.wuest.prefab.Tuple; import com.wuest.prefab.Utils; import com.wuest.prefab.config.ConfigCategory; import com.wues...
package de.braintags.netrelay; import java.io.IOException; import java.security.GeneralSecurityException; import java.util.List; import de.braintags.netrelay.controller.BodyController; import de.braintags.netrelay.controller.CookieController; import de.braintags.netrelay.controller.FailureController; import de.braintag...
/* *\ ** SICU Stress Measurement System ** ** Project P04 | C380 Team A ** ** EBME 380: Biomedical Engineering Design Experience ** ** ...
package elegit; import com.jcraft.jsch.UserInfo; import de.jensd.fx.glyphs.GlyphsDude; import de.jensd.fx.glyphs.fontawesome.FontAwesomeIcon; import javafx.application.Platform; import javafx.beans.property.BooleanProperty; import javafx.beans.property.SimpleBooleanProperty; import javafx.event.EventHandler; import jav...
package fr.mcgivrer.apps.sparkpost; import static spark.Spark.before; import static spark.Spark.delete; import static spark.Spark.get; import static spark.Spark.halt; import static spark.Spark.post; import static spark.Spark.put; import static spark.Spark.threadPool; import static spark.Spark.port; /** * The main clas...
package com.oswad.init; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; import com.oswad.init.WordMap; /** * Classifier for Wordpress Content * */ public class Classifier implements Runnable { ...
package io.praesid.livestats; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableList.Builder; import com.google.common.collect.ImmutableMap; import com.google.common.util.concurrent.AtomicDouble; import lombok.ToString; import javax.annotation.concurrent.ThreadSafe; import java.u...
package javax.time.calendar; import java.io.Serializable; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import javax.time.CalendricalException; /** * A time-zone offset from UTC, such as {@code +02:00}. * <p> * A time-zone offset is the period of time that a time-zone diff...
package mcjty.rftools; import mcjty.rftools.blocks.endergen.EnderMonitorTileEntity; import mcjty.rftools.blocks.endergen.EndergenicTileEntity; import mcjty.rftools.blocks.endergen.PearlInjectorTileEntity; import mcjty.rftools.blocks.logic.sequencer.SequencerTileEntity; import mcjty.rftools.blocks.logic.timer.TimerTileE...
package mho.wheels.math; import mho.wheels.misc.BigDecimalUtils; import mho.wheels.misc.FloatingPointUtils; import mho.wheels.misc.Readers; import mho.wheels.ordering.Ordering; import mho.wheels.structures.Pair; import org.jetbrains.annotations.NotNull; import java.math.BigDecimal; import java.math.BigInteger; import j...
package myessentials.utils; import com.mojang.authlib.GameProfile; import cpw.mods.fml.common.FMLCommonHandler; import cpw.mods.fml.common.registry.GameRegistry; import myessentials.MyEssentialsCore; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayerMP; import net.minecraft...
// WebMvcConfig.java package net.sf.sze.config; import de.ppi.spring.mvc.formatter.NonEmptyStringAnnotationFormatterFactory; import de.ppi.spring.mvc.oval.JPAAnnotationConfigLazy; import de.ppi.spring.mvc.oval.MessageLookupContextRenderer; import de.ppi.spring.mvc.oval.MessageLookupMessageValueFormatter; import de.ppi....
package org.adonai.export; import java.io.File; import java.util.ArrayList; import java.util.Collection; import java.util.Comparator; import java.util.List; import org.adonai.AreaInfo; import org.adonai.LocationInfo; import org.adonai.LocationInfoCalculator; import org.adonai.SizeInfo; import org.adonai.model.Line; imp...
package org.basex.io.serial; import static org.basex.data.DataText.*; import static org.basex.io.serial.SerializerProp.*; import static org.basex.query.QueryText.*; import static org.basex.query.util.Err.*; import static org.basex.util.Token.*; import java.io.*; import org.basex.data.*; import org.basex.query.iter.*; i...
package org.basex.query; import static org.basex.core.Text.*; import org.basex.core.*; import org.basex.query.item.*; import org.basex.query.util.*; import org.basex.util.*; import org.basex.util.list.*; public final class QueryException extends Exception { /** Error QName. */ private final QNm name; /** Error va...