/* 115: */ /* 116: */ public Object remove(int index) /* 117: */ { /* 118:126 */ BeanAttribute attribute = (BeanAttribute) get(index); /* 119:127 */ Object oldValue = attribute.getValue(); /* 120:128 */ attribute.setValue(null); /* 121: */ /* 122:130 */ return oldValue; /* 123: */ }
/* 124: */ /* 125: */ public void clear() /* 126: */ { /* 127:134 */ int i = 0; /* 128:134 */ for (int size = this.attributes.length; i < size; i++) /* 129: */ { /* 130:135 */ BeanAttribute attribute = this.attributes[i]; /* 131:137 */ if (attribute != null) { /* 132:138 */ attribute.setValue(null); /* 133: */ } /* 134: */ } /* 135: */ }