001    package com.thaiopensource.util;
002    
003    public interface PropertyMap {
004      public static final PropertyMap EMPTY = new PropertyMap() {
005        public Object get(PropertyId pid) {
006          return null;
007        }
008    
009        public boolean contains(PropertyId pid) {
010          return false;
011        }
012    
013        public int size() {
014          return 0;
015        }
016    
017        public PropertyId getKey(int i) {
018          throw new IndexOutOfBoundsException();
019        }
020      };
021      Object get(PropertyId pid);
022      boolean contains(PropertyId pid);
023      int size();
024      PropertyId getKey(int i);
025    }