接口 IdMap<T>

所有超级接口:
Iterable<T>
所有已知子接口:
DefaultedRegistry<T>, Registry<T>, WritableRegistry<T>
所有已知实现类:
CrudeIncrementalIntIdentityHashBiMap, DefaultedMappedRegistry, GameData.ClearableObjectIntIdentityMap, IdMapper, MappedRegistry, NamespacedDefaultedWrapper, NamespacedWrapper

public interface IdMap<T> extends Iterable<T>
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    static final int
     
  • 方法概要

    修饰符和类型
    方法
    说明
    byId(int pId)
     
    default T
    byIdOrThrow(int pId)
     
    int
    getId(T pValue)
     
    int
     

    从接口继承的方法 java.lang.Iterable

    forEach, iterator, spliterator
  • 字段详细资料

  • 方法详细资料

    • getId

      int getId(T pValue)
    • byId

      @Nullable T byId(int pId)
    • byIdOrThrow

      default T byIdOrThrow(int pId)
    • size

      int size()