com.hazelcast.util
Class SortedQueryResultSet
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<Map.Entry>
com.hazelcast.util.SortedQueryResultSet
- All Implemented Interfaces:
- Iterable<Map.Entry>, Collection<Map.Entry>, Set<Map.Entry>
public class SortedQueryResultSet
- extends AbstractSet<Map.Entry>
Collection class for results of query operations
SortedQueryResultSet
public SortedQueryResultSet(Comparator comparator,
IterationType iterationType,
int pageSize)
add
public boolean add(Map.Entry entry)
- Specified by:
add
in interface Collection<Map.Entry>
- Specified by:
add
in interface Set<Map.Entry>
- Overrides:
add
in class AbstractCollection<Map.Entry>
iterator
public Iterator iterator()
- Specified by:
iterator
in interface Iterable<Map.Entry>
- Specified by:
iterator
in interface Collection<Map.Entry>
- Specified by:
iterator
in interface Set<Map.Entry>
- Specified by:
iterator
in class AbstractCollection<Map.Entry>
last
public Map.Entry last()
- Returns:
- Map.Entry last entry in set
size
public int size()
- Specified by:
size
in interface Collection<Map.Entry>
- Specified by:
size
in interface Set<Map.Entry>
- Specified by:
size
in class AbstractCollection<Map.Entry>
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.