answer
stringlengths
17
10.2M
package pl.kotcrab.vis.editor.ui.tab; import pl.kotcrab.vis.ui.VisTable; import pl.kotcrab.vis.ui.VisUI; import pl.kotcrab.vis.ui.widget.VisTextButton; import com.badlogic.gdx.scenes.scene2d.Actor; import com.badlogic.gdx.scenes.scene2d.ui.ButtonGroup; import com.badlogic.gdx.scenes.scene2d.ui.Image; import com.badlogi...
package pl.kotcrab.vis.editor.ui.tab; import pl.kotcrab.vis.ui.VisTable; import pl.kotcrab.vis.ui.VisUI; import pl.kotcrab.vis.ui.widget.VisTextButton; import com.badlogic.gdx.scenes.scene2d.Actor; import com.badlogic.gdx.scenes.scene2d.ui.Button; import com.badlogic.gdx.scenes.scene2d.ui.ButtonGroup; import com.badlog...
package org.openlca.app.results; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.stream.Collectors; import org.apache.commons.lang3.tuple.Pair; import org.eclipse.jface.action.Action; import org.eclipse.jface.viewers.ArrayContentProvider; im...
package com.github.dump247.jenkins.plugins.dockerjob.slaves; import java.util.regex.Matcher; import java.util.regex.Pattern; import static com.google.common.base.Preconditions.checkNotNull; public class DirectoryMapping { private static final Pattern MAPPING_PATTERN = Pattern.compile("^(/[^:]+):(/[^:]+)(?::(ro|rw))...
package com.redhat.ceylon.eclipse.code.refactor; import static com.redhat.ceylon.eclipse.code.correct.CorrectionUtil.getDocument; import static com.redhat.ceylon.eclipse.code.correct.ImportProposals.applyImports; import static com.redhat.ceylon.eclipse.code.correct.ImportProposals.isImported; import static com.redhat.c...
package org.jkiss.dbeaver.model.navigator; import org.jkiss.dbeaver.Log; import org.jkiss.dbeaver.model.messages.ModelMessages; import org.jkiss.dbeaver.model.*; import org.jkiss.dbeaver.model.runtime.DBRProgressMonitor; import org.jkiss.dbeaver.model.runtime.DBRRunnableWithProgress; import org.jkiss.utils.CommonUtils;...
package com.brazilianbytes.ctci.algorithm.sort; import org.junit.Assert; import org.junit.Ignore; import org.junit.Test; public class SortFixedTest { private static final Integer[] ORIGINAL = { -1, 7, 0, -2, 1, 3, 4, 5, 10, 9, 8, -3, 11, 14, 17, 15, 18, 19, 20, -6 }; private static final Integer[] S...
package com.samsung.sec.dexter.eclipse.ui; import org.eclipse.core.commands.AbstractHandler; import org.eclipse.core.commands.ExecutionEvent; import org.eclipse.core.commands.ExecutionException; import org.eclipse.core.commands.IHandler; import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.swt.widgets.Dis...
package us.noop.server.plugin; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.lang.reflect.InvocationTargetException; public class PageClassLoader extends ClassLoader { @SuppressWarnings("unchecked") public Page loadClass(File file) throws InstantiationException, Il...
package net.jarlehansen.protobuf.javame.generated; // Generated by proto2javame, Fri Jun 12 15:32:57 CEST 2009. DO NOT EDIT! import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import com.google.protobuf.UninitializedMessageException; import com.google.protobuf.javame.JavaMeProtoFactory...
package org.elasticsearch.upgrades; import org.elasticsearch.Version; import org.elasticsearch.client.Response; import org.elasticsearch.client.RestClient; import org.elasticsearch.client.http.HttpHost; import org.elasticsearch.client.http.entity.ContentType; import org.elasticsearch.client.http.entity.StringEntity; im...
package yuku.alkitab.base; import android.app.*; import android.content.*; import android.database.*; import android.os.*; import android.provider.*; import android.text.*; import android.text.style.*; import android.util.*; import android.view.*; import android.view.ContextMenu.ContextMenuInfo; import android.widget.A...
package net.runelite.client.plugins.itemskeptondeath; import com.google.common.collect.ImmutableMap; import java.util.Map; import javax.annotation.Nullable; import lombok.Getter; import net.runelite.api.ItemID; /** * Some items have a fixed price that is added to its default value when calculating death prices. * The...
package com.example.bot.spring; import java.io.IOException; import java.io.OutputStream; import java.io.UncheckedIOException; import java.nio.file.Files; import java.nio.file.Path; import java.time.LocalDateTime; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.UUID; import...
package com.dmdirc.addons.nickcolours; import com.dmdirc.addons.ui_swing.SwingController; import com.dmdirc.config.IdentityManager; import com.dmdirc.config.prefs.PreferencesInterface; import java.awt.Color; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import java...
package com.fqc.concurrency; import com.fqc.io.IOUtils; public class SimpleTwoWayToBuildThread { public static void main(String[] args) { //Test1(); Test2(); } private static void Test2() { MyThread2 myThread1 = new MyThread2(); MyThread2 myThread2 = new MyThread2(); ...
package com.frostwire.jlibtorrent; import com.frostwire.jlibtorrent.alerts.*; import java.lang.reflect.Method; import java.util.Collections; import java.util.HashMap; import java.util.Map; /** * @author gubatron * @author aldenml */ public abstract class TorrentAlertAdapter implements AlertListener { private sta...
package org.eclipse.persistence.sdo.helper; import commonj.sdo.Property; import commonj.sdo.Type; import commonj.sdo.helper.HelperContext; import java.io.StringWriter; import java.net.MalformedURLException; import java.net.URL; import java.util.List; import java.util.Map; import java.util.Vector; import javax.xml.names...
package mondrian.xmla; import mondrian.test.FoodMartTestCase; import mondrian.tui.XmlaSupport; import mondrian.olap.Util; import org.w3c.dom.Document; import org.w3c.dom.NodeList; import org.w3c.dom.Node; import java.io.IOException; import java.io.File; import java.util.Properties; /** * Extends FoodMartTestCase, addi...
package com.hotmail.kalebmarc.textfighter.main; import com.hotmail.kalebmarc.textfighter.item.FirstAid; import com.hotmail.kalebmarc.textfighter.item.InstaHealth; import com.hotmail.kalebmarc.textfighter.item.Power; import com.hotmail.kalebmarc.textfighter.player.*; import java.util.Scanner; public class Cheats { /...
package com.jme.scene.model.XMLparser; import com.jme.scene.*; import com.jme.scene.shape.Box; import com.jme.scene.state.MaterialState; import com.jme.scene.state.TextureState; import com.jme.scene.state.RenderState; import com.jme.scene.state.LightState; import com.jme.math.Vector3f; import com.jme.math.Vector2f; imp...
package com.jwetherell.algorithms.search; public class BinarySearch { private static final int SWITCH_TO_BRUTE_FORCE = 200; private static int[] sorted = null; //Assuming the array is sorted public static final int find(int value, int[] array, boolean optimize) { BinarySearch.sorted = array; ...
package com.maddyhome.idea.vim.extension; import com.intellij.openapi.extensions.ExtensionPointName; import com.maddyhome.idea.vim.VimPlugin; import com.maddyhome.idea.vim.key.MappingOwner; import org.jetbrains.annotations.ApiStatus; import org.jetbrains.annotations.NotNull; /** * @author vlan */ public interface Vim...
package com.wake_e.services.deliverers; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Set; import org.json.JSONException; import android.os.AsyncTask; import android.view.View; import com.wake_e.Controller; import com.wake_e.fragment.station.PageMeteoFragment; import com...
package com.cloud.storage.dao; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import javax.ejb.Local; import javax.naming.ConfigurationException; import o...
package com.kehxstudios.atlas.data; import java.util.HashMap; /** * Holds all data containing to an Component required for creation */ public class ComponentData { public String id; public String type; public String entityId; public boolean enabled; public float x, y; public boolean useCompone...
package hudson.maven; import hudson.Launcher; import hudson.maven.reporters.MavenAbstractArtifactRecord; import hudson.model.AbstractBuild; import hudson.model.AbstractProject; import hudson.model.BuildListener; import hudson.model.Result; import hudson.tasks.BuildStepDescriptor; import hudson.tasks.Publisher; import n...
package hudson.util; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.List; /** * {@link ClassLoader} that masks a specified set of classes * from its parent class loader. * * <p> * This code is used to create an isolated environment. * * @au...
package de.my.persistence; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.TypedQuery; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Root; //Repo base class, to be extend...
package org.egordorichev.lasttry.entity; import org.egordorichev.lasttry.entity.components.*; import org.egordorichev.lasttry.graphics.Graphics; import org.egordorichev.lasttry.util.Util; public class Creature extends Entity { public CreatureStatsComponent stats; public CreatureStateComponent state; public ...
package water; import jsr166y.CountedCompleter; import water.H2O.H2OCountedCompleter; import water.util.Log; import java.io.PrintWriter; import java.io.StringWriter; import java.util.Arrays; /** Jobs are used to do minimal tracking of long-lifetime user actions, * including progress-bar updates and the ability to rev...
package ru.job4j.condition; public class Triangle { private Point a, b, c; public Triangle(Point a, Point b, Point c) { this.a = a; this.b = b; this.c = c; } public double distance(Point left, Point right) { double leftX = left.getX(); double leftY = left.getY(); ...
package ru.job4j.TestTask; import java.util.*; public class Operation { Map<User, List<Account>> mapMoney = new HashMap<>(); public void addUser(User user) { mapMoney.put(user, new ArrayList<Account>()); } public void deleteUser(User user) { mapMoney.remove(user); } public void a...
package ru.job4j.servlet2; import org.apache.log4j.Logger; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.sql.Date; import org.apache.tomcat.jdbc.pool.DataSource; /** * Task Crud servlet. * * @author Dmitr...
package com.jeduan.crop; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import com.soundcloud.android.crop.Crop; import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaPlugin; import org.apache.cordova.Plu...
package nl.xservices.plugins; import android.content.Intent; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.util.Log; import com.google.android.gms.auth.api.Auth; import com.google.android.gms.auth.GoogleAuthUtil; import com.google.android.gms.auth.api.signin.GoogleSignI...
package DataObjects; /** * This class stores the relevant data about a drum on the winch * * @author Johnny White * @date 11/19/2014 */ public class Winch{ private DrumParameters drum; private Parachute parachute; private float brakePressure; private float batteryVoltage; public Winch() { ...
package mod._sc; import java.io.PrintWriter; import lib.StatusException; import lib.TestCase; import lib.TestEnvironment; import lib.TestParameters; import util.SOfficeFactory; import com.sun.star.lang.XComponent; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.sheet.XSpreadsheetDocument; import com....
package org.quattor.pan.type; import org.quattor.pan.dml.data.Element; import org.quattor.pan.dml.data.Resource; import org.quattor.pan.dml.data.StringProperty; import org.quattor.pan.exceptions.EvaluationException; import org.quattor.pan.exceptions.SyntaxException; import org.quattor.pan.exceptions.ValidationException...
package org.waterforpeople.mapping.helper; import static com.google.appengine.api.labs.taskqueue.TaskOptions.Builder.url; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.Collection; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Properties; import j...
package com.sharefile.api.https; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.net.URLConnection; import javax.net.ssl.HttpsURLConnection; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; imp...
package otld.otld; import otld.otld.intermediate.Program; import otld.otld.jvm.BytecodeCompiler; import otld.otld.parsing.*; import otld.otld.parsing.Error; import java.io.*; import java.util.Collection; import java.util.List; /** * Main class of the application. * * Ties the different parts together. */ public cla...
package info.justaway.adapter; import android.annotation.SuppressLint; import android.app.AlertDialog; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.support.annotat...
package org.teiid.client; import java.io.Externalizable; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectOutput; import java.io.ObjectStreamConstants; import java.math.BigDecimal; import java.math.BigInteger; import java.sql.Time; import java.sql.Timestamp; import java.util.ArrayList; impor...
package org.bdgp.MMSlide.Modules; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Set; import javax.swing.ButtonGroup; import javax.swing.JButton; import javax.swing.JOpti...
package cliente; import interfacesComunes.AStream; import interfacesComunes.Twitter; import interfacesComunes.TwitterInit; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.rmi.Naming; import java.rmi.NotBoundException; import java.rmi.RemoteException; import java.util....
package ParallelBasic; public class BadSuspend { public static Object u=new Object(); static ChangeObjectThread t1=new ChangeObjectThread("t1"); static ChangeObjectThread t2=new ChangeObjectThread("t2"); public static class ChangeObjectThread extends Thread{ public ChangeObjectThread(String name...
package com.mvpb.fda_project.client; import com.mvpb.fda_project.shared.FieldVerifier; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.core.client.GWT; import com.google.gwt.dom.client.Style.Unit; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler;...
/* * $Log: StringResolver.java,v $ * Revision 1.5 2004-08-30 06:37:19 NNVZNL01#L180564 * Accepts map as parameter instead of Properties * * Revision 1.4 2004/03/26 10:42:37 Johan Verrips <johan.verrips@ibissource.org> * added @version tag in javadoc * * Revision 1.3 2004/03/23 17:05:26 Gerrit van Brakel <...
package com.jme.scene; import java.io.Serializable; import java.util.*; import com.jme.bounding.BoundingVolume; import com.jme.intersection.CollisionResults; import com.jme.intersection.PickResults; import com.jme.math.Matrix3f; import com.jme.math.Quaternion; import com.jme.math.Ray; import com.jme.math.Vector3f; impo...
package com.lds.physics; import java.util.ArrayList; import java.util.IllegalFormatException; import com.lds.math.Matrix4; import com.lds.math.Vector2; import com.lds.math.Vector4; public abstract class Shape { /** * The shape's vertices in local coordinates. */ protected float[] vertices; /** ...
package de.fau.amos.virtualledger.server.factories; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import de.fau.amos.virtualledger.dtos.StringApiModel; public class StringApiModelFactoryTest { private StringApiModelFactory stringApiModelFactory; @Before public void setup() { ...
package au.edu.uts.eng.remotelabs.rigclient.rig; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import au.edu.uts.eng.remotelabs.rigclient.rig.IRigSession.Session; /** * Interface for rig client control. Rig client provide control takes * two forms: * <ul> * <li...
package com.sometrik.framework; import java.util.ArrayList; import java.util.HashMap; import java.util.Timer; import java.util.TimerTask; import com.sometrik.framework.SliderButton.Position; import android.view.View; import android.widget.AdapterView; import android.widget.LinearLayout; import android.widget.RelativeLa...
// checkstyle: Checks Java source code for adherence to a set of rules. // 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...
package com.horcrux.svg; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import java.util.Arrays; import java.util.Collecti...
package org.duracloud.snapshot.service.impl; import java.io.File; import java.util.HashMap; import java.util.Map; import org.duracloud.client.ContentStore; import org.duracloud.retrieval.util.StoreClientUtil; import org.duracloud.snapshot.SnapshotConstants; import org.duracloud.snapshot.SnapshotException; import org.du...
package cn.yiiguxing.plugin.translate.ui; import cn.yiiguxing.plugin.translate.TranslationContract; import cn.yiiguxing.plugin.translate.TranslationDialogManager; import cn.yiiguxing.plugin.translate.TranslationPresenter; import cn.yiiguxing.plugin.translate.Utils; import cn.yiiguxing.plugin.translate.model.QueryResult...
package edu.wustl.catissuecore.util.global; 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.Date; import java.util.HashMap; import java.util.Iterator; import java.util.List; im...
package net.md_5.bungee.api; import java.util.UUID; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import net.md_5.bungee.Util; /** * Represents the standard list data returned by opening a server in the * Minecraft client server list, or hitting it with a packet 0xFE. */ @Dat...
// copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // persons to whom the Software is furnished to do so, subject to the // notice shall be included in all copies o...
package com.esotericsoftware.kryo.serializers; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryo.Serializer; import com.esotericsoftware.kryo.io.Input; import com.esotericsoftware.kryo.io.Output; /** Serializes objects th...
package com.esotericsoftware.kryonet; import java.net.DatagramPacket; import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryo.io.Input; public interface ClientDiscoveryHandler { /** * This implementation of the {@link ClientDiscoveryHandler} is responsible * for providing the {@link Client...
package com.loca.addressbook.remoteregistry; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.ConnectException; import java.net.Socket; import java.net.UnknownHostException; import java.util.logging.Level; public class CatalogueClie...
package com.markupartist.sthlmtraveling.utils; import java.io.BufferedReader; import java.io.File; import java.io.FileOutputStream; import java.io.FileReader; import java.io.FilenameFilter; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import java.io.Writer; import java.util.Date;...
package com.opengamma.engine; import java.io.Serializable; import org.apache.commons.lang.ObjectUtils; import org.apache.commons.lang.text.StrBuilder; import org.fudgemsg.FudgeFieldContainer; import org.fudgemsg.FudgeMessageFactory; import org.fudgemsg.MutableFudgeFieldContainer; import com.opengamma.OpenGammaRuntimeEx...
package com.thaiopensource.relaxng.mns; import com.thaiopensource.relaxng.Schema; import com.thaiopensource.relaxng.ValidatorHandler; import com.thaiopensource.util.Localizer; import org.xml.sax.Attributes; import org.xml.sax.ErrorHandler; import org.xml.sax.Locator; import org.xml.sax.SAXException; import org.xml.sax....
package me.nallar.tickthreading.patcher; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import javax.xml.transform.Result; import javax.xml.transform.Source; import javax.xml.transform.Transformer; import javax.xml.transf...
// This file is part of the Kaltura Collaborative Media Suite which allows users // to do with audio, video, and animation what Wiki platforms 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 platforms 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...
// 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 platforms 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 platforms 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 platforms 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...
// 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 view.sajjad.mostdesired; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; 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.Random; import java...
package music_thing; import java.io.File; import java.net.URL; import java.nio.file.Files; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Optional; import java.util.ResourceBundle; import javafx.application.Platform; imp...
package com.ryan.eugene; import android.app.Activity; import android.widget.TextView; import android.widget.EditText; import android.widget.RelativeLayout; import android.widget.ScrollView; import android.view.KeyEvent; import android.view.inputmethod.EditorInfo; import android.view.inputmethod.InputMethodManager; impo...
package ru.matevosyan.start; import ru.matevosyan.models.Item; import java.util.Arrays; public class StartUI { /** * The static main method which is starting our program. */ private Input input; private Tracker tracker = new Tracker(); public StartUI(Input input) { this.input = input; ...
package org.picojs; import java.net.Inet4Address; import java.net.InetAddress; import java.net.UnknownHostException; public class MulticastEnabler { public static final InetAddress mCastAddress =init(); public static final int port = 9223; private static InetAddress init(){ try { return ...
package inovapap.sp.gtfs; import inovapap.sp.util.Parser; public class FareAttributes { private String fareId; private float price; private String currencyType; private String paymentMethod; private int transfers; private int transfer_duration; public FareAttributes(String line){ Str...
package com.tamsiree.rxkit; import android.app.Activity; import android.app.ActivityManager; import android.app.ActivityOptions; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.os.Bundle; import android.util.P...
package io.danielnorberg.rut; import static io.danielnorberg.rut.Router.Status.METHOD_NOT_ALLOWED; import static io.danielnorberg.rut.Router.Status.NOT_FOUND; import static io.danielnorberg.rut.Router.Status.SUCCESS; /** * A router for routing REST request paths to endpoints. * * @param <T> The target endpoint type....
package org.xdi.oxauth.filter; import javax.inject.Inject; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.annotation.WebFilter; import javax.servlet.annotation.WebInitParam; import org.apache.log4j.Logger; import org.gluu.oxserver.filters.AbstractCorsFilter; import org.xd...
package com.parc.ccn.library; import java.io.IOException; import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; import java.security.PrivateKey; import java.security.PublicKey; import java.security.Security; import java.security.SignatureException; import java.sql.Timestamp; import ja...
package com.maersk.ebiz.usmilitary; public class HelloGit { public static void main(String args[]) { System.out.println("Hello Git. GIt is Great"); } }
package org.jeffpiazza.derby; import java.io.File; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.nio.file.Files; import org.jeffpiazza.derby.devices.TimerDevice; import org.json.JSONObject; public class ObsCallbacks implements TimerDevice.RaceStartedCallback, ...
package com.pusher.testapp; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.graphics.drawable.Drawable; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.net.Uri; import andr...
package org.sikuli.ide; import java.io.*; import java.awt.*; import java.awt.datatransfer.*; import java.awt.image.*; import java.awt.event.*; import java.util.regex.Pattern; import java.util.regex.Matcher; import javax.swing.*; import javax.swing.text.*; import javax.swing.filechooser.FileFilter; import javax.swing.ev...
package operation; import com.taskadapter.redmineapi.RedmineException; import com.taskadapter.redmineapi.RedmineManager; import com.taskadapter.redmineapi.RedmineManagerFactory; import com.taskadapter.redmineapi.bean.Issue; import com.taskadapter.redmineapi.bean.Version; import com.taskadapter.redmineapi.bean.VersionFa...
package bft; import bft.BFTNode; import bftsmart.tom.MessageContext; import bftsmart.tom.core.messages.TOMMessage; import com.google.protobuf.ByteString; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.FileReader; import java.io.IOException; import java.io.StringWriter; import java.s...
package com.ibm.bi.dml.parser; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashMap; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileStatus; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import com....
package edu.wustl.catissuecore.action; import javax.naming.NamingException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.apache.struts.action.ActionError; import org.apache.struts.action.ActionErrors; import org.apache.str...
package edu.wustl.query.bizlogic; import java.sql.SQLException; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import javax.servlet.http.HttpServletRequest; import edu.wustl.common.beans.SessionDataBean; import edu.wustl.common.bizlogic.DefaultBizLogic; import edu....
package com.mentor.nucleus.bp.debug.ui.model; // File: $RCSfile: BPDebugTarget.java,v $ //Mentor Graphics Corp., and is not for external distribution. import java.lang.Thread.State; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Proxy; import java...
package net.bolbat.kit.event.common; import java.io.Serializable; /** * Entity updated event. * * @param <Updated> * - entity type * @author h3llka */ public class EntityUpdatedEvent<Updated extends Serializable> implements Serializable { /** * Basic serial version UID. */ private static...
package net.domesdaybook.reader; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.RandomAccessFile; /** * A very simple {@link ByteReader} which accesses bytes from a file, * using an underlying RandomAccessFile. * * Note: performance reading individual bytes fro...
package ca.corefacility.bioinformatics.irida.validators; import java.lang.annotation.Annotation; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import javax.validation.ConstraintViolation; import javax.validation.ConstraintViolationExc...