public interface Index
Modifier and Type | Method and Description |
---|---|
int |
count()
Return the number of entries in this index.
|
IndexEntry |
entry(int i)
Return the entry at a specified index.
|
int |
findEntry(long msb,
long lsb)
Find an entry by its identifier.
|
Set<UUID> |
getUUIDs()
Returns the identifiers of every entry in this index.
|
int |
size()
Return the size of this index in bytes.
|
Set<UUID> getUUIDs()
UUID
.int findEntry(long msb, long lsb)
msb
- The most significant bits of the identifier.lsb
- The least significant bits of the identifier.-1
if the entry
was not found.int size()
int count()
IndexEntry entry(int i)
i
- The index of the entry.IndexEntry
.Copyright © 2012–2020 The Apache Software Foundation. All rights reserved.