Java™ Platform
Standard Ed. 6

Uses of Class
java.lang.Long

Packages that use Long
java.lang Provides classes that are fundamental to the design of the Java programming language. 
javax.management.openmbean Provides the open data types and Open MBean descriptor classes. 
javax.management.timer Provides the definition of the Timer MBean. 
 

Uses of Long in java.lang
 

Fields in java.lang with type parameters of type Long
static Class<Long> Long.TYPE
          The Class instance representing the primitive type long.
 

Methods in java.lang that return Long
static Long Long.decode(String nm)
          Decodes a String into a Long.
static Long Long.getLong(String nm)
          Determines the long value of the system property with the specified name.
static Long Long.getLong(String nm, long val)
          Determines the long value of the system property with the specified name.
static Long Long.getLong(String nm, Long val)
          Returns the long value of the system property with the specified name.
static Long Long.valueOf(long l)
          Returns a Long instance representing the specified long value.
static Long Long.valueOf(String s)
          Returns a Long object holding the value of the specified String.
static Long Long.valueOf(String s, int radix)
          Returns a Long object holding the value extracted from the specified String when parsed with the radix given by the second argument.
 

Methods in java.lang with parameters of type Long
 int Long.compareTo(Long anotherLong)
          Compares two Long objects numerically.
static Long Long.getLong(String nm, Long val)
          Returns the long value of the system property with the specified name.
 

Uses of Long in javax.management.openmbean
 

Fields in javax.management.openmbean with type parameters of type Long
static SimpleType<Long> SimpleType.LONG
          The SimpleType instance describing values whose Java class name is java.lang.Long.
 

Uses of Long in javax.management.timer
 

Methods in javax.management.timer that return Long
 Long TimerMBean.getNbOccurences(Integer id)
          Gets a copy of the remaining number of occurrences associated to a timer notification.
 Long Timer.getNbOccurences(Integer id)
          Gets a copy of the remaining number of occurrences associated to a timer notification.
 Long TimerMBean.getPeriod(Integer id)
          Gets a copy of the period (in milliseconds) associated to a timer notification.
 Long Timer.getPeriod(Integer id)
          Gets a copy of the period (in milliseconds) associated to a timer notification.
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

Scripting on this page tracks web page traffic, but does not change the content in any way.