public class FacetList extends Object implements Serializable
Constructor and Description |
---|
FacetList()
Creates a new FacetList
|
Modifier and Type | Method and Description |
---|---|
void |
add(Facet facet)
Adds the given Facet to this list
|
void |
add(FacetList facetList)
Adds the facets from the given list into this FacetList
|
Facet |
contains(String name)
Returns the facet of the list with with the given name.
|
Enumeration<Facet> |
enumerate()
Returns an Enumeration of the Facets in this list
|
Facet |
get(int index)
Returns the facet at the given index
|
boolean |
remove(Facet facet)
Removes the given Facet from this list
|
Facet |
remove(int index)
Removes the facet located at the given index
|
int |
size()
Returns the number of Facets in this list
|
public void add(Facet facet)
facet
- the facet to addpublic void add(FacetList facetList)
facetList
- the FacetList to copy frompublic Facet get(int index)
index
- the index of the Facet to returnpublic boolean remove(Facet facet)
facet
- the Facet to removepublic Facet remove(int index)
index
- the index of the Facet to removepublic int size()
public Enumeration<Facet> enumerate()
public Facet contains(String name)
name
- the facet name to look for.Copyright © 2014. All rights reserved.