public static enum PageRequest.StartingPoint extends Enum<PageRequest.StartingPoint>
Enum Constant and Description |
---|
Beginning |
End |
OffsetEnd |
OffsetStart |
PredicateEnd |
PredicateStart |
Modifier and Type | Method and Description |
---|---|
static PageRequest.StartingPoint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PageRequest.StartingPoint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PageRequest.StartingPoint Beginning
public static final PageRequest.StartingPoint End
public static final PageRequest.StartingPoint OffsetStart
public static final PageRequest.StartingPoint OffsetEnd
public static final PageRequest.StartingPoint PredicateStart
public static final PageRequest.StartingPoint PredicateEnd
public static PageRequest.StartingPoint[] values()
for (PageRequest.StartingPoint c : PageRequest.StartingPoint.values()) System.out.println(c);
public static PageRequest.StartingPoint valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022 Apache Software Foundation. All rights reserved.