Java Long Number Create toLong(Object oid)

Here you can find the source of toLong(Object oid)

Description

to Long

License

Open Source License

Declaration

public static long toLong(Object oid) 

Method Source Code

//package com.java2s;

public class Main {
    public static long toLong(Object oid) {
        return Long.parseLong(String.valueOf(oid));
    }/*from   w  w w  .  ja v  a 2  s.  c  o m*/
}

Related

  1. toLong(Object object)
  2. toLong(Object object, Long defaultValue)
  3. toLong(Object object, long defaultValue)
  4. toLong(Object objectToConvert)
  5. toLong(Object objValue)
  6. toLong(Object property, long defaultValue)
  7. toLong(Object val)
  8. toLong(Object value)
  9. toLong(Object value)