Class SubClassingBag<T>
- java.lang.Object
-
- com.vladsch.flexmark.util.collection.SubClassingBag<T>
-
public class SubClassingBag<T> extends Object
-
-
Constructor Summary
Constructors Constructor Description SubClassingBag(@NotNull ClassificationBag<Class<?>,T> items, HashMap<Class<?>,@NotNull List<Class<?>>> subClassMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(T item)booleancontainsType(@Nullable Class<?> type)@NotNull OrderedSet<T>getItems()intgetTypeCount(@Nullable Class<?> category)BitSetgetTypeSet(@Nullable Class<?> category)<X> @NotNull ReversibleIterable<X>itemsOfType(@NotNull Class<X> xClass, @NotNull Class<?>... categories)<X> @NotNull ReversibleIterable<X>itemsOfType(@NotNull Class<X> xClass, @NotNull Collection<Class<?>> categories)<X> @NotNull ReversibleIterable<X>reversedItemsOfType(@NotNull Class<X> xClass, @NotNull Class<?>... categories)<X> @NotNull ReversibleIterable<X>reversedItemsOfType(@NotNull Class<X> xClass, @NotNull Collection<Class<?>> categories)@NotNull BitSettypeBitSet(@NotNull Class<?> xClass, @NotNull Class<?>... categories)@NotNull BitSettypeBitSet(@NotNull Class<?> xClass, @NotNull Collection<Class<?>> categories)
-
-
-
Method Detail
-
getItems
@NotNull public @NotNull OrderedSet<T> getItems()
-
contains
public boolean contains(@Nullable T item)
-
containsType
public boolean containsType(@Nullable @Nullable Class<?> type)
-
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)
-
-