# Uses of Enum Class
org.apache.datasketches.theta.UpdateReturnState

Packages that use UpdateReturnState
Package
Description
org.apache.datasketches.theta
The theta package contains the basic sketch classes that are members of the Theta Sketch Framework.

## Uses of UpdateReturnState in org.apache.datasketches.theta

Methods in org.apache.datasketches.theta that return UpdateReturnState
Modifier and Type
Method
Description
`UpdateReturnState`
UpdateSketch.`update(byte[] data)`
Present this sketch with the given byte array.
`UpdateReturnState`
UpdateSketch.`update(char[] data)`
Present this sketch with the given char array.
`UpdateReturnState`
UpdateSketch.`update(double datum)`
Present this sketch with the given double (or float) datum.
`UpdateReturnState`
UpdateSketch.`update(int[] data)`
Present this sketch with the given integer array.
`UpdateReturnState`
UpdateSketch.`update(long datum)`
Present this sketch with a long.
`UpdateReturnState`
UpdateSketch.`update(long[] data)`
Present this sketch with the given long array.
`UpdateReturnState`
UpdateSketch.`update(String datum)`
Present this sketch with the given String.
`UpdateReturnState`
UpdateSketch.`update(ByteBuffer buffer)`
Present this sketch with the given ByteBuffer If the ByteBuffer is null or empty, no update attempt is made and the method returns.
`static UpdateReturnState`
UpdateReturnState.`valueOf(String name)`
Returns the enum constant of this class with the specified name.
`static UpdateReturnState[]`
UpdateReturnState.`values()`
Returns an array containing the constants of this enum class, in the order they are declared.