Package gnu.trove.map.hash

# Class TDoubleObjectHashMap.ValueView

java.lang.Object
java.util.AbstractCollection<V>
java.util.AbstractSet<V>
gnu.trove.map.hash.TDoubleObjectHashMap.ValueView

All Implemented Interfaces:
  `Iterable<V>`, `Collection<V>`, `Set<V>`

Enclosing class:
  `TDoubleObjectHashMap<V>`

protected class TDoubleObjectHashMap.ValueView extends AbstractSet<V>
a view onto the values of the map.

## Constructor Summary

Constructors
Modifier
Constructor
Description
`protected`
`ValueView()`

## Method Summary

Modifier and Type
Method
Description
`boolean`
`add(V obj)`
`boolean`
`addAll(Collection<? extends V> collection)`
`void`
`clear()`
`boolean`
`contains(Object key)`
`boolean`
`containsElement(V value)`
`boolean`
`isEmpty()`
`Iterator<V>`
`iterator()`
`boolean`
`remove(Object o)`
`boolean`
`removeElement(V value)`
`boolean`
`retainAll(Collection<?> collection)`
`int`
`size()`
`Object[]`
`toArray()`
`<T> T[]`
`toArray(T[] a)`

### Methods inherited from class java.util.AbstractSet

`equals, hashCode, removeAll`

### Methods inherited from class java.util.AbstractCollection

`containsAll, toString`

### Methods inherited from class java.lang.Object

`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

### Methods inherited from interface java.util.Collection

`parallelStream, removeIf, stream, toArray`

### Methods inherited from interface java.lang.Iterable

`forEach`

### Methods inherited from interface java.util.Set

`containsAll, equals, hashCode, removeAll, spliterator`

## Constructor Details

### ValueView

protected ValueView()

## Method Details

### iterator

public Iterator<V> iterator()

Specified by:
  `iterator` in interface `Collection<V>`
Specified by:
  `iterator` in interface `Iterable<V>`
Specified by:
  `iterator` in interface `Set<V>`

### containsElement

public boolean containsElement(V value)

### removeElement

public boolean removeElement(V value)

### contains

public boolean contains(Object key)

Specified by:
  `contains` in interface `Collection<E>`
Specified by:
  `contains` in interface `Set<E>`
Overrides:
  `contains` in class `AbstractCollection<E>`

### remove

public boolean remove(Object o)

Specified by:
  `remove` in interface `Collection<E>`
Specified by:
  `remove` in interface `Set<E>`
Overrides:
  `remove` in class `AbstractCollection<E>`

### clear

public void clear()

Specified by:
  `clear` in interface `Collection<E>`
Specified by:
  `clear` in interface `Set<E>`
Overrides:
  `clear` in class `AbstractCollection<E>`

### add

public boolean add(V obj)

Specified by:
  `add` in interface `Collection<E>`
Specified by:
  `add` in interface `Set<E>`
Overrides:
  `add` in class `AbstractCollection<E>`

### size

public int size()

Specified by:
  `size` in interface `Collection<E>`
Specified by:
  `size` in interface `Set<E>`
Specified by:
  `size` in class `AbstractCollection<E>`

### toArray

public Object[] toArray()

Specified by:
  `toArray` in interface `Collection<E>`
Specified by:
  `toArray` in interface `Set<E>`
Overrides:
  `toArray` in class `AbstractCollection<E>`

### toArray

public <T> T[] toArray(T[] a)

Specified by:
  `toArray` in interface `Collection<E>`
Specified by:
  `toArray` in interface `Set<E>`
Overrides:
  `toArray` in class `AbstractCollection<E>`

### isEmpty

public boolean isEmpty()

Specified by:
  `isEmpty` in interface `Collection<E>`
Specified by:
  `isEmpty` in interface `Set<E>`
Overrides:
  `isEmpty` in class `AbstractCollection<E>`

### addAll

public boolean addAll(Collection<? extends V> collection)

Specified by:
  `addAll` in interface `Collection<E>`
Specified by:
  `addAll` in interface `Set<E>`
Overrides:
  `addAll` in class `AbstractCollection<E>`

### retainAll

public boolean retainAll(Collection<?> collection)

Specified by:
  `retainAll` in interface `Collection<E>`
Specified by:
  `retainAll` in interface `Set<E>`
Overrides:
  `retainAll` in class `AbstractCollection<E>`