it.unimi.dsi.fastutil.bytes
Class AbstractByte2CharSortedMap.ValuesCollection

java.lang.Object
  extended by java.util.AbstractCollection<Character>
      extended by it.unimi.dsi.fastutil.chars.AbstractCharCollection
          extended by it.unimi.dsi.fastutil.bytes.AbstractByte2CharSortedMap.ValuesCollection
All Implemented Interfaces:
CharCollection, CharIterable, Iterable<Character>, Collection<Character>
Enclosing class:
AbstractByte2CharSortedMap

protected class AbstractByte2CharSortedMap.ValuesCollection
extends AbstractCharCollection

A wrapper exhibiting the values of a map.


Constructor Summary
protected AbstractByte2CharSortedMap.ValuesCollection()
           
 
Method Summary
 void clear()
           
 boolean contains(char k)
           
 CharIterator iterator()
          Returns a type-specific iterator on the elements of this collection.
 int size()
           
 
Methods inherited from class it.unimi.dsi.fastutil.chars.AbstractCharCollection
add, add, addAll, addAll, charIterator, contains, containsAll, containsAll, isEmpty, rem, rem, remove, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toCharArray, toCharArray, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Constructor Detail

AbstractByte2CharSortedMap.ValuesCollection

protected AbstractByte2CharSortedMap.ValuesCollection()
Method Detail

iterator

public CharIterator iterator()
Description copied from interface: CharCollection
Returns a type-specific iterator on the elements of this collection.

Note that this specification strengthens the one given in Iterable.iterator(), which was already strengthened in the corresponding type-specific class, but was weakened by the fact that this interface extends Collection.

Specified by:
iterator in interface CharCollection
Specified by:
iterator in interface CharIterable
Specified by:
iterator in interface Iterable<Character>
Specified by:
iterator in interface Collection<Character>
Specified by:
iterator in class AbstractCharCollection
Returns:
a type-specific iterator on the elements of this collection.

contains

public boolean contains(char k)
Specified by:
contains in interface CharCollection
Overrides:
contains in class AbstractCharCollection
See Also:
Collection.contains(Object)

size

public int size()
Specified by:
size in interface Collection<Character>
Specified by:
size in class AbstractCollection<Character>

clear

public void clear()
Specified by:
clear in interface Collection<Character>
Overrides:
clear in class AbstractCollection<Character>


Copyright © 2011. All Rights Reserved.