Save This Page
Home » mahout-collections-1.0-src » org.apache.mahout.math.list.adapter » [javadoc | source]
org.apache.mahout.math.list.adapter
public class: LongListAdapter [javadoc | source]
java.lang.Object
   java.util.AbstractCollection
      java.util.AbstractList<Long>
         org.apache.mahout.math.list.adapter.LongListAdapter

All Implemented Interfaces:
    List, Collection

Deprecated! until - unit tests are in place. Until this time, this class/interface is unsupported.

Fields inherited from java.util.AbstractList:
modCount
Constructor:
 public LongListAdapter(AbstractLongList content) 
    Constructs a list backed by the specified content list.
Method from org.apache.mahout.math.list.adapter.LongListAdapter Summary:
add,   get,   remove,   set,   size
Methods from java.util.AbstractList:
add,   add,   addAll,   clear,   equals,   get,   hashCode,   indexOf,   iterator,   lastIndexOf,   listIterator,   listIterator,   remove,   removeRange,   set,   subList
Methods from java.util.AbstractCollection:
add,   addAll,   clear,   contains,   containsAll,   isEmpty,   iterator,   remove,   removeAll,   retainAll,   size,   toArray,   toArray,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.mahout.math.list.adapter.LongListAdapter Detail:
 public  void add(int index,
    Long element) 
      Deprecated!
    Inserts the specified element at the specified position in this list (optional operation). Shifts the element currently at that position (if any) and any subsequent elements to the right (adds one to their indices).

 public Long get(int index) 
      Deprecated!
    Returns the element at the specified position in this list.
 public Long remove(int index) 
      Deprecated!
    Removes the element at the specified position in this list (optional operation). Shifts any subsequent elements to the left (subtracts one from their indices). Returns the element that was removed from the list.

 public Long set(int index,
    Long element) 
      Deprecated!
    Replaces the element at the specified position in this list with the specified element (optional operation).

 public int size() 
      Deprecated!
    Returns the number of elements in this list.