|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TraitMap
Defines the operations on a collection of Trait instances.
| Method Summary | |
|---|---|
Object |
add(Trait trait)
Mutating method to add a trait to this map. |
Trait |
getTrait(String name)
Accessor method to retrieve a trait from the map by name |
int |
size()
Method to get the number of traits in this map. |
| Method Detail |
|---|
Object add(Trait trait)
trait -
HashMap.put(Object, Object).Trait getTrait(String name)
name -
name.int size()
HashMap.size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||