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.java.time.chrono Generic API for calendar systems other than the default ISO.java.time.format Provides classes to print and parse dates and times.java.time.temporal Access to date and time using fields and units, and date time adjusters.java.util Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.java.util.stream Classes to support functional-style operations on streams of elements, such as map-reduce transformations on collections.javafx.beans.binding Provides classes that create and operate on aBinding
that calculates a value that depends on one or more sources.javafx.beans.property The packagejavafx.beans.property
defines read-only properties and writable properties, plus a number of implementations.javafx.css Provides API for making properties styleable via CSS and for supporting pseudo-class state.javafx.util.converter This package is for standard string converters for JavaFX.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 Description static Class<Long>
Long. TYPE
TheClass
instance representing the primitive typelong
.Methods in java.lang that return Long Modifier and Type Method Description static Long
Long. decode(String nm)
Decodes aString
into aLong
.static Long
Long. getLong(String nm)
Determines thelong
value of the system property with the specified name.static Long
Long. getLong(String nm, long val)
Determines thelong
value of the system property with the specified name.static Long
Long. getLong(String nm, Long val)
Returns thelong
value of the system property with the specified name.static Long
Long. valueOf(long l)
Returns aLong
instance representing the specifiedlong
value.static Long
Long. valueOf(String s)
Returns aLong
object holding the value of the specifiedString
.static Long
Long. valueOf(String s, int radix)
Returns aLong
object holding the value extracted from the specifiedString
when parsed with the radix given by the second argument.Methods in java.lang with parameters of type Long Modifier and Type Method Description int
Long. compareTo(Long anotherLong)
Compares twoLong
objects numerically.static Long
Long. getLong(String nm, Long val)
Returns thelong
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 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 java.time.chrono
Method parameters in java.time.chrono with type arguments of type Long Modifier and Type Method Description ChronoLocalDate
AbstractChronology. resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle)
Resolves parsedChronoField
values into a date during parsing.ChronoLocalDate
Chronology. resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle)
Resolves parsedChronoField
values into a date during parsing.HijrahDate
HijrahChronology. resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle)
LocalDate
IsoChronology. resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle)
Resolves parsedChronoField
values into a date during parsing.JapaneseDate
JapaneseChronology. resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle)
MinguoDate
MinguoChronology. resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle)
ThaiBuddhistDate
ThaiBuddhistChronology. resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle)
-
Uses of Long in java.time.format
Method parameters in java.time.format with type arguments of type Long Modifier and Type Method Description DateTimeFormatterBuilder
DateTimeFormatterBuilder. appendText(TemporalField field, Map<Long,String> textLookup)
Appends the text of a date-time field to the formatter using the specified map to supply the text. -
Uses of Long in java.time.temporal
Method parameters in java.time.temporal with type arguments of type Long Modifier and Type Method Description default TemporalAccessor
TemporalField. resolve(Map<TemporalField,Long> fieldValues, TemporalAccessor partialTemporal, ResolverStyle resolverStyle)
Resolves this field to provide a simpler alternative or a date. -
Uses of Long in java.util
Methods in java.util that return Long Modifier and Type Method Description default Long
PrimitiveIterator.OfLong. next()
Returns the next element in the iteration.Method parameters in java.util with type arguments of type Long Modifier and Type Method Description default void
PrimitiveIterator.OfLong. forEachRemaining(Consumer<? super Long> action)
Performs the given action for each remaining element until all elements have been processed or the action throws an exception.default void
Spliterator.OfLong. forEachRemaining(Consumer<? super Long> action)
Performs the given action for each remaining element, sequentially in the current thread, until all elements have been processed or the action throws an exception.default boolean
Spliterator.OfLong. tryAdvance(Consumer<? super Long> action)
If a remaining element exists, performs the given action on it, returningtrue
; else returnsfalse
. -
Uses of Long in java.util.stream
Methods in java.util.stream that return types with arguments of type Long Modifier and Type Method Description Stream<Long>
LongStream. boxed()
Returns aStream
consisting of the elements of this stream, each boxed to aLong
.static <T> Collector<T,?,Long>
Collectors. counting()
Returns aCollector
accepting elements of typeT
that counts the number of input elements.static <T> Collector<T,?,Long>
Collectors. summingLong(ToLongFunction<? super T> mapper)
Returns aCollector
that produces the sum of a long-valued function applied to the input elements. -
Uses of Long in javafx.beans.binding
Methods in javafx.beans.binding that return Long Modifier and Type Method Description Long
LongExpression. getValue()
Methods in javafx.beans.binding that return types with arguments of type Long Modifier and Type Method Description ObjectExpression<Long>
LongExpression. asObject()
Creates anObjectExpression
that holds the value of thisLongExpression
.Method parameters in javafx.beans.binding with type arguments of type Long Modifier and Type Method Description static LongBinding
Bindings. createLongBinding(Callable<Long> func, Observable... dependencies)
Helper function to create a customLongBinding
. -
Uses of Long in javafx.beans.property
Methods in javafx.beans.property that return types with arguments of type Long Modifier and Type Method Description ObjectProperty<Long>
LongProperty. asObject()
Creates anObjectProperty
that bidirectionally bound to thisLongProperty
.ReadOnlyObjectProperty<Long>
ReadOnlyLongProperty. asObject()
Creates aReadOnlyObjectProperty
that holds the value of thisReadOnlyLongProperty
.Method parameters in javafx.beans.property with type arguments of type Long Modifier and Type Method Description static LongProperty
LongProperty. longProperty(Property<Long> property)
Returns aLongProperty
that wraps aProperty
and is bidirectionally bound to it. -
Uses of Long in javafx.css
Constructors in javafx.css with parameters of type Long Constructor Description SimpleStyleableLongProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Long initialValue)
The constructor of theSimpleStyleableLongProperty
.SimpleStyleableLongProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Object bean, String name, Long initialValue)
The constructor of theSimpleStyleableLongProperty
. -
Uses of Long in javafx.util.converter
Methods in javafx.util.converter that return Long Modifier and Type Method Description Long
LongStringConverter. fromString(String value)
Converts the string provided into an object defined by the specific converter.Methods in javafx.util.converter with parameters of type Long Modifier and Type Method Description String
LongStringConverter. toString(Long value)
Converts the object provided into its string form. -
Uses of Long in javax.management.openmbean
Fields in javax.management.openmbean with type parameters of type Long Modifier and Type Field Description static SimpleType<Long>
SimpleType. LONG
TheSimpleType
instance describing values whose Java class name isjava.lang.Long
. -
Uses of Long in javax.management.timer
Methods in javax.management.timer that return Long Modifier and Type Method Description Long
Timer. getNbOccurences(Integer id)
Gets a copy of the remaining number of occurrences associated to a timer notification.Long
TimerMBean. getNbOccurences(Integer id)
Gets a copy of the remaining number of occurrences associated to a timer notification.Long
Timer. getPeriod(Integer id)
Gets a copy of the period (in milliseconds) associated to a timer notification.Long
TimerMBean. getPeriod(Integer id)
Gets a copy of the period (in milliseconds) associated to a timer notification.
-