mondrian.olap
Class Util.PropertyList

java.lang.Object
  extended by mondrian.olap.Util.PropertyList
All Implemented Interfaces:
Serializable, Iterable<Pair<String,String>>
Enclosing class:
Util

public static class Util.PropertyList
extends Object
implements Iterable<Pair<String,String>>, Serializable

PropertyList is an order-preserving list of key-value pairs. Lookup is case-insensitive, but the case of keys is preserved.

See Also:
Serialized Form

Field Summary
(package private)  List<Pair<String,String>> list
           
 
Constructor Summary
Util.PropertyList()
           
 
Method Summary
 Util.PropertyList clone()
           
 String get(String key)
           
 String get(String key, String defaultValue)
           
 Iterator<Pair<String,String>> iterator()
           
 String put(String key, String value)
           
 boolean remove(String key)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

list

List<Pair<String,String>> list
Constructor Detail

Util.PropertyList

public Util.PropertyList()
Method Detail

clone

public Util.PropertyList clone()
Overrides:
clone in class Object

get

public String get(String key)

get

public String get(String key,
                  String defaultValue)

put

public String put(String key,
                  String value)

remove

public boolean remove(String key)

toString

public String toString()
Overrides:
toString in class Object

iterator

public Iterator<Pair<String,String>> iterator()
Specified by:
iterator in interface Iterable<Pair<String,String>>

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads