类 ListTag<T extends Tag>

java.lang.Object
cn.nukkit.nbt.tag.Tag
cn.nukkit.nbt.tag.ListTag<T>

public class ListTag<T extends Tag> extends Tag
  • 字段详细资料

    • type

      public byte type
  • 构造器详细资料

    • ListTag

      public ListTag()
    • ListTag

      public ListTag(String name)
  • 方法详细资料

    • getId

      public byte getId()
      指定者:
      getId 在类中 Tag
    • toString

      public String toString()
      指定者:
      toString 在类中 Tag
    • toSnbt

      public String toSnbt()
      指定者:
      toSnbt 在类中 Tag
    • toSnbt

      public String toSnbt(int space)
      指定者:
      toSnbt 在类中 Tag
    • print

      public void print(String prefix, PrintStream out)
      覆盖:
      print 在类中 Tag
    • add

      public ListTag<T> add(T tag)
    • add

      public ListTag<T> add(int index, T tag)
    • parseValue

      public List<Object> parseValue()
      指定者:
      parseValue 在类中 Tag
    • get

      public T get(int index)
    • getAll

      public List<T> getAll()
    • setAll

      public void setAll(List<T> tags)
    • remove

      public void remove(T tag)
    • remove

      public void remove(int index)
    • removeAll

      public void removeAll(Collection<T> tags)
    • size

      public int size()
    • copy

      public Tag copy()
      指定者:
      copy 在类中 Tag
    • equals

      public boolean equals(Object obj)
      覆盖:
      equals 在类中 Tag
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Tag