Class TransformedNavigableSet<E>

  • Type Parameters:
    E - the type of the elements in this set
    All Implemented Interfaces:
    Serializable, Iterable<E>, Collection<E>, NavigableSet<E>, Set<E>, SortedSet<E>

    public class TransformedNavigableSet<E>
    extends TransformedSortedSet<E>
    implements NavigableSet<E>
    Decorates another NavigableSet to transform objects that are added.

    The add methods are affected by this class. Thus objects must be removed or searched for using their transformed form. For example, if the transformation converts Strings to Integers, you must use the Integer form to remove objects.

    Since:
    4.1
    See Also:
    Serialized Form