Class Enum.Entry

  • Enclosing class:
    Enum

    private static class Enum.Entry
    extends java.lang.Object

    Enable the iterator to retain the source code order.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.util.List list
      List of Enums in source code order.
      (package private) java.util.Map map
      Map of Enum name to Enum.
      (package private) java.util.List unmodifiableList
      Map of Enum name to Enum.
      (package private) java.util.Map unmodifiableMap
      Map of Enum name to Enum.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Entry()
      Restrictive constructor.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • map

        final java.util.Map map
        Map of Enum name to Enum.
      • unmodifiableMap

        final java.util.Map unmodifiableMap
        Map of Enum name to Enum.
      • list

        final java.util.List list
        List of Enums in source code order.
      • unmodifiableList

        final java.util.List unmodifiableList
        Map of Enum name to Enum.
    • Constructor Detail

      • Entry

        protected Entry()

        Restrictive constructor.