public static class ListTools.SeriesList extends AbstractList
This provides a simple list implementation that synthesises elements from a leading and trailing string and the index into the list.
For example, a SeriesList with leader "" and trailer ":" will contain values like "0:", "1:", "2:" and so on. A SeriesList with leader "Chapter " and trailer "" will have values like "Chapter 5".
modCount
Modifier and Type | Method and Description |
---|---|
Object |
get(int indx) |
String |
getLeader() |
String |
getTrailer() |
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public String getTrailer()
public int size()
size
in interface Collection
size
in interface List
size
in class AbstractCollection
Copyright © 2020 BioJava. All rights reserved.