Class InheritanceList
- java.lang.Object
-
- edu.uiuc.ncsa.security.core.inheritance.InheritanceList
-
-
Constructor Summary
Constructors Constructor Description InheritanceList()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
append(InheritanceList inheritanceList)
void
append(String name)
void
append(List<String> names)
void
clear()
boolean
contains(String name)
void
forEach(Consumer<? super String> action)
ArrayList<String>
getElements()
Gets the overridden elements for this item.void
insertAt(int index, String name)
void
insertAt(int index, List<String> name)
Iterator<String>
iterator()
static void
main(String[] args)
void
prepend(InheritanceList inheritanceList)
void
prepend(String name)
void
prepend(List<String> names)
void
remove(String name)
void
remove(List<String> names)
int
size()
Spliterator<String>
spliterator()
String
toString()
-
-
-
Method Detail
-
spliterator
public Spliterator<String> spliterator()
- Specified by:
spliterator
in interfaceIterable<String>
-
getElements
public ArrayList<String> getElements()
Gets the overridden elements for this item. Zero-th element is always the top-level, so if the inheritance sequence is A=[A, C, X] then this has 3 elements, A, C and X.- Returns:
-
append
public void append(String name)
-
append
public void append(InheritanceList inheritanceList)
-
prepend
public void prepend(InheritanceList inheritanceList)
-
prepend
public void prepend(String name)
-
contains
public boolean contains(String name)
-
remove
public void remove(String name)
-
size
public int size()
-
insertAt
public void insertAt(int index, String name)
-
clear
public void clear()
-
main
public static void main(String[] args)
-
-