gov.sandia.cognition.collection
Class AbstractMutableDoubleMap.SimpleEntrySet<KeyType>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<AbstractMutableDoubleMap.SimpleEntry<KeyType>>
          extended by gov.sandia.cognition.collection.AbstractMutableDoubleMap.SimpleEntrySet<KeyType>
Type Parameters:
KeyType - The type of the key in the map.
All Implemented Interfaces:
Iterable<AbstractMutableDoubleMap.SimpleEntry<KeyType>>, Collection<AbstractMutableDoubleMap.SimpleEntry<KeyType>>, Set<AbstractMutableDoubleMap.SimpleEntry<KeyType>>
Enclosing class:
AbstractMutableDoubleMap<KeyType>

protected static class AbstractMutableDoubleMap.SimpleEntrySet<KeyType>
extends AbstractSet<AbstractMutableDoubleMap.SimpleEntry<KeyType>>

Simple Entry Set for DefaultInfiniteVector


Field Summary
protected  Map<KeyType,MutableDouble> map
          Backing map
 
Constructor Summary
AbstractMutableDoubleMap.SimpleEntrySet(Map<KeyType,MutableDouble> map)
          Creates a new instance of SimpleEntrySet
 
Method Summary
 Iterator<AbstractMutableDoubleMap.SimpleEntry<KeyType>> iterator()
           
 int size()
           
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, 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, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray
 

Field Detail

map

protected Map<KeyType,MutableDouble> map
Backing map

Constructor Detail

AbstractMutableDoubleMap.SimpleEntrySet

public AbstractMutableDoubleMap.SimpleEntrySet(Map<KeyType,MutableDouble> map)
Creates a new instance of SimpleEntrySet

Parameters:
map - Backing map
Method Detail

iterator

public Iterator<AbstractMutableDoubleMap.SimpleEntry<KeyType>> iterator()
Specified by:
iterator in interface Iterable<AbstractMutableDoubleMap.SimpleEntry<KeyType>>
Specified by:
iterator in interface Collection<AbstractMutableDoubleMap.SimpleEntry<KeyType>>
Specified by:
iterator in interface Set<AbstractMutableDoubleMap.SimpleEntry<KeyType>>
Specified by:
iterator in class AbstractCollection<AbstractMutableDoubleMap.SimpleEntry<KeyType>>

size

public int size()
Specified by:
size in interface Collection<AbstractMutableDoubleMap.SimpleEntry<KeyType>>
Specified by:
size in interface Set<AbstractMutableDoubleMap.SimpleEntry<KeyType>>
Specified by:
size in class AbstractCollection<AbstractMutableDoubleMap.SimpleEntry<KeyType>>