软件包 | 描述 |
---|---|
java.lang |
提供对java编程语言的设计基础课。
|
java.nio.channels |
定义了渠道,它代表的是能够执行I/O操作的实体连接,如文件和套接字;定义选择器,多路复用,非阻塞I/O操作。
|
java.time.chrono |
除了默认的标准以外的日历系统的通用的。
|
java.time.format |
提供打印和解析日期和时间的类。
|
java.time.temporal |
访问日期和时间的应用领域和单位,时间和日期的调节。
|
java.util |
包含集合框架、遗留的集合类、事件模型、日期和时间的设施、国际化和各种实用工具类(一个字符串标记,一个随机数发生器,和一位阵列)。
|
java.util.stream |
类,以支持元素流上的功能样式操作,如Map减少集合上的转换。
|
javax.management.openmbean |
提供开放的数据类型和开放MBean描述符类。
|
javax.management.timer |
提供的定时器MBean的定义。
|
Modifier and Type | Field and Description |
---|---|
static 类<Long> |
Long.TYPE
long 代表原始类型的
类 实例。
|
Modifier and Type | Method and Description |
---|---|
static Long |
Long.decode(String nm)
解码
String 成
Long 。
|
static Long |
Long.getLong(String nm)
决定系统性能的
long 值与指定的名称。
|
static Long |
Long.getLong(String nm, long val)
决定系统性能的
long 值与指定的名称。
|
static Long |
Long.getLong(String nm, Long val)
返回系统属性的
long 值与指定的名称。
|
static Long |
Long.valueOf(long l)
返回表示指定的
long 价值
Long 实例。
|
static Long |
Long.valueOf(String s)
返回一个
Long 对象持有指定的
String 价值。
|
static Long |
Long.valueOf(String s, int radix)
返回一个
Long 对象持有价值提取指定的
String 解析时由第二个参数给定的基数。
|
Modifier and Type | Method and Description |
---|---|
int |
Long.compareTo(Long anotherLong)
比较两
Long 对象数值。
|
static Long |
Long.getLong(String nm, Long val)
返回系统属性的
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)
读这信入子序列给定的缓冲区字节序列。
|
abstract <A> void |
AsynchronousSocketChannel.write(ByteBuffer[] srcs, int offset, int length, long timeout, TimeUnit unit, A attachment, CompletionHandler<Long,? super A> handler)
写一个字节序列的子序列对该通道从给定的缓冲区。
|
Modifier and Type | Method and Description |
---|---|
LocalDate |
IsoChronology.resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle)
解决
ChronoField 值解析到日期在解析。
|
ChronoLocalDate |
AbstractChronology.resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle)
解决
ChronoField 值解析到日期在解析。
|
ChronoLocalDate |
Chronology.resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle)
解决
ChronoField 值解析到日期在解析。
|
ThaiBuddhistDate |
ThaiBuddhistChronology.resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle) |
JapaneseDate |
JapaneseChronology.resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle) |
MinguoDate |
MinguoChronology.resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle) |
HijrahDate |
HijrahChronology.resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle) |
Modifier and Type | Method and Description |
---|---|
DateTimeFormatterBuilder |
DateTimeFormatterBuilder.appendText(TemporalField field, Map<Long,String> textLookup)
添加一个日期时间字段的文本,使用指定的Map提供的文本格式化程序。
|
Modifier and Type | Method and Description |
---|---|
default TemporalAccessor |
TemporalField.resolve(Map<TemporalField,Long> fieldValues, TemporalAccessor partialTemporal, ResolverStyle resolverStyle)
解析此字段提供一个更简单的替代或日期。
|
Modifier and Type | Method and Description |
---|---|
default Long |
PrimitiveIterator.OfLong.next()
返回迭代中的下一个元素。
|
Modifier and Type | Method and Description |
---|---|
default void |
Spliterator.OfLong.forEachRemaining(Consumer<? super Long> action)
对每个剩余元素执行给定的操作,在当前线程中顺序执行,直到所有的元素都被处理或操作抛出异常。
|
default void |
PrimitiveIterator.OfLong.forEachRemaining(Consumer<? super Long> action)
执行给定的每个剩余元素的动作,直到所有的元素都被处理或操作抛出异常。
|
default boolean |
Spliterator.OfLong.tryAdvance(Consumer<? super Long> action)
如果剩余的元素存在,执行特定动作的话,还
true ;否则返回
false 。
|
Modifier and Type | Method and Description |
---|---|
Stream<Long> |
LongStream.boxed()
返回一个包含该流的元素
Stream ,每盒装一
Long 。
|
static <T> Collector<T,?,Long> |
Collectors.counting()
返回一个
Collector 接受型
T 计数输入元素个数的元素。
|
static <T> Collector<T,?,Long> |
Collectors.summingLong(ToLongFunction<? super T> mapper)
返回一个
Collector 生产长值函数应用于投入要素的总和。
|
Modifier and Type | Field and Description |
---|---|
static SimpleType<Long> |
SimpleType.LONG
描述值的java类名的
SimpleType 实例
java.lang.Long 。
|
Modifier and Type | Method and Description |
---|---|
Long |
TimerMBean.getNbOccurences(Integer id)
获取与计时器通知相关联的剩余数量的副本的副本。
|
Long |
Timer.getNbOccurences(Integer id)
获取与计时器通知相关联的剩余数量的副本的副本。
|
Long |
TimerMBean.getPeriod(Integer id)
获取与计时器通知相关联的期间(以毫秒为单位)的副本。
|
Long |
Timer.getPeriod(Integer id)
获取与计时器通知相关联的期间(以毫秒为单位)的副本。
|
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, 2014, Oracle and/or its affiliates. All rights reserved.