public static class OffsetList.Segment
extends java.lang.Object
Constructor and Description |
---|
OffsetList.Segment() |
Modifier and Type | Method and Description |
---|---|
(package private) OffsetList.Segment |
add(long value)
Call this method on the tail.
|
(package private) long |
get(int i)
Returns the value at the given index from this segment only.
|
(package private) OffsetList.Segment |
next()
Returns the next segment or null if this is the tail segment.
|
(package private) void |
setNext(OffsetList.Segment next)
Sets the next pointer during a merge.
|
(package private) int |
size()
Returns the number of values in this segment.
|
OffsetList.Segment add(long value)
long get(int i)
OffsetList.Segment next()
void setNext(OffsetList.Segment next)
int size()
Copyright (c) 2004-2012 Oracle. All rights reserved.