|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectshohaku.core.collections.decorator.DecoratedCollection
shohaku.core.collections.decorator.DecoratedList
shohaku.core.collections.decorator.DecoratedRandomAccessList
指定されたランダムアクセスをサポートするリストを装飾するビューを提供します。
このクラスはランダムアクセスリストの実装を隠蔽する目的や、装飾クラスの基底実装の役割を持ちます。
装飾されたリストが直列化可能の場合は直列化可能です。
フィールドの概要 |
クラス shohaku.core.collections.decorator.DecoratedList から継承したフィールド |
list |
クラス shohaku.core.collections.decorator.DecoratedCollection から継承したフィールド |
coll |
コンストラクタの概要 | |
DecoratedRandomAccessList(java.util.List list)
ラップするランダムアクセスリストを指定して初期化します。 |
メソッドの概要 | |
java.util.List |
subList(int fromIndex,
int toIndex)
基となるリストの同メソッドの戻り値を DecoratedRandomAccessList で装飾したランダムアクセスリストを返却します。 |
クラス shohaku.core.collections.decorator.DecoratedList から継承したメソッド |
add, addAll, equals, get, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, set |
クラス shohaku.core.collections.decorator.DecoratedCollection から継承したメソッド |
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString |
クラス java.lang.Object から継承したメソッド |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
インタフェース java.util.List から継承したメソッド |
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
コンストラクタの詳細 |
public DecoratedRandomAccessList(java.util.List list)
list
- ラップするランダムアクセスリスト
java.lang.IllegalArgumentException
- 引数が RandomAccess を実装していない場合メソッドの詳細 |
public java.util.List subList(int fromIndex, int toIndex)
java.util.List
内の subList
DecoratedList
内の subList
List.subList(int, int)
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |