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
public String getTrailer()
public int size()
size
in interface Collection
size
in interface List
size
in class AbstractCollection
Copyright © 2014 BioJava. All rights reserved.