Package uk.ac.ebi.pride.jmztab2.model
Class SplitList<E>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<E>
-
- uk.ac.ebi.pride.jmztab2.model.SplitList<E>
-
- Type Parameters:
E
- the generic element type of the list.
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<E>
,Collection<E>
,List<E>
,RandomAccess
public class SplitList<E> extends ArrayList<E>
This is list which each item split by a split char.- Since:
- 31/01/13
- Author:
- qingwei
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description SplitList(char splitChar)
Constructor for SplitList.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description char
getSplitChar()
Getter for the fieldsplitChar
.void
setSplitChar(char splitChar)
Setter for the fieldsplitChar
.String
toString()
-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
Methods inherited from class java.util.AbstractCollection
containsAll
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Methods inherited from interface java.util.List
containsAll
-
-
-
-
Constructor Detail
-
SplitList
public SplitList(char splitChar)
Constructor for SplitList.
- Parameters:
splitChar
- a char.
-
-
Method Detail
-
getSplitChar
public char getSplitChar()
Getter for the field
splitChar
.- Returns:
- a char.
-
setSplitChar
public void setSplitChar(char splitChar)
Setter for the field
splitChar
.- Parameters:
splitChar
- a char.
-
toString
public String toString()
- Overrides:
toString
in classAbstractCollection<E>
-
-