Class JdkBackedImmutableSet<E>

All Implemented Interfaces:
Serializable, Iterable<E>, Collection<E>, Set<E>

final class JdkBackedImmutableSet<E> extends IndexedImmutableSet<E>
ImmutableSet implementation backed by a JDK HashSet, used to defend against apparent hash flooding. This implementation is never used on the GWT client side, but it must be present there for serialization to work.
  • Field Details

    • delegate

      private final Set<?> delegate
    • delegateList

      private final ImmutableList<E> delegateList
  • Constructor Details

    • JdkBackedImmutableSet

      JdkBackedImmutableSet(Set<?> delegate, ImmutableList<E> delegateList)
  • Method Details