Here you can find the source of getLngIn()
public static long getLngIn()
//package com.java2s; //License from project: Open Source License import java.util.Scanner; public class Main { private static Scanner sc = new Scanner(System.in); /**/*from w w w . ja va 2 s . co m*/ * This returns a long number from user input * * @return long from user input */ public static long getLngIn() { return sc.nextLong(); } }