Add the given attribute, with key equal to its class.
Returns a sequence of all attributes with classes assignable to C (i.
Returns a sequence of all attributes with classes assignable to C (i.e. that are either C or a subclass of C).
Fetch the first value associated with the given class.
Fetch the first value associated with the given class. If none present, return null.
Fetch the first value associated with the given class.
Fetch the first value associated with the given class. If none present, return null.
The capacity of the array holding the attributes.
The capacity of the array holding the attributes. May be more than "length", the number of attributes present.
Return true if there is an attribute of class equal to or subclass of the argument.
Return true if there is an attribute of class equal to or subclass of the argument.
Make sure there is capacity of at least "cap"
Fetch the first attribute who class is exactly equal to the given class.
Fetch the first attribute who class is exactly equal to the given class. If none present, return null.
Increase capacity by "incr".
Returns the index of the last attribute whose class is assignable from the argument.
Returns the index of the last attribute whose class is assignable from the argument. Attributes occur in the order in which they were inserted. Note this means you can add a:MyClass, then add b:SubclassOfMyClass, then index[MyClass] will return the index of "b".
Returns the index of the last attribute whose class is assignable from the argument.
Returns the index of the last attribute whose class is assignable from the argument. Attributes occur in the order in which they were inserted. Note this means you can add a:MyClass, then add b:SubclassOfMyClass, then index[MyClass] will return the index of "b".
Return the index of the last attribute whose class is exactly the argument.
Return the index of the last attribute whose class is exactly the argument. Attributes occur in the order in which they were inserted.
The number of attributes present.
Remove all attributes with class matching or subclass of C.
Remove all attributes with class matching or subclass of C. For example, to remove all attributes call remove[AnyRef]. If call results in no removals, will not throw an Error.
Remove the attribute at index i.
Re-allocate the attribute array to remove any excess capacity
Return a sequence of all attributes
A collection of attributes, keyed by the attribute class.