Class SafeTreeSet<E>

java.lang.Object
com.google.common.collect.testing.SafeTreeSet<E>
All Implemented Interfaces:
Serializable, Iterable<E>, Collection<E>, NavigableSet<E>, SequencedCollection<E>, SequencedSet<E>, Set<E>, SortedSet<E>

@GwtIncompatible public final class SafeTreeSet<E> extends Object implements Serializable, NavigableSet<E>
A wrapper around TreeSet that aggressively checks to see if elements are mutually comparable. This implementation passes the navigable set test suites.
Author:
Louis Wasserman
See Also: