类 Int2ObjectBiMap<K>

  • 所有已实现的接口:
    Iterable<K>, IndexedIterable<K>

    public class Int2ObjectBiMap<K>
    extends Object
    implements IndexedIterable<K>
    Mappings:
    Namespace Name
    official aga
    intermediary net/minecraft/class_3513
    named net/minecraft/util/collection/Int2ObjectBiMap
    • 字段详细资料

      • field_29828

        public static final int field_29828
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Laga;a:I
        intermediary field_29828 Lnet/minecraft/class_3513;field_29828:I
        named field_29828 Lnet/minecraft/util/collection/Int2ObjectBiMap;field_29828:I
      • EMPTY

        private static final Object EMPTY
        Mappings:
        Namespace Name Mixin selector
        official b Laga;b:Ljava/lang/Object;
        intermediary field_15650 Lnet/minecraft/class_3513;field_15650:Ljava/lang/Object;
        named EMPTY Lnet/minecraft/util/collection/Int2ObjectBiMap;EMPTY:Ljava/lang/Object;
      • field_29829

        private static final float field_29829
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official c Laga;c:F
        intermediary field_29829 Lnet/minecraft/class_3513;field_29829:F
        named field_29829 Lnet/minecraft/util/collection/Int2ObjectBiMap;field_29829:F
      • values

        private K[] values
        Mappings:
        Namespace Name Mixin selector
        official d Laga;d:[Ljava/lang/Object;
        intermediary field_15651 Lnet/minecraft/class_3513;field_15651:[Ljava/lang/Object;
        named values Lnet/minecraft/util/collection/Int2ObjectBiMap;values:[Ljava/lang/Object;
      • ids

        private int[] ids
        Mappings:
        Namespace Name Mixin selector
        official e Laga;e:[I
        intermediary field_15646 Lnet/minecraft/class_3513;field_15646:[I
        named ids Lnet/minecraft/util/collection/Int2ObjectBiMap;ids:[I
      • idToValues

        private K[] idToValues
        Mappings:
        Namespace Name Mixin selector
        official f Laga;f:[Ljava/lang/Object;
        intermediary field_15647 Lnet/minecraft/class_3513;field_15647:[Ljava/lang/Object;
        named idToValues Lnet/minecraft/util/collection/Int2ObjectBiMap;idToValues:[Ljava/lang/Object;
      • nextId

        private int nextId
        Mappings:
        Namespace Name Mixin selector
        official g Laga;g:I
        intermediary field_15649 Lnet/minecraft/class_3513;field_15649:I
        named nextId Lnet/minecraft/util/collection/Int2ObjectBiMap;nextId:I
      • size

        private int size
        Mappings:
        Namespace Name Mixin selector
        official h Laga;h:I
        intermediary field_15648 Lnet/minecraft/class_3513;field_15648:I
        named size Lnet/minecraft/util/collection/Int2ObjectBiMap;size:I
    • 构造器详细资料

      • Int2ObjectBiMap

        public Int2ObjectBiMap​(int size)
        Mappings:
        Namespace Name Mixin selector
        official <init> Laga;<init>(I)V
        intermediary <init> Lnet/minecraft/class_3513;<init>(I)V
        named <init> Lnet/minecraft/util/collection/Int2ObjectBiMap;<init>(I)V
    • 方法详细资料

      • getRawId

        public int getRawId​(@Nullable
                            K entry)
        指定者:
        getRawId 在接口中 IndexedIterable<K>
        Mappings:
        Namespace Name Mixin selector
        official a Lgk;a(Ljava/lang/Object;)I
        intermediary method_10206 Lnet/minecraft/class_2359;method_10206(Ljava/lang/Object;)I
        named getRawId Lnet/minecraft/util/collection/IndexedIterable;getRawId(Ljava/lang/Object;)I
      • get

        @Nullable
        public K get​(int index)
        指定者:
        get 在接口中 IndexedIterable<K>
        Mappings:
        Namespace Name Mixin selector
        official a Lgk;a(I)Ljava/lang/Object;
        intermediary method_10200 Lnet/minecraft/class_2359;method_10200(I)Ljava/lang/Object;
        named get Lnet/minecraft/util/collection/IndexedIterable;get(I)Ljava/lang/Object;
      • getIdFromIndex

        private int getIdFromIndex​(int index)
        Mappings:
        Namespace Name Mixin selector
        official c Laga;c(I)I
        intermediary method_15222 Lnet/minecraft/class_3513;method_15222(I)I
        named getIdFromIndex Lnet/minecraft/util/collection/Int2ObjectBiMap;getIdFromIndex(I)I
      • method_34904

        public boolean method_34904​(K k)
        Mappings:
        Namespace Name Mixin selector
        official b Laga;b(Ljava/lang/Object;)Z
        intermediary method_34904 Lnet/minecraft/class_3513;method_34904(Ljava/lang/Object;)Z
        named method_34904 Lnet/minecraft/util/collection/Int2ObjectBiMap;method_34904(Ljava/lang/Object;)Z
      • containsKey

        public boolean containsKey​(int index)
        Mappings:
        Namespace Name Mixin selector
        official b Laga;b(I)Z
        intermediary method_34903 Lnet/minecraft/class_3513;method_34903(I)Z
        named containsKey Lnet/minecraft/util/collection/Int2ObjectBiMap;containsKey(I)Z
      • add

        public int add​(K value)
        Mappings:
        Namespace Name Mixin selector
        official c Laga;c(Ljava/lang/Object;)I
        intermediary method_15225 Lnet/minecraft/class_3513;method_15225(Ljava/lang/Object;)I
        named add Lnet/minecraft/util/collection/Int2ObjectBiMap;add(Ljava/lang/Object;)I
      • nextId

        private int nextId()
        Mappings:
        Namespace Name Mixin selector
        official c Laga;c()I
        intermediary method_15226 Lnet/minecraft/class_3513;method_15226()I
        named nextId Lnet/minecraft/util/collection/Int2ObjectBiMap;nextId()I
      • resize

        private void resize​(int newSize)
        Mappings:
        Namespace Name Mixin selector
        official d Laga;d(I)V
        intermediary method_15224 Lnet/minecraft/class_3513;method_15224(I)V
        named resize Lnet/minecraft/util/collection/Int2ObjectBiMap;resize(I)V
      • put

        public void put​(K value,
                        int id)
        Mappings:
        Namespace Name Mixin selector
        official a Laga;a(Ljava/lang/Object;I)V
        intermediary method_15230 Lnet/minecraft/class_3513;method_15230(Ljava/lang/Object;I)V
        named put Lnet/minecraft/util/collection/Int2ObjectBiMap;put(Ljava/lang/Object;I)V
      • getIdealIndex

        private int getIdealIndex​(@Nullable
                                  K value)
        Mappings:
        Namespace Name Mixin selector
        official d Laga;d(Ljava/lang/Object;)I
        intermediary method_15228 Lnet/minecraft/class_3513;method_15228(Ljava/lang/Object;)I
        named getIdealIndex Lnet/minecraft/util/collection/Int2ObjectBiMap;getIdealIndex(Ljava/lang/Object;)I
      • findIndex

        private int findIndex​(@Nullable
                              K value,
                              int id)
        Mappings:
        Namespace Name Mixin selector
        official b Laga;b(Ljava/lang/Object;I)I
        intermediary method_15232 Lnet/minecraft/class_3513;method_15232(Ljava/lang/Object;I)I
        named findIndex Lnet/minecraft/util/collection/Int2ObjectBiMap;findIndex(Ljava/lang/Object;I)I
      • findFree

        private int findFree​(int size)
        Mappings:
        Namespace Name Mixin selector
        official e Laga;e(I)I
        intermediary method_15223 Lnet/minecraft/class_3513;method_15223(I)I
        named findFree Lnet/minecraft/util/collection/Int2ObjectBiMap;findFree(I)I
      • iterator

        public Iterator<K> iterator()
        指定者:
        iterator 在接口中 Iterable<K>
        Mappings:
        Namespace Name Mixin selector
        official iterator Laga;iterator()Ljava/util/Iterator;
        intermediary iterator Lnet/minecraft/class_3513;iterator()Ljava/util/Iterator;
        named iterator Lnet/minecraft/util/collection/Int2ObjectBiMap;iterator()Ljava/util/Iterator;
      • clear

        public void clear()
        Mappings:
        Namespace Name Mixin selector
        official a Laga;a()V
        intermediary method_15229 Lnet/minecraft/class_3513;method_15229()V
        named clear Lnet/minecraft/util/collection/Int2ObjectBiMap;clear()V
      • size

        public int size()
        Mappings:
        Namespace Name Mixin selector
        official b Laga;b()I
        intermediary method_15227 Lnet/minecraft/class_3513;method_15227()I
        named size Lnet/minecraft/util/collection/Int2ObjectBiMap;size()I