|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.backend.util.BiLink
Bi-directional list (middle links)
フィールドの概要 | |
(パッケージプライベート) java.lang.Object |
elem
contents |
(パッケージプライベート) BiLink |
next
points next element. |
(パッケージプライベート) BiLink |
prev
points previous element. |
コンストラクタの概要 | |
(パッケージプライベート) |
BiLink()
Used internally only. |
(パッケージプライベート) |
BiLink(java.lang.Object obj)
Create new link that has an object obj. |
メソッドの概要 | |
BiLink |
addAfter(java.lang.Object obj)
Insert an object after this link. |
BiLink |
addAllAfter(BiList list)
Insert contents of list after this link. |
BiLink |
addAllBefore(BiList list)
Insert contents of list before this link. |
BiLink |
addBefore(java.lang.Object obj)
Insert an object before this link. |
boolean |
atEnd()
Return true if this link is either end. |
java.lang.Object |
elem()
Return contents of this link. |
BiLink |
insertAfter(BiLink link)
Insert a link after this link. |
BiLink |
insertAllAfter(BiList list)
推奨されていません。 renamed to addAllAfter. |
BiLink |
insertAllBefore(BiList list)
推奨されていません。 renamed to addAllBefore. |
BiLink |
insertBefore(BiLink link)
Insert a link before this link. |
BiLink |
next()
Return next link. |
BiLink |
prev()
Return previous link. |
void |
setElem(java.lang.Object obj)
Replace contents of the link. |
BiLink |
unlink()
Remove this link from the list. |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
java.lang.Object elem
BiLink next
BiLink prev
コンストラクタの詳細 |
BiLink()
BiLink(java.lang.Object obj)
メソッドの詳細 |
public java.lang.Object elem()
public BiLink next()
public BiLink prev()
public boolean atEnd()
public void setElem(java.lang.Object obj)
public BiLink insertAfter(BiLink link)
link
- link to be insertedpublic BiLink addAfter(java.lang.Object obj)
public BiLink insertBefore(BiLink link)
link
- link to be insertedpublic BiLink addBefore(java.lang.Object obj)
public BiLink unlink()
public BiLink insertAllBefore(BiList list)
public BiLink insertAllAfter(BiList list)
public BiLink addAllBefore(BiList list)
public BiLink addAllAfter(BiList list)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |