Interface TraitLookup

All Known Implementing Classes:
TraitLookup.ArrayTraitLookup, TraitLookup.IntMapTraitLookup

public interface TraitLookup
  • Method Details

    • add

      void add(int typeId, Trait trait)
    • clear

      void clear()
    • forEach

      void forEach(Consumer<Trait> visitor)
    • get

      Trait get(int typeId)
    • has

      boolean has(int typeId)
    • list

      Iterable<Trait> list()
    • remove

      Trait remove(int typeId)