com.planet_ink.coffee_mud.core.collections
Class MultiIterable<K>

java.lang.Object
  extended by com.planet_ink.coffee_mud.core.collections.MultiIterable<K>
All Implemented Interfaces:
SizedIterable<K>, java.lang.Iterable<K>

public class MultiIterable<K>
extends java.lang.Object
implements java.lang.Iterable<K>, SizedIterable<K>


Constructor Summary
MultiIterable()
           
MultiIterable(java.util.Collection<? extends java.lang.Iterable<? extends K>> esets, int newSize)
           
MultiIterable(java.lang.Iterable<K>[] esets, int newSize)
           
 
Method Summary
 void add(java.lang.Iterable<K> eset, int sizeAdd)
           
 java.util.Iterator<K> iterator()
           
 int size()
          Returns the size of the iterable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiIterable

public MultiIterable(java.lang.Iterable<K>[] esets,
                     int newSize)

MultiIterable

public MultiIterable(java.util.Collection<? extends java.lang.Iterable<? extends K>> esets,
                     int newSize)

MultiIterable

public MultiIterable()
Method Detail

add

public void add(java.lang.Iterable<K> eset,
                int sizeAdd)

iterator

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

size

public int size()
Description copied from interface: SizedIterable
Returns the size of the iterable

Specified by:
size in interface SizedIterable<K>
Returns:
the size