com.browseengine.bobo.facets.data
Class TermShortList

java.lang.Object
  extended by com.browseengine.bobo.facets.data.TermValueList<T>
      extended by com.browseengine.bobo.facets.data.TermNumberList<Short>
          extended by com.browseengine.bobo.facets.data.TermShortList
All Implemented Interfaces:
Iterable<String>, Collection<String>, List<String>

public class TermShortList
extends TermNumberList<Short>


Field Summary
 
Fields inherited from class com.browseengine.bobo.facets.data.TermNumberList
_formatString, _formatter
 
Fields inherited from class com.browseengine.bobo.facets.data.TermValueList
_innerList, _type
 
Constructor Summary
TermShortList()
           
TermShortList(int capacity, String formatString)
           
TermShortList(String formatString)
           
 
Method Summary
 boolean add(String o)
           
protected  List<?> buildPrimitiveList(int capacity)
           
 void clear()
           
 boolean contains(short val)
           
 boolean containsWithType(short val)
           
 boolean containsWithType(Short val)
           
 String get(int index)
           
 short getPrimitiveValue(int index)
           
 int indexOf(Object o)
           
 int indexOf(short val)
           
 int indexOf(Short val)
           
 int indexOfWithType(short val)
           
 int indexOfWithType(Short val)
           
protected  Object parseString(String o)
           
 void seal()
           
 
Methods inherited from class com.browseengine.bobo.facets.data.TermNumberList
format, getFormatString, setFormatString
 
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
 
Methods inherited from interface java.util.List
equals, hashCode
 

Constructor Detail

TermShortList

public TermShortList()

TermShortList

public TermShortList(String formatString)

TermShortList

public TermShortList(int capacity,
                     String formatString)
Method Detail

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<Short>

clear

public void clear()
Specified by:
clear in interface Collection<String>
Specified by:
clear in interface List<String>
Overrides:
clear in class TermValueList<Short>

get

public String get(int index)
Specified by:
get in interface List<String>
Overrides:
get in class TermValueList<Short>

getPrimitiveValue

public short getPrimitiveValue(int index)

buildPrimitiveList

protected List<?> buildPrimitiveList(int capacity)
Specified by:
buildPrimitiveList in class TermValueList<Short>

indexOf

public int indexOf(Object o)
Specified by:
indexOf in interface List<String>
Specified by:
indexOf in class TermValueList<Short>

indexOf

public int indexOf(Short val)

indexOf

public int indexOf(short val)

indexOfWithType

public int indexOfWithType(Short val)
Specified by:
indexOfWithType in class TermValueList<Short>

indexOfWithType

public int indexOfWithType(short val)

seal

public void seal()
Specified by:
seal in class TermValueList<Short>

parseString

protected Object parseString(String o)
Specified by:
parseString in class TermNumberList<Short>

contains

public boolean contains(short val)

containsWithType

public boolean containsWithType(Short val)
Specified by:
containsWithType in class TermValueList<Short>

containsWithType

public boolean containsWithType(short val)


Copyright © 2011. All Rights Reserved.