public abstract class ListInt extends Object implements ListNumber, CollectionInt
ints.| Constructor and Description | 
|---|
ListInt()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
byte | 
getByte(int index)
Returns the element at the specified position in this list casted to a byte. 
 | 
double | 
getDouble(int index)
Returns the element at the specified position in this list casted to a double. 
 | 
float | 
getFloat(int index)
Returns the element at the specified position in this list casted to a float. 
 | 
long | 
getLong(int index)
Returns the element at the specified position in this list casted to a long. 
 | 
short | 
getShort(int index)
Returns the element at the specified position in this list casted to a short. 
 | 
int | 
hashCode()  | 
IteratorInt | 
iterator()
Returns an iterator over the elements of the collection. 
 | 
void | 
setByte(int index,
       byte value)
Changes the element at the specified position, casting to the internal
 representation. 
 | 
void | 
setDouble(int index,
         double value)
Changes the element at the specified position, casting to the internal
 representation. 
 | 
void | 
setFloat(int index,
        float value)
Changes the element at the specified position, casting to the internal
 representation. 
 | 
void | 
setInt(int index,
      int value)
Changes the element at the specified position, casting to the internal
 representation. 
 | 
void | 
setLong(int index,
       long value)
Changes the element at the specified position, casting to the internal
 representation. 
 | 
void | 
setShort(int index,
        short value)
Changes the element at the specified position, casting to the internal
 representation. 
 | 
String | 
toString()  | 
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetIntsizepublic IteratorInt iterator()
CollectionNumberiterator in interface CollectionIntiterator in interface CollectionNumberpublic double getDouble(int index)
ListNumbergetDouble in interface ListNumberindex - position of the element to returnpublic float getFloat(int index)
ListNumbergetFloat in interface ListNumberindex - position of the element to returnpublic long getLong(int index)
ListNumbergetLong in interface ListNumberindex - position of the element to returnpublic short getShort(int index)
ListNumbergetShort in interface ListNumberindex - position of the element to returnpublic byte getByte(int index)
ListNumbergetByte in interface ListNumberindex - position of the element to returnpublic void setDouble(int index,
                      double value)
ListNumbersetDouble in interface ListNumberindex - position of the element to changevalue - the new valuepublic void setFloat(int index,
                     float value)
ListNumbersetFloat in interface ListNumberindex - position of the element to changevalue - the new valuepublic void setLong(int index,
                    long value)
ListNumbersetLong in interface ListNumberindex - position of the element to changevalue - the new valuepublic void setInt(int index,
                   int value)
ListNumbersetInt in interface ListNumberindex - position of the element to changevalue - the new valuepublic void setShort(int index,
                     short value)
ListNumbersetShort in interface ListNumberindex - position of the element to changevalue - the new valuepublic void setByte(int index,
                    byte value)
ListNumbersetByte in interface ListNumberindex - position of the element to changevalue - the new valueCopyright © 2015. All rights reserved.