it.unimi.dsi.fastutil.chars
Class AbstractChar2ByteSortedMap.ValuesCollection

java.lang.Object
  extended by java.util.AbstractCollection<Byte>
      extended by it.unimi.dsi.fastutil.bytes.AbstractByteCollection
          extended by it.unimi.dsi.fastutil.chars.AbstractChar2ByteSortedMap.ValuesCollection
All Implemented Interfaces:
ByteCollection, ByteIterable, Iterable<Byte>, Collection<Byte>
Enclosing class:
AbstractChar2ByteSortedMap

protected class AbstractChar2ByteSortedMap.ValuesCollection
extends AbstractByteCollection

A wrapper exhibiting the values of a map.


Constructor Summary
protected AbstractChar2ByteSortedMap.ValuesCollection()
           
 
Method Summary
 void clear()
           
 boolean contains(byte k)
           
 ByteIterator iterator()
          Returns a type-specific iterator on the elements of this collection.
 int size()
           
 
Methods inherited from class it.unimi.dsi.fastutil.bytes.AbstractByteCollection
add, add, addAll, addAll, byteIterator, contains, containsAll, containsAll, isEmpty, rem, rem, remove, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toByteArray, toByteArray, 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

AbstractChar2ByteSortedMap.ValuesCollection

protected AbstractChar2ByteSortedMap.ValuesCollection()
Method Detail

iterator

public ByteIterator iterator()
Description copied from interface: ByteCollection
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 ByteCollection
Specified by:
iterator in interface ByteIterable
Specified by:
iterator in interface Iterable<Byte>
Specified by:
iterator in interface Collection<Byte>
Specified by:
iterator in class AbstractByteCollection
Returns:
a type-specific iterator on the elements of this collection.

contains

public boolean contains(byte k)
Specified by:
contains in interface ByteCollection
Overrides:
contains in class AbstractByteCollection
See Also:
Collection.contains(Object)

size

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

clear

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


Copyright © 2011. All Rights Reserved.