Constructor and Description |
---|
Traits() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Trait t)
Add a trait.
|
boolean |
containsTrait(int kind,
Name name)
Does this Traits collection contain the specified element?
|
int |
getTraitCount() |
Iterator<Trait> |
iterator() |
public int getTraitCount()
public boolean add(Trait t)
t
- - the trait to add.public boolean containsTrait(int kind, Name name)
kind
- - the low nibble of a kind byte.name
- - the desired Name.Copyright © 2016 The Apache Software Foundation. All rights reserved.