# Uses of Interface
org.apache.datasketches.common.positional.Positional

Packages that use Positional
Package
Description
org.apache.datasketches.common.positional
This package provides the classes that define and implement a relative positional API.

## Uses of Positional in org.apache.datasketches.common.positional

Subinterfaces of Positional in org.apache.datasketches.common.positional
Modifier and Type
Interface
Description
`interface`
`PositionalSegment`
Defines the API for relative positional access to a MemorySegment.
Methods in org.apache.datasketches.common.positional that return Positional
Modifier and Type
Method
Description
`static Positional`
Positional.`getInstance(long capacity)`
Gets an instance of this Positional.
`Positional`
Positional.`incrementPosition(long increment)`
Increments the current position by the given increment.
`Positional`
Positional.`resetPosition()`
Resets the current position to the start position, This does not modify any data.
`Positional`
Positional.`setPosition(long position)`
Sets the current position.
`Positional`
Positional.`setStartPositionEnd(long start, long position, long end)`
Sets start position, current position, and end position.