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: IntListAdapter [javadoc | source]
java.lang.Object
   java.util.AbstractCollection
      java.util.AbstractList<Integer>
         org.apache.mahout.math.list.adapter.IntListAdapter

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 IntListAdapter(AbstractIntList content) 
    Constructs a list backed by the specified content list.
Method from org.apache.mahout.math.list.adapter.IntListAdapter 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.IntListAdapter Detail:
 public  void add(int index,
    Integer 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 Integer get(int index) 
      Deprecated!
    Returns the element at the specified position in this list.
 public Integer 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 Integer set(int index,
    Integer 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.