public enum Pop extends Enum<Pop>
Path may have multiple values associated with a single label.
 Pop is used to determine whether the first value, last value, or
 all values are gathered. Note that mixed will return results
 as a list if there are multiple (like all) or as a singleton
 if only one object in the path is labeled (like last).| Enum Constant and Description | 
|---|
all
Get all the items and return them as a list. 
 | 
first
The first item in an ordered collection (i.e. 
 | 
last
The last item in an ordered collection (i.e. 
 | 
mixed
Get the items as either a list (for multiple) or an object (for singles). 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Pop | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static Pop[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final Pop first
collection[0]).public static final Pop last
collection[collection.size()-1]).public static final Pop all
public static final Pop mixed
public static Pop[] values()
for (Pop c : Pop.values()) System.out.println(c);
public static Pop 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 © 2013–2018 Apache Software Foundation. All rights reserved.