org.ini4j
Interface MultiMap<K,V>

All Superinterfaces:
Map<K,V>
All Known Subinterfaces:
OptionMap, Profile, Profile.Section, Registry, Registry.Key
All Known Implementing Classes:
BasicMultiMap, BasicOptionMap, BasicProfile, BasicRegistry, CommonMultiMap, Ini, Options, Reg, Wini

public interface MultiMap<K,V>
extends Map<K,V>


Nested Class Summary
 
Nested classes/interfaces inherited from interface Map
Map.Entry<K,V>
 
Method Summary
 void add(K key, V value)
           
 void add(K key, V value, int index)
           
 V get(Object key, int index)
           
 List<V> getAll(Object key)
           
 int length(Object key)
           
 V put(K key, V value, int index)
           
 List<V> putAll(K key, List<V> values)
           
 V remove(Object key, int index)
           
 
Methods inherited from interface Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

getAll

List<V> getAll(Object key)

add

void add(K key,
         V value)

add

void add(K key,
         V value,
         int index)

get

V get(Object key,
      int index)

length

int length(Object key)

put

V put(K key,
      V value,
      int index)

putAll

List<V> putAll(K key,
               List<V> values)

remove

V remove(Object key,
         int index)


Copyright © 2011. All Rights Reserved.