Package com.nuix.superutilities.misc
Class NamedStringList
- java.lang.Object
-
- com.nuix.superutilities.misc.NamedStringList
-
public class NamedStringList extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description NamedStringList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, java.lang.String element)
boolean
add(java.lang.String e)
boolean
addAll(int index, java.util.Collection<? extends java.lang.String> c)
boolean
addAll(java.util.Collection<? extends java.lang.String> c)
void
clear()
boolean
contains(java.lang.Object o)
boolean
containsAll(java.util.Collection<?> c)
boolean
equals(java.lang.Object o)
void
forEach(java.util.function.Consumer<? super java.lang.String> action)
java.lang.String
get(int index)
java.lang.String
getName()
int
hashCode()
int
indexOf(java.lang.Object o)
boolean
isEmpty()
java.util.Iterator<java.lang.String>
iterator()
int
lastIndexOf(java.lang.Object o)
java.util.ListIterator<java.lang.String>
listIterator()
java.util.ListIterator<java.lang.String>
listIterator(int index)
java.util.stream.Stream<java.lang.String>
parallelStream()
java.lang.String
remove(int index)
boolean
remove(java.lang.Object o)
boolean
removeAll(java.util.Collection<?> c)
boolean
removeIf(java.util.function.Predicate<? super java.lang.String> filter)
void
replaceAll(java.util.function.UnaryOperator<java.lang.String> operator)
boolean
retainAll(java.util.Collection<?> c)
java.lang.String
set(int index, java.lang.String element)
void
setName(java.lang.String name)
int
size()
void
sort(java.util.Comparator<? super java.lang.String> c)
java.util.Spliterator<java.lang.String>
spliterator()
java.util.stream.Stream<java.lang.String>
stream()
java.util.List<java.lang.String>
subList(int fromIndex, int toIndex)
java.lang.Object[]
toArray()
<T> T[]
toArray(T[] a)
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
forEach
public void forEach(java.util.function.Consumer<? super java.lang.String> action)
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
contains
public boolean contains(java.lang.Object o)
-
iterator
public java.util.Iterator<java.lang.String> iterator()
-
toArray
public java.lang.Object[] toArray()
-
toArray
public <T> T[] toArray(T[] a)
-
add
public boolean add(java.lang.String e)
-
remove
public boolean remove(java.lang.Object o)
-
containsAll
public boolean containsAll(java.util.Collection<?> c)
-
addAll
public boolean addAll(java.util.Collection<? extends java.lang.String> c)
-
addAll
public boolean addAll(int index, java.util.Collection<? extends java.lang.String> c)
-
removeAll
public boolean removeAll(java.util.Collection<?> c)
-
retainAll
public boolean retainAll(java.util.Collection<?> c)
-
replaceAll
public void replaceAll(java.util.function.UnaryOperator<java.lang.String> operator)
-
removeIf
public boolean removeIf(java.util.function.Predicate<? super java.lang.String> filter)
-
sort
public void sort(java.util.Comparator<? super java.lang.String> c)
-
clear
public void clear()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
get
public java.lang.String get(int index)
-
set
public java.lang.String set(int index, java.lang.String element)
-
add
public void add(int index, java.lang.String element)
-
stream
public java.util.stream.Stream<java.lang.String> stream()
-
remove
public java.lang.String remove(int index)
-
parallelStream
public java.util.stream.Stream<java.lang.String> parallelStream()
-
indexOf
public int indexOf(java.lang.Object o)
-
lastIndexOf
public int lastIndexOf(java.lang.Object o)
-
listIterator
public java.util.ListIterator<java.lang.String> listIterator()
-
listIterator
public java.util.ListIterator<java.lang.String> listIterator(int index)
-
subList
public java.util.List<java.lang.String> subList(int fromIndex, int toIndex)
-
spliterator
public java.util.Spliterator<java.lang.String> spliterator()
-
-