Package io.pravega.client.tables
Class IteratorItem<T>
- java.lang.Object
-
- io.pravega.client.tables.IteratorItem<T>
-
- Type Parameters:
T
- Iterator Item type.
- Direct Known Subclasses:
HashTableIteratorItem
@Beta public class IteratorItem<T> extends java.lang.Object
An iteration result item returned byAsyncIterator
when invokingKeyValueTable.iterator()
.
-
-
Constructor Summary
Constructors Constructor Description IteratorItem(java.util.List<T> items)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.util.List<T>
getItems()
A List of items that are contained in this instance.int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
IteratorItem
@ConstructorProperties("items") public IteratorItem(java.util.List<T> items)
-
-
Method Detail
-
getItems
public java.util.List<T> getItems()
A List of items that are contained in this instance.- Returns:
- List of items that are contained in this instance.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-