Class SubClassingBag<T>

java.lang.Object
com.vladsch.flexmark.util.collection.SubClassingBag<T>

public class SubClassingBag<T> extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getItems

      @NotNull public @NotNull OrderedSet<T> getItems()
    • contains

      public boolean contains(@Nullable T item)
    • containsType

      public boolean containsType(@Nullable @Nullable Class<?> type)
    • getTypeSet

      public BitSet getTypeSet(@Nullable @Nullable Class<?> category)
    • getTypeCount

      public int getTypeCount(@Nullable @Nullable Class<?> category)
    • itemsOfType

      @NotNull public final <X> @NotNull ReversibleIterable<X> itemsOfType(@NotNull @NotNull Class<X> xClass, @NotNull @NotNull Class<?>... categories)
    • itemsOfType

      @NotNull public final <X> @NotNull ReversibleIterable<X> itemsOfType(@NotNull @NotNull Class<X> xClass, @NotNull @NotNull Collection<Class<?>> categories)
    • reversedItemsOfType

      @NotNull public final <X> @NotNull ReversibleIterable<X> reversedItemsOfType(@NotNull @NotNull Class<X> xClass, @NotNull @NotNull Class<?>... categories)
    • reversedItemsOfType

      @NotNull public final <X> @NotNull ReversibleIterable<X> reversedItemsOfType(@NotNull @NotNull Class<X> xClass, @NotNull @NotNull Collection<Class<?>> categories)
    • typeBitSet

      @NotNull public final @NotNull BitSet typeBitSet(@NotNull @NotNull Class<?> xClass, @NotNull @NotNull Class<?>... categories)
    • typeBitSet

      @NotNull public final @NotNull BitSet typeBitSet(@NotNull @NotNull Class<?> xClass, @NotNull @NotNull Collection<Class<?>> categories)