Package io.pebbletemplates.pebble.node
Class ForNode.EnumerationIterable
- java.lang.Object
-
- io.pebbletemplates.pebble.node.ForNode.EnumerationIterable
-
- All Implemented Interfaces:
java.lang.Iterable<java.lang.Object>
- Enclosing class:
- ForNode
private class ForNode.EnumerationIterable extends java.lang.Object implements java.lang.Iterable<java.lang.Object>
Adapts an Enumeration to an Iterable
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Enumeration<java.lang.Object>
obj
-
Constructor Summary
Constructors Constructor Description EnumerationIterable(java.util.Enumeration<java.lang.Object> enumeration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator<java.lang.Object>
iterator()
-