Top "Enumeration" questions

The process of enumerating values, for example from some collection.

Treat Enumeration<T> as Iterator<T>

I have a class that implements the Enumeration<T> interface, but Java's foreach loop requires the Iterator<…

java iterator foreach enumeration adapter
ARC Strong property Enumeration Error

I have the following code and am getting this error before compiling: Fast Enumeration Variables can't be modified in ARC …

objective-c properties automatic-ref-counting enumeration
XSD: is there a way to build an enumeration from name/value pairs?

I would like to have an enumeration in my XSD that specifies a set of name/value pairs corresponding to …

xsd enumeration name-value
Java MyBatis Enum string value

I feel like this is a simple problem, but none of the things i tried work for me. I have …

java enums mybatis enumeration ibatis
Objective C — What is the fastest and most efficient way to enumerate an array?

Edit I read through some articles on blocks and fast enumeration and GCD and the like. @Bbum, who's written many …

objective-c arrays enumeration grand-central-dispatch objective-c-blocks
How can I eliminate duplicated Enum code?

I have a large number of Enums that implement this interface: /** * Interface for an enumeration, each element of which can …

java enums enumeration