Top Description Fields Constructors Methods
com.amazon.ion.impl

pack-priv Class Marker

extends Object
Class Inheritance

Holds the start and end indices of a slice of the buffer.

Field Summary

Modifier and TypeField and Description
pack-priv long
endIndex

Index of the first byte after the end of the slice.

pack-priv long
startIndex

Index of the first byte in the slice.

pack-priv IonTypeID
typeId

The type ID that governs the slice.

Constructor Summary

AccessConstructor and Description
pack-priv
Marker(final int
index of the first byte in the slice.
startIndex
,
final int
the number of bytes in the slice.
length
)

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

a String representation of this object (for debugging).
toString
()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

endIndexback to summary
pack-priv long endIndex

Index of the first byte after the end of the slice.

startIndexback to summary
pack-priv long startIndex

Index of the first byte in the slice.

typeIdback to summary
pack-priv IonTypeID typeId

The type ID that governs the slice.

Constructor Detail

Markerback to summary
pack-priv Marker(final int startIndex, final int length)
Parameters
startIndex:int

index of the first byte in the slice.

length:int

the number of bytes in the slice.

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a String representation of this object (for debugging).

Annotations
@Override