pl.netanel.swt.matrix
Interface NumberList<N extends java.lang.Number>

All Superinterfaces:
java.lang.Iterable<N>, NumberCollection<N>, NumberSet<N>

public interface NumberList<N extends java.lang.Number>
extends NumberSet<N>

List of integer numbers.


Nested Class Summary
 
Nested classes/interfaces inherited from interface pl.netanel.swt.matrix.NumberSet
NumberSet.Query<N extends java.lang.Number>
 
Method Summary
 N first()
           
 N get(N index)
          Returns the number at given position in the list.
 N indexOf(N number)
          Returns the position of the given number in the list.
 N last()
           
 
Methods inherited from interface pl.netanel.swt.matrix.NumberSet
add, add, add, add, addAll, change, clear, copy, copyNumberSet, delete, delete, delete, extentIterator, getUnchecked, insert, numberIterator, remove, remove, remove, remove, removeAll, toggle
 
Methods inherited from interface pl.netanel.swt.matrix.NumberCollection
contains, contains, contains, containsAll, containsAll, containsAll, containsAny, containsAny, containsAny, copyNumberCollection, getCount, getCount, isEmpty, seq, seq
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

get

N get(N index)
Returns the number at given position in the list.

Parameters:
index - position of the item in the list
Returns:
the number at given position in the list

indexOf

N indexOf(N number)
Returns the position of the given number in the list.

Parameters:
number - number to get the position of
Returns:
the position of the given number in the list

first

N first()

last

N last()


Copyright © 2011 netanel.pl. All Rights Reserved.