Class LockModeEnumMap<V>

  • Type Parameters:
    V - the value type to be associated with each key

    public final class LockModeEnumMap<V>
    extends LazyIndexedMap<LockMode,​V>
    A concurrent safe EnumMap<LockMode>, suitable to lazily associate values to the enum keys. This implementation favours fast read operations and low memory consumption over other metrics. Specifically designed with specific use cases in mind: do not overly reuse without good reasons.
    • Constructor Detail

      • LockModeEnumMap

        public LockModeEnumMap()