answer
stringlengths
17
10.2M
package jbleu; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import com.google.common.base.Preconditions; import com.google.common.base.Splitter; import com.google.common.collect.HashMultiset; import com.google.common.collect.Lists; import com.google.common.collect.Multiset; import jbleu.u...
package algorithms.convexhullvg; import java.util.Arrays; import grid.GridGraph; public class ConvexHullSplitGenerator { private static final int MARKED = -1; private ConvexHullVG.ConvexHull[] convexHulls; private int nHulls; private final GridGraph graph; private final int sizeX; private final ...
package com.adobe.phonegap.push; import android.annotation.SuppressLint; import android.app.Notification; import android.media.MediaPlayer; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.ContentResolver; import android.content.Context; import android.content.Intent; imp...
package com.couchbase.lite; import com.couchbase.lite.internal.RevisionInternal; import com.couchbase.lite.util.Log; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.databind.ObjectMapper; import junit.framework.Assert; import java.util.Arrays; import java.util.Collections; imp...
package be.ibridge.kettle.core.dialog; import java.util.Locale; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.CTabFolder; import org.eclipse.swt.custom.CTabItem; import org.eclipse.swt.custom.ScrolledComposite; import org.eclipse.swt.events.PaintEvent; import org.eclipse.swt.events.PaintListener; import org...
package bwyap.familyfeud.game.play.state; import bwyap.familyfeud.game.Answer; import bwyap.familyfeud.game.FamilyFeudGame; import bwyap.familyfeud.game.InvalidDataException; import bwyap.familyfeud.game.Question; import bwyap.familyfeud.game.play.FFPlayState; import bwyap.familyfeud.game.play.FFPlayStateType; import b...
package ch.ethz.inf.vs.californium.dtls; import java.io.RandomAccessFile; import java.security.KeyFactory; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.security.PrivateKey; import java.security.SecureRandom; import java.security.cert.X509Certificate; import java.securit...
package ch.unizh.ini.jaer.projects.minliu; import java.util.ArrayList; import java.util.Arrays; import java.util.BitSet; import java.util.Iterator; import java.util.Observable; import java.util.Observer; import com.jogamp.opengl.util.awt.TextRenderer; import ch.unizh.ini.jaer.projects.rbodo.opticalflow.AbstractMotionFl...
package ch.unizh.ini.jaer.projects.minliu; import ch.unizh.ini.jaer.projects.rbodo.opticalflow.AbstractMotionFlow; import java.util.Arrays; import java.util.Observable; import java.util.Observer; import net.sf.jaer.Description; import net.sf.jaer.DevelopmentStatus; import net.sf.jaer.chip.AEChip; import net.sf.jaer.eve...
package ch.unizh.ini.jaer.projects.minliu; import java.util.Arrays; import java.util.Observable; import java.util.Observer; import com.jogamp.opengl.util.awt.TextRenderer; import ch.unizh.ini.jaer.projects.rbodo.opticalflow.AbstractMotionFlow; import com.jogamp.opengl.GL; import com.jogamp.opengl.GL2; import com.jogamp...
package io.papermc.paperclip; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.lang.invoke.MethodType; import java.net.URL; import java.net.URLClassLoader; imp...
package com.rgi.store.tiles.geopackage; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.sql.SQLException; import java.util.HashMap; import java.util.Map; import java.util.NoSuchElementException; import java.util.Set; import java.util.stream.Collectors; import javax.acti...
package org.opensim.view.motions; import java.awt.Color; import java.util.AbstractList; import java.util.ArrayList; import java.util.Collection; import java.util.Enumeration; import java.util.HashMap; import java.util.Hashtable; import java.util.LinkedHashMap; import java.util.Map; import java.util.UUID; import java.ut...
/* * $Log: DirectoryListener.java,v $ * Revision 1.6 2007-07-10 15:18:40 europe\L190409 * fixed typo * * Revision 1.5 2007/05/21 12:21:36 Gerrit van Brakel <gerrit.van.brakel@ibissource.org> * added createInputDirectory attribute * * Revision 1.3 2007/02/12 14:03:44 Gerrit van Brakel <gerrit.van.brakel@ib...
package com.elmakers.mine.bukkit.utility; import java.io.StringReader; import java.text.DecimalFormat; import java.text.NumberFormat; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Random; imp...
package com.amay077.android.gms.maps.google.v2; import hu.akarnokd.reactive4java.base.Action2; import hu.akarnokd.reactive4java.base.Func1; import hu.akarnokd.reactive4java.base.Option; import java.lang.ref.WeakReference; import jp.co.cosmoroot.android.gms.maps.model.LatLon; import jp.co.cosmoroot.android.gms.maps.mode...
package com.ecyrd.jspwiki.auth.user; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.security.Principal; import java.util.ArrayList; import java.util.Properties; import org.apache.catalina.util.HexUtils; import org.apache.log4j.Logger; import com.ecyrd.jspwiki.NoRequiredPr...
package com.unknown.navevent.ui; import android.Manifest; import android.content.Intent; import android.content.pm.PackageManager; import android.graphics.PointF; import android.os.Bundle; import android.support.v4.app.ActivityCompat; import android.support.v4.content.ContextCompat; import android.support.v7.app.AppCom...
package com.fivium.scriptrunner2.builder; import com.fivium.scriptrunner2.FileResolver; import com.fivium.scriptrunner2.Logger; import com.fivium.scriptrunner2.ManifestEntry; import com.fivium.scriptrunner2.ManifestParser; import com.fivium.scriptrunner2.ScriptRunner; import com.fivium.scriptrunner2.ex.ExFatalError; im...
// RMG - Reaction Mechanism Generator // RMG Team (rmg_dev@mit.edu) // copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation // and/or sell copies of the Software, and to permit persons to whom the // Sof...
package boundary.Question; import boundary.Point.PointRepresentation; import boundary.Point.PointResource; import com.wordnik.swagger.annotations.Api; import boundary.Representation; import com.wordnik.swagger.annotations.ApiOperation; import com.wordnik.swagger.annotations.ApiResponse; import com.wordnik.swagger.annot...
package com.jcwhatever.nucleus.utils.potions; import com.jcwhatever.nucleus.utils.PreCon; import com.jcwhatever.nucleus.utils.materials.Materials; import com.jcwhatever.nucleus.utils.nms.INmsPotionHandler; import com.jcwhatever.nucleus.utils.nms.NmsUtils; import org.bukkit.Material; import org.bukkit.inventory.ItemStac...
package nl.utwente.viskell.ui; import javafx.beans.property.ObjectProperty; import javafx.beans.property.SimpleObjectProperty; import javafx.geometry.Point2D; import javafx.scene.Node; import javafx.scene.input.KeyEvent; import javafx.scene.input.MouseEvent; import javafx.scene.layout.Region; import javafx.scene.layout...
package example; //-*- mode:java; encoding:utf-8 -*- // vim:set fileencoding=utf-8: //@homepage@ import java.awt.*; import javax.swing.*; import javax.swing.border.*; import javax.swing.table.*; public class MainPanel extends JPanel{ public MainPanel() { super(new BorderLayout()); String see = "See ...
package example; //-*- mode:java; encoding:utf-8 -*- // vim:set fileencoding=utf-8: //@homepage@ import java.awt.*; import java.awt.event.*; import java.awt.image.*; // import java.io.IOException; import java.util.Arrays; // import javax.imageio.ImageIO; import javax.swing.*; public final class MainPanel extends JPanel...
package org.jenetics.util; import static java.lang.String.format; import static java.lang.System.arraycopy; import static java.util.Arrays.copyOfRange; import static java.util.Objects.requireNonNull; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializ...
package MWC.Algorithms; import MWC.GenericData.WorldSpeed; public class FrequencyCalcs { /** * calculate the doppler component of the observed frequency * * @param theBearingRads * bearing to the target * @param myCourseRads * ownship course * @param mySpeedKts ...
package org.osgi.tools.xmldoclet; import java.io.*; import java.util.*; import com.sun.javadoc.*; public class XmlDoclet extends Doclet { PrintWriter pw; String currentPackage; public static boolean start(RootDoc doc) { try { XmlDoclet doclet = new XmlDoclet(); docl...
package bisq.network.p2p.network; import bisq.network.p2p.CloseConnectionMessage; import bisq.network.p2p.ExtendedDataSizePermission; import bisq.network.p2p.NodeAddress; import bisq.network.p2p.PrefixedSealedAndSignedMessage; import bisq.network.p2p.SendersNodeAddressMessage; import bisq.network.p2p.SupportedCapabilit...
package org.apache.jmeter.engine.util; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; import junit.framework.TestCase; import org.apache.jmeter.config.ConfigTestElement; import org.ap...
package net.somethingdreadful.MAL; import android.annotation.SuppressLint; import android.app.FragmentManager; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.SearchManager; import android.content.BroadcastReceiver; import android.content.Com...
package de.mrunde.bachelorthesis.activities; import java.io.IOException; import java.util.List; import java.util.Locale; import org.json.JSONException; import org.json.JSONObject; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.location.Address; impo...
package fredboat.command.fun; import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.JsonNode; import com.mashape.unirest.http.Unirest; import com.mashape.unirest.http.exceptions.UnirestException; import fredboat.Config; import fredboat.commandmeta.abs.Command; import fredboat.commandmeta.abs.IFu...
package de.unitrier.st.soposthistory.gt; import de.unitrier.st.soposthistory.blocks.CodeBlockVersion; import de.unitrier.st.soposthistory.blocks.TextBlockVersion; import de.unitrier.st.soposthistory.util.Config; import de.unitrier.st.soposthistory.version.PostVersionList; import de.unitrier.st.stringsimilarity.util.Inp...
package example; //-*- mode:java; encoding:utf-8 -*- // vim:set fileencoding=utf-8: //@homepage@ import java.awt.*; import java.util.*; import java.util.List; import javax.swing.*; // import javax.swing.event.*; import javax.swing.table.*; // import javax.swing.text.*; public final class MainPanel extends JPanel { ...
package com.billhorvath.v1mods; import java.util.*; import java.util.List; import java.awt.*; import java.io.*; import java.nio.file.*; import com.versionone.*; import com.versionone.apiclient.*; import com.versionone.apiclient.filters.*; import com.versionone.apiclient.interfaces.*; /** <p>A class for pulling the Prod...
package com.victoria.rest; import javax.servlet.http.HttpServletRequest; import javax.ws.rs.GET; import javax.ws.rs.PUT; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.Context; import javax.ws.rs.core.MediaType; /** * Mock calls for testing the frontend */ @Path("/mock") public class Mo...
package edu.oakland.OUSoft.linkedList; import java.util.*; public class cseArrayLinkedList<E> implements List<E> { private Node<E>[] data; private int dataIndex; private int emptyIndex; /** * Create a new cseArrayLinkedList * * @param maxElements the maximum number of elements this list c...
package edu.wustl.catissuecore.action; import java.util.Collection; import java.util.Date; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.LinkedList; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; imp...
package experimentalcode.remigius.Adapter; import de.lmu.ifi.dbs.elki.data.NumberVector; import de.lmu.ifi.dbs.elki.database.Database; import de.lmu.ifi.dbs.elki.result.Result; import experimentalcode.remigius.VisualizationManager; import experimentalcode.remigius.Visualizers.AxisVisualizer; import experimentalcode.rem...
package com.ociweb.grove; import com.ociweb.iot.maker.*; import static com.ociweb.iot.grove.GroveTwig.*; import static com.ociweb.iot.maker.Port.*; public class IoTApp implements IoTSetup { private static final Port BUTTON_PORT = D3; private static final Port RELAY_PORT = D7; @Override public void decl...
package fr.cs.aerospace.orekit.iers; import java.io.File; import fr.cs.aerospace.orekit.errors.OrekitException; /** Helper class for loading IERS data files. * <p> * This class handles the IERS data files recursively starting * from a root root tree specified by the java property * <code>orekit.iers.directory</code...
package gov.nih.nci.calab.ui.core; import gov.nih.nci.calab.service.util.CaNanoLabConstants; import java.util.Arrays; import javax.servlet.http.HttpSession; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionMapping; import org.apache.struts.tiles.TilesRequestProcessor; /** * * This cla...
// Vilya library - tools for developing networked games // This library is free software; you can redistribute it and/or modify it // (at your option) any later version. // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // You should ...
package fr.paris.lutece.portal.service.init; /** * this class provides informations about application version */ public final class AppInfo { /** Defines the current version of the application */ private static final String APP_VERSION = "3.0.10"; /** * Creates a new AppInfo object. */ priv...
package io.klerch.alexa.state.model; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.module.SimpleModule; import io.klerch.alexa.state.handler.AlexaStateHandler; import io.klerch.alexa.state.model.serializer.AlexaAppSta...
package example; //-*- mode:java; encoding:utf8n; coding:utf-8 -*- // vim:set fileencoding=utf-8: //@homepage@ import java.awt.*; import java.awt.event.*; import javax.swing.*; public class MainPanel extends JPanel{ private final JComboBox combo1 = new JComboBox(); private final JComboBox combo2 = new JComboBox...
package org.apache.velocity.servlet; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.ve...
package org.jdesktop.swingx.painter; import java.awt.Color; import java.awt.Composite; import java.awt.Font; import java.awt.Graphics2D; import java.awt.Paint; import java.awt.RenderingHints; import java.awt.Shape; import java.awt.Stroke; import java.awt.geom.AffineTransform; import java.util.HashMap; import java.util....
package org.tuckey.web.filters.urlrewrite; import org.tuckey.web.filters.urlrewrite.extend.RewriteMatch; import org.tuckey.web.filters.urlrewrite.extend.RewriteRule; import org.tuckey.web.filters.urlrewrite.utils.Log; import org.tuckey.web.filters.urlrewrite.utils.StringUtils; import javax.servlet.ServletContext; impor...
package com.goyya.telephonymanager; import org.appcelerator.kroll.KrollModule; import org.appcelerator.kroll.KrollProxy; import org.appcelerator.kroll.annotations.Kroll; import org.appcelerator.titanium.TiApplication; import org.appcelerator.kroll.common.Log; import org.appcelerator.kroll.common.TiConfig; import java.u...
package jsettlers.buildingcreator.editor; import go.graphics.swing.AreaContainer; import java.awt.Dimension; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; ...
package re.notifica.reactnative; import com.facebook.react.bridge.Arguments; import com.facebook.react.bridge.ReadableArray; import com.facebook.react.bridge.ReadableMap; import com.facebook.react.bridge.ReadableMapKeySetIterator; import com.facebook.react.bridge.ReadableType; import com.facebook.react.bridge.WritableA...
// This file is part of the Kaltura Collaborative Media Suite which allows users // to do with audio, video, and animation what Wiki platfroms allow them to do with // text. // This program is free software: you can redistribute it and/or modify // published by the Free Software Foundation, either version 3 of the // T...
// This file is part of the Kaltura Collaborative Media Suite which allows users // to do with audio, video, and animation what Wiki platfroms allow them to do with // text. // This program is free software: you can redistribute it and/or modify // published by the Free Software Foundation, either version 3 of the // T...
package org.sagebionetworks.bridge.dynamodb; import javax.annotation.Nonnull; import javax.annotation.Resource; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper; import com.amazon...
package anabalica.github.io.meowletters.utils; import android.content.SharedPreferences; import anabalica.github.io.meowletters.GameActivity; import anabalica.github.io.meowletters.letters.Cell; import anabalica.github.io.meowletters.letters.Letter; import anabalica.github.io.meowletters.metrics.Level; import anabalica...
package cafetcraftteam.rpgsoftware.equipment; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; /** * Class of the Weapons */ public class Weapon extends Equipment { ...
package com.dev.bins.shop.fragment.Cart; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.CheckBox; import android.widget.CompoundButton; import android.widget.ImageView; impo...
package com.github.oliveiradev.rxphoto; import android.graphics.Bitmap; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.ImageView; import com.github.oliveiradev.lib.RxPhoto; import com.github.oliveiradev.lib.Transformers...
package com.veyndan.paper.reddit.post; import android.content.Context; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.helpe...
package com.weebly.cs499fall14.ukmaapp; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashMap; import android.content.Context; import android.content.Intent; import android.location.Location; import android.location.LocationList...
package de.bitshares_munich.database; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; import android.util.Log; import com.google.common.primitives.UnsignedLong; import java.text.Par...
package de.gebatzens.ggvertretungsplan; import android.content.Intent; import android.content.res.Configuration; import android.graphics.Color; import android.os.AsyncTask; import android.os.Build; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; import a...
import java.util.Iterator; import java.util.NoSuchElementException; import edu.princeton.cs.algs4.StdRandom; public class RandomizedQueue<Item> implements Iterable<Item> { private Item[] queue; private int first; private int last; private int n; public RandomizedQueue() { queue = (Item []) n...
package fr.ydelouis.selfoss.rest; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Color; import android.widget.ImageView; import com.androidquery.AQuery; import com.androidquery.callback.AjaxStatus; import com.androidquery.callback.BitmapAjaxCallback; import org.androidannotation...
package me.devsaki.hentoid.activities; import android.content.Intent; import android.os.Build; import android.os.Bundle; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import com.github.appintro.AppIntro2; import java.util.List; import me.devsaki.hentoid.R; import me.devsaki.hentoid.enums.S...
package me.jakelane.wrapperforfacebook; import android.Manifest; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Bitmap; import android.graphics.Color; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.os.Bundle; i...
package partysquirrel.android.yawa.app; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Color; import android.net.Uri; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget...
package ve.com.abicelis.remindy.database; import android.content.ContentValues; import android.content.Context; import android.content.res.Resources; import android.database.Cursor; import android.database.sqlite.SQLiteConstraintException; import android.database.sqlite.SQLiteDatabase; import android.support.annotation...
package <%=packageName%>.web.rest; import com.codahale.metrics.annotation.Timed; import <%=packageName%>.domain.Authority; import <%=packageName%>.domain.PersistentToken; import <%=packageName%>.domain.User; import <%=packageName%>.repository.PersistentTokenRepository; import <%=packageName%>.repository.UserRepository;...
package org.apache.batik.apps.svgbrowser; import java.awt.Dimension; import java.awt.Font; import java.awt.event.ActionEvent; import java.io.File; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedList; imp...
// TODO try to use setInfo instead of updateInfo for cloned symbols, // to avoid the need to use nextPhase/nextInfo. package scalac.transformer; import scalac.*; import scalac.symtab.*; import scalac.checkers.*; import scalac.util.Name; import java.util.*; import scalac.util.Debug; public class AddInterfacesPhase exten...
package org.umlg.sqlg; import org.junit.runner.RunWith; import org.junit.runners.Suite; import org.umlg.sqlg.test.*; import org.umlg.sqlg.test.batch.TestBatch; import org.umlg.sqlg.test.batch.TestBatchCompleteEdge; import org.umlg.sqlg.test.batch.TestBatchCompleteVertex; import org.umlg.sqlg.test.batch.TestMultiThreade...
package com.anpmech.mpd; import com.anpmech.mpd.exception.InvalidResponseException; import java.security.MessageDigest; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.ListIterator; import java.util.concurrent.TimeUn...
package Applications.PuncFeatures; import java.util.*; import HOSemiCRF.*; /** * Current word and position features * @author Nguyen Viet Cuong */ public class WordPositionBag extends FeatureType { static final int K = 5; public ArrayList<String> generateObsAt(DataSequence seq, int segStart, int segEnd) { ...
package claw.tatsu.directive.common; import claw.tatsu.TatsuConstant; import claw.tatsu.common.CompilerDirective; import claw.tatsu.common.Context; import claw.tatsu.common.Message; import claw.tatsu.directive.generator.DirectiveGenerator; import claw.tatsu.primitive.Pragma; import claw.tatsu.xcodeml.xnode.XnodeUtil; i...
package ucar.nc2.ft.fmrc; import thredds.inventory.FeatureCollectionConfig; import ucar.nc2.units.DateFormatter; import ucar.nc2.util.Misc; import java.io.FileNotFoundException; import java.util.*; /** * A lightweight, serializable version of FmrcInv * * @author caron * @since Apr 14, 2010 */ public class FmrcInvL...
package org.openspaces.grid.gsm; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import org.openspaces.admin.bean.BeanConfigException; import org.openspaces.admin.bean.BeanConfigPropertiesManager; import org.openspaces.admin.bean.BeanConfigurationException; import org.ope...
package mobi.hsz.idea.gitignore.outer; import com.intellij.openapi.Disposable; import com.intellij.openapi.editor.Document; import com.intellij.openapi.editor.Editor; import com.intellij.openapi.editor.EditorFactory; import com.intellij.openapi.fileEditor.FileDocumentManager; import com.intellij.openapi.project.Project...
public class ElfoNoturno extends Elfo { public ElfoNoturno(String nome) { super(nome); } public ElfoNoturno(String nome,int f) { super(nome); flechas=f; } public void atirarFlecha(Dwarf anao) { super.atirarFlecha(anao); this.experiencia += 2; ...
package net.devrieze.chatterbox.server; import java.io.IOException; import java.io.PrintWriter; import java.io.Reader; import java.nio.CharBuffer; import javax.jdo.JDOHelper; import javax.jdo.JDOObjectNotFoundException; import javax.jdo.PersistenceManager; import javax.jdo.PersistenceManagerFactory; import javax.servle...
package net.dlogic.kryonet.common.utility; import java.util.ArrayList; import net.dlogic.kryonet.common.entity.Room; import net.dlogic.kryonet.common.entity.RoomGroup; import net.dlogic.kryonet.common.entity.User; import net.dlogic.kryonet.common.request.GetRoomsRequest; import net.dlogic.kryonet.common.request.JoinRoo...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net.kirauks.pixelrunner.scene.base; import com.badlogic.gdx.math.Vector2; import com.badlogic.gdx.physics.box2d.Body; import com.badlogic.gdx.physics.box2d.BodyDef; import com.badlogic.gdx.physics.box2d.Contact; ...
package io.advantageous.qbit.spring.rest; import io.advantageous.boon.core.Sys; import io.advantageous.qbit.http.client.HttpClient; import io.advantageous.qbit.http.client.HttpClientBuilder; import io.advantageous.qbit.http.request.HttpTextResponse; import io.advantageous.qbit.server.EndpointServerBuilder; import io.ad...
package net.littlebigisland.droidibus; /** * Message Parsing/Sending to IBus * @author Ted S <tass2001@gmail.com> * @package net.littlebigisland.droidibus */ import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import android.util.Log; /** * This ...
package net.tetrisconcept.poochy.nullpomino.ai; import mu.nu.nullpo.game.component.Controller; import mu.nu.nullpo.game.component.Field; import mu.nu.nullpo.game.component.Piece; import mu.nu.nullpo.game.component.SpeedParam; import mu.nu.nullpo.game.component.WallkickResult; import mu.nu.nullpo.game.event.EventReceive...
package ru.stga.pft.sandbox; import java.util.ArrayList; import java.util.List; public class Collections { public static void main(String[] args) { String[] langs = {"JAVA", "C#", "Python", "PHP"}; List<String> languages = new ArrayList<String>(); languages.add("JAVA"); languages.add("C languages....
package org.adaptlab.chpir.android.survey; import java.util.ArrayList; import java.util.List; import org.adaptlab.chpir.android.survey.Location.LocationServiceManager; import org.adaptlab.chpir.android.survey.Models.AdminSettings; import org.adaptlab.chpir.android.survey.Models.Instrument; import org.adaptlab.chpir.and...
package org.biojava.bio.dist; import java.util.*; import java.io.*; import org.biojava.utils.*; import org.biojava.bio.symbol.*; class IndexedNthOrderDistribution extends NthOrderDistribution implements ObjectInputValidation { private Distribution[] dists; private transient AlphabetIndex index; IndexedNthOr...
package org.concord.framework.otrunk.view; import javax.swing.JFrame; import org.concord.framework.otrunk.OTObject; /** * OTFrameManager * Class name and description * * Date created: Jan 21, 2005 * * @author scott<p> * */ public interface OTFrameManager { /** * This will use the viewFactory to find th...
package org.darkmentat.GuitarScalesBoxes.Model; import org.darkmentat.GuitarScalesBoxes.Controls.GuitarView.FretBoard; public final class NoteModel extends FretBoard.Note implements Comparable<NoteModel>{ public enum NoteOctave{ SubContra, Contra, Great, Small, OneLine, ...
package org.exist.xmldb; import java.net.URISyntaxException; import java.util.Date; import org.exist.EXistException; import org.exist.collections.triggers.TriggerException; import org.exist.dom.persistent.DocumentImpl; import org.exist.security.Subject; import org.exist.storage.BrokerPool; import org.xmldb.api.base.Col...
package org.exist.xquery.functions.fn; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.Map; import java.util.Map.Entry; import java.util.Stack; import org.exist.Namespaces; import org.exist.dom.DocumentImpl; import org.exist.dom.ElementImpl; import org.exist.dom.QName; import org.exist.xquer...
package org.exist.xquery.functions.validation; import java.io.InputStream; import java.net.MalformedURLException; import org.exist.dom.QName; import org.exist.memtree.MemTreeBuilder; import org.exist.memtree.NodeImpl; import org.exist.storage.BrokerPool; import org.exist.storage.io.ExistIOException; import org.exist.va...
package org.pentaho.di.trans.steps.checksum; import java.util.List; import java.util.Map; import org.pentaho.di.core.CheckResult; import org.pentaho.di.core.CheckResultInterface; import org.pentaho.di.core.Const; import org.pentaho.di.core.Counter; import org.pentaho.di.core.database.DatabaseMeta; import org.pentaho.di...
package org.torproject.jtor.circuits.impl; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.SocketAddress; import java.util.HashMap; import java.util.Map; import java.util.concurrent.BlockingQueue; import...
package org.jfree.data.xy; import java.io.Serializable; import java.util.Collections; import java.util.Iterator; import java.util.List; import org.jfree.chart.util.ParamChecks; import org.jfree.data.general.Series; import org.jfree.data.general.SeriesChangeEvent; import org.jfree.data.general.SeriesException; import or...
package revert.MainScene.notifications; /** * Notification type of the game's scoring mechanics * * @author nhydock */ public class WorldNotification { private static final String SCORE_FMT = "$\n%d"; private static final String TIME_FMT = "%02d"; public final String score; public final String time;...
package theviolator; import java.util.ArrayList; import java.util.Collections; import breakthrough.*; import game.*; public class TheViolatorMiniMaxPlayer extends GamePlayer { protected final int MAX_DEPTH = 50; protected final static int MAX_SCORE = 4 * (BreakthroughState.N + 1) * (BreakthroughState.N + 1) * (...