public class TimeoutLinkedList extends Object implements Cloneable, Externalizable
| 修飾子とタイプ | クラスと説明 |
|---|---|
class |
TimeoutLinkedList.Entry
要素を格納するエントリです。
|
| コンストラクタと説明 |
|---|
TimeoutLinkedList() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
add(int index,
Object element) |
void |
addFirst(Object o) |
void |
addLast(Object o) |
void |
clear()
要素を空にします。
|
Object |
clone() |
boolean |
contains(Object o) |
Object |
get(int index)
要素を返します。
|
TimeoutLinkedList.Entry |
getEntry(int index)
エントリを返します。
|
Object |
getFirst() |
TimeoutLinkedList.Entry |
getFirstEntry() |
Object |
getLast() |
TimeoutLinkedList.Entry |
getLastEntry() |
int |
indexOf(Object o)
位置を返します。
|
boolean |
isEmpty() |
void |
readExternal(ObjectInput s) |
Object |
remove(int index)
指定した位置の要素を削除します。
|
boolean |
remove(Object o)
要素を削除します。
|
Object |
removeFirst() |
Object |
removeLast() |
Object |
set(int index,
Object element)
要素を設定します。
|
int |
size() |
Object[] |
toArray()
配列に変換します。
|
void |
writeExternal(ObjectOutput s) |
public TimeoutLinkedList.Entry getFirstEntry()
public Object getFirst()
public TimeoutLinkedList.Entry getLastEntry()
public Object getLast()
public Object removeFirst()
public Object removeLast()
public void addFirst(Object o)
public void addLast(Object o)
public void add(int index,
Object element)
public int size()
public boolean isEmpty()
public boolean contains(Object o)
public boolean remove(Object o)
o - public Object remove(int index)
index - 位置public void clear()
public TimeoutLinkedList.Entry getEntry(int index)
index - public Object get(int index)
index - 位置public int indexOf(Object o)
o - 要素public void writeExternal(ObjectOutput s) throws IOException
writeExternal インタフェース内 ExternalizableIOExceptionpublic void readExternal(ObjectInput s) throws IOException, ClassNotFoundException
readExternal インタフェース内 ExternalizableIOExceptionClassNotFoundExceptionpublic Object[] toArray()
Copyright © 2015 The DBFlute Project. All rights reserved.