Returns the number of attributes of the attribute list that begins with this attribute. @return the number of attributes of the attribute list that begins with this attribute.
()
| 165 | * @return the number of attributes of the attribute list that begins with this attribute. |
| 166 | */ |
| 167 | final int getAttributeCount() { |
| 168 | int count = 0; |
| 169 | Attribute attribute = this; |
| 170 | while (attribute != null) { |
| 171 | count += 1; |
| 172 | attribute = attribute.nextAttribute; |
| 173 | } |
| 174 | return count; |
| 175 | } |
| 176 | |
| 177 | /** |
| 178 | * Returns the total size in bytes of all the attributes in the attribute list that begins with |
no outgoing calls
no test coverage detected