Class SubClassingBag<T>
java.lang.Object
com.vladsch.flexmark.util.collection.SubClassingBag<T>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSubClassingBag
(@NotNull ClassificationBag<Class<?>, T> items, HashMap<Class<?>, @NotNull List<Class<?>>> subClassMap) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
containsType
(@Nullable Class<?> type) @NotNull OrderedSet
<T> getItems()
int
getTypeCount
(@Nullable Class<?> category) getTypeSet
(@Nullable Class<?> category) final <X> @NotNull ReversibleIterable
<X> itemsOfType
(@NotNull Class<X> xClass, @NotNull Class<?>... categories) final <X> @NotNull ReversibleIterable
<X> itemsOfType
(@NotNull Class<X> xClass, @NotNull Collection<Class<?>> categories) final <X> @NotNull ReversibleIterable
<X> reversedItemsOfType
(@NotNull Class<X> xClass, @NotNull Class<?>... categories) final <X> @NotNull ReversibleIterable
<X> reversedItemsOfType
(@NotNull Class<X> xClass, @NotNull Collection<Class<?>> categories) final @NotNull BitSet
typeBitSet
(@NotNull Class<?> xClass, @NotNull Class<?>... categories) final @NotNull BitSet
typeBitSet
(@NotNull Class<?> xClass, @NotNull Collection<Class<?>> categories)
-
Field Details
-
items
-
subClassMap
-
-
Constructor Details
-
SubClassingBag
-
-
Method Details
-
getItems
-
contains
-
containsType
-
getTypeSet
-
getTypeCount
-
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
-
typeBitSet
@NotNull public final @NotNull BitSet typeBitSet(@NotNull @NotNull Class<?> xClass, @NotNull @NotNull Collection<Class<?>> categories)
-