Top "Enumeration" questions

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

Difference between Java Enumeration and Iterator

What is the exact difference between these two interfaces? Does Enumeration have benefits over using Iterator? If anyone could elaborate, …

java collections iterator enumeration
enum implementation inside interface - Java

I have a question about putting a Java enum in the interface. To make it clearer, please see the following …

java interface enums enumeration
Is there a predefined enumeration for Month in the .NET library?

I'm looking to see if there is an official enumeration for months in the .net framework. It seems possible to …

c# .net datetime enumeration
Enumerate or list all variables in a program of [your favorite language here]

A friend asked me last week how to enumerate or list all variables within a program/function/etc. for the …

debugging variables enumeration
Dictionary enumeration in C#

How do I enumerate a dictionary? Suppose I use foreach() for dictionay enumeration. I can't update a key/value pair …

c# .net dictionary enumeration
Iterate an Enumeration in Java 8

Is it possible to iterate an Enumeration by using Lambda Expression? What will be the Lambda representation of the following …

java lambda iteration enumeration java-8
Get enumeration name by value

Are there any standard methods to get Enumeration names by value? An example: class Example(enum.Enum): one = 1 two = 2 ex_…

python enums enumeration
Enumeration extension methods

In vs2008, is it possible to write an extension methods which would apply to any enumeration. I know you can …

.net enums extension-methods enumeration
Do C++ enums Start at 0?

If I have an enum that does not assign numbers to the enumerations, will it's ordinal value be 0? For example: …

c++ enums language-lawyer enumeration ordinal
Java: Enumeration from Set<String>

I have a simple collections question. I have a Set<String> object. I want an Enumeration<String&…

java collections set enumeration