com.hazelcast.query
Class SingleResultSet

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<MapEntry>
          extended by com.hazelcast.query.SingleResultSet
All Implemented Interfaces:
Iterable<MapEntry>, Collection<MapEntry>, Set<MapEntry>

public class SingleResultSet
extends AbstractSet<MapEntry>


Constructor Summary
SingleResultSet(ConcurrentMap<Long,Record> records)
           
 
Method Summary
 boolean contains(Object mapEntry)
           
 Iterator<MapEntry> iterator()
           
 int size()
           
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, containsAll, isEmpty, remove, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, containsAll, isEmpty, remove, retainAll, toArray, toArray
 

Constructor Detail

SingleResultSet

public SingleResultSet(ConcurrentMap<Long,Record> records)
Method Detail

contains

public boolean contains(Object mapEntry)
Specified by:
contains in interface Collection<MapEntry>
Specified by:
contains in interface Set<MapEntry>
Overrides:
contains in class AbstractCollection<MapEntry>

iterator

public Iterator<MapEntry> iterator()
Specified by:
iterator in interface Iterable<MapEntry>
Specified by:
iterator in interface Collection<MapEntry>
Specified by:
iterator in interface Set<MapEntry>
Specified by:
iterator in class AbstractCollection<MapEntry>

size

public int size()
Specified by:
size in interface Collection<MapEntry>
Specified by:
size in interface Set<MapEntry>
Specified by:
size in class AbstractCollection<MapEntry>


Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.