Method GetIterator
GetIterator()
Sugar for GetIterator(IComparer<BytesRef>) with a null
comparer
Declaration
public IBytesRefIterator GetIterator()
Returns
Type | Description |
---|---|
IBytesRefIterator |
GetIterator(IComparer<BytesRef>)
Returns a IBytesRefIterator with point in time semantics. The iterator provides access to all so far appended BytesRef instances.
If a non null
IComparer<BytesRef> is provided the iterator will
iterate the byte values in the order specified by the comparer. Otherwise
the order is the same as the values were appended.
This is a non-destructive operation.
Declaration
public IBytesRefIterator GetIterator(IComparer<BytesRef> comp)
Parameters
Type | Name | Description |
---|---|---|
IComparer<BytesRef> | comp |
Returns
Type | Description |
---|---|
IBytesRefIterator |