mondrian.olap
Class Util.PropertyList

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

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

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

 

Field Summary
(package private)  List<Pair<String,String>> list
           
 
Constructor Summary
Util.PropertyList()
           
 
Method Summary
 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
clone, 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

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>>

SourceForge.net_Logo