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, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic String getTrailer()
public int size()
size in interface Collectionsize in interface Listsize in class AbstractCollectionCopyright © 2020 BioJava. All rights reserved.