Interface ListType

All Known Implementing Classes:
JsonListType, NBTListType

public interface ListType
  • Method Details

    • getTypeUtil

      TypeUtil getTypeUtil()
    • hashCode

      int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      boolean equals(Object other)
      Overrides:
      equals in class Object
    • copy

      ListType copy()
    • getType

      ObjectType getType()
    • size

      int size()
    • remove

      void remove(int index)
    • getGeneric

      default Object getGeneric(int index)
    • setGeneric

      default void setGeneric(int index, Object to)
    • getNumber

      Number getNumber(int index)
    • getByte

      byte getByte(int index)
    • setByte

      void setByte(int index, byte to)
    • getShort

      short getShort(int index)
    • setShort

      void setShort(int index, short to)
    • getInt

      int getInt(int index)
    • setInt

      void setInt(int index, int to)
    • getLong

      long getLong(int index)
    • setLong

      void setLong(int index, long to)
    • getFloat

      float getFloat(int index)
    • setFloat

      void setFloat(int index, float to)
    • getDouble

      double getDouble(int index)
    • setDouble

      void setDouble(int index, double to)
    • getBytes

      byte[] getBytes(int index)
    • setBytes

      void setBytes(int index, byte[] to)
    • getShorts

      short[] getShorts(int index)
    • setShorts

      void setShorts(int index, short[] to)
    • getInts

      int[] getInts(int index)
    • setInts

      void setInts(int index, int[] to)
    • getLongs

      long[] getLongs(int index)
    • setLongs

      void setLongs(int index, long[] to)
    • getList

      ListType getList(int index)
    • setList

      void setList(int index, ListType list)
    • getMap

      <T> MapType<T> getMap(int index)
    • setMap

      void setMap(int index, MapType<?> to)
    • getString

      String getString(int index)
    • setString

      void setString(int index, String to)
    • addGeneric

      default void addGeneric(Object to)
    • addByte

      void addByte(byte b)
    • addByte

      void addByte(int index, byte b)
    • addShort

      void addShort(short s)
    • addShort

      void addShort(int index, short s)
    • addInt

      void addInt(int i)
    • addInt

      void addInt(int index, int i)
    • addLong

      void addLong(long l)
    • addLong

      void addLong(int index, long l)
    • addFloat

      void addFloat(float f)
    • addFloat

      void addFloat(int index, float f)
    • addDouble

      void addDouble(double d)
    • addDouble

      void addDouble(int index, double d)
    • addByteArray

      void addByteArray(byte[] arr)
    • addByteArray

      void addByteArray(int index, byte[] arr)
    • addShortArray

      void addShortArray(short[] arr)
    • addShortArray

      void addShortArray(int index, short[] arr)
    • addIntArray

      void addIntArray(int[] arr)
    • addIntArray

      void addIntArray(int index, int[] arr)
    • addLongArray

      void addLongArray(long[] arr)
    • addLongArray

      void addLongArray(int index, long[] arr)
    • addList

      void addList(ListType list)
    • addList

      void addList(int index, ListType list)
    • addMap

      void addMap(MapType<?> map)
    • addMap

      void addMap(int index, MapType<?> map)
    • addString

      void addString(String string)
    • addString

      void addString(int index, String string)