com.planet_ink.coffee_mud.core.collections
Class ReadOnlyNavigableSet<K>

java.lang.Object
  extended by com.planet_ink.coffee_mud.core.collections.ReadOnlyNavigableSet<K>
All Implemented Interfaces:
java.lang.Iterable<K>, java.util.Collection<K>, java.util.NavigableSet<K>, java.util.Set<K>, java.util.SortedSet<K>

public class ReadOnlyNavigableSet<K>
extends java.lang.Object
implements java.util.NavigableSet<K>


Constructor Summary
ReadOnlyNavigableSet(java.util.NavigableSet<K> s)
           
 
Method Summary
 boolean add(K arg0)
           
 boolean addAll(java.util.Collection<? extends K> arg0)
           
 K ceiling(K arg0)
           
 void clear()
           
 java.util.Comparator<? super K> comparator()
           
 boolean contains(java.lang.Object arg0)
           
 boolean containsAll(java.util.Collection<?> arg0)
           
 java.util.Iterator<K> descendingIterator()
           
 java.util.NavigableSet<K> descendingSet()
           
 K first()
           
 K floor(K arg0)
           
 java.util.SortedSet<K> headSet(K arg0)
           
 java.util.NavigableSet<K> headSet(K arg0, boolean arg1)
           
 K higher(K arg0)
           
 boolean isEmpty()
           
 java.util.Iterator<K> iterator()
           
 K last()
           
 K lower(K arg0)
           
 K pollFirst()
           
 K pollLast()
           
 boolean remove(java.lang.Object arg0)
           
 boolean removeAll(java.util.Collection<?> arg0)
           
 boolean retainAll(java.util.Collection<?> arg0)
           
 int size()
           
 java.util.NavigableSet<K> subSet(K arg0, boolean arg1, K arg2, boolean arg3)
           
 java.util.SortedSet<K> subSet(K arg0, K arg1)
           
 java.util.SortedSet<K> tailSet(K arg0)
           
 java.util.NavigableSet<K> tailSet(K arg0, boolean arg1)
           
 java.lang.Object[] toArray()
           
<T> T[]
toArray(T[] arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Set
equals, hashCode
 

Constructor Detail

ReadOnlyNavigableSet

public ReadOnlyNavigableSet(java.util.NavigableSet<K> s)
Method Detail

ceiling

public K ceiling(K arg0)
Specified by:
ceiling in interface java.util.NavigableSet<K>

descendingIterator

public java.util.Iterator<K> descendingIterator()
Specified by:
descendingIterator in interface java.util.NavigableSet<K>

descendingSet

public java.util.NavigableSet<K> descendingSet()
Specified by:
descendingSet in interface java.util.NavigableSet<K>

floor

public K floor(K arg0)
Specified by:
floor in interface java.util.NavigableSet<K>

headSet

public java.util.SortedSet<K> headSet(K arg0)
Specified by:
headSet in interface java.util.NavigableSet<K>
Specified by:
headSet in interface java.util.SortedSet<K>

headSet

public java.util.NavigableSet<K> headSet(K arg0,
                                         boolean arg1)
Specified by:
headSet in interface java.util.NavigableSet<K>

higher

public K higher(K arg0)
Specified by:
higher in interface java.util.NavigableSet<K>

iterator

public java.util.Iterator<K> iterator()
Specified by:
iterator in interface java.lang.Iterable<K>
Specified by:
iterator in interface java.util.Collection<K>
Specified by:
iterator in interface java.util.NavigableSet<K>
Specified by:
iterator in interface java.util.Set<K>

lower

public K lower(K arg0)
Specified by:
lower in interface java.util.NavigableSet<K>

pollFirst

public K pollFirst()
Specified by:
pollFirst in interface java.util.NavigableSet<K>

pollLast

public K pollLast()
Specified by:
pollLast in interface java.util.NavigableSet<K>

subSet

public java.util.SortedSet<K> subSet(K arg0,
                                     K arg1)
Specified by:
subSet in interface java.util.NavigableSet<K>
Specified by:
subSet in interface java.util.SortedSet<K>

subSet

public java.util.NavigableSet<K> subSet(K arg0,
                                        boolean arg1,
                                        K arg2,
                                        boolean arg3)
Specified by:
subSet in interface java.util.NavigableSet<K>

tailSet

public java.util.SortedSet<K> tailSet(K arg0)
Specified by:
tailSet in interface java.util.NavigableSet<K>
Specified by:
tailSet in interface java.util.SortedSet<K>

tailSet

public java.util.NavigableSet<K> tailSet(K arg0,
                                         boolean arg1)
Specified by:
tailSet in interface java.util.NavigableSet<K>

comparator

public java.util.Comparator<? super K> comparator()
Specified by:
comparator in interface java.util.SortedSet<K>

first

public K first()
Specified by:
first in interface java.util.SortedSet<K>

last

public K last()
Specified by:
last in interface java.util.SortedSet<K>

add

public boolean add(K arg0)
Specified by:
add in interface java.util.Collection<K>
Specified by:
add in interface java.util.Set<K>

addAll

public boolean addAll(java.util.Collection<? extends K> arg0)
Specified by:
addAll in interface java.util.Collection<K>
Specified by:
addAll in interface java.util.Set<K>

clear

public void clear()
Specified by:
clear in interface java.util.Collection<K>
Specified by:
clear in interface java.util.Set<K>

contains

public boolean contains(java.lang.Object arg0)
Specified by:
contains in interface java.util.Collection<K>
Specified by:
contains in interface java.util.Set<K>

containsAll

public boolean containsAll(java.util.Collection<?> arg0)
Specified by:
containsAll in interface java.util.Collection<K>
Specified by:
containsAll in interface java.util.Set<K>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface java.util.Collection<K>
Specified by:
isEmpty in interface java.util.Set<K>

remove

public boolean remove(java.lang.Object arg0)
Specified by:
remove in interface java.util.Collection<K>
Specified by:
remove in interface java.util.Set<K>

removeAll

public boolean removeAll(java.util.Collection<?> arg0)
Specified by:
removeAll in interface java.util.Collection<K>
Specified by:
removeAll in interface java.util.Set<K>

retainAll

public boolean retainAll(java.util.Collection<?> arg0)
Specified by:
retainAll in interface java.util.Collection<K>
Specified by:
retainAll in interface java.util.Set<K>

size

public int size()
Specified by:
size in interface java.util.Collection<K>
Specified by:
size in interface java.util.Set<K>

toArray

public java.lang.Object[] toArray()
Specified by:
toArray in interface java.util.Collection<K>
Specified by:
toArray in interface java.util.Set<K>

toArray

public <T> T[] toArray(T[] arg0)
Specified by:
toArray in interface java.util.Collection<K>
Specified by:
toArray in interface java.util.Set<K>