Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.swtbot.swt.finder.utils
Class BidiMap<K,V>

    java.lang.Object
      org.eclipse.swtbot.swt.finder.utils.BidiMap<K,V>

All Implemented Interfaces:
  Iterable<Map.Entry<K,V>>

    public class BidiMap<K,V>

extends Object
implements Iterable<Map.Entry<K,V>>

Note: This is not error proof, and adding the same key twice with a different value will have uncertain results.

Version:
  $Id$
Author:
  Ketan Padegaonkar <KetanPadegaonkar [at] gmail [dot] com>

Constructor Summary
`BidiMap()`

Method Summary
`K` | `getKey(V v)`
`V` | `getValue(K k)`
`Iterator<Map.Entry<K,V>>` | `iterator()`
`void` | `put(K k, V v)`
`int` | `size()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### BidiMap

    public BidiMap()

Method Detail

### put

    public void put(K k,
                    V v)

### getKey

    public K getKey(V v)

### size

    public int size()

### iterator

    public Iterator<Map.Entry<K,V>> iterator()

  Specified by:
    `iterator` in interface `Iterable<Map.Entry<K,V>>`

### getValue

    public V getValue(K k)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD