public class ComparatorFields extends Object
| Constructor and Description |
|---|
ComparatorFields()
Instantiates a new list of comparator fields.
|
ComparatorFields(Collection<? extends ComparatorField> fields)
Instantiates a new list of comparator fields.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<ComparatorField> |
getFields()
Gets the list of comparator fields.
|
int |
hashCode() |
String |
toString() |
String |
toWkt()
Creates the well known text of this list of field ordering descriptions.
|
public ComparatorFields()
public ComparatorFields(Collection<? extends ComparatorField> fields)
fields - the comparator fieldspublic List<ComparatorField> getFields()
public String toWkt()
The syntax of the field ordering description is
fieldNameOrPath0,asc,ignoreCase,nullIsFirst|fieldNameOrPath1,asc,ignoreCase,nullIsFirst
For example
room.number,asc,true,false|person.lastName,asc,true,false|person.firstName,asc,true,false
Copyright © 2019 bremersee.org. All rights reserved.