Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Uses of Class
java.lang.Long

Packages that use Long
Package Description
java.lang Provides classes that are fundamental to the design of the Java programming language. 
java.nio.channels Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations. 
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
Modifier and Type Field and Description
static Class<Long> Long.TYPE
          The Class instance representing the primitive type long.
 

Methods in java.lang that return Long
Modifier and Type Method and Description
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
Modifier and Type Method and Description
 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 java.nio.channels
 

Method parameters in java.nio.channels with type arguments of type Long
Modifier and Type Method and Description
abstract
<A> void
AsynchronousSocketChannel.read(ByteBuffer[] dsts, int offset, int length, long timeout, TimeUnit unit, A attachment, CompletionHandler<Long,? super A> handler)
          Reads a sequence of bytes from this channel into a subsequence of the given buffers.
abstract
<A> void
AsynchronousSocketChannel.write(ByteBuffer[] srcs, int offset, int length, long timeout, TimeUnit unit, A attachment, CompletionHandler<Long,? super A> handler)
          Writes a sequence of bytes to this channel from a subsequence of the given buffers.
 

Uses of Long in javax.management.openmbean
 

Fields in javax.management.openmbean with type parameters of type Long
Modifier and Type Field and Description
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
Modifier and Type Method and Description
 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. 7

DRAFT ea-b118

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

Copyright © 1993, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

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