Interface IdMap<T>

All Superinterfaces:
Iterable<T>
All Known Implementing Classes:
CrudeIncrementalIntIdentityHashBiMap, DefaultedRegistry, GameData.ClearableObjectIntIdentityMap, IdMapper, MappedRegistry, NamespacedDefaultedWrapper, NamespacedWrapper, Registry, WritableRegistry

public interface IdMap<T> extends Iterable<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    byId(int p_122651_)
     
    default T
    byIdOrThrow(int p_200958_)
     
    int
    getId(T p_122652_)
     
    int
     

    Methods inherited from interface java.lang.Iterable

    forEach, iterator, spliterator
  • Field Details

  • Method Details

    • getId

      int getId(T p_122652_)
    • byId

      @Nullable T byId(int p_122651_)
    • byIdOrThrow

      default T byIdOrThrow(int p_200958_)
    • size

      int size()