com.browseengine.bobo.facets.data
Class TermLongList
java.lang.Object
com.browseengine.bobo.facets.data.TermValueList<T>
com.browseengine.bobo.facets.data.TermNumberList<Long>
com.browseengine.bobo.facets.data.TermLongList
- All Implemented Interfaces:
- Iterable<String>, Collection<String>, List<String>
- Direct Known Subclasses:
- TermDateList
public class TermLongList
- extends TermNumberList<Long>
| Methods inherited from class com.browseengine.bobo.facets.data.TermValueList |
add, addAll, addAll, contains, containsAll, getInnerList, getRawValue, getType, isEmpty, iterator, lastIndexOf, listIterator, listIterator, main, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_elements
protected long[] _elements
TermLongList
public TermLongList()
TermLongList
public TermLongList(int capacity,
String formatString)
TermLongList
public TermLongList(String formatString)
parse
protected long parse(String s)
add
public boolean add(String o)
- Specified by:
add in interface Collection<String>- Specified by:
add in interface List<String>- Specified by:
add in class TermValueList<Long>
buildPrimitiveList
protected List<?> buildPrimitiveList(int capacity)
- Specified by:
buildPrimitiveList in class TermValueList<Long>
clear
public void clear()
- Specified by:
clear in interface Collection<String>- Specified by:
clear in interface List<String>- Overrides:
clear in class TermValueList<Long>
get
public String get(int index)
- Specified by:
get in interface List<String>- Overrides:
get in class TermValueList<Long>
getPrimitiveValue
public long getPrimitiveValue(int index)
indexOf
public int indexOf(Object o)
- Specified by:
indexOf in interface List<String>- Specified by:
indexOf in class TermValueList<Long>
indexOf
public int indexOf(Long val)
indexOf
public int indexOf(long val)
indexOfWithType
public int indexOfWithType(Long val)
- Specified by:
indexOfWithType in class TermValueList<Long>
indexOfWithType
public int indexOfWithType(long val)
seal
public void seal()
- Specified by:
seal in class TermValueList<Long>
parseString
protected Object parseString(String o)
- Specified by:
parseString in class TermNumberList<Long>
contains
public boolean contains(long val)
containsWithType
public boolean containsWithType(Long val)
- Specified by:
containsWithType in class TermValueList<Long>
containsWithType
public boolean containsWithType(long val)
Copyright © 2011. All Rights Reserved.