Package org.jf.util
Class ImmutableConverter<ImmutableItem,Item>
java.lang.Object
org.jf.util.ImmutableConverter<ImmutableItem,Item>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract booleanisImmutable(Item item) protected abstract ImmutableItemmakeImmutable(Item item) com.google.common.collect.ImmutableList<ImmutableItem> com.google.common.collect.ImmutableSet<ImmutableItem> com.google.common.collect.ImmutableSortedSet<ImmutableItem> toSortedSet(Comparator<? super ImmutableItem> comparator, Iterable<? extends Item> iterable) toSortedSet(Comparator<? super ImmutableItem> comparator, SortedSet<? extends Item> sortedSet)
-
Constructor Details
-
ImmutableConverter
public ImmutableConverter()
-
-
Method Details
-
isImmutable
-
makeImmutable
-
toList
@Nonnull public com.google.common.collect.ImmutableList<ImmutableItem> toList(@Nullable Iterable<? extends Item> iterable) -
toSet
@Nonnull public com.google.common.collect.ImmutableSet<ImmutableItem> toSet(@Nullable Iterable<? extends Item> iterable) -
toSortedSet
@Nonnull public com.google.common.collect.ImmutableSortedSet<ImmutableItem> toSortedSet(@Nonnull Comparator<? super ImmutableItem> comparator, @Nullable Iterable<? extends Item> iterable) -
toSortedSet
@Nonnull public SortedSet<ImmutableItem> toSortedSet(@Nonnull Comparator<? super ImmutableItem> comparator, @Nullable SortedSet<? extends Item> sortedSet)
-