public class AccountState extends ShaMap
| 限定符和类型 | 类和说明 |
|---|---|
class |
AccountState.QualityIterator |
branches, depthhash| 构造器和说明 |
|---|
AccountState() |
AccountState(boolean isCopy,
int depth) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
addLE(LedgerEntry entry) |
AccountState |
copy() |
Iterable<Hash256> |
directoryIterator(OfferDirectory forQuality) |
DirectoryNode |
getDirectoryNode(Hash256 index) |
LedgerEntry |
getLE(Hash256 index) |
Hash256 |
getNextIndex(Hash256 nextIndex,
Hash256 bookEnd) |
static AccountState |
loadFromLedgerDump(String filePath) |
protected ShaMapInner |
makeInnerOfSameClass(int depth) |
Iterable<OfferDirectory> |
offerDirectories(Hash256 bookBase) |
static AccountState |
parseShaMap(org.json.JSONArray array) |
AccountState.QualityIterator |
qualityIterator(Hash256 bookBase) |
boolean |
updateLE(LedgerEntry entry) |
void |
updateSkipLists(long currentIndex,
Hash256 parentHash) |
void |
walkEntries(LedgerEntryVisitor walker) |
void |
writeEntriesArray(org.json.JSONWriter writer) |
addItem, addLeaf, branch, branchCount, copy, empty, getBranch, getBranch, getItem, getLeaf, getLeafForUpdating, hash, hasInner, hasLeaf, hasLeaf, hasNone, isInner, isLeaf, iterator, makeInnerChild, onlyChildLeaf, pathToIndex, removeLeaf, selectBranch, setBranch, setLeaf, toBytesSink, updateItem, updateLeaf, walkHashedTree, walkLeaves, walkTreeasInner, asLeaf, createHash, invalidate, walkAnyLeavesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic AccountState()
public AccountState(boolean isCopy,
int depth)
protected ShaMapInner makeInnerOfSameClass(int depth)
makeInnerOfSameClass 在类中 ShaMappublic void updateSkipLists(long currentIndex,
Hash256 parentHash)
public boolean addLE(LedgerEntry entry)
public boolean updateLE(LedgerEntry entry)
public LedgerEntry getLE(Hash256 index)
public DirectoryNode getDirectoryNode(Hash256 index)
public Iterable<OfferDirectory> offerDirectories(Hash256 bookBase)
public void writeEntriesArray(org.json.JSONWriter writer)
public AccountState.QualityIterator qualityIterator(Hash256 bookBase)
public Iterable<Hash256> directoryIterator(OfferDirectory forQuality)
public void walkEntries(LedgerEntryVisitor walker)
public AccountState copy()
public static AccountState loadFromLedgerDump(String filePath) throws IOException
IOExceptionpublic static AccountState parseShaMap(org.json.JSONArray array)
Copyright © 2021. All rights reserved.