answer
stringlengths
17
10.2M
package nl.mpi.kinnate.entityindexer; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.util.ArrayList; import java.util.HashMap; import javax.xml.parsers.ParserConfigurationException; import javax.xml.transform.TransformerException; import nl.mpi.arbil.GuiHelper; import n...
package dr.evomodel.approxPopTree; import dr.evolution.tree.FlexibleTree; import dr.evolution.tree.NodeRef; import dr.evolution.util.Taxon; import dr.evomodel.tree.TreeModel; import dr.xml.*; import java.util.HashMap; import java.util.LinkedList; import java.util.Map; public class PopTreeModel extends FlexibleTree { ...
package nl.mpi.kinnate.entityindexer; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.util.ArrayList; import java.util.HashMap; import javax.xml.parsers.ParserConfigurationException; import javax.xml.transform.TransformerException; import nl.mpi.arbil.GuiHelper; import n...
package nl.mpi.kinnate.ui; import nl.mpi.kinnate.svg.GraphPanel; import java.awt.BorderLayout; import java.awt.Color; import java.awt.event.FocusEvent; import java.awt.event.FocusListener; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.io.File; import javax.swing.JPanel; import javax.swi...
package nom.bdezonia.zorbage.algorithm; import nom.bdezonia.zorbage.algebra.Addition; import nom.bdezonia.zorbage.algebra.Algebra; import nom.bdezonia.zorbage.algebra.Unity; /** * * @author Barry DeZonia * */ public class Fibonacci { // do not instantiate private Fibonacci() {} /** * Fibonacci.comp...
package org.dynmap; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.util.Iterator; import java.util.Timer; import java.util.TimerTask; import org.bukkit.Location; import org.bukkit.World; import org.bukkit.ent...
package org.junit.runners; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import org.junit.Test.None; import org.junit.internal.AssumptionViolatedException; import org.junit.internal.runners.model.EachTestNotifier; import org.junit.internal.runner...
package org.lightmare.deploy.management; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.Properties; import org.lightmare.config.ConfigKeys; import org.lightmare.config.Configuration; import org.lightmare.utils.CollectionUtils; import org.lig...
package org.lightmare.utils.rest; import java.io.IOException; import java.lang.reflect.Method; import java.util.Collection; import java.util.List; import javax.ws.rs.container.ContainerRequestContext; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import org.glassfish.jersey.process.Inflector; imp...
package org.lightmare.utils.rest; import java.io.IOException; import java.lang.reflect.Method; import java.util.Collection; import java.util.List; import javax.ws.rs.container.ContainerRequestContext; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import org.glassfish.jersey.process.Inflector; imp...
package org.openlmis.stockmanagement; import org.flywaydb.core.Flyway; import org.openlmis.stockmanagement.i18n.ExposedMessageSourceImpl; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; impor...
package org.scde.processor.es; import org.elasticsearch.client.Client; import org.elasticsearch.client.transport.TransportClient; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.common.transport.InetSocketTransportAddress; import org.elasticsearch.common.xcontent.XContentBuilder; import org....
package org.spongepowered.asm.util.perf; import java.text.DecimalFormat; import java.util.*; import org.spongepowered.asm.util.PrettyPrinter; import org.spongepowered.asm.util.PrettyPrinter.Alignment; import com.google.common.base.Joiner; /** * Performance profiler for Mixin. */ public final class Profiler { /** ...
package org.testeditor.fixture.swt; import java.io.BufferedReader; import java.io.File; import java.io.FileFilter; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java....
package org.tndata.android.compass.ui; import android.content.Context; import android.util.AttributeSet; import android.view.Gravity; import android.view.LayoutInflater; import android.view.View; import android.view.animation.Animation; import android.view.animation.ScaleAnimation; import android.widget.ImageView; impo...
package org.zalando.nakadi.filters; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; import org.springframework.web.filter.OncePerRequestFilter; import javax.servlet.FilterChain; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest;...
package reborncore.common.network; import net.minecraft.entity.player.EntityPlayerMP; import net.minecraft.network.PacketBuffer; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.ResourceLocation; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; import net.minecraft.world.c...
package scratchlib.objects; import java.util.ArrayList; import java.util.Iterator; import java.util.List; /** * Maps instances of {@link ScratchObject} to reference IDs, offering insertion, * lookup and iteration methods. */ public class ScratchReferenceTable implements Iterable<ScratchObject> { private final Li...
package scratchlib.objects; import java.io.IOException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import scratchlib.project.ScratchProject; import scratchlib.writer.ScratchOutputStream; /** * Maps instances of {@link ScratchObject} to reference IDs, offering insertion, * lookup and...
package seedu.address.logic.commands; import java.util.List; import java.util.Optional; import seedu.address.commons.core.Messages; import seedu.address.commons.util.CollectionUtil; import seedu.address.logic.commands.exceptions.CommandException; import seedu.address.model.person.Address; import seedu.address.model.per...
package seedu.address.logic.commands; import static java.util.Objects.requireNonNull; import static seedu.address.logic.parser.CliSyntax.PREFIX_ADDRESS; import static seedu.address.logic.parser.CliSyntax.PREFIX_EMAIL; import static seedu.address.logic.parser.CliSyntax.PREFIX_NAME; import static seedu.address.logic.pars...
package the_fireplace.ias.version; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import java.util.Arrays; import com.github.mrebhan.ingameaccountswitcher.IngameAccountSwitcher; impor...
package edu.mit.streamjit.impl.compiler; import static com.google.common.base.Preconditions.*; import edu.mit.streamjit.impl.compiler.types.MethodType; import com.google.common.collect.ImmutableList; import com.google.common.collect.Sets; import com.google.common.primitives.Shorts; import edu.mit.streamjit.util.Intrusi...
/* * @author zhongqiu * * 1Synchronized * * 2threadimplements RunnableRunnable targetThreadLocal.ThreadLocalMap threadLocals,threadStatus * (runable,thread)runablethread * NewRunnableBlockedWaitingTimed waitingTerminated * new Thread(),New * start() ,Runnable.if (threadStatus != 0)...
package edu.rpi.sss.util.log; import java.io.ByteArrayOutputStream; import java.io.IOException; import org.apache.log4j.Logger; /** * An OutputStream which writes to log4j. * * @author Mike Douglass douglm@rpi.edu */ public class Log4jOutputStream extends ByteArrayOutputStream { /** We're not supposed to allow o...
package edu.ucsc.dbtune.optimizer; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Random; import java.util.Set; i...
package eu.e43.impeller.contacts; import android.accounts.Account; import android.content.ContentProviderOperation; import android.content.ContentResolver; import android.content.ContentUris; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.net.Uri; im...
package org.tigris.subversion.svnclientadapter; import java.net.MalformedURLException; public class SVNUrl { private String svnUrl; private String protocol; // http, file, svn or svn+ssh public SVNUrl(String svnUrl) throws MalformedURLException { this.svnUrl = svnUrl; parseUrl(); } /...
package experimentalcode.students.waase; import java.util.Iterator; import java.util.List; import java.util.Random; import de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm; import de.lmu.ifi.dbs.elki.data.Cluster; import de.lmu.ifi.dbs.elki.data.Clustering; import de.lmu.ifi.dbs.elki.data.NumberVector; import de.lmu.ifi...
package com.timepath.steam.io.test; import com.timepath.plaf.x.filechooser.NativeFileChooser; import com.timepath.steam.io.GCF; import com.timepath.steam.io.GCF.DirectoryEntry; import com.timepath.swing.DirectoryTreeCellRenderer; import java.awt.Component; import java.io.File; import java.io.IOException; import java.ut...
package gameEngine.model.tile; import java.util.HashMap; import java.util.Map; import jgame.JGObject; import gameEngine.Constant.Constant; import gameEngine.model.bullet.Bullet; import gameEngine.model.enemy.Enemy; import gameEngine.model.purchase.PurchaseInfo; public class TemporaryBarrier extends JGObject { priva...
package gameEngine.model.tile; import jgame.JGObject; import gameEngine.Constant.Constant; import gameEngine.model.purchase.PurchaseInfo; public class TemporaryBarrier extends JGObject implements PurchaseInfo{ private String barrierName, image; private double damage, attackSpeed, range, x, y, cost, recyclePrice...
package org.jetel.data; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import org.jetel.database.CopySQLData; import org.jetel.database.SQLUtil; import org.jetel.database.DBConnection; import org.jetel.exception.BadDataFormatException; import org.jetel.exception.BadDataFormatExcepti...
// $Id: TileSet.java,v 1.28 2002/05/09 18:43:32 mdb Exp $ package com.threerings.media.tile; import java.awt.Color; import java.awt.Image; import java.awt.Rectangle; import java.awt.Transparency; import java.awt.image.BufferedImage; import java.io.IOException; import java.io.Serializable; import com.samskivert.util.Str...
package bisq.common.app; import java.util.Arrays; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.stream.Collectors; import lombok.EqualsAndHashCode; import lombok.extern.slf4j.Slf4j; /** * hold a set of capabilities and offers appropriate comparison...
package org.lenya.cms.task; import org.lenya.cms.task.ExecutionException; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.PrintStream; import java.util.Iterator; import java.util.Map; import org.apache.avalon.framework.parameters.ParameterException; import org....
package org.archive.wayback.core; import java.io.IOException; import java.io.InputStream; import java.util.Enumeration; import java.util.Iterator; import java.util.Map; import java.util.Properties; import java.util.Set; import java.util.logging.Logger; import org.apache.commons.httpclient.Header; import org.archive.io....
package cn.cerc.ui.vcl; import cn.cerc.ui.core.HtmlWriter; import cn.cerc.ui.parts.UIComponent; import cn.cerc.ui.parts.UICssComponent; public class UIUrl extends UICssComponent { private String text; private String href; private String onclick; public UIUrl() { super(); } public UIUrl(U...
package org.wikimedia.commons; import android.net.Uri; import android.os.*; import java.util.*; import java.util.regex.*; public class Media implements Parcelable { public static Creator<Media> CREATOR = new Creator<Media>() { public Media createFromParcel(Parcel parcel) { return new Media(parce...
// TiffTools.java package loci.formats; import java.awt.Rectangle; import java.awt.image.BufferedImage; import java.awt.image.DataBuffer; import java.awt.image.IndexColorModel; import java.io.*; import java.lang.reflect.Array; import java.lang.reflect.Field; import java.util.*; import loci.common.*; import loci.formats...
package org.broad.igv.util; import com.google.common.base.Predicate; import com.google.common.base.Supplier; import junit.framework.Assert; import org.broad.igv.AbstractHeadlessTest; import org.broad.igv.Globals; import org.broad.igv.track.Track; import org.broad.igv.track.TrackProperties; import org.broad.igv.track.Wi...
/** * Write a description of class appletBoard here. * * @author (your name) * @version (a version number or a date) * * Lots of help from Mr. Sikora's C.S. google website's examples & comments from Mr. Sikora's example code * Asked (Mr. Gumminger) for help on implementing click-able squares */ import java.awt....
package org.jfree.chart.plot.junit; import java.awt.BasicStroke; import java.awt.Color; import java.awt.GradientPaint; import java.awt.Graphics2D; import java.awt.Stroke; import java.awt.geom.Point2D; import java.awt.geom.Rectangle2D; import java.awt.image.BufferedImage; import java.io.ByteArrayInputStream; import java...
package org.jgroups.util; import org.testng.*; import java.io.*; import java.util.*; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; public class JUnitXMLReporter implements ITestListener, IConfigurationListener2 { protected String output_dir=null; protected static fina...
package tlc2.tool.distributed; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.net.InetAddress; import java.net.URI; import java.rmi.NotBoundException; import java.rmi.RemoteException; import java.rmi.registry.LocateRegistry; import java.rmi.registry.Registry; import java.rm...
package tlc2.tool.distributed; import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.net.InetAddress; import java.net.URI; import java.net.UnknownHostException; import java.rmi.ConnectException; import java.rmi.Naming; import java.rmi.NoSuchObjectEx...
package transform; import org.apache.commons.lang3.StringUtils; import org.codehaus.jackson.map.ObjectMapper; import whelk.Document; import whelk.JsonLd; import whelk.Whelk; import whelk.triples.JsonldSerializer; import whelk.util.TransformScript; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEve...
package com.exedio.cope.pattern; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.List; import com.exedio.cope.Attribute; import com.exedio.cope.Cope; import com.exedio.cope.IntegerAttribute; import com.exedio.cope.Item; import com.exedio....
package org.jenetics.util; import static java.lang.String.format; import java.util.Random; public final class math extends StaticObject { private math() {} /** * Add to long values and throws an ArithmeticException in the case of an * overflow. * * @param a the first summand. * @param b...
package com.exedio.cope.pattern; import java.awt.geom.AffineTransform; import java.awt.image.AffineTransformOp; import java.awt.image.BufferedImage; import java.io.ByteArrayInputStream; import java.io.IOException; import java.util.Arrays; import java.util.HashSet; import java.util.Locale; import javax.imageio.IIOImage;...
package com.intellij.rt.junit4; import org.junit.runner.Computer; import org.junit.runner.Description; import org.junit.runner.Request; import org.junit.runner.Runner; import org.junit.runner.manipulation.Filter; import org.junit.runners.Suite; import org.junit.runners.model.InitializationError; import org.junit.runner...
package org.switchyard.component.sca; import javax.xml.namespace.QName; import org.switchyard.Exchange; import org.switchyard.ExchangePattern; import org.switchyard.ExchangeState; import org.switchyard.HandlerException; import org.switchyard.Message; import org.switchyard.ServiceReference; import org.switchyard.Synchro...
package hu.sch.ejb; import hu.sch.domain.EntrantRequest; import hu.sch.domain.Group; import hu.sch.domain.Membership; import hu.sch.domain.PointRequest; import hu.sch.domain.Post; import hu.sch.domain.PostType; import hu.sch.domain.Semester; import hu.sch.domain.SpotImage; import hu.sch.domain.SvieMembershipType; impor...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package sokoban.fredmaster2; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Random; imp...
package soot.dexpler; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import soot.Body; import soot.Local; import soot.Type; import soot.Unit; import soot.UnknownType; import soot.Value; import soot.jimple.AbstractStmtSwitch; import soot.jimple.Arr...
package sudoku; import common.BackedSet; import common.Sets; import java.util.Arrays; import java.util.Collection; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.NoSuchElementException; import java.util.Objects; import java.util.Set; import java.u...
import static org.junit.Assert.*; import org.junit.Test; import de.ids_mannheim.korap.query.serialize.PoliqarpPlusTree; import de.ids_mannheim.korap.util.QueryException; public class PoliqarpPlusTreeTest { PoliqarpPlusTree ppt; String map; private boolean equalsQueryContent(String res, String query) throws ...
package userpackage; import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import uk.co.omegaprime.mdbi.*; import java.math.BigDecimal; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.time.LocalDat...
package states; import java.awt.Graphics2D; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.util.ArrayList; import java.util.Hashtable; import java.util.Scanner; import java.util.concurrent.ConcurrentLinkedQueue; import data.Level; import data.Room; import data.Square; ...
package tp.pr5.views.window; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; //import javafx.scene.image.Image; import javax.s...
package net.idlesoft.android.apps.github.activities; import com.flurry.android.FlurryAgent; import net.idlesoft.android.apps.github.R; import net.idlesoft.android.apps.github.utils.GravatarCache; import org.idlesoft.libraries.ghapi.GitHubAPI; import org.idlesoft.libraries.ghapi.APIAbstract.Response; import org.json.JSO...
package net.java.sip.communicator.impl.gui.utils; import java.awt.*; import java.awt.event.*; import java.awt.image.*; import java.io.*; import java.util.*; import javax.swing.text.html.*; import net.java.sip.communicator.service.protocol.*; import net.java.sip.communicator.util.*; /** * All look and feel related cons...
package net.yeputons.android239.rubikscube; import android.app.AlertDialog; import android.util.Log; 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; im...
package com.fteams.siftrain.screens; import com.badlogic.gdx.Game; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Screen; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.TextureAtlas; import com.badlogic.gdx.scenes.scene2d.Stage; import com.bad...
package ethanjones.cubes.side.client; import ethanjones.cubes.core.platform.Compatibility; import ethanjones.cubes.core.system.Branding; import ethanjones.cubes.entity.living.player.Player; import ethanjones.cubes.graphics.world.RayTracing; import ethanjones.cubes.side.common.Cubes; import ethanjones.cubes.world.Coordi...
package uk.org.cinquin.mutinack; import static contrib.uk.org.lidalia.slf4jext.Level.TRACE; import static java.util.Objects.requireNonNull; import static uk.org.cinquin.mutinack.candidate_sequences.DuplexAssay.AVERAGE_N_CLIPPED; import static uk.org.cinquin.mutinack.candidate_sequences.DuplexAssay.CLOSE_TO_LIG; import ...
package org.griphyn.cPlanner.toolkit; import java.io.BufferedReader; import java.io.StringReader; import java.io.FileReader; import java.net.URL; import java.util.LinkedList; import java.io.File; import java.util.List; import java.util.ArrayList; import java.util.Iterator; import java.util.Map; import java.util.HashMap...
package hudson.util; import hudson.FilePath; import hudson.Util; import static hudson.Util.fixEmpty; import hudson.model.AbstractProject; import hudson.model.Hudson; import org.kohsuke.stapler.StaplerRequest; import org.kohsuke.stapler.StaplerResponse; import javax.servlet.ServletException; import java.io.BufferedReade...
package org.jboss.as.server.deployment; /** * An enumeration of the phases of a deployment unit's processing cycle. * * @author <a href="mailto:david.lloyd@redhat.com">David M. Lloyd</a> */ public enum Phase { /* == TEMPLATE == * Upon entry, this phase performs the following actions: * <ul> * <li...
package org.jboss.as.server.deployment; /** * An enumeration of the phases of a deployment unit's processing cycle. * * @author <a href="mailto:david.lloyd@redhat.com">David M. Lloyd</a> */ public enum Phase { /* == TEMPLATE == * Upon entry, this phase performs the following actions: * <ul> * <li...
package org.jboss.as.server.deployment; /** * An enumeration of the phases of a deployment unit's processing cycle. * * @author <a href="mailto:david.lloyd@redhat.com">David M. Lloyd</a> */ public enum Phase { /* == TEMPLATE == * Upon entry, this phase performs the following actions: * <ul> * <li...
package org.jboss.as.server.deployment; /** * An enumeration of the phases of a deployment unit's processing cycle. * * @author <a href="mailto:david.lloyd@redhat.com">David M. Lloyd</a> */ public enum Phase { /* == TEMPLATE == * Upon entry, this phase performs the following actions: * <ul> * <li...
package org.opencms.workplace.editors.ade; import org.opencms.main.CmsIllegalArgumentException; import org.opencms.util.CmsStringUtil; import javax.servlet.http.HttpServletRequest; /** * Bean encapsulating all ADE search options.<p> * * @author Michael Moossen * * @version $Revision: 1.1.2.3 $ * * @since 7.6 */...
package org.jvalue.ceps.main; import com.google.inject.Guice; import com.google.inject.Injector; import org.jvalue.ceps.adapter.AdapterModule; import org.jvalue.ceps.auth.AuthModule; import org.jvalue.ceps.data.DataManager; import org.jvalue.ceps.data.DataModule; import org.jvalue.ceps.db.DbModule; import org.jvalue.ce...
// This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the blocks indicating autogenerated code o...
package cn.cerc.mis.core; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Component; import org.springframework.web.context.WebApplicationContext; import cn.cerc.db.core.IHandle; import cn.cerc.db.core.ISession; @C...
package com.aimilin.utils; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.InputStream; import java.io.OutputStream; import java.util.List; import java.util.Map; import java.util.Objects; import org.apache.poi.ss.usermodel.Workbook; import com.aimilin.bean.Exce...
package com.amihaiemil.eoyaml; /** * Yaml Scalar. * @author Mihai Andronache (amihaiemil@gmail.com) * @version $Id$ * @since 3.1.3 */ public interface Scalar extends YamlNode { String value(); @Override default Node type() { return Node.SCALAR; } }
package com.carpoolbuddy.data; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.xml.bind.annotation.XmlRootElement; @Entity @XmlRootElement public class Person { @Id @GeneratedValue(strategy = GenerationT...
package com.decker.Essentials; import java.io.IOException; import java.io.OutputStream; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.decker.Essentials.Category.Category; import com.decker.Essential...
package com.github.sixro; import java.io.*; import org.apache.commons.io.*; import org.apache.maven.plugin.*; /** * Goal which touches a timestamp file. * * @goal package * @phase install */ public class PackageMojo extends AbstractMojo { /** * The system. * * @parameter expression="${vodafoneca...
package com.gooddata; import static com.gooddata.Validate.notNull; import static java.lang.String.format; import static org.springframework.http.HttpMethod.GET; import org.codehaus.jackson.map.ObjectMapper; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; import org.springframewo...
package mx.unam.ciencias.edd; import java.util.Iterator; import java.util.NoSuchElementException; public class Lista<T> implements Coleccion<T> { /* Clase Nodo privada para uso interno de la clase Lista. */ private class Nodo { /* El elemento del nodo. */ public T elemento; /* El nodo an...
package org.sikuli.ide; import java.awt.*; import java.util.*; import javax.swing.text.*; import javax.swing.*; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.swing.event.*; import javax.swing.SizeRequirements; import org.sikuli.script.Debug; public class SikuliViewFactory implements ViewF...
package com.nerodesk.takes.doc; import com.nerodesk.om.Base; import com.nerodesk.om.Doc; import java.io.IOException; import java.util.Iterator; import org.apache.commons.lang3.StringUtils; import org.takes.Request; import org.takes.Take; import org.takes.Takes; import org.takes.facets.auth.RqAuth; import org.takes.face...
package com.opentangerine.clean; import org.apache.commons.lang3.StringUtils; /** * Cleaning mode. * * @author Grzegorz Gajos (grzegorz.gajos@opentangerine.com) * @version $Id$ * @since 0.5 */ @SuppressWarnings("PMD.BooleanInversion") public final class Mode { /** * Readonly flag. */ private fin...
package com.opentangerine.clean; import com.google.common.collect.Lists; import java.io.File; import java.io.IOException; import java.nio.file.Path; import java.util.List; import java.util.Locale; import java.util.function.BiConsumer; import java.util.function.Function; import java.util.regex.Pattern; import org.apache...
package com.rider.nzbparse.types; import com.rider.nzbparse.comparators.FileItemComparator; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Date; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorTyp...
package cx2x.translator.language; import cx2x.xcodeml.exception.IllegalTransformationException; import cx2x.xcodeml.helper.XelementHelper; import cx2x.xcodeml.xelement.*; /** * Class holding information about defined dimension. * * @author clementval */ public class ClawDimension { private final int _lowerBound; ...
package cz.hobrasoft.pdfmu; import java.io.Flushable; import java.io.IOException; import java.io.PrintStream; import org.apache.commons.lang3.StringUtils; /** * Prints indented messages to a {@link PrintStream} * * <p> * The indentation level starts at 0 and can be changed using * {@link #indentMore} and {@link #i...
package view; import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import javax.swing.ButtonGroup; import javax.swing.GroupLayout; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JSpinner; import javax.swing.JToggleButton; import javax.swing.SpinnerListModel; import controlle...
package com.jetbrains.python; import com.intellij.codeInsight.generation.actions.CommentByLineCommentAction; import com.intellij.ide.DataManager; import com.intellij.openapi.actionSystem.ActionManager; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.IdeActions; import co...
package battleships.backend.classhelpers; import battleships.backend.State; import game.impl.BoardLocation; import battleships.backend.Settings; import java.util.List; public class BoardHelper { private State state; public BoardHelper(State state){ this.state = state; } public List<BoardLocation...
package be.ibridge.kettle.core.database; import java.util.ArrayList; import java.util.Collections; import java.util.Enumeration; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Properties; import org.w3c.dom.Node; import be.ibridge.kettle.core.Const; import be.ibridge.kettle.cor...
// modification, are permitted provided that the following conditions are met: // and/or other materials provided with the distribution. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE // ANY DIRECT, INDIRECT, ...
package edu.wustl.cab2b.server.util; import java.util.Timer; import java.util.TimerTask; import edu.wustl.cab2b.common.util.Utility; import edu.wustl.common.util.logger.Logger; public class TimerUtill { private static boolean flag = false; private static boolean flagTimer = false; private static final org.a...
package com.corner23.android.usb_otg_manager; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.os.IBinder; import android.util.Log; public class Unmount ext...
package com.ecyrd.jspwiki.parser; import java.io.IOException; import java.io.Reader; import java.io.StringReader; import java.util.*; import javax.xml.transform.Result; import org.apache.commons.lang.StringEscapeUtils; import org.apache.commons.lang.StringUtils; import org.apache.log4j.Logger; import org.apache.oro.tex...
package com.github.andlyticsproject; import java.util.ArrayList; import java.util.List; import org.apache.http.impl.client.DefaultHttpClient; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.view.View.OnClickListener; import android.widget.Expand...
package com.itmill.toolkit.demo.reservation; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.Calendar; import java.util.Collection; import java.util.Date; import java.util.I...