Gang Of Coders
Home
About Us
Contact Us
All Enums Solutions on Gang of Coders
Total of 409 Enums Solutions
How to enumerate an enum
C#
.Net
Loops
Enums
Enumeration
Create Generic method constraining T to an Enum
C#
Generics
Enums
Generic Constraints
JavaScriptSerializer - JSON serialization of enum as string
C#
asp.net
Json
Enums
Javascriptserializer
Which Enum constant will I get if the Enum values are same
C#
.Net
Enums
How to compare a string with a python enum?
Python
Enums
Python 3.6
C# 7.3 Enum constraint: Why can't I use the nullable enum?
C#
Enums
Roslyn
C# 7.3
MySQL Enum performance advantage?
Mysql
Enums
Java Enums and Switch Statements - the default case?
Java
Enums
How to model type-safe enum types?
Scala
Enums
Java 8 way to work with an enum
Java
Enums
Java 8
What is the difference between enum and object in typescript
Javascript
Typescript
Object
Enums
Switch on Enum (with Flags attribute) without declaring every possible combination?
C#
Enums
Switch Statement
Flags
Bit
How can I require a generic parameter to be an enum that implements an interface?
Java
Generics
Enums
Enum values().length vs private field
Java
Enums
Coding Conventions - Naming Enums
Java
Enums
Coding Style
Naming Conventions
Standards
How to check if enum value is valid?
C++
Enums
Why should I make the underlying type of an Enum Int32 instead of byte?
C#
.Net
Enums
How to Get enum item name from its value
C++
Enums
List of enum values in java
Java
Enums
Adding a new value to an existing ENUM Type
Database
Postgresql
Enums
Are enum names interned in Java?
Java
Enums
Nested Java enum definition - does declaring as static make a difference?
Java
Enums
Class Design
How do I declare a nested enum?
C#
Enums
Can I display the value of an enum with printf()?
C
Printf
Enums
Can an enum have abstract methods?
Java
Enums
Abstract
Why can two different enum enumeration-constants have the same integer value?
C
Enums
Unwrap inner type when enum variant is known
Enums
Rust
How much memory do Enums take?
Java
C++
Memory
Enums
Enumeration extension methods
.Net
Enums
Extension Methods
Enumeration
Getting Enum value via reflection
C#
Reflection
Enums
What AttributeTarget should I use for enum members?
C#
.Net
Enums
Custom Attributes
What is the default value for enum variable?
C#
.Net
Enums
Is it possible to define a class constant inside an Enum?
Python
Python 3.x
Enums
Constants
Class Constants
How to work with Enums in Entity Framework?
.Net
Entity Framework
Enums
How do I comment a publicly visible type Enum?
C#
Enums
Comments
How to compare enum and int values?
C#
.Net
Enums
How to enable enum inheritance
Java
Inheritance
Enums
sealed class vs enum when using associated type
Enums
Kotlin
Sealed Class
Difference between Enum and Define Statements
C++
C
Enums
C Preprocessor
How to persist an enum using NHibernate
Nhibernate
Enums
Persistence
Foreign Keys
Enum with int value in Java
C#
Java
Enums
How to testing for enum equality in JSF?
Jsf
Enums
El
Java: instantiating an enum using reflection
Java
Reflection
Enums
Forward declaring an enum in C++
C++
Enums
Is it possible to manually define a conversion for an enum class?
C++
Enums
C++11
Enum Class
How to get number of possible items of an Enum?
Java
Kotlin
Enums
ORDER BY "ENUM field" in MYSQL
Mysql
Sql
Enums
Sql Order-By
Python Enum, when and where to use?
Python
Enums
Python 3.4
Can associated values and raw values coexist in Swift enumeration?
Swift
Enums
How to get back name of the enum element?
Python
Enums
indirect enums and structs
Swift
Struct
Enums
Sharing Enum with WCF Service
C#
Wcf
Enums
What is the underlying type of a c++ enum?
C++
Enums
Size
Types
Hex
Generic version of Enum.Parse in C#
C#
Generics
Enums
Best practice to look up Java Enum
Java
Enums
Converting an integer to a boxed enum type only known at runtime
C#
.Net
Reflection
Enums
How do I use an enum value in a switch statement in C++?
C++
Enums
Switch Statement
C# using numbers in an enum
C#
Syntax
Enums
How to match int to enum
Java
Android
Enums
Android Ndk
What is the best way to use JavaDoc to document a Java enum?
Java
Enums
Javadoc
Number of elements in an enum
C
Enums
Why is default required for a switch on an enum?
Java
Enums
Default
Switch Statement
JPA Enum ORDINAL vs STRING
Java
Orm
Jpa
Enums
Eclipselink
iOS: How to convert UIViewAnimationCurve to UIViewAnimationOptions?
Objective C
Ios
Uiview
Enums
Uiviewanimation
How to make JSON.NET StringEnumConverter use hyphen-separated casing
C#
Json
Enums
json.net
How to define an enumerated type (enum) in C?
C
Enums
How to compare Enums in Python?
Python
Python 3.x
Enums
Compare
How to cast int to enum in C++?
C++
Casting
Enums
How to convert enum value to int?
Java
Enums
How can I represent an 'Enum' in Python?
Python
Python 3.x
Enums
Convert a string to an enum in C#
C#
String
Enums
How to get all values from python enum class?
Python
Enums
Jackson enum Serializing and DeSerializer
Java
Enums
Jackson
Jsonserializer
What is a typedef enum in Objective-C?
Objective C
Enums
Typedef
Convert string to Enum in Python
Python
String
Serialization
Enums
Type Conversion
Get Enum from Description attribute
C#
.Net
Attributes
Enums
How to use enums in C++
C++
Enums
How to use enums as flags in C++?
C++
Enums
Java: Check if enum contains a given string?
Java
String
Enums
Choosing the default value of an Enum type without having to change values
C#
.Net
Enums
How do I make an enum Decodable in swift 4?
Swift
Enums
Naming of enums in Java: Singular or Plural?
Java
Enums
Naming Conventions
String representation of an Enum
C#
Enums
How to set enum to null
C#
Enums
Null
Nullable
Why would an Enum implement an Interface?
Java
Enums
Map enum in JPA with fixed values?
Java
Spring
Orm
Jpa
Enums
How do I get the count of a Swift enum?
Swift
Enums
Count
How to check if any flags of a flag combination are set?
C#
Enums
Flags
Most common C# bitwise operations on enums
C#
.Net
Enums
Bit Manipulation
Flags
A for-loop to iterate over an enum in Java
Java
Loops
For Loop
Enums
Is there a way to check if int is legal enum in C#?
C#
Enums
Can a C++ enum class have methods?
C++
Methods
Enums
Implementing Singleton with an Enum (in Java)
Java
Design Patterns
Enums
Singleton
How to remove an item for a OR'd enum?
C#
Enums
Why do you use typedef when declaring an enum in C++?
C++
Enums
Typedef
Getting value of enum on string conversion
Python
Python 3.x
Enums
Python 3.4
Can I set enum start value in Java?
Java
Enums
How do I add more members to my ENUM-type column in MySQL?
Mysql
Enums
Alter Table
How do I select a random value from an enumeration?
C#
Random
Enums
Pick a random value from an enum?
Java
Random
Enums
Methods inside enum in C#
C#
Enums
Enumeration
How can I cast int to enum?
C#
Enums
Casting
Int
C# vs Java Enum (for those new to C#)
C#
Java
Enums
Language Comparisons
Can my enums have friendly names?
C#
Enums
Should enums in C# have their own file?
C#
Coding Style
Enums
Enums in Javascript with ES6
Javascript
Enums
Ecmascript 6
Immutability
Symbols
How can I lookup a Java enum from its String value?
Java
Enums
Lookup
Convert Enum to String
.Net
Enums
Java enum - why use toString instead of name
Java
Enums
Where is the documentation for the values() method of Enum?
Java
Enums
SQL query to get all values a enum can have
Postgresql
Enums
Why was "Avoid Enums Where You Only Need Ints" removed from Android's performance tips?
Android
Enums
TypeScript enum to object array
Javascript
Arrays
Typescript
Enums
Casting
Why Python 3.6.1 throws AttributeError: module 'enum' has no attribute 'IntFlag'?
Python
Python 3.x
Enums
Python 3.6
Attributeerror
Swift: Convert enum value to String?
String
Enums
Swift
Getting the max value of an enum
C#
Enums
Java Enum definition
Java
Generics
Enums
Crtp
What's the advantage of a Java enum versus a class with public static final fields?
Java
Enums
Declaring an enum within a class
C++
Class
Enums
Namespaces
Scope
UML class diagram enum
Class
Enums
Uml
Diagram
What is the difference between `Enum.name()` and `Enum.toString()`?
Java
Enums
Is it possible to use Swift's Enum in Obj-C?
Objective C
Enums
Swift
Pass enums in angular2 view templates
Enums
Angular
Angular2 Template
Why shouldn't Java enum literals be able to have generic type parameters?
Java
Generics
Enums
convert an enum to another type of enum
C#
Enums
Why do enum permissions often have 0, 1, 2, 4 values?
C#
Permissions
Enums
Flags
How to delete an enum type value in postgres?
Postgresql
Enums
Dart How to get the name of an enum as a String
Enums
Dart
How to Compare Flags in C#?
C#
.Net
Enums
Attributes
Flags
How do I convert an enum to a list in C#?
C#
.Net
Enums
How to add extension methods to Enums
C#
.Net
Enums
Enum type constraints in C#
C#
.Net
Enums
How to get enum value by string or int
C#
Enums
What is the size of an enum in C?
C
Enums
What's the common practice for enums in Python?
Python
Enums
Typescript has unions, so are enums redundant?
Typescript
Enums
Unions
What is the tilde (~) in the enum definition?
C#
Enums
Language Features
Enumeration
How to create enum like type in TypeScript?
Enums
Typescript
How to iterate over values of an Enum having flags?
C#
Enums
Enum Flags
Should an Enum start with a 0 or a 1?
C#
.Net
Enums
Convert objective-c typedef to its string equivalent
C
Objective C
Enums
Typedef
Is it possible to assign numeric value to an enum in Java?
Java
Enums
Serialising an Enum member to JSON
Python
Json
Python 3.x
Serialization
Enums
What is an idiomatic way of representing enums in Go?
Enums
Go
Genetics
Cannot approach Typescript enum within HTML
Html
Angular
Typescript
Enums
Can we define implicit conversions of enums in c#?
C#
Enums
Implicit Conversion
Implicit
How to Create and Use Enum in Mongoose
node.js
Mongodb
Express
Enums
Effective Enums in Kotlin with reverse lookup?
Enums
Kotlin
Ways to save enums in database
Java
Database
Enums
Check if a given Type is an Enum
C#
Enums
How do I have an enum bound combobox with custom string formatting for enum values?
C#
Combobox
Enums
Override valueof() and toString() in Java enum
Java
Enums
Overriding
Tostring
Value Of
Binding an enum to a WinForms combo box, and then setting it
C#
.Net
Winforms
Combobox
Enums
Get enumeration name by value
Python
Enums
Enumeration
Is there a simple way to convert C++ enum to string?
C++
String
Enums
Scripting
Why are flag enums usually defined with hexadecimal values
C#
.Net
Enums
Enum Flags
Jackson databind enum case insensitive
Java
Json
Serialization
Enums
Jackson
How to get all enum values as an array
Ios
Arrays
Swift
Enums
How to easily map c++ enums to strings
C++
Templates
Enums
How to define an enum with string value?
C#
String
Enums
Best way to define error codes/strings in Java?
Java
Enums
C# Iterating through an enum? (Indexing a System.Array)
C#
Enums
Iteration
system.array
How do you pass multiple enum values in C#?
C#
Enums
Why is enum class preferred over plain enum?
C++
Class
Enums
C++ Faq
In Java, are enum types inside a class static?
Java
Enums
Scope
How to create ENUM type in SQLite?
Sqlite
Types
Enums
Should I use #define, enum or const?
C++
Enums
Bit Manipulation
C Preprocessor
Automatically create an Enum based on values in a database lookup table?
C#
Database
Dynamic
Enums
How to convert int to Enum in python?
Python
Python 2.7
Enums
Int
Type Conversion
How do the different enum variants work in TypeScript?
Enums
Typescript
How do I test if int value exists in Python Enum without using try/catch?
Python
Enums
How can I output the value of an enum class in C++11
C++
C++11
Templates
Enums
Enum Class
How to enumerate an enum with String type?
Swift
String
Enums
Enumerate
Working with Enums in android
Android
Enums
Understanding scala enumerations
Scala
Enums
Convert an enum to List<string>
C#
.Net
Enums
Generic List
How to get an enum which is created in attrs.xml in code
Android
Enums
Android Custom-View
Attr
Custom View
Can enums be subclassed to add new elements?
Java
Enums
Why can't enum's constructor access static fields?
Java
Enums
Storing integer values as constants in Enum manner in java
Java
Enums
Constants
Java using enum with switch statement
Java
Enums
Switch Statement
How to get an enum value from a string value in Java
Java
Enums
What are enums and why are they useful?
Java
Enums
How to get all enum values in Java?
Java
Enums
Saving enum from select in Rails 4.1
Ruby on-Rails
Ruby
Ruby on-Rails-4
Enums
Is it OK to use == on enums in Java?
Java
Syntax
Enums
Convert String to equivalent Enum value
Java
Enums
Getting all names in an enum as a String[]
Java
Arrays
Enums
Java Enum Methods - return opposite direction enum
Java
Enums
Enumeration
Conveniently map between enum and int / String
Java
Enums
Coding Style
Are default enum values in C the same for all compilers?
C
Enums
How to convert enum names to string in c
C
String
Enums
Are C++ enums signed or unsigned?
C++
Enums
Getting attributes of Enum's value
C#
Reflection
Enums
.Net Attributes
How to get names of enum entries?
Enums
Typescript
namespaces for enum types - best practices
C++
Enums
Scope
Nested
Enums and Constants. Which to use when?
C#
Language Agnostic
Enums
Mapping enum to string in hibernate
Java
Hibernate
Enums
Add functions to an Enum
Enums
Typescript
Python, what's the Enum type good for?
Python
Enums
How to get a enum value from string in C#?
C#
Enums
Swift: testing against optional value in switch case
Swift
Enums
Switch Statement
Optional
In Swift, is it possible to convert a string to an enum?
Swift
Enums
C++: Print out enum value as text
C++
Enums
How to use enum values in f:selectItem(s)
Jsf
Jsf 2
Enums
Selectonemenu
Enum String Name from Value
C#
Enums
enum.values() - is an order of returned enums deterministic
Java
Enums
Specifications
Correct way to define array of enums in JSON schema
Arrays
Json
Enums
Jsonschema
How to compare enum with associated values by ignoring its associated value in Swift?
Swift
Enums
Comparison
How to use enum as index key type in typescript?
Typescript
Dictionary
Indexing
Enums
How to TryParse for Enum value?
C#
Enums
Does Dart support enumerations?
Enums
Dart
How to get an array of all enum values in C#?
C#
Enums
How do I use Comparator to define a custom sort order?
Java
Sorting
Enums
How to properly use the "choices" field option in Django
Python
Python 3.x
Django
Django Models
Enums
How to get Enum Value from index in Java?
Java
Enums
Cast Int to Generic Enum in C#
C#
Generics
Casting
Enums
Swift enum with custom initializer loses rawValue initializer
Swift
Enums
How to convert from System.Enum to base integer?
C#
Enums
Type Conversion
Get int value from enum in C#
C#
Enums
Casting
Int
Comparing Java enum members: == or equals()?
Java
Enums
In Rust, is there a way to iterate through the values of an enum?
Enums
Iteration
Rust
How to make an enum conform to a protocol in Swift?
Swift
Enums
Swift Protocols
Why is compareTo on an Enum final in Java?
Java
Enums
Comparable
Compareto
Specifying a mySQL ENUM in a Django model
Python
Mysql
Django
Django Models
Enums
enum to string in modern C++11 / C++14 / C++17 and future C++20
C++
String
Enums
C++17
C++20
Print text instead of value from C enum
C
Enums
Using enum for dropdown list in ASP.NET MVC Core
C#
asp.net
asp.net Mvc
Enums
asp.net Core-Mvc
Checking if Type instance is a nullable enum in C#
C#
Enums
Nullable
C# naming convention for enum and matching property
C#
.Net
Enums
Naming Conventions
How to programmatically enumerate an enum type?
Enums
Typescript
Easy way to use variables of enum types as string in C?
C
Enums
C Preprocessor
Test if an object is an Enum
C#
Enums
Value Type
How to check If a Enum contain a number?
C#
.Net
Enums
Filling a List with all enum values in Java
Java
List
Enums
Should I strictly avoid using enums on Android?
Java
Android
Enums
Iterate enum values using java generics
Java
Generics
Enums
Enumeration
Swift constants: Struct or Enum
Swift
Struct
Enums
Constants
Using Enum values as String literals
Java
String
Enums
Anyone know a good workaround for the lack of an enum generic constraint?
C#
.Net
Enums
Flags
What to do when bit mask (flags) enum gets too large
C#
Permissions
Enums
Types
Bitmask
Is there a way to show a user-defined postgresql enumerated type definition?
Postgresql
Enums
Getting enum associated with int value
Java
Enums
C# how to use enum with switch
C#
Enums
Switch Statement
Switch Expression
Use object literal as TypeScript enum values
Angular
Typescript
Enums
How can I reference my Java Enum without specifying its type
Java
Enums
How to bind RadioButtons to an enum?
Wpf
Data Binding
Enums
Radio Button
Base enum class inheritance
C++
Enums
How to Javadoc a Class's Individual Enums
Java
Enums
Javadoc
Why can I assign 0.0 to enumeration values, but not 1.0
C#
Enums
Floating Point
Literals
How can I create "static" method for enum in Kotlin?
Enums
Static
Kotlin
How to get enum from raw value in Swift?
Ios
Swift
Enums
Why use Enums instead of Constants? Which is better in terms of software design and readability
Java
Android
Enums
Can't use enum class as unordered_map key
C++
C++11
Map
Enums
Enum Class
Static enum vs. Non-static enum
Java
Enums
Static Members
How to get C# Enum description from value?
C#
Enums
Enum "Inheritance"
C#
.Net
Enums
How to compare Enums in TypeScript
Typescript
Enums
Compare
Equality
Validate Enum Values
C#
Validation
Enums
How to supply Enum value to an annotation from a Constant in Java
Java
Enums
Annotations
Get enum values as List of String in Java 8
Java
Enums
Java 8
Getting String value from enum in Java
Java
Enums
Iterate enum in definition order in Python 2
Python
Python 2.7
Enums
How to extend Python Enum?
Python
Python 3.x
Enums
Max and min values in a C++ enum
C++
Enums
Mocking Java enum to add a value to test fail case
Java
Unit Testing
Enums
Mocking
Code Coverage
Allow for Range-Based For with enum classes?
C++
For Loop
C++11
Enums
Rails: How to use i18n with Rails 4 enums
Ruby on-Rails-4
Enums
How to access a Swift enum associated value outside of a switch statement
Swift
Enums
How to define a non-ordinal enum in Kotlin?
Kotlin
Enums
Type annotations for Enum attribute
Python
Python 3.x
Enums
Type Hinting
Python Typing
Java Enums: List enumerated values from a Class<? extends Enum>
Java
Enums
C# numeric enum value as string
C#
Enums
Return Value
Return Type
Enum vs Strongly typed enum
C++
C++11
Enums
How do I cast a generic enum to int?
C#
Enums
How to make a Swift String enum available in Objective-C?
Objective C
Swift
Enums
Interop
Weird enum in destructor
C++
Enums
Why can't enum constructors be protected or public in Java?
Java
Enums
Constructor
Typescript enum switch not working
Enums
Switch Statement
Typescript
Generic way to cast int to enum in C++
C++
Casting
Enums
Typescript: string literal union type from enum
Typescript
Enums
How do I serialize an enum value as an int?
.Net
Enums
Xml Serialization
Extending enums in C++?
C++
Enums
The usage of anonymous enums
C++
Enums
Enum as Parameter in TypeScript
Enums
Typescript
Parse a string to an Enum value in VB.NET
vb.net
Enums
Forward-declare enum in Objective-C
Objective C
Enums
Typedef
Extern
Why doesn't Android use more enums?
Android
Enums
Java enum reverse look-up best practice
Java
Enums
Static Initializer
Java Enum return Int
Java
Enums
Declaring and checking/comparing (bitmask-)enums in Objective-C
Objective C
C
Cocoa
Enums
Bitmask
How to do an if-else comparison on enums with arguments
Swift
Enums
How to use enums as a choice field in django model
Python
Django
Python 3.x
Django Models
Enums
Best practices for using and persisting enums
C#
Java
Database
Enums
Persistence
Cast int to enum strings in Typescript
Javascript
Angular
Typescript
Enums
How to loop through all enum values in C#?
C#
.Net
Enums
Language Features
What does the [Flags] Enum Attribute mean in C#?
C#
Enums
Flags
Best way to create enum of strings?
Java
Enums
Swift. UILabel text alignment
Enums
Uilabel
Swift
Swift enum inheritance
Ios
Swift
Inheritance
Enums
Rawrepresentable
Total number of items defined in an enum
C#
.Net
Enums
How to get the values of an enum into a SelectList
C#
asp.net Mvc
Enums
Can I specify ordinal for enum in Java?
Java
Enums
Where to put/how to handle enums in Laravel?
Php
Laravel
Enums
C# int to enum conversion
C#
Enums
C# Enums: Nullable or 'Unknown' Value?
C#
Enums
Casting string to enum
C#
String
Casting
Enums
C# non-boxing conversion of generic enum to int?
C#
.Net
Enums
Boxing
How can I iterate over an enum?
C++
Enums
Any trick to defining an enum as flags/powers of 2 without eventually needing a calculator?
C#
Enums
How to define static constants in a Java enum?
Java
Enums
Constants
How to merge two enums in TypeScript
Typescript
Types
Enums
Merge
typescript2.0
How is values() implemented for Java 6 enums?
Java
Enums
Best method to store Enum in Database
C#
Database
Visual Studio
Database Design
Enums
Enum to Dictionary in C#
C#
Dictionary
Collections
Enums
what is the size of an enum type data in C++?
C++
Enums
Sizeof
How to implement enum with generics?
Java
Generics
Interface
Enums
Why does the C# compiler allow empty enums?
C#
Compiler Construction
Enums
Check if enum exists in Java
Java
String
Enums
Compare
Enum.GetValues() Return Type
C#
Enums
Java enum and additional class files
Java
Enums
Checking if a class is java.lang.Enum
Java
Enums
Instanceof
What does EnumSet really mean?
Java
Object
Enums
Enumset
What is the reason for java.lang.IllegalArgumentException: No enum const class even though iterating through values() works just fine?
Java
Enums
Why can't I create an enum in an inner class in Java?
Java
Enums
Nested
Inner Classes
serialize and deserialize enum with Gson
Java
Serialization
Enums
Deserialization
Gson
How to create a table corresponding to enum in EF6 Code First?
C#
Entity Framework
Enums
Ef Code-First
Entity Framework-6
Android: How to put an Enum in a Bundle?
Android
Enums
Android Bundle
Can I add a function to enums in Java?
Java
Function
Enums
Convert.ChangeType and converting to enums?
C#
Enums
Changetype
Enum flags in JavaScript
Javascript
Enums
Flags
C# Public Enums in Classes
C#
Enums
Cast Int to enum in Java
Java
Casting
Enums
Ordinal
Enum variable default value?
C++
Variables
Enums
Default Value
Using enum as interface key in typescript
Typescript
Enums
Flutter / Dart Convert Int to Enum
Enums
Dart
Flutter
How can I convert an enumeration into a List<SelectListItem>?
C#
asp.net Mvc
Enums
Selectlistitem
troubles declaring static enum, C#
C#
Static
Enums
C# enum contains value
C#
Enums
Contains
Why does Java allow null value to be assigned to an Enum?
Java
Enums
Java: using switch statement with enum under subclass
Java
Enums
Switch Statement
MySQL ENUM type vs join tables
Mysql
Database Design
Enums
Enum to String C++
C++
Enums
Non-unique enum values
C#
Enums
Struct
Enums in lambda expressions are compiled differently; consequence of overload resolution improvements?
C#
Lambda
Enums
Roslyn
C# 6.0
How to read and write Enum into parcel on Android?
Android
Enums
Parcelable
Parcel
Generic type to get enum keys as union string in typescript?
Typescript
Generics
Enums
How to get next (or previous) enum value in C#
C#
.Net
Enums
Enum.values() vs EnumSet.allOf( ). Which one is more preferable?
Java
Enums
How do I describe an enumeration column in a Rails 3 migration?
Ruby
Ruby on-Rails-3
Enums
Migration
Are C++ enums slower to use than integers?
C++
Enums
Profiling
Performance
What's the use of "enum" in Java?
Java
Enums
Enum flags over 2^32
C#
Enums
Flags
How do I encode enum using NSCoder in swift?
Swift
Enums
Persistence
Nscoder
Case-insensitive matching of a string to a Java enum
Java
Generics
Enums
Using enum as property of Realm model
Ios
Enums
Realm
Check if value exists in enum in TypeScript
Javascript
Typescript
Enums
Using enum inside types - Compiler warning C4482 C++
C++
Enums
Compiler Warnings
How to get the numeric value from the Enum?
C#
.Net
Reflection
Properties
Enums
How to get the Enum Index value in C#
C#
C
Enums
Integer
enum Values to NSString (iOS)
Ios
Enums
Nsstring
Enum.TryParse returns true for any numeric values
C#
Validation
Enums
Tryparse
Java: Enum vs. Int
Java
Enums
How can I loop through enum values for display in radio buttons?
Javascript
Arrays
Typescript
Enums
Element
What's the best way to implement `next` and `previous` on an enum type?
Java
Optimization
Enums
Java enum with multiple value types
Java
Enums
Laravel IN Validation or Validation by ENUM Values
Php
Validation
Laravel
Enums
Convert from enum ordinal to enum type
Java
Enums
Initial Value of an Enum
C#
Enums
Illegal Forward Reference and Enums
Java
Enums
Private enum constructor
Java
Enums
Why can a enum have a package-private constructor?
Java
Enums
Package Private
What's the proper way to compare a String to an enum value?
Java
Enums
MySQL Change a column ENUM value
Mysql
Enums
How to implement Enums in Ruby?
Ruby
Enums
How to compare enum without pattern matching
Enums
Pattern Matching
Rust
Typescript `enum` from JSON string
Json
Enums
Typescript
Implementing toString on Java enums
Java
Enums
Cyclic inheritance when implementing inner interface in enum
Java
Interface
Enums
Overriding Enum init?(rawValue: String) to not be optional
Ios
Swift
Enums
Initialization
Enum ToString with user friendly strings
C#
Enums
Tostring
Can I add and remove elements of enumeration at runtime in Java
Java
Enums
Why can't enums be declared locally in a method?
Java
Enums
How can I use the string value of a C# enum value in a case statement?
C#
String
Enums
Enum.Parse(), surely a neater way?
C#
asp.net
Enums
Use Enum type as a value parameter for @RolesAllowed-Annotation
Java
Jakarta Ee
Enums
Annotations
Java Ee-6
What are the differences between a Java enum and a class with private constructor?
Java
Enums
Enumeration
How to write a Java-enum-like class with multiple data fields in C++?
Java
C++
Enums
How to define properties for Enum items
Java
Enums
My enum is not a class or namespace
C++
Enums
G++
C++11
Do we really need "enum class" in C++11?
C++
Enums
C++11
Language Lawyer
c# enum equals() vs ==
C#
Enums
Equals
Using an enum as an array index
C++
Enums
How can I use enum in C# for storing string constants?
.Net
String
Constants
Enums
Java getting the Enum name given the Enum Value
Java
Enums
Enumeration
Is it possible to save a Type (using "typeof()") in an enum?
C#
Types
Enums
Type Conversion
What is the usage of default when the switch is for an enum?
Java
Enums
Does Perl have an enumeration type?
Perl
Enums
Is the sizeof(enum) == sizeof(int), always?
C
Enums
Constants
C Preprocessor
Java Sorting based on Enum constants
Java
Sorting
Enums
Is there a way to print enum values?
Enums
Rust
Do C++ enums Start at 0?
C++
Enums
Language Lawyer
Enumeration
Ordinal
Codable enum with default case in Swift 4
Ios
Swift
Enums
Swift4
Codable
How do I create an enum from an Int in Kotlin?
Kotlin
Enums
Enum Naming Convention - Plural
C#
.Net
Enums
Naming Conventions
Plural
Better way to represent array in java properties file
Java
Arrays
Enums
Properties
How to create type safe enums?
C
Enums
Type Safety
Compare Java enum values
Java
Enums
Enum is Reference Type or Value Type?
.Net
Enums
Value Type
Reference Type