com.browseengine.bobo.facets.data
Class TermDoubleList

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

public class TermDoubleList
extends TermNumberList<Double>


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
TermDoubleList()
           
TermDoubleList(int capacity, String formatString)
           
TermDoubleList(String formatString)
           
 
Method Summary
 boolean add(String o)
           
protected  List<?> buildPrimitiveList(int capacity)
           
 boolean contains(double val)
           
 boolean containsWithType(double val)
           
 boolean containsWithType(Double val)
           
 String get(int index)
           
 double getPrimitiveValue(int index)
           
 int indexOf(double val)
           
 int indexOf(Object o)
           
 int indexOfWithType(double val)
           
 int indexOfWithType(Double o)
           
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, clear, 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

TermDoubleList

public TermDoubleList()

TermDoubleList

public TermDoubleList(String formatString)

TermDoubleList

public TermDoubleList(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<Double>

buildPrimitiveList

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

get

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

getPrimitiveValue

public double getPrimitiveValue(int index)

indexOf

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

indexOf

public int indexOf(double val)

seal

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

parseString

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

contains

public boolean contains(double val)

containsWithType

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

containsWithType

public boolean containsWithType(double val)

indexOfWithType

public int indexOfWithType(Double o)
Specified by:
indexOfWithType in class TermValueList<Double>

indexOfWithType

public int indexOfWithType(double val)


Copyright © 2011. All Rights Reserved.