Interface ListTagSetter<R,​T extends BinaryTag>

Type Parameters:
R - the return type
T - the element type
All Known Subinterfaces:
ListBinaryTag, ListBinaryTag.Builder<T>

public interface ListTagSetter<R,​T extends BinaryTag>
Common methods between ListBinaryTag and ListBinaryTag.Builder.
Since:
4.0.0
  • Method Summary

    Modifier and Type Method Description
    @NonNull R add​(Iterable<? extends T> tags)
    Adds multiple tags.
    @NonNull R add​(T tag)
    Adds a tag.
  • Method Details

    • add

      @NonNull R add​(T tag)
      Adds a tag.
      Parameters:
      tag - the tag
      Returns:
      a list tag
      Since:
      4.0.0
    • add

      @NonNull R add​(Iterable<? extends T> tags)
      Adds multiple tags.
      Parameters:
      tags - the tags
      Returns:
      a list tag
      Since:
      4.4.0