public class SubClassingBag<T> extends Object
| Constructor and Description |
|---|
SubClassingBag(@NotNull ClassificationBag<Class<?>,T> items,
HashMap<Class<?>,List<Class<?>>> subClassMap) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(T item) |
boolean |
containsType(@Nullable Class<?> type) |
@NotNull OrderedSet<T> |
getItems() |
int |
getTypeCount(@Nullable Class<?> category) |
BitSet |
getTypeSet(@Nullable Class<?> category) |
<X> @NotNull ReversibleIterable<X> |
itemsOfType(@NotNull Class<X> xClass,
Class<?>... categories) |
<X> @NotNull ReversibleIterable<X> |
itemsOfType(@NotNull Class<X> xClass,
@NotNull Collection<Class<?>> categories) |
<X> @NotNull ReversibleIterable<X> |
reversedItemsOfType(@NotNull Class<X> xClass,
Class<?>... categories) |
<X> @NotNull ReversibleIterable<X> |
reversedItemsOfType(@NotNull Class<X> xClass,
@NotNull Collection<Class<?>> categories) |
@NotNull BitSet |
typeBitSet(@NotNull Class<?> xClass,
Class<?>... categories) |
@NotNull BitSet |
typeBitSet(@NotNull Class<?> xClass,
@NotNull Collection<Class<?>> categories) |
@NotNull public @NotNull OrderedSet<T> getItems()
public boolean contains(@Nullable
T item)
public boolean containsType(@Nullable
@Nullable Class<?> type)
public int getTypeCount(@Nullable
@Nullable Class<?> category)
@NotNull public final <X> @NotNull ReversibleIterable<X> itemsOfType(@NotNull @NotNull Class<X> xClass, @NotNull Class<?>... categories)
@NotNull public final <X> @NotNull ReversibleIterable<X> itemsOfType(@NotNull @NotNull Class<X> xClass, @NotNull @NotNull Collection<Class<?>> categories)
@NotNull public final <X> @NotNull ReversibleIterable<X> reversedItemsOfType(@NotNull @NotNull Class<X> xClass, @NotNull Class<?>... categories)
@NotNull public final <X> @NotNull ReversibleIterable<X> reversedItemsOfType(@NotNull @NotNull Class<X> xClass, @NotNull @NotNull Collection<Class<?>> categories)
@NotNull public final @NotNull BitSet typeBitSet(@NotNull @NotNull Class<?> xClass, @NotNull Class<?>... categories)
@NotNull public final @NotNull BitSet typeBitSet(@NotNull @NotNull Class<?> xClass, @NotNull @NotNull Collection<Class<?>> categories)
Copyright © 2020. All rights reserved.