cascading.lingual.util
Class MultiProperties<K>

java.lang.Object
  extended by cascading.lingual.util.MultiProperties<K>
All Implemented Interfaces:
Serializable

public class MultiProperties<K>
extends Object
implements Serializable

Class MultiProperties is a simple version of a nested multi-map, that is, a Map of MultiMap instances.

See Also:
Serialized Form

Constructor Summary
MultiProperties()
           
 
Method Summary
 void addProperties(K k, Map<String,List<String>> properties)
           
 void addProperty(K k, String property, List<String> list)
           
 void addProperty(K k, String property, String... values)
           
 boolean equals(Object object)
           
 Map<K,List<String>> getKeyFor(String property)
           
protected  Map<K,Map<String,List<String>>> getProperties()
           
 Map<String,List<String>> getValueFor(K k)
           
 int hashCode()
           
protected  void setProperties(Map<K,Map<String,List<String>>> map)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiProperties

public MultiProperties()
Method Detail

setProperties

protected void setProperties(Map<K,Map<String,List<String>>> map)

getProperties

protected Map<K,Map<String,List<String>>> getProperties()

addProperties

public void addProperties(K k,
                          Map<String,List<String>> properties)

addProperty

public void addProperty(K k,
                        String property,
                        String... values)

addProperty

public void addProperty(K k,
                        String property,
                        List<String> list)

getKeyFor

public Map<K,List<String>> getKeyFor(String property)

getValueFor

public Map<String,List<String>> getValueFor(K k)

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2007-2013 Concurrent, Inc. All Rights Reserved.