answer
stringlengths
17
10.2M
package uk.ac.manchester.cs.owl.semspreadsheets.ui.action; import java.awt.event.ActionEvent; import java.awt.event.KeyEvent; import uk.ac.manchester.cs.owl.semspreadsheets.ui.ErrorHandler; import uk.ac.manchester.cs.owl.semspreadsheets.ui.WorkbookFrame; /** * @author Stuart Owen * @author Matthew Horridge */ @Suppr...
package natlab.backends.x10; import java.io.*; import java.util.ArrayList; import java.util.HashMap; import natlab.tame.valueanalysis.*; import natlab.tame.valueanalysis.advancedMatrix.AdvancedMatrixValue; import natlab.tame.valueanalysis.aggrvalue.*; import natlab.tame.AdvancedTamerTool; import natlab.toolkits.filehan...
import java.io.File; import java.awt.BorderLayout; import java.awt.GridLayout; import java.awt.FlowLayout; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; impo...
import java.util.*; class HelloWorld { static final List<String> CENSUS = new ArrayList<String>(); static { CENSUS.add("Allen Comp Sci @ https://github.com/AllenCompSci"); CENSUS.add("Mr. Hudson @ https://github.com/theshrewedshrew"); CENSUS.add("BEST Team 58 @ https://github.com/BESTTeam58"); CENSU...
package cx2x.xcodeml.xelement; import org.w3c.dom.Element; import org.w3c.dom.Node; import cx2x.xcodeml.exception.*; import cx2x.xcodeml.helper.*; /** * The XdoStatement represents the FdoStatement (6.5) element in XcodeML * intermediate representation. * * Elements: * - Required: * - Var (Xvar) * - indexRan...
import Model.FuncionarioModel; import Model.HospedeModel; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.Scanner; public class Main{ private static Scanner reader = new Scanner(System.in); private static SimpleDateFormat formatter = new SimpleDateFo...
package jolie.net; import com.google.gwt.user.client.rpc.SerializationException; import com.google.gwt.user.server.rpc.RPC; import com.google.gwt.user.server.rpc.RPCRequest; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io....
package jolie.net; import com.google.gwt.user.client.rpc.SerializationException; import com.google.gwt.user.server.rpc.RPC; import com.google.gwt.user.server.rpc.RPCRequest; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io....
package jolie.net; import com.google.gwt.user.client.rpc.SerializationException; import com.google.gwt.user.server.rpc.RPC; import com.google.gwt.user.server.rpc.RPCRequest; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io....
package codequiz; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import javax.sound.sampled.AudioFormat; import javax.sound.sampled.AudioInputStream; import javax.sound.sampled.AudioSystem; import javax.sound.sampled.Clip; import javax.sound.sampled.Data...
package infodoc.core.container; import infodoc.core.dto.Activity; import infodoc.core.dto.ActivityInstance; import infodoc.core.dto.Case; import infodoc.core.dto.ClassificationValue; import infodoc.core.dto.Form; import infodoc.core.dto.Property; import infodoc.core.dto.PropertyValue; import java.util.ArrayList; import...
package org.eigenbase.util; import java.lang.reflect.*; import java.nio.*; import java.util.*; /** * Static utilities for Java reflection. * * @author John V. Sichi * @version $Id$ */ public abstract class ReflectUtil { private static Map<Class, Class> primitiveToBoxingMap; private static Map<Class, Method...
package org.odlabs.wiquery.ui.slider; import org.odlabs.wiquery.core.options.IComplexOption; import org.odlabs.wiquery.core.options.LiteralOption; /** * $Id: SliderRange.java * <p> * Bean for the range option into the Slider component * </p> * * @author Julien Roche * @since 1.0 */ public class SliderRange impl...
package org.knowm.xchange.kucoin.dto; import java.math.BigDecimal; import java.util.Date; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import org.knowm.xchange.currency.Currency; import org.knowm.xchange.currency.CurrencyPair; import org.knowm.xchange.dto...
package com.thoughtworks.xstream.core.util; import java.lang.ref.ReferenceQueue; import java.lang.ref.WeakReference; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; /** * ClassLoader that is composed of other classloaders. Each loader will be used to try to lo...
// modification, are permitted provided that the following conditions are met: // documentation and/or other materials provided with the distribution. // * Neither the name of the <organization> nor the // names of its contributors may be used to endorse or promote products // ANY EXPRESS OR IMPLIED WARRAN...
package org.zanata.service.impl; import java.util.List; import java.util.Map; import java.util.Set; import org.jboss.seam.ScopeType; import org.jboss.seam.annotations.In; import org.jboss.seam.annotations.Name; import org.jboss.seam.annotations.Scope; import org.zanata.common.EntityStatus; import org.zanata.common.Loca...
package wyc.builder; import static wyc.lang.WhileyFile.*; import static wyil.util.ErrorMessages.INVALID_BINARY_EXPRESSION; import static wyil.util.ErrorMessages.INVALID_BOOLEAN_EXPRESSION; import static wyil.util.ErrorMessages.INVALID_SET_OR_LIST_EXPRESSION; import static wyil.util.ErrorMessages.UNKNOWN_VARIABLE; impor...
package com.ociweb.iot.project.lightblink; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import org.junit.Test; import com.ociweb.iot.hardware.impl.test.TestHardware; import com.ociweb.iot.maker.DeviceRuntime; import com.ociweb.pronghorn.stage.scheduling.NonThreadScheduler; /**...
package org.glob3.mobile.generated; public abstract class ElevationDataProvider { protected ChangedListener _changedListener; protected boolean _enabled; public ElevationDataProvider() { _changedListener = null; _enabled = true; } public void dispose() { } public abstract boolean isReadyToRe...
package ca.ualberta.cs.f14t07_application.test; import java.util.ArrayList; import ca.ualberta.cs.f14t07_application.PostList; import ca.ualberta.cs.f14t07_application.Question; import android.test.ActivityInstrumentationTestCase2; public class SortTest extends ActivityInstrumentationTestCase2<QuestionList> { /* TO...
package ca.firstvoices.listeners; import ca.firstvoices.utils.FVExportWordProperties; import ca.firstvoices.workers.FVAbstractExportWork; import ca.firstvoices.workers.FVCyclicExportWorker; import ca.firstvoices.workers.FVExportWorker; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory;...
package com.qualcomm.ftcrobotcontroller; import com.qualcomm.ftccommon.DbgLog; import com.qualcomm.ftcrobotcontroller.control.Control; import com.qualcomm.robotcore.eventloop.opmode.OpMode; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.Servo; import org.json.simple.JSONArray; im...
package org.waterforpeople.mapping.app.web.rest; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.TreeMap; import org.springframework.beans.BeanUtils; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathV...
package alma.acs.alarmsystem.source; import java.sql.Timestamp; import java.util.Properties; import alma.JavaContainerError.wrappers.AcsJContainerServicesEx; import alma.acs.container.ContainerServicesBase; import alma.acs.logging.AcsLogLevel; import alma.acsErrTypeAlarmSourceFactory.ACSASFactoryNotInitedEx; import alm...
package alma.acs.alarmsystem.source; import java.util.Properties; import java.util.concurrent.TimeUnit; /** * The AlarmSource interface offers a set of useful methods * to handle alarms from a source. * <P> * This class, on one side, allows the sending of alarms with * a shorter syntax compared to the original API...
package com.example.ohta.mirrorhack01; import android.app.Activity; import android.content.ActivityNotFoundException; import android.content.Intent; import android.speech.RecognizerIntent; import android.speech.tts.TextToSpeech; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.v...
package chanedi.generator; import chanedi.enums.DBDialectType; import chanedi.generator.file.FilesGenerator; import chanedi.generator.file.GlobalConfig; import org.junit.Test; public class FilesGeneratorTest { @Test public void generate() throws Exception { FilesGenerator generator = new FilesGenerator(...
package com.facebook.react.devsupport; import javax.annotation.Nullable; import java.io.File; import com.facebook.react.bridge.ReadableArray; import com.facebook.react.bridge.ReadableMap; /** * Helper class converting JS and Java stack traces into arrays of {@link StackFrame} objects. */ public class StackTraceHelper...
package org.reldb.dbrowser.ui.content.conversion; import org.eclipse.swt.SWT; import org.eclipse.swt.layout.FormAttachment; import org.eclipse.swt.layout.FormData; import org.eclipse.swt.layout.FormLayout; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Label; import org.eclipse.swt.widgets.Too...
package mondrian.rolap; import mondrian.olap.*; import java.util.List; import java.util.ArrayList; import java.util.HashMap; /** * A <code>RolapSchemaReader</code> allows you to read schema objects while * observing the access-control profile specified by a given role. * * @author jhyde * @since Feb 24, 2003 * @v...
// S i g R e d u c e r // // <editor-fold defaultstate="collapsed" desc="hdr"> // This program is free software: you can redistribute it and/or modify it under the terms of the // </editor-fold> package org.audiveris.omr.sig; import org.audiver...
// $Id: ChannelTest.java,v 1.4 2006/11/22 20:27:53 vlada Exp $ package org.jgroups.tests; import junit.framework.Test; import junit.framework.TestSuite; import org.jgroups.Channel; import org.jgroups.ChannelClosedException; import org.jgroups.ChannelException; import org.jgroups.ChannelNotConnectedException; import org...
package Transportation; import javax.swing.JLabel; import javax.swing.JPanel; import Person.Role.Role; import interfaces.GuiPanel; /** An animation panel for bus stops. * * @author Team29 * */ public class BusStopAnimationPanel extends JPanel implements GuiPanel{ public BusStopAnimationPanel() { this...
package algorithms.compGeometry; import algorithms.compGeometry.convexHull.GrahamScan; import algorithms.compGeometry.convexHull.GrahamScanTooFewPointsException; import algorithms.imageProcessing.util.PairIntWithIndex; import algorithms.util.PairInt; import java.util.ArrayList; import java.util.Iterator; import java.ut...
package org.helioviewer.jhv.plugins.eveplugin.draw; import java.awt.Rectangle; import java.util.ArrayList; import java.util.Calendar; import java.util.Collection; import java.util.Date; import java.util.GregorianCalendar; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; i...
package org.ringingmaster.engine.parser.assignparse; import org.junit.Test; import org.ringingmaster.engine.NumberOfBells; import org.ringingmaster.engine.notation.NotationBody; import org.ringingmaster.engine.notation.impl.NotationBuilder; import org.ringingmaster.engine.parser.Parse; import org.ringingmaster.engine.t...
package org.cytoscape.browser.internal; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.Insets; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.util.ArrayList; import java.util.Arrays; imp...
package it.unibz.inf.ontop.docker; import it.unibz.inf.ontop.injection.OntopSQLOWLAPIConfiguration; import it.unibz.inf.ontop.owlapi.OntopOWLFactory; import it.unibz.inf.ontop.owlapi.OntopOWLReasoner; import it.unibz.inf.ontop.owlapi.connection.OWLConnection; import it.unibz.inf.ontop.owlapi.connection.OWLStatement; im...
package org.cipres.treebase.domain.nexus.nexml; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Set; import org.cipres.treebase.Constants; import org.cipres.treebase.dao.jdbc.ContinuousMatrixElementJDBC; import org.cipres.treebase.dao.jdbc.Conti...
package it.unitn.ing.rista.diffr; import java.util.*; import static java.lang.System.*; import static java.util.Collections.sort; import java.io.*; import java.awt.*; import java.util.concurrent.TimeUnit; import com.radiographema.MaudText; import it.unitn.ing.rista.diffr.AtomSite; import it.unitn.ing.rista.diffr.instru...
package com.beegman.webbee.block; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.HashMap; import javax.servlet.http.HttpServletResponse; import org.alda...
package com.sun.facelets.tag.ui; import java.io.IOException; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import javax.faces.component.UIComponentBase; import javax.faces.context.FacesContext; import javax.faces.context.ResponseWrit...
package krasa.formatter.utils; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.fileTypes.FileType; import com.intellij.openapi.fileTypes.StdFileTypes; import com.intellij.openapi.project.Project; import com.intellij.openapi.vfs.ReadonlyStatusHandler; import com.intellij.openapi.vfs.VirtualFil...
package org.jdesktop.swingx; import java.awt.Color; import java.awt.Cursor; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Image; import java.awt.Paint; import java.awt.Point; import java.awt.RenderingHints; import java.awt.datatransfer.DataFlavor; import java.awt.datatransfer.Transferable; impor...
package org.jdesktop.swingx; import java.awt.BorderLayout; import java.awt.Component; import java.awt.ComponentOrientation; import java.awt.Container; import java.awt.Cursor; import java.awt.Dialog; import java.awt.FlowLayout; import java.awt.Font; import java.awt.Frame; import java.awt.GridBagConstraints; import java....
package org.jdesktop.swingx; import java.awt.BorderLayout; import java.awt.Component; import java.awt.ComponentOrientation; import java.awt.Container; import java.awt.Cursor; import java.awt.Dialog; import java.awt.FlowLayout; import java.awt.Font; import java.awt.Frame; import java.awt.GridBagConstraints; import java....
package org.smoothbuild.plugin.api; import com.google.common.base.Splitter; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableList.Builder; /** * Path within a project. */ public class Path { public static final char SEPARATOR_CHARACTER = '/'; public static final String SEP...
package ui; import game.Green; import game.Mustard; import game.Peacock; import game.Plum; import game.Scarlett; import game.White; import java.awt.BorderLayout; import java.awt.Canvas; import java.awt.Color; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.Wind...
package by.stub.database; import by.stub.client.StubbyResponse; import by.stub.client.StubbyResponseFactory; import by.stub.http.StubbyHttpTransport; import by.stub.utils.ObjectUtils; import by.stub.utils.ReflectionUtils; import by.stub.yaml.stubs.NotFoundStubResponse; import by.stub.yaml.stubs.RedirectStubResponse; im...
package com.example.asm.resources; import android.content.Context; import android.os.Environment; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectOutputStream; import java.io.Serializable; import java.util.HashMap; import java.util.Map; @SuppressWa...
package joshua.decoder.segment_file; import java.util.LinkedList; import java.util.List; import java.util.logging.Logger; import java.util.regex.Matcher; import java.util.regex.Pattern; import joshua.corpus.Vocabulary; import joshua.decoder.ff.tm.Grammar; import joshua.decoder.JoshuaConfiguration; import joshua.lattice...
package echode.api; import java.io.File; import java.io.PrintStream; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.List; import java.util.Scanner; import echode.Program; import java.net.MalformedURLException; import java.net.URL; import java.net.URLClassLoade...
package kademlia.util.hashing; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; /** * A class that is used to calculate the hash of strings. * * @author Joshua Kissoon * @since 20140405 */ public class HashCalculator { /** * Computes the SHA-1 Hash. * * @param t...
package midmod; import midmod.json.Parser; import midmod.pal.Evaluator; import midmod.rules.RuleMap; import midmod.rules.actions.Action; import midmod.rules.actions.Actions; import midmod.rules.patterns.*; import org.objectweb.asm.ClassWriter; import org.objectweb.asm.Opcodes; import org.objectweb.asm.tree.ClassNode; i...
package matlabcontrol; import java.io.File; import java.io.IOException; import java.lang.reflect.Method; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.security.CodeSource; import java.security.ProtectionDomain; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; /** *...
package app.hongs.serv.matrix; import app.hongs.Cnst; import app.hongs.Core; import app.hongs.HongsException; import app.hongs.HongsExemption; import app.hongs.action.FormSet; import app.hongs.db.DB; import app.hongs.db.Model; import app.hongs.db.Table; import app.hongs.dh.search.SearchEntity; import app.hongs.util.Syn...
package org.postgresql.test.jdbc2; import org.postgresql.test.TestUtil; import org.postgresql.util.PGobject; import org.postgresql.geometric.*; import junit.framework.TestCase; import org.postgresql.util.PSQLException; import java.sql.*; import java.util.ArrayList; import java.util.List; /* * Test case for geometric t...
package br.com.caelum.iogi.reflection; import br.com.caelum.iogi.DependenciesInjector; import br.com.caelum.iogi.Instantiator; import br.com.caelum.iogi.parameters.Parameters; import br.com.caelum.iogi.util.Ints; import com.google.common.collect.Lists; import com.google.common.collect.Ordering; import java.util.Collect...
package bzh.plealog.dbmirror.main; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.util.Properties; import org.apache.commons.cli.CommandLine; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import bzh.plealog.dbmirror.fe...
package edu.wustl.catissuecore.action; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward...
package edu.wustl.query.util.listener; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.sql.Connection; import java.util.Properties; import javax.naming.InitialContext; import javax.servlet.ServletContextEvent; import javax.sql.DataSource...
package com.cafeform.algorithm; import java.util.*; import java.util.concurrent.LinkedBlockingDeque; /** * Another implementation of bredth first search. * Uses color and predecesser HashMap to check the status of each node * color : Back=Found, Gray=Found, but not child search, White=Not found * predeccessor : p...
package com.chariotsolutions.nfc.plugin; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Stack; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.app.Activity; import android.app.PendingIntent; im...
package com.diguage.books.thinking.io; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.FileChannel; import java.nio.charset.Charset; public class BufferToText { private static final int BSIZE = 1024; public static ...
import java.io.*; import java.util.Scanner; /* Examples using the Scanner class * - by default uses whitespace as the delimiter */ public class JavaScanner { public static void main(String [] args) throws IOException { simpleRead(); simpleReadWithDelimiter(); simpleReadInts(); simp...
package org.intermine.web.logic; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.util.Arrays; import java.util.List; import java.util.Properties; import junit.framework.TestCase; import org.intermine.metadata.Model; import org.intermine.pathquery.Path; import or...
package com.jayantkrish.jklol.cvsm.ccg; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Set; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import com.google.common.collect.Sets; import c...
package advent; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; public class Thirteen { public static List<Rule> rules; public static int bestScore = 0; public stat...
package com.jcwhatever.nucleus.utils; import com.jcwhatever.nucleus.regions.data.SyncLocation; import com.jcwhatever.nucleus.utils.extended.MaterialExt; import com.jcwhatever.nucleus.utils.text.TextUtils; import com.jcwhatever.nucleus.utils.validate.IValidator; import org.bukkit.Bukkit; import org.bukkit.Location; impo...
package trampoline; import java.util.ArrayList; public class Node { private Node lhs; private Node rhs; private Integer value; public Node(Integer value) { this.value = value; } private class SideAwareNode extends Node { final public String side; public SideAwareNode(...
package com.jme.scene.state; import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.DataInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.URL; import java.nio.ByteBuffer; import java.nio.FloatBuffer; import java.nio.IntBuffe...
package com.mcmacker4.voidpixel.editor.util; import org.lwjgl.input.Mouse; import org.newdawn.slick.Color; import org.newdawn.slick.TrueTypeFont; import com.mcmacker4.voidpixel.editor.main.Game; public class Button { private String text; private int x, y; private final Color normalColor = Color.cyan; pr...
package com.mjoell.twitchchatcounter; public class TwitchConnect { private static IRCBot bot = new IRCBot(); public static void main() throws Exception { if(TwitchChatCounter.verbose) { bot.setVerbose(true); } else { bot.setVerbose(false); } bot.connect("i...
package blasd.apex.core.memory; import java.lang.instrument.Instrumentation; import java.lang.reflect.Array; import java.lang.reflect.Modifier; import java.util.Arrays; import java.util.Objects; import java.util.concurrent.atomic.LongAdder; import java.util.function.IntPredicate; import org.slf4j.Logger; import org.slf...
package com.opencms.workplace; import org.opencms.lock.CmsLock; import org.opencms.main.OpenCms; import org.opencms.security.CmsSecurityException; import org.opencms.staticexport.CmsLinkManager; import org.opencms.workplace.CmsWorkplaceAction; import com.opencms.core.CmsException; import com.opencms.core.I_CmsConstants...
package com.swijaya.galaxytorch; import java.util.concurrent.locks.Condition; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; import android.app.Notification; import android.app.PendingIntent; import android.app.Service; import android.appwidget.AppWidgetManager; import android....
package com.valkryst.VTerminal.printer; import com.valkryst.VTerminal.Panel; import com.valkryst.VTerminal.component.Screen; import lombok.Getter; import lombok.Setter; import java.awt.Point; import java.util.Objects; public class LinePrinter { /** The character to print the line with. */ @Getter @Setter privat...
package beans; import app.ejb.UsuarioFacade; import app.entity.Mensaje; import app.entity.PeticionAmistad; import app.entity.Usuario; import java.io.IOException; import java.util.ArrayList; import java.util.List; import javax.annotation.PostConstruct; import javax.ejb.EJB; import javax.inject.Named; import javax.enterp...
package com.jenjinstudios.core.util; import java.io.UnsupportedEncodingException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class Hash { private static String getHashedString(String input) { String hashedString; try { //Convert the ...
package com.jme3.input.jogl; import com.jme3.cursors.plugins.JmeCursor; import com.jme3.input.MouseInput; import com.jme3.input.RawInputListener; import com.jme3.input.event.MouseButtonEvent; import com.jme3.input.event.MouseMotionEvent; import com.jogamp.common.nio.Buffers; import com.jogamp.newt.Display.PointerIcon; ...
package org.jetbrains.jps.incremental; import com.intellij.openapi.util.Key; import com.intellij.openapi.util.io.FileUtil; import org.jetbrains.ether.dependencyView.Mappings; import org.jetbrains.jps.Module; import org.jetbrains.jps.ModuleChunk; import org.jetbrains.jps.incremental.storage.SourceToOutputMapping; import...
package jshellsession; import java.io.*; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.concurrent.TimeUnit; import java.util.concurrent.locks.Condition; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; public c...
package com.jayway.jsonpath; import com.fasterxml.jackson.databind.node.ArrayNode; import com.google.gson.JsonArray; import com.jayway.jsonpath.spi.json.GsonJsonProvider; import com.jayway.jsonpath.spi.json.JacksonJsonNodeJsonProvider; import com.jayway.jsonpath.spi.json.JacksonJsonProvider; import com.jayway.jsonpath....
package view; import java.io.IOException; //import javafx.scene.Parent; //import javafx.fxml.FXMLLoader; import javafx.application.Application; import javafx.stage.Stage; import javafx.scene.Scene; /** * Main view (GUI) of uClear * * @author Wang Zhipeng * */ public class MainView extends Application { MainVie...
import java.sql.*; import java.util.Scanner; import java.util.StringJoiner; import java.util.TimeZone; import java.util.Vector; import java.util.stream.StreamSupport; public class Main { public static String stringFill(String targetString,char filling, int repetition){ for (int j = 0; j < repetition; j++) {...
package br.com.caelum.vraptor.interceptor; import static com.google.common.base.Objects.firstNonNull; import java.lang.reflect.Method; import javax.enterprise.context.ApplicationScoped; import javax.inject.Inject; @ApplicationScoped public class InterceptorAcceptsExecutor { private final InterceptorMethodParameters...
package net.echinopsii.ariane.community.core.directory.wat; import net.echinopsii.ariane.community.core.portal.base.plugin.FaceletsResourceResolverService; import net.echinopsii.ariane.community.core.portal.base.plugin.FacesMBeanRegistry; import net.echinopsii.ariane.community.core.portal.base.model.MainMenuEntity; imp...
package org.weasis.dicom.viewer2d; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseWheelEvent; import java.util.ArrayList; import javax.swing.BoundedRangeModel; import javax.swing.event.ChangeEvent; import org.noos.xing.mydoggy.Content; import org.osgi.service.prefs.P...
/* High level API */ package org.xbill.DNS; import java.util.*; import java.io.*; import java.net.*; /** * High level API for mapping queries to DNS Records. Caching is used * when possible to reduce the number of DNS requests, and a Resolver * is used to perform the queries. A search path can be set or determined...
package ed.lang.ruby; import java.lang.ref.WeakReference; import java.io.*; import java.util.*; import org.jruby.*; import org.jruby.ast.Node; import org.jruby.internal.runtime.GlobalVariables; import org.jruby.internal.runtime.methods.JavaMethod; import org.jruby.runtime.*; import org.jruby.runtime.builtin.IRubyObject...
package Application; import java.sql.Connection; import java.sql.ResultSet; import java.sql.Statement; import org.springframework.stereotype.Controller; //import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annota...
package VASSAL.tools.io; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FilterInputStream; import java.io.InputStream;...
package brooklyn.cli; import groovy.lang.GroovyClassLoader; import groovy.lang.GroovyShell; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.util.Arrays; import java.util.Collection; import java.util.List; import java.util.concurrent.Callable; import javax.inject.Inj...
package ai.pathfinder.core; import java.util.ArrayList; import java.util.List; import java.util.Set; public class Problem { private Node initialNode; private Node goalNode; private Set<Node> wall; private int nodeSize; public Problem(Node initialNode, Node goalNode, Set<Node> wall, int nodeSize) { ...
package com.fsck.k9.message; import java.io.IOException; import java.io.OutputStream; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.util.Log; import com.fsck.k9.K9; im...
package br.com.dbsoft.util; import static java.nio.file.StandardCopyOption.REPLACE_EXISTING; import static java.nio.file.StandardCopyOption.COPY_ATTRIBUTES; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; impo...
package org.jboss.as.weld.deployment.processors; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Enumeration; import java.util.HashSet; import java.util.List; import java.util.Set; import org.jboss.as.ee....
package ch.lambdaj.group; import java.util.*; public class LeafGroup<T> implements Group<T> { private List<T> list; private Map<String, Object> headMap = new TreeMap<String, Object>(); @SuppressWarnings("unchecked") LeafGroup(Map<String, Object> map, String childrenNodeName) { headMap = new Tree...
package com.intellij.ui; import com.intellij.util.ui.UIUtil; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.util.ArrayList; import java.util.Collection; import org.jetbrains.annotations.NonNls; public class Co...