answer
stringlengths
17
10.2M
package me.coley.recaf.search; import com.google.common.collect.ListMultimap; import com.google.common.collect.MultimapBuilder; import com.google.common.collect.Multimaps; import me.coley.recaf.util.ClassUtil; import me.coley.recaf.workspace.Workspace; import org.objectweb.asm.*; import org.objectweb.asm.tree.*; import...
package me.nallar.javapatcher.patcher; import com.google.common.base.Joiner; import com.google.common.base.Splitter; import com.google.common.collect.Lists; import com.google.common.io.Files; import javassist.CannotCompileException; import javassist.ClassPool; import javassist.CtBehavior; import javassist.CtClass; impo...
package mil.nga.geopackage.db.table; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.logging.Level; import java.util.logging.Logger; import mil.nga.geopackage.GeoPackageException; import mil.nga.geopackage.db.CoreSQLUtils;...
package mod.microbiology.gui; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.Gui; import net.minecraft.client.gui.GuiScreen; public class GUIMicroanalyzer extends GuiScreen { @Override public void drawScreen(int p_73863_1_, int p_73863_2_, float p_73863_3_) { this.drawCenteredStr...
package net.cvcg.ian.tictactoe; import java.util.Random; public class TicTacToeBoard { private Player[][] board; public TicTacToeBoard() { board = new Player[3][3]; // default initial value is null } public void move(Player player, int x, int y) { assert player != null; board[x][...
package net.darkmorford.jas.proxy; import net.darkmorford.jas.JustAnotherSnad; import net.darkmorford.jas.block.BlockSnad; import net.darkmorford.jas.init.ModBlocks; import net.minecraft.block.Block; import net.minecraft.block.BlockSand; import net.minecraft.item.Item; import net.minecraft.item.ItemBlock; import net.mi...
package net.imagej.ui.swing.script; import java.awt.Dimension; import java.awt.Font; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.ComponentAdapter; import java.awt.event.Componen...
package net.openhft.chronicle.wire; import net.openhft.chronicle.bytes.*; import net.openhft.chronicle.bytes.util.Compression; import net.openhft.chronicle.bytes.util.UTF8StringInterner; import net.openhft.chronicle.core.Maths; import net.openhft.chronicle.core.pool.ClassAliasPool; import net.openhft.chronicle.core.uti...
package net.orfjackal.nestedjunit; import org.junit.runner.Description; import org.junit.runner.notification.RunNotifier; import org.junit.runners.BlockJUnit4ClassRunner; import org.junit.runners.model.*; import java.util.*; /** * Allows organizing JUnit 4 tests into member classes. This makes it possible * to write ...
package org.openhab.binding.milight.handler; import org.eclipse.smarthome.core.library.types.DecimalType; import org.eclipse.smarthome.core.library.types.HSBType; import org.eclipse.smarthome.core.library.types.OnOffType; import org.eclipse.smarthome.core.library.types.PercentType; import org.eclipse.smarthome.core.lib...
package net.spy.memcached; import java.io.IOException; import java.net.ConnectException; import java.net.InetSocketAddress; import java.net.SocketAddress; import java.net.SocketException; import java.nio.ByteBuffer; import java.nio.channels.ClosedChannelException; import java.nio.channels.SelectionKey; import java.nio....
package no.javazone.devnull; import no.javazone.sessions.EmsIds; import java.net.URI; public class DevNullUriCreator { private String baseUrl; public DevNullUriCreator(String baseUrl) { this.baseUrl = baseUrl; } public URI mapToUri(EmsIds emsIds) { return URI.create(String.format( ...
package notpure.antlr4.macro.util; /** * Array utility methods. */ public final class ArrayHelper { /** * Linear-search implementation, uses {@link ArrayHelper#find(Object[], Object)}. * @return True if target is included in the source array. */ public static <T> boolean arrayContains(T[] src, ...
package org.cubeengine.dirigent.parser; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.cubeengine.dirigent.Component; import org.cubeengine.dirigent.Message; import org.cubeengine.dirigent.parser.component.Text;...
package org.icij.extract.core; import org.icij.extract.interval.TimeDuration; import java.util.logging.Logger; import java.util.concurrent.Future; import java.util.concurrent.Callable; import java.util.concurrent.TimeUnit; import java.util.concurrent.Executors; import java.util.concurrent.ExecutorService; import java.u...
package org.lightmare.cache; import javax.transaction.UserTransaction; /** * Caches {@link javax.transaction.Transaction} objects for each method call in * {@link ThreadLocal} cache * * @author Levan Tsinadze * @since 0.0.81-SNAPSHOT * @see org.lightmare.jpa.jta.UserTransactionImpl * @see org.lightmare.jpa.jta.B...
package org.lightmare.libraries; import java.io.File; import java.io.IOException; import java.lang.reflect.Method; import java.net.URL; import java.net.URLClassLoader; import java.security.AccessController; import java.security.PrivilegedAction; import java.util.HashSet; import java.util.Set; import java.util.concurren...
package javaExamples; import java.io.FileInputStream; import java.io.FileNotFoundException; import org.jetel.component.ComponentFactory; import org.jetel.connection.DBConnection; import org.jetel.data.DataRecord; import org.jetel.data.Defaults; import org.jetel.lookup.DBLookupTable; import org.jetel.metadata.DataRecord...
package org.lightmare.libraries; import java.io.File; import java.io.IOException; import java.lang.reflect.Method; import java.net.URL; import java.net.URLClassLoader; import java.security.AccessController; import java.security.PrivilegedAction; import java.util.HashSet; import java.util.Set; import java.util.concurren...
package org.lightmare.utils.reflect; import java.io.IOException; import java.lang.annotation.Annotation; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.ArrayLis...
package org.lognavigator.bean; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlTransient; import javax.xml.bind.annotation.XmlType; /** ...
package edu.wheaton.simulator.test.statistics; import java.awt.Color; import java.util.HashMap; import java.util.HashSet; import java.util.Set; import junit.framework.Assert; import org.junit.After; import org.junit.Before; import org.junit.Test; import edu.wheaton.simulator.datastructure.ElementAlreadyContainedExcepti...
package org.opentripplanner.streets; import com.conveyal.osmlib.Node; import gnu.trove.list.TIntList; import gnu.trove.list.array.TIntArrayList; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.Serializable; import java.util.ArrayList; import java.util.List; /** * Column store is better than str...
package experimentalcode.heidi.tools; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTable; import javax.swing.event.TableModelEvent; import javax.swing.event.T...
package org.csstudio.nams.configurator.views; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import org.csstudio.nams.configurator.editor.AbstractEditor; import org.csstudio.nams.configurator.service.synchronize.SynchronizeService; import org.eclipse.swt.SWT; import org.eclipse.swt...
package org.owasp.esapi.reference; import org.owasp.esapi.ESAPI; import org.owasp.esapi.HTTPUtilities; import org.owasp.esapi.Logger; import org.owasp.esapi.User; import org.owasp.esapi.errors.*; import javax.servlet.http.HttpSession; import java.io.Serializable; import java.util.Set; import java.util.HashSet; import j...
package fr.tolc.jahia.intellij.plugin.cnd.utils; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import com.intellij.openapi.project.Project; import com.intellij.openapi.vfs.VirtualFile; import ...
package com.atlassian.plugin.webresource; import com.atlassian.plugin.ModuleDescriptor; import java.util.LinkedHashSet; import java.util.List; import java.util.Stack; import java.util.Collections; import java.util.Set; import org.slf4j.Logger; import org.slf4j.LoggerFactory; class DefaultResourceDependencyResolver impl...
package org.intermine.web.filters; import java.util.Enumeration; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.se...
package org.restheart.handlers; import com.mongodb.BasicDBObject; import com.mongodb.DBObject; import org.restheart.db.DBCursorPool.EAGER_CURSOR_ALLOCATION_POLICY; import org.restheart.utils.URLUtils; import io.undertow.server.HttpServerExchange; import io.undertow.util.HeaderValues; import io.undertow.util.Headers; im...
package org.voltdb.elt.processors; import java.io.*; import java.nio.ByteBuffer; import java.util.*; import java.util.concurrent.LinkedBlockingDeque; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; import org.apache.log4j.Logger; import org.voltdb.elt.*; import org.voltdb.messagi...
package uk.ac.ebi.atlas.experimentimport.coexpression; import uk.ac.ebi.atlas.utils.CsvReaderFactory; import au.com.bytecode.opencsv.CSVReader; import org.springframework.beans.factory.annotation.Value; import javax.inject.Inject; import javax.inject.Named; import java.nio.file.NoSuchFileException; import java.text.Mes...
package org.voltdb.plannodes; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import org.json_voltpatches.JSONArray; import org.json_voltpatches.JSONException; import org.json_voltpatches.JSONObject; import org.json_voltpatches.JSONString; import org.json_vo...
package io.irontest.utils; import io.irontest.core.assertion.PlaceholderDifferenceEvaluator; import org.w3c.dom.Document; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import org.xml.sax.InputSource; import org.xml.sax.SAXException; import org.xmlunit.XMLUnitException; import org.xmlunit.builder.DiffBuilder; im...
package org.scijava.console; import java.io.IOException; import java.io.OutputStream; import java.util.ArrayList; import java.util.List; import java.util.concurrent.CopyOnWriteArrayList; public class MultiOutputStream extends OutputStream { private final List<OutputStream> streams; /** * Forwards output to...
package com.litle.sdk; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import org.junit.Assume; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io...
package org.javarosa.j2me.storage.rms; import java.util.Enumeration; import java.util.Hashtable; import java.util.Vector; import javax.microedition.rms.InvalidRecordIDException; import javax.microedition.rms.RecordEnumeration; import javax.microedition.rms.RecordStore; import javax.microedition.rms.RecordStoreException...
package org.sinmetal.flow; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.google.api.services.bigquery.model.TableRow; import com.google.cloud.dataflow.sdk.Pipeline; import com.google.cloud.dataflow.s...
package me.alessandropetrozzelli.jaus; import java.lang.UnsupportedOperationException; public class SquareMap implements WorldMap { @Override public boolean isEmpty() { throw new UnsupportedOperationException(); } @Override public boolean add(Guest guest) { throw new UnsupportedOpera...
package org.telegram.api.engine.file; import org.telegram.api.engine.Logger; import org.telegram.api.engine.TelegramApi; import org.telegram.mtproto.secure.CryptoUtils; import java.io.FileNotFoundException; import java.io.IOException; import java.io.RandomAccessFile; import java.util.ArrayList; import java.util.Random;...
package gov.nih.nci.calab.ui.particle; import gov.nih.nci.calab.dto.characterization.CharacterizationBean; import gov.nih.nci.calab.dto.characterization.CharacterizationTypeBean; import gov.nih.nci.calab.dto.common.InstrumentBean; import gov.nih.nci.calab.dto.common.LabFileBean; import gov.nih.nci.calab.dto.common.User...
package org.testng.internal; import java.lang.reflect.Constructor; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.List; import java.util.Map; import java.util.Set; import org.testng.IClass; import org.testng.IInstanceInfo; import org.testng.ITestContext; import org.testng.ITestObje...
package org.phenotips.data.push.internal; import org.phenotips.Constants; import org.phenotips.data.Patient; import org.phenotips.data.internal.controller.VersionsController; import org.phenotips.data.push.PushPatientData; import org.phenotips.data.push.PushServerConfigurationResponse; import org.phenotips.data.push.Pu...
package org.hogedriven.client; import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.profile.ProfileCredentialsProvider; import com.amazonaws.services.s3.AmazonS3; import com.amazonaws.services.s3.AmazonS3Client; import com.amazonaws.services.s3.model.*; import java.lang.reflect.InvocationHandler; import ...
package info.ata4.unity.cli.extract; import info.ata4.io.buffer.ByteBufferUtils; import info.ata4.log.LogUtils; import info.ata4.unity.asset.AssetFile; import info.ata4.unity.asset.struct.ObjectPath; import info.ata4.unity.serdes.UnityObject; import info.ata4.io.file.FilenameSanitizer; import java.io.IOException; impor...
package org.yidu.novel.batch; import java.io.File; import java.text.MessageFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.apache.commons.lang.StringUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.quartz.JobExecutionCont...
package com.jenjinstudios.world; import com.jenjinstudios.world.ai.Pathfinder; import com.jenjinstudios.world.math.MathUtil; import com.jenjinstudios.world.math.Vector2D; import com.jenjinstudios.world.state.MoveState; import java.util.LinkedList; import java.util.TreeMap; /** * This class represents a Non-Player Char...
package com.sapienter.jbilling.server.util; import org.springframework.context.ApplicationContext; /** * Static factory for accessing Spring beans from the local container. */ public class Context { // spring application context, injected by context aware clients private static ApplicationContext spring = nul...
package org.eclipse.jetty.jndi.java; import java.net.URL; import java.net.URLClassLoader; import java.util.HashMap; import java.util.Hashtable; import javax.naming.Binding; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.LinkRef; import javax.naming.Name; import javax.naming.NameAlr...
package flatgui.core.engine; import clojure.lang.IFn; import clojure.lang.Keyword; import clojure.lang.Var; import flatgui.core.FGTimerEvent; import flatgui.core.awt.FGMouseEvent; import java.util.*; import java.util.function.Function; /** * @author Denis Lebedev */ public class ClojureContainerParser implements Cont...
package pcl.OpenFM.TileEntity; import java.nio.charset.StandardCharsets; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import li.cil.oc.api.machine.Arguments; import li.cil.oc.api.machine.Context; import li.cil.oc.api.network.ManagedPeripheral; import li.cil.oc.api.n...
package net.java.sip.communicator.impl.gui.utils; import java.applet.Applet; import java.applet.AudioClip; import java.awt.Color; import java.awt.Font; import java.awt.Image; import java.awt.event.KeyEvent; import java.awt.image.BufferedImage; import java.io.BufferedReader; import java.io.File; import java.io.IOExcepti...
package org.jhaws.common.io.media.ytdl; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.Serializable; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Objects; import java.util....
package io.compgen.cgpipe.runner; import io.compgen.cgpipe.exceptions.RunnerException; import io.compgen.cgpipe.parser.context.ExecContext; import io.compgen.cgpipe.parser.variable.VarString; import io.compgen.cgpipe.parser.variable.VarValue; import io.compgen.common.StringUtils; import java.io.IOException; import java...
package reborncore.client.gui.builder; import com.mojang.blaze3d.platform.GlStateManager; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; import net.minecraft.block.entity.BlockEntity; import net.minecraft.client.MinecraftClient; import net.minecraft.client.font.TextRenderer; import net.minecraft....
package org.bimserver.database; import java.nio.BufferOverflowException; import java.nio.BufferUnderflowException; import java.nio.ByteBuffer; import java.util.Arrays; import java.util.Collection; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedHashSet; import java.util...
package net.yeputons.android239.rubikscube; import android.view.Menu; import android.view.MenuItem; import android.view.MotionEvent; import android.view.View; import android.widget.Button; import android.widget.LinearLayout; import min3d.core.RendererActivity; import min3d.vos.Light; import min3d.vos.Number3d; import j...
package org.roaringbitmap.bithacking; import org.openjdk.jmh.annotations.*; import java.util.*; import java.util.concurrent.TimeUnit; @State(Scope.Benchmark) @OutputTimeUnit(TimeUnit.NANOSECONDS) public class UnsignedVSFlip { @Param({"1", "31", "65", "101", "103"}) public short key; @Benchmark @Benchmar...
//This library is free software; you can redistribute it and/or //modify it under the terms of the GNU Lesser General Public //This library is distributed in the hope that it will be useful, //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //You should have received a copy of the GNU Lesser General Publi...
package org.bimserver.web; import java.io.File; import javax.servlet.ServletContext; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; import org.bimserver.BimServer; import org.bimserver.BimServerConfig; import org.bimserver.database.BimserverDatabaseException; import org.bimserver...
package org.awb.env.networkModel.maps; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.geom.AffineTransform; import java.util.List; import org.awb.env.networkModel.controller.ui.BasicGraphGuiVisViewer; import de.enflexit.common.ServiceFinder; import de.enflexit.geography.coordinates.WGS84LatLngCoo...
// modification, are permitted provided that the following conditions are met: // documentation and/or other materials provided with the distribution. // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // LIABLE FOR ...
package org.apache.cassandra.heartbeat; import java.lang.management.ManagementFactory; import java.net.InetAddress; import java.nio.ByteBuffer; import java.util.Comparator; import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.Concu...
package ru.spbau.mit.dbmsau.index.btree; import ru.spbau.mit.dbmsau.Context; import ru.spbau.mit.dbmsau.ContextContainer; import ru.spbau.mit.dbmsau.index.IndexQueryRange; import ru.spbau.mit.dbmsau.pages.Page; import ru.spbau.mit.dbmsau.relation.RelationRecord; import ru.spbau.mit.dbmsau.relation.Type; import ru.spbau...
package org.apache.xerces.validators.schema; import org.apache.xerces.framework.XMLErrorReporter; import org.apache.xerces.validators.common.Grammar; import org.apache.xerces.validators.common.GrammarResolver; import org.apache.xerces.validators.common.GrammarResolverImpl; import org.apache.xerces.validators.commo...
package mil.nga.giat.geowave.datastore.dynamodb.operations; import java.io.Closeable; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.funct...
package navigation.items; import java.awt.event.ActionEvent; import javax.swing.JComponent; import javax.swing.JMenuItem; import javax.swing.JPopupMenu; import communication.internal.command.ItemComponent; import controllers.MainWindowController; import core.mvc.view.Application; import core.mvc.view.BaseView; import f...
package seedu.cmdo.logic.commands; import seedu.cmdo.commons.core.Messages; import seedu.cmdo.commons.core.UnmodifiableObservableList; import seedu.cmdo.commons.exceptions.CantDoneBlockedSlotException; import seedu.cmdo.model.task.ReadOnlyTask; import seedu.cmdo.model.task.Task; import seedu.cmdo.model.task.UniqueTaskL...
package org.bouncycastle.crypto.signers; import org.bouncycastle.crypto.AsymmetricBlockCipher; import org.bouncycastle.crypto.CipherParameters; import org.bouncycastle.crypto.CryptoException; import org.bouncycastle.crypto.Digest; import org.bouncycastle.crypto.SignerWithRecovery; import org.bouncycastle.crypto.digests...
package seedu.task.logic.commands; import java.util.List; import java.util.Optional; import seedu.task.commons.core.Messages; import seedu.task.commons.exceptions.IllegalValueException; import seedu.task.commons.util.CollectionUtil; import seedu.task.logic.commands.exceptions.CommandException; import seedu.task.model.t...
package org.ensembl.healthcheck.testcase.generic; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import org.ensembl.healthcheck.DatabaseRegistryEntry; import org.ensembl.healthcheck.ReportManager; import org.ensembl.healthcheck.testcase.SingleDatabaseTestCase; import org.ensembl.he...
package org.opennms.features.vaadin.mibcompiler; import java.io.File; import java.util.List; import org.opennms.core.utils.ConfigFileConstants; import org.opennms.core.utils.LogUtils; import org.opennms.features.vaadin.api.Logger; import org.opennms.features.vaadin.datacollection.DataCollectionWindow; import org.opennm...
package seedu.todo.controllers; import java.time.LocalDateTime; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import seedu.todo.commons.exceptions.InvalidNaturalDateException; import seedu.todo.commons.exceptions.ParseException; import seedu...
/* * @author <a href="mailto:novotny@aei.mpg.de">Jason Novotny</a> * @version $Id: PortletServlet.java 5032 2006-08-17 18:15:06Z novotny $ */ package org.gridsphere.provider.portlet.jsr; import org.gridsphere.portlet.*; import org.gridsphere.portlet.jsrimpl.*; import org.gridsphere.portlet.PortletLog; import org.gridsp...
package seedu.utask.model.task; import java.util.Iterator; import java.util.List; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import seedu.address.commons.core.UnmodifiableObservableList; import seedu.address.commons.exceptions.DuplicateDataException; import seedu.address.commons....
package io.xchris6041x.devin.playerdata; import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; import java.util.UUID; import org.bukkit.configuration.serialization.ConfigurationSerializable; import org.bukkit.plugin.java.JavaPlugin; public class PlayerData implements ConfigurationSerializable { ...
package org.ovirt.engine.ui.uicommonweb.models.vms; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import org.ovirt.engine.core.common.action.AttachDetachVmDiskParameters; import org.ovirt.engine.core.common.action.VdcActionParametersBase...
package org.pentaho.di.job.entries.zipfile; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; import java.uti...
package services.utils; import com.fathzer.soft.javaluator.AbstractEvaluator; import com.fathzer.soft.javaluator.BracketPair; import com.fathzer.soft.javaluator.Operator; import com.fathzer.soft.javaluator.Parameters; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List...
package org.kie.services.client.serialization.jaxb.impl; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElements; import javax.xml.bind.a...
package org.usfirst.frc.team4761.robot.commands; import org.usfirst.frc.team4761.robot.Robot; import org.usfirst.frc.team4761.robot.RobotMap; import edu.wpi.first.wpilibj.Solenoid; import edu.wpi.first.wpilibj.command.Command; /** * @author Jake Backer * A command that handles refilling the small air tank */ p...
package tigase.xmpp.impl.roster; import tigase.util.TigaseStringprepException; import tigase.util.XMPPStringPrepFactory; import tigase.xml.Element; import tigase.xml.XMLUtils; import tigase.xmpp.JID; import tigase.xmpp.XMPPResourceConnection; import static tigase.xmpp.impl.roster.RosterAbstract.SubscriptionType; import...
package eu.theunitry.fabula.calculate; public class UNCalculate{ private int result; public int calculate(int g1, int g2, char operator) { switch (operator) { case '+': this.sum(g1, g2); break; case '-': this.subtract(g1...
package top.quantic.sentry.service; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.InitializingBean; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org....
package peergos.server.storage; import peergos.server.storage.auth.*; import peergos.server.util.Logging; import peergos.shared.cbor.*; import peergos.shared.crypto.hash.*; import peergos.shared.io.ipfs.cid.*; import peergos.shared.io.ipfs.multihash.*; import peergos.shared.storage.*; import peergos.shared.storage.auth...
package org.mifosplatform.accounting.glaccount.service; import java.sql.ResultSet; import java.sql.SQLException; import java.util.Arrays; import java.util.List; import org.apache.commons.lang.StringUtils; import org.mifosplatform.accounting.common.AccountingEnumerations; import org.mifosplatform.accounting.glaccount.da...
package us.zingalicio.toolman.tools; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.block.BlockFace; import org.bukkit.block.BlockState; import org.bukkit.entity.Player; import org.bukkit.event.block.Action; import org.bukkit.event.blo...
package xyz.openmodloader.modloader; import java.io.File; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import java.net.MalformedURLException; import java.net.URL; import java.util.*; import net.minecraft.launchwrapper.LaunchClassLoader; import xyz.openmodloader.OpenModLoader; import xyz.openmodloa...
package aeronicamc.mods.mxtune.gui.mml; import aeronicamc.mods.mxtune.caches.FileHelper; import aeronicamc.mods.mxtune.gui.widget.MXButton; import aeronicamc.mods.mxtune.gui.widget.MXLabel; import aeronicamc.mods.mxtune.gui.widget.MXLink; import aeronicamc.mods.mxtune.gui.widget.MXTextFieldWidget; import aeronicamc.mod...
package com.example.roomdemo; import android.arch.lifecycle.ViewModelProviders; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.Menu; import ...
package com.bbn.kbp.events2014; import com.bbn.bue.common.StringUtils; import com.bbn.bue.common.symbols.Symbol; import com.google.common.base.Objects; import com.google.common.base.Optional; import com.google.common.base.Predicate; import com.google.common.collect.*; import org.slf4j.Logger; import org.slf4j.LoggerFac...
package archimulator.client; import archimulator.sim.base.experiment.Experiment; import archimulator.sim.base.experiment.profile.ExperimentProfile; import archimulator.sim.base.experiment.profile.ProcessorProfile; import archimulator.sim.base.simulation.SimulatedProgram; import archimulator.sim.uncore.cache.eviction.LR...
package org.motechproject.scheduler.builder; import org.joda.time.Duration; import org.joda.time.LocalDate; import org.junit.Test; import org.motechproject.model.Time; import org.motechproject.util.DateUtil; import org.quartz.SimpleTrigger; import static org.junit.Assert.assertEquals; public class CronJobSimpleExpressi...
package socialite.codegen; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import java.util.Set; import org.stringtemplate.v4.ST; import org.stringtemplate.v4.STGroup; import social...
package com.expidev.gcmapp.model; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.io.Serializable; import java.util.ArrayList; import java.util.Collection; import java.util.EnumSet; i...
package au.com.southsky.jfreesane; import java.awt.Point; import java.awt.Transparency; import java.awt.color.ColorSpace; import java.awt.image.BufferedImage; import java.awt.image.ColorModel; import java.awt.image.ComponentColorModel; import java.awt.image.DataBuffer; import java.awt.image.DataBufferByte; import java....
package com.kickstarter.libs; import android.content.Intent; import android.content.IntentFilter; import android.net.ConnectivityManager; import android.os.Bundle; import android.support.annotation.AnimRes; import android.support.annotation.CallSuper; import android.support.annotation.NonNull; import android.support.an...
package baidu.com.commontools.utils; import java.io.BufferedReader; import java.io.Closeable; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; public class FileUtil...
package com.leavjenn.hews.ui; import android.app.Activity; import android.app.Fragment; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.widget.LinearLayoutManager; import andro...
package org.lamport.tla.toolbox.editor.basic.handlers; import java.util.Arrays; import java.util.Vector; import org.eclipse.core.commands.AbstractHandler; import org.eclipse.core.commands.ExecutionEvent; import org.eclipse.core.commands.ExecutionException; import org.eclipse.core.commands.IHandler; import org.eclipse.j...