public static class BookmarkRingBuffer.Entry
extends java.lang.Object
Constructor and Description |
---|
Entry()
Initializes a new instance of the Entry class
|
Modifier and Type | Method and Description |
---|---|
BookmarkField |
getBookmark()
Gets the bookmark field of the Entry.
|
long |
getIndex()
Gets the index of the Entry in the Entry array.
|
boolean |
isActive()
Gets the active value of the Entry.
|
boolean |
isPersisted()
Deprecated.
|
BookmarkRingBuffer.Entry |
setActive(boolean active)
Sets the active value of the Entry.
|
BookmarkRingBuffer.Entry |
setBookmark(Field f)
Sets the bookmark field of the Entry.
|
BookmarkRingBuffer.Entry |
setIndex(long index)
Sets the index of the Entry in the Entry array.
|
BookmarkRingBuffer.Entry |
setPersisted(boolean persisted)
Deprecated.
|
java.lang.String |
toString()
Converts the Entry to a string.
|
public BookmarkRingBuffer.Entry setBookmark(Field f)
f
- A Field object which contains the fields of the Bookmark.public BookmarkField getBookmark()
public BookmarkRingBuffer.Entry setIndex(long index)
index
- The index to be set.public long getIndex()
public boolean isActive()
public BookmarkRingBuffer.Entry setActive(boolean active)
active
- the new value of active@Deprecated public boolean isPersisted()
@Deprecated public BookmarkRingBuffer.Entry setPersisted(boolean persisted)
persisted
- The persisted value of the Entry.public java.lang.String toString()
toString
in class java.lang.Object