answer
stringlengths
17
10.2M
import java.io.*; public class Fachada { private int filas; private int columnas; private int contador; private boolean[][] fachada; public Fachada(String fichero) { try { BufferedReader br = new BufferedReader(new FileReader(fichero)); String sCurrentLine = br.readLi...
package reborncore; import me.modmuss50.jsonDestroyer.JsonDestroyer; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.SidedProxy; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftfo...
package net.fortuna.ical4j.data; import java.io.BufferedReader; import java.io.IOException; import java.io.PushbackReader; import java.io.Reader; import java.util.Arrays; import net.fortuna.ical4j.util.CompatibilityHints; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; /** * A read...
package water; import java.lang.management.ManagementFactory; import javax.management.*; import water.persist.Persist; import water.util.LinuxProcFileReader; import water.util.Log; /** * Starts a thread publishing multicast HeartBeats to the local subnet: the * Leader of this Cloud. * * @author <a href="mailto:clif...
package dr.evomodel.substmodel; import dr.inference.model.Likelihood; import dr.inference.model.Parameter; import dr.evolution.datatype.Microsatellite; import dr.math.ModifiedBesselFirstKind; /** * @author Chieh-Hsi Wu * Implementation of models by Watkins (2007) */ public class NewMicrosatelliteModel extends Abstra...
/* Open Source Software - may be modified and shared by FRC teams. The code */ /* the project. */ //Make sure to "Commit" code on your local computer with relevant comments //At end of session, "Push" code to the remote repository online. package edu.wpi.f...
package edu.wpi.first.wpilibj.templates; import edu.wpi.first.wpilibj.Joystick; import edu.wpi.first.wpilibj.RobotDrive; import edu.wpi.first.wpilibj.SimpleRobot; import edu.wpi.first.wpilibj.Timer; import edu.wpi.first.wpilibj.Relay; //import edu.wpi.first.wpilibj.Jaguar; //import edu.wpi.first.wpilibj.DriverStationLC...
/* Open Source Software - may be modified and shared by FRC teams. The code */ /* the project. */ //Make sure to "Commit" code on your local computer with relevant comments //At end of session, "Push" code to the remote repository online. package edu.wpi.f...
/* Open Source Software - may be modified and shared by FRC teams. The code */ /* the project. */ package edu.wpi.first.wpilibj.templates; import edu.wpi.first.wpilibj.SimpleRobot; import edu.wpi.first.wpilibj.CANJaguar; import edu.wpi.first.wpilibj.Driver...
package org.voltcore.messaging; import java.net.InetSocketAddress; import java.net.SocketException; import java.nio.ByteBuffer; import java.nio.channels.SocketChannel; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Ma...
package org.voltdb.messaging; import com.google_voltpatches.common.collect.ImmutableSet; import com.google_voltpatches.common.collect.Sets; import org.voltcore.messaging.VoltMessage; import org.voltdb.StoredProcedureInvocation; import java.io.IOException; import java.nio.ByteBuffer; import java.util.Collection; import ...
package com.yahoo.squidb.data; import android.annotation.TargetApi; import android.content.ContentResolver; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.net.Uri; import android.os.Build.VERSION; import...
import java.util.Arrays; import java.util.Vector; public class LFCFile { //TODO Should we add a type to distinguish REGULAR, INPUT, and MERGE files? private String logicalFileName; private long logicalFileSize; private Vector<String>SENames; public String getLogicalFileName() { return logica...
package jade.domain.FIPAAgentManagement; /** * * @see jade.domain.FIPAAgentManagement.FIPAAgentManagementOntology * @author Fabio Bellifemine - CSELT S.p.A. * @version $Date$ $Revision$ */ public class InternalError extends FailureException { public InternalError(String msg) { super("(internal-error "+msg+")"); ...
package uk.co.johnjtaylor; import java.util.ArrayList; import uk.co.johnjtaylor.enums.DataStructure; import uk.co.johnjtaylor.structures.DataStructures; import uk.co.johnjtaylor.structures.LinkedListNode; public class Tester<T extends Comparable<T>> { private Time timer; private DataGenerator<T> gen; @Suppr...
// $Id: PuzzleContext.java,v 1.3 2003/11/26 23:16:13 mdb Exp $ package com.threerings.puzzle.util; import com.threerings.util.KeyDispatcher; import com.threerings.util.KeyboardManager; import com.threerings.util.MessageManager; import com.threerings.media.FrameManager; import com.threerings.media.sound.SoundManager; im...
package org.jsmpp.examples; import java.io.IOException; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicLong; import org.apache.log4j.PropertyC...
//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 graph; import generaltools.ArrayTools; import graphtools.EdmondsKarpMaxFlowMinCut; import hashtools.TwoKeyHash; import java.util.Arrays; import java.util.Comparator; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Set; import java.util.SortedSet; import java.util.Tree...
package org.apache.commons.fileupload; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.lang.reflect.Method; import java.util.Map; import java.util.List; import java.util.ArrayList; import java.util.HashMap; import javax.servlet.http.HttpServletRequest; import org.apache....
package org.jdesktop.swingx.painter; import java.awt.Graphics2D; import java.awt.Paint; import java.awt.Shape; import java.awt.Stroke; import java.awt.geom.AffineTransform; import java.awt.geom.Point2D; import java.awt.geom.Rectangle2D; import javax.swing.JComponent; import org.jdesktop.swingx.util.Resize; /** * <p>A ...
package org.opentdc.wtt.file; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.Reader; import java.io.Writer; import java.lang.reflec...
package org.smoothbuild.task.exec; import javax.inject.Inject; import org.smoothbuild.command.CommandLineArguments; import org.smoothbuild.function.base.Function; import org.smoothbuild.function.base.Module; import org.smoothbuild.function.base.Name; import org.smoothbuild.message.listen.ErrorMessageException; import o...
package org.dvb.event; import java.awt.BDJHelper; import java.util.Iterator; import java.util.LinkedList; import javax.tv.xlet.XletContext; import org.davic.resources.ResourceClient; import org.davic.resources.ResourceServer; import org.davic.resources.ResourceStatusEvent; import org.davic.resources.ResourceStatusListe...
package pro.taskana.impl; import java.time.Instant; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.List; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import pro.taskana.BulkOperationResults; import pro.taskana.TaskanaEngine; import pr...
package org.wysaid.view; import android.content.Context; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Matrix; import android.graphics.PixelFormat; import android.graphics.SurfaceTexture; import an...
package com.opengamma.web.jetty; import java.io.File; import java.io.IOException; import org.eclipse.jetty.server.Connector; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.nio.SelectChannelConnector; import org.springframework.context.ApplicationContext; import org.springframework.context.suppo...
package com.ironz.binaryprefs.util; import org.junit.Test; import java.util.HashSet; import java.util.Set; import static org.junit.Assert.assertEquals; public class BitsTest { @Test public void stringSetConvert() { Set<String> strings = new HashSet<>(); strings.add("One"); strings.add("T...
package org.batfish.main; import static com.google.common.base.MoreObjects.firstNonNull; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Verify.verify; import static java.nio.charset.StandardCharsets.UTF_8; import static java.util.regex.Pattern.CASE_INSENSITIVE; im...
import java.util.Scanner; /** * <dl> * <dt>Purpose: * <dd>Simple example program * * <dt>Description: * <dd>This program asks the user for first and last name and prints them out * </dl> * * */ public class InputOutput { public static void main(String[] args) { Scanner scanner = new Scanner(System...
package controllers; import com.mashape.unirest.http.exceptions.UnirestException; import factories.BidirectionalLoginDataCustomFactory; import factories.BidirectionalPendingPasswordResetFactory; import factories.BidirectionalQuestionFactory; import factories.BidirectionalUserFactory; import funWebMailer.FunWebMailer; i...
package com.facebook.litho; import javax.annotation.CheckReturnValue; import javax.annotation.concurrent.GuardedBy; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.ref.WeakReference; import java.util.List; import java.util.Map; import java.util.concurrent.atomic.Atom...
// $Id: Config.java,v 1.7 2001/10/04 00:24:16 mdb Exp $ // samskivert library - useful routines for java programs // 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 FIT...
package com.joelapenna.foursquared.util; import com.joelapenna.foursquare.types.Checkin; import com.joelapenna.foursquare.types.User; import com.joelapenna.foursquare.types.Venue; import android.text.TextUtils; import android.text.format.DateUtils; import java.text.ParseException; import java.text.SimpleDateFormat; imp...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package fasam.global.entidades; import java.util.ArrayList; import java.util.List; /** * * @author Aluno */ public class Artigo { int _codigo; String _titulo; String _descricao; List<Comentario> coment...
package DataObjects; /** * * @author garreola-gutierrez, mtdargen */ public class Positions { Runway parent; String positionMaximumLength; String positionSlope; String positionCenterlineOffset; public Positions(){ } @Override public String toString(){ return positionMaximumLen...
package com.panaton.mgoneup; import android.net.Uri; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.view.KeyEvent; import android.webkit.WebChromeClient; import android.webkit.WebSettings; import android.webkit.WebView; import android.webkit.WebViewClient; import an...
/** * Write a description of class Process here. * * @author (your name) * @version (a version number or a date) */ public class Process { // instance variables - replace the example below with your own private float arrivalTime;//between 0 and 99 private float expectedTime;//between 0.1 and 10 pri...
package edu.cs4730.qrDemo; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import androidx.appcompat.app.AppCompatActivity; public class MainActivity extends AppCompatActivity { MainFragment myMainFragment; @Override protected void onCreate(Bundle savedInstanceState) { ...
package sorting; import java.util.Comparator; import exceptions.EmptyHeapException; public class HeapSort { public static <T> T[] heapSort(T[] array, Comparator<T> comparator) { Heap<T> heap = new SimpleHeapImpl<T>(array, comparator); for (int index = array.length - 1; !heap.isEmpty(); index ...
package org.hisp.dhis.dxf2.events.trackedentity.store; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.lang3.StringUtils; import org.hisp.dhis.dxf2.events.aggregates.AggregateContext; import org.hisp.dhis.dxf2.events.trackedentity.Attribute; import org.hisp.dhis.dxf2.eve...
package upparse; import java.io.*; import java.util.*; import static java.lang.Math.*; /** * Class for evaluating chunker output * @author ponvert@mail.utexas.edu (Elias Ponvert) */ public class ChunkingEval { private final ChunkedCorpus goldCorpus; private final String evalName; private final List<Experiment>...
package gosu.tools.ant; import gosu.tools.ant.util.AntLoggingHelper; import gw.lang.gosuc.simple.ICompilerDriver; import gw.lang.gosuc.simple.IGosuCompiler; import gw.lang.gosuc.simple.SoutCompilerDriver; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.DirectoryScanner; import org.apache.tools.a...
package org.nuxeo.ecm.platform.publisher.impl.service; import java.util.List; import org.junit.Before; import org.junit.After; import org.junit.Test; import static org.junit.Assert.*; import org.nuxeo.ecm.core.api.CoreSession; import org.nuxeo.ecm.core.api.DocumentModel; import org.nuxeo.ecm.core.storage.sql.SQLReposit...
package edu.pdx.cs410J.grader; import org.w3c.dom.*; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import javax.xml.transform.TransformerException; import java.io.File; import java.io.FileWriter; import java.io.IOExcepti...
package org.jcryptool.crypto.flexiprovider.algorithms.ui.views; import java.io.IOException; import java.net.URL; import java.util.Hashtable; import java.util.List; import org.eclipse.core.commands.AbstractHandler; import org.eclipse.core.commands.ExecutionEvent; import org.eclipse.core.commands.ExecutionException; impo...
package org.hbase.async; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.Arrays; import org.jboss.netty.buffer.ChannelBuffer; import org.jboss.netty.buffer.ChannelBuffers; import org.jboss.netty.util.CharsetUtil; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.stumbleup...
package fr.openwide.core.imports.excel.location; import java.io.Serializable; import org.apache.commons.lang3.builder.ToStringBuilder; public class ExcelImportLocation implements Serializable { private static final long serialVersionUID = 6866449558201453287L; private final String fileName; private final St...
package whelk.export.servlet; import whelk.Document; import whelk.util.LegacyIntegrationTools; import javax.servlet.http.HttpServletRequest; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; import java.sql.Timestamp; import java.time.ZonedDateTime; import java.util.Arrays; im...
package com.jetbrains.python; import com.intellij.codeInsight.folding.CodeFoldingSettings; import com.intellij.lang.ASTNode; import com.intellij.lang.folding.FoldingBuilder; import com.intellij.lang.folding.FoldingDescriptor; import com.intellij.openapi.editor.Document; import com.intellij.openapi.project.DumbAware; im...
package com.google.auth.oauth2; import com.google.auto.value.AutoValue; import com.google.common.collect.ImmutableMap; import java.io.Serializable; import java.util.Map; import javax.annotation.Nullable; @AutoValue public abstract class JwtClaims implements Serializable { private static final long serialVersionUID = ...
package mod._sw; import java.io.PrintWriter; import lib.StatusException; import lib.TestCase; import lib.TestEnvironment; import lib.TestParameters; import util.AccessibilityTools; import util.WriterTools; import util.utils; import com.sun.star.accessibility.AccessibleRole; import com.sun.star.accessibility.XAccessible...
package com.systematic.trading.maths.indicator.ema; import static com.systematic.trading.maths.util.SystematicTradingMathsAssert.assertValues; import static com.systematic.trading.maths.util.SystematicTradingMathsAssert.line; import static com.systematic.trading.maths.util.SystematicTradingMathsAssert.point; import sta...
package com.voodoodyne.gstrap.lang; import java.util.Collection; import java.util.Map; /** * Utility methods for comparison and list testing that are typesafe. Gets around the annoying problem with * Set.contains(), Map.get(), etc which doesn't give you compiler checking if you change the type of the * value passed...
package de.cooperateproject.eabridge.eaobjectmodel.test; import static org.junit.Assert.assertEquals; import java.util.List; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.compare.Comparison; import org.eclipse.emf.compare.Diff; import org.eclipse.emf.compare.EMFCompare; import org.eclipse.emf.compare...
package org.openhab.binding.onewire.internal.handler; import static org.openhab.binding.onewire.internal.OwBindingConstants.*; import java.math.BigDecimal; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.u...
package io.hawt.web; import java.io.IOException; import java.io.PrintWriter; import java.security.AccessControlContext; import java.security.AccessController; import java.security.Principal; import java.util.ArrayList; import java.util.Arrays; import java.util.GregorianCalendar; import java.util.HashMap; import java.ut...
package com.rgi.common.util.jdbc; import com.mockrunner.mock.jdbc.MockConnection; import com.rgi.common.Pair; import com.sun.org.apache.xalan.internal.utils.XMLSecurityManager; import com.sun.org.omg.CORBA.AttributeDescription; import org.junit.Test; import java.io.File; import java.nio.file.FileSystems; import java.sq...
package org.deviceconnect.android.deviceplugin.host.profile; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.util.List; import java.util.Random; import org.deviceconnect.android.deviceplugin.host.R; import org.deviceconnect.android.event.Event; import org.deviceconnect.android.event...
package music_thing; import java.io.File; import java.net.URL; import java.nio.file.Files; import java.nio.file.Paths; import java.util.Optional; import java.util.ResourceBundle; import javafx.application.Platform; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.fxml.Initializable; import javafx...
package org.fiteagle.core.repo; import java.util.HashMap; import java.util.Map; import java.util.logging.Logger; import org.fiteagle.api.core.MessageBusMsgFactory; import com.hp.hpl.jena.query.QueryExecution; import com.hp.hpl.jena.query.QueryExecutionFactory; import com.hp.hpl.jena.query.QueryParseException; import co...
package Servlet; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSessio...
package edu.cs4460.msd.visual.maps; import processing.core.PApplet; import ch.randelshofer.tree.NodeInfo; import ch.randelshofer.tree.circlemap.CirclemapNode; import ch.randelshofer.tree.circlemap.CirclemapTree; import de.fhpotsdam.unfolding.UnfoldingMap; import de.fhpotsdam.unfolding.geo.Location; import de.fhpotsdam....
package edu.cs4460.msd.visual.maps; import java.awt.Color; import processing.core.PApplet; import ch.randelshofer.tree.NodeInfo; import ch.randelshofer.tree.circlemap.CirclemapNode; import ch.randelshofer.tree.circlemap.CirclemapTree; import de.fhpotsdam.unfolding.UnfoldingMap; import de.fhpotsdam.unfolding.geo.Locatio...
package com.rultor.web; import com.jcabi.aspects.Loggable; import com.rexsl.page.JaxbBundle; import com.rexsl.page.PageBuilder; import com.rultor.spi.Markdown; import com.rultor.spi.Time; import com.rultor.timeline.Event; import com.rultor.timeline.Product; import com.rultor.timeline.Tag; import com.rultor.timeline.Tim...
// AutoPluginInvoker.java package imagej.plugin; import ij.IJ; import ij.ImagePlus; import ij.ImageStack; import ij.WindowManager; import ij.gui.GenericDialog; import ij.gui.ImageWindow; import ij.gui.NonBlockingGenericDialog; import ij.gui.Roi; import ij.plugin.filter.PlugInFilterRunner; import ij.plugin.frame.RoiMana...
package com.amirarcane.sample; import android.app.Activity; import android.app.Dialog; import android.content.ContentUris; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.Matrix; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import android.provid...
// AutoPluginInvoker.java package imagej.plugin; import ij.IJ; import ij.ImagePlus; import ij.ImageStack; import ij.WindowManager; import ij.gui.GenericDialog; import ij.gui.ImageWindow; import ij.gui.NonBlockingGenericDialog; import ij.gui.Roi; import ij.plugin.filter.PlugInFilterRunner; import ij.plugin.frame.RoiMana...
// package package org.mskcc.cbio.importer; // imports import org.mskcc.cbio.importer.*; import org.mskcc.cbio.importer.model.*; import org.mskcc.cbio.portal.dao.DaoCancerStudy; import org.apache.commons.cli.*; import org.apache.commons.logging.*; import org.apache.log4j.PropertyConfigurator; import org.springframework...
import zemberek.morphology.analysis.SentenceAnalysis; import zemberek.morphology.analysis.WordAnalysis; import zemberek.morphology.analysis.tr.TurkishSentenceAnalyzer; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Set; import java.util.TreeSet; /** * @author Fatih Barmanb...
package agentgui.core.network; import java.net.Inet4Address; import java.net.Inet6Address; import java.net.InetAddress; import java.net.NetworkInterface; import java.net.SocketException; import java.net.UnknownHostException; import java.util.ArrayList; import java.util.Collections; import java.util.Enumeration; import ...
package ru.pinkponies.app; import java.io.IOException; import java.lang.ref.WeakReference; import java.net.InetSocketAddress; import java.nio.BufferOverflowException; import java.nio.ByteBuffer; import java.nio.channels.SelectionKey; import java.nio.channels.Selector; import java.nio.channels.SocketChannel; import java...
package com.poco; public class SequentialExecution extends AbstractExecution implements Queryable, Matchable { protected int currentCursor = 0; protected boolean exhausted = false; private boolean currentChildIsZeroPlus = false; private boolean currentChildIsOnePlus = false; public Sequentia...
package org.bimserver.plugins; import java.io.Closeable; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.InputStream; import java.net.URI; import java.net.URL; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util....
package sample.usecase; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import sample.context.actor.Actor; import sample.context.lock.IdLockHandler.LockType; import sample.model.asset.CashInOut; import sample.model.asset.CashInOut.RegC...
package de.gurkenlabs.litiengine.gui; import java.awt.Color; import java.awt.Graphics2D; import java.awt.event.KeyEvent; import java.awt.geom.Rectangle2D; import java.util.Arrays; import java.util.List; import java.util.concurrent.CopyOnWriteArrayList; import java.util.function.IntConsumer; import de.gurkenlabs.litieng...
package de.hs_mannheim.IB.SS15.OOT; import java.awt.BorderLayout; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JOptionPane; import javax.swing.JPanel; import java...
package org.zstack.compute.vm; import org.springframework.beans.factory.annotation.Autowire; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Configurable; import org.springframework.transaction.annotation.Transactional; import org.zstack.core.db.Databas...
package c5db.replication; import c5db.interfaces.ReplicatorLog; import c5db.interfaces.replication.IndexCommitNotice; import c5db.interfaces.replication.ReplicatorInstanceEvent; import c5db.replication.rpc.RpcMessage; import c5db.replication.rpc.RpcRequest; import c5db.replication.rpc.RpcWireReply; import c5db.util.Che...
package com.github.conserveorm.tools; import java.io.IOException; import java.io.Reader; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.nio.CharBuffer; import java.sql.Blob; import java.sql.Clob; import java.sql.SQLException; import...
package integration.tests; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import gr.ntua.vision.monitoring.VismoConfiguration; import gr.ntua.vision.monitoring.events.MonitoringEvent; import gr.ntua.vision.monitoring.sources.EventSourceListener; import gr.ntua.vision.monitoring....
package com.shinemo.mpush.tools; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.Closeable; import java.io.IOException; import java.util.zip.DeflaterOutputStream; import java.util.zip.InflaterInputStream; public final cla...
package com.google.mu.util; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.mu.util.Optionals.optional; import static java.util.Comparator.naturalOrder; import java.util.Comparator; import java.util.NoSuchElementException; import java.util.Objects; import java.util.Optional; im...
package blog.interceptor; import beans.BeanManager; import blog.data.EIUserFavourRule; import blog.service.IUserFavourRuleService; import blog.service.IUserFavourService; import config.Configs; import org.apache.http.HttpException; import org.apache.http.HttpRequest; import org.apache.http.HttpResponse; import org.apac...
package org.yamcs; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.util.HashMap; import java.util.IdentityHashMap; import java.util.List; import java.util.Map; import java.util.Set; import java.util.logging.Lo...
package weardrip.weardrip; import android.app.AlertDialog; import android.content.BroadcastReceiver; import android.content.Context; import android.content.ContextWrapper; import android.content.DialogInterface; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; import android...
package com.galvarez.ttw.screens.overworld; import static com.galvarez.ttw.utils.Colors.markup; import static java.lang.Math.min; import java.util.List; import java.util.Map.Entry; import com.artemis.Entity; import com.artemis.World; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Color; import com.badlog...
package org.domokit.oknet; import android.content.Context; import android.util.Log; import com.squareup.okhttp.Cache; import com.squareup.okhttp.OkHttpClient; import org.chromium.mojo.bindings.InterfaceRequest; import org.chromium.mojo.system.Core; import org.chromium.mojo.system.DataPipe; import org.chromium.mojo.syst...
package lu.svv.offline.check; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java...
package com.wegas.log.neo4j; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.ObjectNode; import com.wegas.core.Helper; ...
package org.xins.logdoc; import org.xins.util.MandatoryArgumentChecker; /** * Central class for <em>logdoc</em> logging. * * @version $Revision$ $Date$ * @author Ernst de Haan (<a href="mailto:znerd@FreeBSD.org">znerd@FreeBSD.org</a>) */ public final class LogCentral extends Object { // Class fields /** ...
package com.cordovaplugincamerapreview; import android.Manifest; import android.content.pm.PackageManager; import android.app.FragmentManager; import android.app.FragmentTransaction; import android.hardware.Camera; import android.util.DisplayMetrics; import android.util.Log; import android.util.TypedValue; import andro...
package org.wikipedia.history; import android.app.*; import android.content.*; import android.database.*; import android.net.*; import android.os.*; import android.support.v4.app.LoaderManager; import android.support.v4.content.CursorLoader; import android.support.v4.content.Loader; import android.support.v4.widget.Cur...
package org.spigotmc.builder; import com.google.common.base.Charsets; import com.google.common.base.Predicate; import com.google.common.base.Throwables; import com.google.common.collect.Iterables; import com.google.common.hash.Hasher; import com.google.common.hash.Hashing; import com.google.common.io.ByteStreams; impor...
package mil.nga.giat.mage; import java.io.File; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Map; import mil.nga.giat.mage.login.LoginActivity; import mil.nga.giat.mage.map.CacheOverlay; import mil.nga.giat.mage.sdk.eve...
package org.ocelotds.annotations; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.TYPE; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import static java.lang.annotation.RetentionPolicy.RUNTIME; import java.lang.annotation.Target; impo...
package ui.issuecolumn; import backend.interfaces.IModel; import javafx.geometry.Insets; import javafx.scene.Node; import javafx.scene.input.KeyEvent; import javafx.scene.layout.HBox; import prefs.Preferences; import ui.UI; import ui.components.KeyboardShortcuts; import ui.issuepanel.IssuePanel; import util.events.Colu...
package org.flymine.web; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import java.util.Iterator; import java.util.Map; import java.util.HashMap; import org.apache.struts.tiles.actions.TilesAction; import org.apache.struts.action.Acti...
package com.thoughtworks.xstream.core.util; public final class FastStack { private Object[] stack; private int pointer; public FastStack(int initialCapacity) { stack = new Object[initialCapacity]; } public void push(Object value) { if (pointer + 1 >= stack.length) { resiz...
package org.yamcs.yarch.streamsql; import java.io.StringReader; import java.lang.reflect.Constructor; import java.util.List; import java.util.concurrent.atomic.AtomicInteger; import org.codehaus.janino.SimpleCompiler; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.yamcs.yarch.ColumnDefinition; impo...