answer
stringlengths
17
10.2M
package com.andela.notelib.note; import com.andela.notelib.util.SortById; import junit.framework.TestCase; import java.util.Collections; public class NoteListTest extends TestCase { NoteList<Note> notes; PaperNote paperNote; PaperNote paperNote1; PaperNote paperNote2; PaperNote paperNote3; Paper...
package com.imcode.imcms.mapping; import com.imcode.imcms.api.DocumentLanguage; import com.imcode.imcms.api.DocumentVersion; import com.imcode.imcms.mapping.container.DocRef; import imcode.server.Imcms; import imcode.server.document.DocumentDomainObject; import imcode.server.user.UserDomainObject; import org.slf4j.Logg...
package br.com.jq.syncthia; import java.util.List; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import br.com.jq.syncthia.bdcreator.schema.SchemaCollection; import br.com.jq.syncthia.bdcreator.schema.SchemaCreator; import br.com.jq.syncthia.bdcreator.table.Table; impor...
package com.impossibl.postgres.jdbc; import java.sql.SQLException; import java.sql.SQLWarning; import java.util.Iterator; import java.util.List; import com.impossibl.postgres.protocol.Notice; /** * Utilities for creating SQLException and SQLWarnings from PostgreSQL's * "Notice" and "Error" message data * * @author ...
package GUI; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import javax.swing.JButton; import javax.swing.JFileChooser; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JList; import javax.swing.JMenu; import javax.swing.JMenuBar; import jav...
package data.little; public class Little { static int foo; int[] a = new int[3]; /** * @param args */ public void testFloats(float x, float y, float z) { assert !(x > y && y > z); } public void testFloats2(float x, float y, float z) { assert !(x == y + 1.1f || y == z + ...
package jkind.analysis.evaluation; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import jkind.lustre.ArrayAccessExpr; import jkind.lustre.ArrayExpr; import jkind.lustre.ArrayUpdateExpr; import jkind.lustre.BinaryExpr; import jkind.lustre.B...
package com.intalio.bpmn2.impl; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import org.codehaus.jackson.JsonEnco...
package com.dbpm.repository; import static org.junit.Assert.*; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; import org.junit.After; import org.junit.Before; import org.junit.Test; public class FileRepositoryTest{ static String TESTPACKAGE = "Testpackage-1....
package com.martiansoftware.io; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.io.RandomAccessFile; import java.nio.channels.FileLock; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.StandardCopyOption; /** * This c...
package com.jme3.material; import com.jme3.export.*; import com.jme3.scene.Mesh; import java.io.IOException; /** * <code>RenderState</code> specifies material rendering properties that cannot * be controlled by a shader on a {@link Material}. The properties * allow manipulation of rendering features such as depth te...
package com.rangarok.jparserutil.test; import com.ragnarok.jparseutil.JavaSourceReader; import com.ragnarok.jparseutil.util.Log; import com.ragnarok.jparseutil.visitor.SourceTreeVisitor; import com.sun.source.tree.CompilationUnitTree; public class TestMain { private static final String TAG = "JParserUtil.TestMain";...
package com.microsoft.sqlserver.jdbc; import java.security.SecureRandom; import java.text.MessageFormat; import java.util.Arrays; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; import javax.crypto.Cipher; import javax.crypto.KeyGenerator; import javax.crypto.spec.GCMParameterSp...
package org.codehaus.jparsec; import static org.codehaus.jparsec.Asserts.assertFailure; import static org.codehaus.jparsec.Asserts.assertParser; import static org.codehaus.jparsec.Parsers.constant; import static org.codehaus.jparsec.Scanners.string; import static org.codehaus.jparsec.TestParsers.areChars; import static...
package com.mixpanel.android.viewcrawler; import android.graphics.BitmapFactory; import android.util.Base64; import android.util.Log; import android.view.accessibility.AccessibilityEvent; import android.widget.RelativeLayout; import com.mixpanel.android.mpmetrics.ResourceIds; import com.mixpanel.android.util.JSONUtils;...
package de.bmoth.parser.ast.nodes; import de.bmoth.TestParser; import org.junit.Test; import java.util.List; import java.util.stream.Collectors; import static junit.framework.TestCase.assertFalse; import static org.junit.Assert.assertTrue; public class EqualAstTest extends TestParser { @Test public void testEqu...
package com.rarchives.ripme.ripper; import java.io.BufferedInputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.HttpURLConnection; import java.net.URL; import java.util.HashMap; import java.util.Map; impor...
package com.matthewhatcher.vpnguard.Utils; import com.matthewhatcher.vpnguard.VPNGuard; public class WebUtils { private VPNGuard plugin; String apiUrl; String fallbackApiUrl; public WebUtils(VPNGuard plugin) { this.plugin = plugin; if(plugin.config.hasEmail()) { apiUrl = "htt...
package com.rwtema.funkylocomotion.blocks; import com.rwtema.funkylocomotion.fakes.FakeWorldClient; import cpw.mods.fml.common.FMLCommonHandler; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecr...
package hudson.plugins.git; import hudson.EnvVars; import hudson.model.TaskListener; import hudson.tools.AbstractCommandInstaller; import hudson.tools.BatchCommandInstaller; import hudson.tools.CommandInstaller; import hudson.tools.InstallSourceProperty; import java.io.File; import java.io.IOException; import java.util...
package com.mlibrary.patch.framework; import android.app.Application; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.text.TextUtils; import com.mlibrary.patch.MDynamicLib; import com.mlibrary.patch.hack.AndroidHack; import com.mlibrary.patch.hack.SysHacks; import com.mli...
package uk.ac.cam.ch.wwmm.opsin; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; import static uk.ac.cam.ch.wwmm.opsin.OpsinTools.*; impo...
package hudson.plugins.hadoop; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import java.io.File; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileUtil; import org.apache.hadoop.fs.Path; import org.apache.hadoop.hdfs.MiniDFSCluster; public class HDFSDeployerTest { ...
package com.tacs.deathlist.endpoints; import com.restfb.Connection; import com.restfb.DefaultFacebookClient; import com.restfb.FacebookClient; import com.restfb.types.User; import com.tacs.deathlist.domain.Usuario; import com.tacs.deathlist.endpoints.resources.UserCreationRequest; import com.tacs.deathlist.repository.U...
package io.rocketscience.java.util; import static org.fest.assertions.api.Assertions.assertThat; import static org.junit.Assert.*; import java.util.Collection; import java.util.List; import java.util.Optional; import org.junit.Test; /** * Conversion of null, boolean values, numbers and strings is straightward. * */ ...
package com.telekom.m2m.cot.restsdk.audit; import com.telekom.m2m.cot.restsdk.inventory.ManagedObject; import com.telekom.m2m.cot.restsdk.util.ExtensibleObject; import java.util.Date; public class AuditRecord extends ExtensibleObject { /** * Critical (highest severity). */ public static final String S...
package com.oneandone.snmpman.configuration; import com.fasterxml.jackson.annotation.JsonProperty; import com.oneandone.snmpman.configuration.modifier.Modifier; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.ToString; import java.util.Arrays; import java.util.Collections; import java.util.List; /*...
package com.themastergeneral.moglowstone.blocks; import java.util.Random; import com.themastergeneral.ctdcore.block.CTDBlock; import com.themastergeneral.moglowstone.MoGlowstone; import net.minecraft.block.Block; import net.minecraft.block.SoundType; import net.minecraft.block.material.Material; import net.minecraft.bl...
package com.palantir.semver; import java.io.IOException; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.eclipse.jgit.api.errors.GitAPIException; import org.eclipse.jgit.errors.IncorrectObjectTypeException; import org.eclipse.jgit.errors.MissingObjectException; import org.eclipse.jgit.errors....
package crazypants.enderio.item.darksteel; import crazypants.enderio.config.Config; import crazypants.vecmath.Vector3d; import net.minecraft.entity.Entity; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.util.AxisAlignedBB; import net.minecraft.world.World; public class SoundEntity extends Entity { int ...
package com4j; import java.lang.reflect.InvocationHandler; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.util.Collections; import java.util.Map; import java.util.WeakHashMap; final class Wrapper implements InvocationHandler, Com4jObject ...
package daxum.temporalconvergence; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import daxum.temporalconvergence.entity.ModEntities; import daxum.temporalconvergence.gui.GuiHandler; import daxum.temporalconvergence.proxy.IProxy; import daxum.temporalconvergence.recipes.RecipeHandl...
package com.programmaticallyspeaking.tinyws; import java.io.*; import java.net.*; import java.nio.ByteBuffer; import java.nio.CharBuffer; import java.nio.charset.Charset; import java.nio.charset.CharsetDecoder; import java.nio.charset.StandardCharsets; import java.security.MessageDigest; import java.security.NoSuchAlgo...
package org.owasp.esapi.reference; import java.io.File; import java.util.ArrayList; import java.util.Collections; import java.util.List; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.owasp.esapi.ESAPI; import org.owasp.esapi.Executor; import org.owasp.esapi.S...
package com.programmaticallyspeaking.tinyws; import java.io.*; import java.net.ServerSocket; import java.net.Socket; import java.net.SocketException; import java.nio.ByteBuffer; import java.nio.CharBuffer; import java.nio.charset.Charset; import java.nio.charset.CharsetDecoder; import java.security.MessageDigest; impor...
package org.kitesdk.apps.cli; import com.beust.jcommander.JCommander; import com.beust.jcommander.MissingCommandException; import com.beust.jcommander.Parameter; import com.beust.jcommander.ParameterException; import com.google.common.annotations.VisibleForTesting; import com.google.common.collect.ImmutableSet; import ...
package de.fred4jupiter.fredbet.web.bet; import java.util.List; import javax.validation.Valid; import org.apache.commons.collections.CollectionUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.spring...
package de.hhu.stups.plues.modelgenerator; import de.hhu.stups.plues.data.Store; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.util.logging.Level; import java.util.logging.Logger; import java.util.zip.ZipEntry; import java.util.zip.ZipOutputStream; @SuppressWarnings("unused") public clas...
package de.morrox.fontinator; import android.content.Context; import android.util.AttributeSet; import android.util.Pair; import android.widget.AutoCompleteTextView; import de.morrox.fontinator.utilities.TypefaceLoader; import de.morrox.fontinator.utilities.Typefaceable; public class FontAutoCompleteTextView extends Au...
package com.rox.emu.processor.mos6502.util; import com.rox.emu.processor.mos6502.op.OpCode; import java.util.*; /** * An immutable 6502 Program which is essentially a byte array which can * be added to from different types neatly. * * @author Ross Drew */ public class Program { private final int[] programBytes...
package com.syncleus.ferma; import java.util.*; import com.google.common.base.Function; import com.google.common.collect.Collections2; import com.google.common.collect.Iterables; import com.google.common.collect.Lists; import com.google.common.collect.Sets; import com.tinkerpop.blueprints.Element; import com.tinkerpop....
package ec.edu.espe.isi.examen.examenprac; /** * * @author sony */ public class Operaciones { private int num1; private int num2; private int resultado; public Operaciones(int num1, int num2) { this.num1 = num1; this.num2 = num2; } public int suma(){ return num1 + num2; ...
package com.tterrag.k9.commands; import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; import java.util.List; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import org.apache.commons.io.IOUtils; import com.google.common.base.Charsets; import com.tterrag....
package co.paystack.android.api.service; import java.util.HashMap; import co.paystack.android.api.model.TokenApiResponse; import co.paystack.android.api.model.TransactionApiResponse; import retrofit2.Call; import retrofit2.http.FieldMap; import retrofit2.http.FormUrlEncoded; import retrofit2.http.POST; /** * ApiServic...
package com.wegas.leaderway.persistence; import com.wegas.core.persistence.AbstractEntity; import javax.persistence.*; import javax.xml.bind.annotation.XmlTransient; import org.codehaus.jackson.annotate.JsonBackReference; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * * @author Francois-Xavier Aeberha...
package io.permazen.kv.raft; import com.google.common.base.Preconditions; import com.google.common.base.Throwables; import com.google.common.util.concurrent.ListenableFuture; import io.permazen.kv.KVDatabase; import io.permazen.kv.KVPair; import io.permazen.kv.KVTransactionException; import io.permazen.kv.KeyRange; imp...
package com.xorlev.gatekeeper.manager; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.FileNotFoundException; import java.io.IOException; /** * cat /opt/nginx/logs/nginx.pid | sudo xargs -I{} kill -HUP {} * * @author Michael Rose <elementation@gmail.com> */ public class NginxManager { pr...
package edu.sdsc.scigraph.annotation; import javax.xml.bind.annotation.XmlRootElement; /*** * Represents an annotated section of text */ @XmlRootElement(name = "annotation") public final class EntityAnnotation extends Token<Entity> implements Comparable<EntityAnnotation> { protected EntityAnnotation() { this(nu...
package biomodelsim; import gcm2sbml.gui.GCM2SBMLEditor; import gcm2sbml.network.GeneticNetwork; import gcm2sbml.parser.CompatibilityFixer; import gcm2sbml.parser.GCMFile; import gcm2sbml.parser.GCMParser; import gcm2sbml.util.GlobalConstants; import graph.Graph; import java.awt.AWTError; import java.awt.BorderLayout; ...
package cn.cerc.mis.core; import java.io.IOException; import java.lang.reflect.Method; 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.servlet....
package com.yammer.metrics.reporting; import org.apache.http.entity.ContentType; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream; import static org.apache.http.client.fluent.Request.*; public class HttpTransport implements Transport { private final String seriesUrl; ...
// Connect SDK Sample App by LG Electronics // To the extent possible under law, the person who associated CC0 with // to the sample app. package com.connectsdk.sampler.fragments; import java.io.InputStream; import java.util.Locale; import java.util.Timer; import java.util.TimerTask; import java.util.concurrent.Time...
package net.sf.farrago.query; import java.io.*; import java.net.*; import java.util.*; import java.util.logging.*; import javax.jmi.reflect.*; import net.sf.farrago.catalog.*; import net.sf.farrago.cwm.core.*; import net.sf.farrago.cwm.relational.*; import net.sf.farrago.fem.fennel.*; import net.sf.farrago.fem.med.*; i...
package biomodelsim; import gcm2sbml.gui.GCM2SBMLEditor; import gcm2sbml.gui.modelview.movie.MovieContainer; import gcm2sbml.network.GeneticNetwork; import gcm2sbml.parser.CompatibilityFixer; import gcm2sbml.parser.GCMFile; import gcm2sbml.parser.GCMParser; import gcm2sbml.util.GlobalConstants; import lhpn2sbml.parser....
package com.intellij.diagnostic; import com.intellij.openapi.Disposable; import com.intellij.openapi.application.Application; import com.intellij.openapi.application.ApplicationInfo; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.application.PathManager; import com.intellij.open...
package com.zutubi.diff.unified; import com.zutubi.diff.PatchParseException; import com.zutubi.diff.PatchParser; import com.zutubi.diff.PeekReader; import java.io.IOException; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; public class UnifiedPatchParser implements PatchParser { ...
package eu.socialsensor.focused.crawler; import java.net.UnknownHostException; import org.apache.commons.configuration.ConfigurationException; import org.apache.commons.configuration.XMLConfiguration; import org.apache.log4j.Logger; import eu.socialsensor.focused.crawler.bolts.media.ClustererBolt; import eu.socialsenso...
package edu.umd.cs.findbugs.workflow; import java.io.File; import java.io.IOException; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedList; import java.util.TreeMap; import org.dom4j.DocumentException; import edu.umd.cs.findbugs.AppVers...
package org.zstack.kvm; import org.apache.commons.lang.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.transaction.annotation.Transactional; import org.springframework.web.client.RestClientException; im...
package gov.nih.nci.calab.ui.workflow; /** * This class prepares the data to show in the page resulting from a workflow actions * * @author pansu */ /* CVS $Id: WorkflowMessageAction.java,v 1.3 2006-12-13 19:33:09 pansu Exp $ */ import gov.nih.nci.calab.ui.core.AbstractBaseAction; import gov.nih.nci.calab.ui.core.I...
package ld.ldhomework.crawler; import org.semanticweb.yars.nx.Node; public class Triple { private TripleEntry object; private TripleEntry predicate; private TripleEntry subject; public Triple(Node subject, Node predicate, Node object) { this.subject = new TripleEntry(subject); this.predicate = n...
package com.voxelmodpack.hdskins; import com.google.common.base.Preconditions; import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.google.common.cache.LoadingCache; import com.google.common.collect.BiMap; import com.google.common.collect.HashBiMap; import com.google.commo...
package biomodelsim; import gcm2sbml.gui.GCM2SBMLEditor; import gcm2sbml.network.GeneticNetwork; import gcm2sbml.parser.GCMFile; import gcm2sbml.parser.GCMParser; import graph.Graph; import java.awt.AWTError; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.Dimension; impo...
package cz.jcu.prf.uai.javamugs.gui; import cz.jcu.prf.uai.javamugs.App; import cz.jcu.prf.uai.javamugs.logic.Game; import cz.jcu.prf.uai.javamugs.logic.Parser; import cz.jcu.prf.uai.javamugs.logic.Press; import cz.jcu.prf.uai.javamugs.logic.PressChart; import javafx.beans.binding.Bindings; import javafx.event.ActionEv...
package example.domain.services; import com.dbdeploy.DbDeploy; import example.domain.services.hibernate.DbDeployer; import org.hibernate.SessionFactory; import org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator; import org.springframework.aop.interceptor.PerformanceMonitorInterceptor; import org.sprin...
package com.cloud.network.resource; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.io.StringReader; import java.net.Socket; import java.net.SocketTimeoutException; import java.util.ArrayList; import java.uti...
package com.freetymekiyan.algorithms.level.medium; /** * A message containing letters from A-Z is being encoded to numbers using the following mapping: * <p> * 'A' -> 1 * 'B' -> 2 * ... * 'Z' -> 26 * Given an encoded message containing digits, determine the total number of ways to decode it. * <p> * For exampl...
package com.valkryst; import com.valkryst.AsciiPanel.AsciiCharacter; import javafx.scene.paint.Color; import org.junit.Assert; import org.junit.Test; public class AsciiCharacterTest { @Test public void AsciiCharacter() { for (char c = 0 ; c < Character.MAX_VALUE ; c++) { final AsciiCharacter...
package biomodelsim; import gcm2sbml.gui.GCM2SBMLEditor; import gcm2sbml.network.GeneticNetwork; import gcm2sbml.parser.CompatibilityFixer; import gcm2sbml.parser.GCMFile; import gcm2sbml.parser.GCMParser; import gcm2sbml.util.GlobalConstants; import lhpn2sbml.parser.LHPNFile; import lhpn2sbml.gui.*; import graph.Graph...
package fi.csc.chipster.rest.token; import java.io.IOException; import java.time.LocalDateTime; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Timer; import java.util.TimerTask; import javax.annotation.Priority; import javax.ws.rs.ForbiddenException; import javax.ws.rs.Intern...
package fi.csc.microarray.client; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseEvent; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import java.beans.PropertyChangeSupport; import java.io.File; import java.io.FileOutputStream; imp...
package fr.insalyon.citi.golo.runtime; import java.lang.invoke.*; import static java.lang.invoke.MethodHandles.guardWithTest; import static java.lang.invoke.MethodHandles.insertArguments; import static java.lang.invoke.MethodType.methodType; public class OperatorSupport { static class InlineCache extends MutableCallS...
package com.jwetherell.algorithms.mathematics; import com.jwetherell.algorithms.numbers.Complex; import java.util.ArrayList; import java.util.Collections; public class Multiplication { public static final long multiplication(int a, int b) { long result = ((long) a) * ((long) b); return result; }...
package co.epitre.aelf_lectures.data; import android.util.Xml; import org.xmlpull.v1.XmlPullParser; import org.xmlpull.v1.XmlPullParserException; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.List; public final class AelfRssParser { // Entry-Point public st...
package com.ning.phatamorgana.models; import java.io.File; import java.util.Map; import org.jruby.embed.LocalVariableBehavior; import org.jruby.embed.PathType; import org.jruby.embed.ScriptingContainer; public class JRubyScriptLoader { /** Hooks into the application. */ private Map<String, Object> context; ...
package harmony.mastermind.logic.commands; import java.util.ArrayList; import harmony.mastermind.commons.core.EventsCenter; import harmony.mastermind.commons.events.ui.ShowHelpRequestEvent; import harmony.mastermind.logic.HelpPopupEntry; /**@@author A0139194X * Format full help instructions for every command for displ...
package com.twitter.intellij.pants.index; import com.intellij.openapi.fileTypes.UnknownFileType; import com.intellij.openapi.fileTypes.FileType; import com.intellij.openapi.fileTypes.LanguageFileType; import com.intellij.openapi.util.io.FileUtil; import com.intellij.openapi.vfs.VirtualFile; import com.intellij.psi.PsiF...
package cis234a.nsort.model; import java.util.ArrayList; import java.util.HashMap; /** * This a ItemList class represents a list of items. * * @author (Chris.Stultz, John.Loranger, Ryan.Reams, Josh.Eads) * @version (4/11/2015) */ public class ItemList { private ArrayList<Item> items; /** * Constructor...
// Nenya library - tools for developing networked games // 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 should ...
package goldenapple.rfdrills.config; public enum EnumEnergyUnit { //i don't want energy conversion so this is pretty much useless RF(1.0F), EU(0.25F), //4 RF = 1 EU J(2.5F), //1 RF = 2.5 J gJ(1.6F); //1 RF = 1.6 GalactiCraft J private float conversionRateFromRF; private EnumEnergyUnit(float conc...
package hudson.plugins.warnings; import hudson.FilePath.FileCallable; import hudson.plugins.warnings.util.ContextHashCode; import hudson.plugins.warnings.util.ModuleDetector; import hudson.plugins.warnings.util.ParserResult; import hudson.plugins.warnings.util.model.FileAnnotation; import hudson.remoting.VirtualChannel...
package com.untamedears.JukeAlert.listener; import static com.untamedears.JukeAlert.util.Utility.doesSnitchExist; import static com.untamedears.JukeAlert.util.Utility.isDebugging; import static com.untamedears.JukeAlert.util.Utility.isOnSnitch; import static com.untamedears.JukeAlert.util.Utility.isPartialOwnerOfSnitch...
package scalac.util; import java.util.HashMap; import java.lang.reflect.Modifier; import java.lang.reflect.Method; import java.lang.reflect.Field; import scalac.Global; import scalac.ApplicationError; import scalac.symtab.Type; import scalac.symtab.Symbol; import scalac.symtab.Scope; /** * Debugging class, used e.g. t...
package com.ashish.cop290assign0.utils; import android.app.Dialog; import android.app.ProgressDialog; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.text.Spannable; impor...
// Narya library - tools for developing networked games // 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 should ...
package com.coolweather.android; import android.app.ProgressDialog; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android...
package info.faceland.strife.listeners; import com.google.common.base.CharMatcher; import info.faceland.beast.BeastData; import info.faceland.strife.StrifePlugin; import info.faceland.strife.attributes.StrifeAttribute; import info.faceland.strife.data.Champion; import info.faceland.utils.StringConverter; import org.buk...
package com.versionone.integration.teamcity; import com.intellij.openapi.diagnostic.Logger; import com.versionone.integration.ciCommon.BuildInfo; import com.versionone.integration.ciCommon.V1Worker; import jetbrains.buildServer.messages.Status; import jetbrains.buildServer.serverSide.BuildServerAdapter; import jetbrain...
package org.jaxen.function; import java.util.List; import org.jaxen.Context; import org.jaxen.Function; import org.jaxen.FunctionCallException; import org.jaxen.Navigator; public class NormalizeSpaceFunction implements Function { public Object call(Context context, List args) throws FunctionC...
package com.fisheradelakin.floridaman; import android.app.Activity; import android.app.ProgressDialog; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; imp...
package dyvil.tools.compiler.ast.access; import dyvil.reflect.Modifiers; import dyvil.tools.compiler.ast.classes.IClass; import dyvil.tools.compiler.ast.context.IContext; import dyvil.tools.compiler.ast.expression.IValue; import dyvil.tools.compiler.ast.field.IDataMember; import dyvil.tools.compiler.ast.generic.ITypeCo...
package io.ebean.docker.commands; import io.ebean.docker.commands.process.ProcessHandler; import io.ebean.docker.container.Container; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.ArrayList; import java.util.List; import java.util.Properties; public class PostgresContainer extends DbContaine...
package com.getirkit.example.activity; import android.content.ContentValues; import android.content.Context; import android.content.Intent; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.os.Handler; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentMa...
package io.github.classgraph; import java.lang.reflect.Array; import java.util.Objects; import java.util.Set; /** A wrapper used to pair annotation parameter names with annotation parameter values. */ public class AnnotationParameterValue extends ScanResultObject implements Comparable<AnnotationParameterValue> { pr...
package uk.org.ulcompsoc.ld32.systems; import uk.org.ulcompsoc.ld32.components.Wallet; import uk.org.ulcompsoc.ld32.util.Mappers; import uk.org.ulcompsoc.ld32.util.TextureManager; import uk.org.ulcompsoc.ld32.util.TextureName; import com.badlogic.ashley.core.Entity; import com.badlogic.ashley.core.Family; import com.ba...
package io.loli.sc.server.action; import io.loli.sc.server.entity.ClientToken; import io.loli.sc.server.entity.UploadedImage; import io.loli.sc.server.entity.User; import io.loli.sc.server.service.BucketService; import io.loli.sc.server.service.ClientTokenService; import io.loli.sc.server.service.FileFetchService; impo...
package me.nallar.modpatcher; import javassist.ClassLoaderPool; import me.nallar.javapatcher.patcher.Patcher; import me.nallar.javapatcher.patcher.Patches; import me.nallar.mixin.internal.MixinApplicator; import net.minecraft.launchwrapper.IClassTransformer; import net.minecraft.launchwrapper.LaunchClassLoader; import ...
package jp.ac.nii.prl.mape.kb.controller; import java.io.BufferedWriter; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.sprin...
package com.iuridiniz.checkmyecg; import android.app.AlertDialog; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.database.Cursor; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; import ...
package kalang.compiler.dependency; import org.apache.ivy.Ivy; import org.apache.ivy.core.cache.ArtifactOrigin; import org.apache.ivy.core.event.EventManager; import org.apache.ivy.core.event.download.StartArtifactDownloadEvent; import org.apache.ivy.core.module.descriptor.DefaultModuleDescriptor; import org.apache.ivy...