sam.entry
Class Multiple

java.lang.Object
  |
  +--sam.entry.Enumerator
        |
        +--sam.entry.Multiple
All Implemented Interfaces:
java.util.Enumeration

public class Multiple
extends Enumerator

Easy "tee" on entry enumerators


Field Summary
 
Fields inherited from class sam.entry.Enumerator
EMPTY
 
Constructor Summary
Multiple(sam.entry.Enumerator first, sam.entry.Enumerator next)
           
 
Method Summary
 boolean hasMoreElements()
          Wether this Enumerator has more elements
 sam.entry.Entry nextEntry()
          Gets next entry, or null if none
 java.lang.String toString()
           
 
Methods inherited from class sam.entry.Enumerator
filter, filter, isEmpty, load, nextElement, println, println, statify, store
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Multiple

public Multiple(sam.entry.Enumerator first,
                sam.entry.Enumerator next)
Method Detail

nextEntry

public sam.entry.Entry nextEntry()
Description copied from class: Enumerator
Gets next entry, or null if none

Specified by:
nextEntry in class Enumerator

hasMoreElements

public boolean hasMoreElements()
Description copied from class: Enumerator
Wether this Enumerator has more elements

Specified by:
hasMoreElements in interface java.util.Enumeration
Specified by:
hasMoreElements in class Enumerator

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object