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.
|
Modifier and Type | Field and Description |
---|---|
static Class<Long> |
Long.TYPE
The
Class instance representing the primitive type
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. |
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. |
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.
|
Modifier and Type | Field and Description |
---|---|
static SimpleType<Long> |
SimpleType.LONG
The
SimpleType instance describing values whose
Java class name is java.lang.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.
|
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, 2020, 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.