public static enum Sort.NullHandling extends Enum<Sort.NullHandling>
| 枚举常量和说明 |
|---|
NATIVE
Lets the data store decide what to do with nulls.
|
NULLS_FIRST
A hint to the used data store to order entries with null values before non null entries.
|
NULLS_LAST
A hint to the used data store to order entries with null values after non null entries.
|
public static final Sort.NullHandling NATIVE
public static final Sort.NullHandling NULLS_FIRST
public static final Sort.NullHandling NULLS_LAST
public static Sort.NullHandling[] values()
for (Sort.NullHandling c : Sort.NullHandling.values()) System.out.println(c);
public static Sort.NullHandling valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2019. All rights reserved.