1 7 package org.jboss.cache; 8 9 import java.util.Map ; 10 import java.util.Set ; 11 12 22 public interface Node 23 { 24 27 Node getParent(); 28 29 32 Set <Node> getChildren(); 33 34 37 Set <Object > getChildrenNames(); 38 39 42 Map <Object , Object > getData(); 43 44 47 Set <Object > getKeys(); 48 49 52 Fqn getFqn(); 53 54 65 Node addChild(Fqn f); 66 67 74 void removeChild(Fqn f); 75 76 81 void removeChild(Object childName); 82 83 84 90 Node getChild(Fqn f); 91 92 95 Node getChild(Object name); 96 97 105 Object put(Object k, Object v); 106 107 114 void putIfAbsent(Object k, Object v); 115 116 126 void put(Map <Object , Object > m); 127 128 136 void putIfAbsent(Map <Object , Object > m); 137 138 144 Object get(Object k); 145 146 152 Object remove(Object k); 153 154 157 void clearData(); 158 159 163 boolean hasChild(Fqn f); 164 } 165 | Popular Tags |