org.aminds.util
クラス NestedListIterator<T>

java.lang.Object
  上位を拡張 org.aminds.util.NestedListIterator<T>
すべての実装されたインタフェース:
Iterator<T>, ListIterator<T>

public class NestedListIterator<T>
extends Object
implements ListIterator<T>

Note that it is not thread-safe even though the underlying Iterable objects are thread-safe.

作成者:
Masashi Nakanishi

フィールドの概要
protected  ListIterator<? extends T> current
           
protected  int cursor
           
protected  ListIterator<? extends List<? extends T>> iterator
           
 
コンストラクタの概要
NestedListIterator(List<? extends List<? extends T>> o)
           
NestedListIterator(List<? extends List<? extends T>> o, int index)
           
NestedListIterator(ListIterator<? extends List<? extends T>> o)
           
 
メソッドの概要
 void add(T o)
           
 boolean hasNext()
           
 boolean hasPrevious()
           
 T next()
           
 int nextIndex()
           
 T previous()
           
 int previousIndex()
           
 void remove()
           
 void set(T o)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

iterator

protected ListIterator<? extends List<? extends T>> iterator

current

protected ListIterator<? extends T> current

cursor

protected int cursor
コンストラクタの詳細

NestedListIterator

public NestedListIterator(List<? extends List<? extends T>> o)

NestedListIterator

public NestedListIterator(List<? extends List<? extends T>> o,
                          int index)

NestedListIterator

public NestedListIterator(ListIterator<? extends List<? extends T>> o)
メソッドの詳細

hasNext

public boolean hasNext()
定義:
インタフェース Iterator<T> 内の hasNext
定義:
インタフェース ListIterator<T> 内の hasNext

next

public T next()
定義:
インタフェース Iterator<T> 内の next
定義:
インタフェース ListIterator<T> 内の next

nextIndex

public int nextIndex()
定義:
インタフェース ListIterator<T> 内の nextIndex

hasPrevious

public boolean hasPrevious()
定義:
インタフェース ListIterator<T> 内の hasPrevious

previous

public T previous()
定義:
インタフェース ListIterator<T> 内の previous

previousIndex

public int previousIndex()
定義:
インタフェース ListIterator<T> 内の previousIndex

add

public void add(T o)
定義:
インタフェース ListIterator<T> 内の add

remove

public void remove()
定義:
インタフェース Iterator<T> 内の remove
定義:
インタフェース ListIterator<T> 内の remove

set

public void set(T o)
定義:
インタフェース ListIterator<T> 内の set


Copyright (c) 2008-2011 Masashi Nakanishi.