E
- public class NamedElementChain<E> extends Object
This implementation makes no attempts to ensure uniqueness of element names.
Modifier and Type | Class and Description |
---|---|
class |
NamedElementChain.Node |
Constructor and Description |
---|
NamedElementChain() |
Modifier and Type | Method and Description |
---|---|
NamedElementChain.Node |
addAfter(String existing,
E value,
String name) |
NamedElementChain.Node |
addBefore(String existing,
E value,
String name) |
NamedElementChain.Node |
addFirst(E value,
String name) |
NamedElementChain.Node |
addLast(E value,
String name) |
NamedElementChain.Node |
find(String name) |
NamedElementChain.Node |
getFirst() |
NamedElementChain.Node |
getLast() |
int |
getSize() |
boolean |
remove(String name) |
boolean |
replace(String existing,
E value) |
public NamedElementChain.Node getFirst()
public NamedElementChain.Node getLast()
public NamedElementChain.Node addFirst(E value, String name)
public NamedElementChain.Node addLast(E value, String name)
public NamedElementChain.Node find(String name)
public NamedElementChain.Node addBefore(String existing, E value, String name)
public NamedElementChain.Node addAfter(String existing, E value, String name)
public boolean remove(String name)
public int getSize()
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.