java.lang.Object | |
↳ | org.springframework.security.web.savedrequest.Enumerator<T> |
Adapter that wraps an Enumeration
around a Java 2 collection Iterator
.
Constructors are provided to easily create such wrappers.
This class is based on code in Apache Tomcat.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return an Enumeration over the values of the specified Collection.
| |||||||||||
Return an Enumeration over the values of the specified Collection.
| |||||||||||
Return an Enumeration over the values returned by the specified
Iterator.
| |||||||||||
Return an Enumeration over the values returned by the specified
Iterator.
| |||||||||||
Return an Enumeration over the values of the specified Map.
| |||||||||||
Return an Enumeration over the values of the specified Map.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Tests if this enumeration contains more elements.
| |||||||||||
Returns the next element of this enumeration if this enumeration has at least one more element to
provide.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.util.Enumeration
|
Return an Enumeration over the values of the specified Collection.
collection | Collection whose values should be enumerated |
---|
Return an Enumeration over the values of the specified Collection.
collection | Collection whose values should be enumerated |
---|---|
clone | true to clone iterator |
Return an Enumeration over the values returned by the specified Iterator.
iterator | Iterator to be wrapped |
---|
Return an Enumeration over the values returned by the specified Iterator.
iterator | Iterator to be wrapped |
---|---|
clone | true to clone iterator |
Return an Enumeration over the values of the specified Map.
map | Map whose values should be enumerated |
---|
Return an Enumeration over the values of the specified Map.
map | Map whose values should be enumerated |
---|---|
clone | true to clone iterator |
Tests if this enumeration contains more elements.
true
if and only if this enumeration object contains at least one more element to provide,
false
otherwise
Returns the next element of this enumeration if this enumeration has at least one more element to provide.
NoSuchElementException | if no more elements exist |
---|