ubiware.core
Class BindingsSet

java.lang.Object
  extended by ubiware.core.BindingsSet
All Implemented Interfaces:
java.lang.Iterable<Binding>

public class BindingsSet
extends java.lang.Object
implements java.lang.Iterable<Binding>

A bindingsSet is a collection of Binding which can be iterated. 23.6.2010

Author:
Michael Cochez for UBIWARE project

Constructor Summary
BindingsSet(java.util.List<java.util.HashMap<java.lang.String,java.lang.String>> bindings)
          Deprecated. this constructor should get replaced with a no argument constructor. Bindings could then be added to the set later.
 
Method Summary
 int getSize()
          gives the number of elements in the set
 java.util.Iterator<Binding> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindingsSet

@Deprecated
public BindingsSet(java.util.List<java.util.HashMap<java.lang.String,java.lang.String>> bindings)
Deprecated. this constructor should get replaced with a no argument constructor. Bindings could then be added to the set later.

Construct a bindingsSet with a list of hashmaps which contain a mapping between variable names and their values.

Parameters:
bindings - the bindings this gets initialized with
Method Detail

getSize

public int getSize()
gives the number of elements in the set


iterator

public java.util.Iterator<Binding> iterator()
Specified by:
iterator in interface java.lang.Iterable<Binding>