Interface IReversibleEnum<E,V>

Type Parameters:
E - the element type
V - the value type
All Known Implementing Classes:
ConnectionType, SC_CACHING_METHOD, SCMPBodyType, SCMPError, SCMPMsgType, SCMPVersion, ServerType, ServiceType

public interface IReversibleEnum<E,V>
The Interface IReversibleEnum.
Author:
JTraber
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the value/code of the enum constant.
    reverse(E code)
    Get the Enum constant by looking up the code in the reverse enum map
  • Method Details

    • getValue

      E getValue()
      Return the value/code of the enum constant.
      Returns:
      value
    • reverse

      V reverse(E code)
      Get the Enum constant by looking up the code in the reverse enum map. *
      Parameters:
      code - the code
      Returns:
      V - The enum constant