Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.util
Class WrapperCollections.AbstractWrapperSortedSet

java.lang.Object
  extended by com.tangosol.util.WrapperCollections.AbstractWrapperCollection
      extended by com.tangosol.util.WrapperCollections.AbstractWrapperSet
          extended by com.tangosol.util.WrapperCollections.AbstractWrapperSortedSet

All Implemented Interfaces:
java.lang.Iterable, java.util.Collection, java.util.Set, java.util.SortedSet
Direct Known Subclasses:
ImmutableArrayList.SortedSetView
Enclosing class:
WrapperCollections

public abstract static class WrapperCollections.AbstractWrapperSortedSet
extends WrapperCollections.AbstractWrapperSet
implements java.util.SortedSet

SortedSet implementation which delegates all calls to another SortedSet.


Constructor Summary
protected WrapperCollections.AbstractWrapperSortedSet(java.util.SortedSet set)
          Create an AbstractWrapperSortedSet which delegates to the specified SortedSet.

 

Method Summary
 java.util.Comparator comparator()
          
 java.lang.Object first()
          
protected  java.util.SortedSet getDelegate()
          Return the SortedSet to which all operations should be delegated to.
 java.util.SortedSet headSet(java.lang.Object oTo)
          
 java.lang.Object last()
          
 java.util.SortedSet subSet(java.lang.Object oFrom, java.lang.Object oTo)
          
 java.util.SortedSet tailSet(java.lang.Object oFrom)
          

 

Methods inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperCollection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString

 

Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray

 

Constructor Detail

WrapperCollections.AbstractWrapperSortedSet

protected WrapperCollections.AbstractWrapperSortedSet(java.util.SortedSet set)
Create an AbstractWrapperSortedSet which delegates to the specified SortedSet.
Parameters:
set - the SortedSet to delegate all calls to

Method Detail

getDelegate

protected java.util.SortedSet getDelegate()
Return the SortedSet to which all operations should be delegated to.
Overrides:
getDelegate in class WrapperCollections.AbstractWrapperSet
Returns:
the wrapped Set

comparator

public java.util.Comparator comparator()
Specified by:
comparator in interface java.util.SortedSet

subSet

public java.util.SortedSet subSet(java.lang.Object oFrom,
                                  java.lang.Object oTo)
Specified by:
subSet in interface java.util.SortedSet

headSet

public java.util.SortedSet headSet(java.lang.Object oTo)
Specified by:
headSet in interface java.util.SortedSet

tailSet

public java.util.SortedSet tailSet(java.lang.Object oFrom)
Specified by:
tailSet in interface java.util.SortedSet

first

public java.lang.Object first()
Specified by:
first in interface java.util.SortedSet

last

public java.lang.Object last()
Specified by:
last in interface java.util.SortedSet

Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.