add
public void add(Relation relation)
Add a new relation to the current relation set if it is not already present.
atk_relation_set_add
protected static final void atk_relation_set_add(Handle set,
Handle relation)
atk_relation_set_add_relation_by_type
protected static final void atk_relation_set_add_relation_by_type(Handle set,
int relationship,
Handle target)
atk_relation_set_contains
protected static final boolean atk_relation_set_contains(Handle set,
int relationship)
atk_relation_set_get_n_relations
protected static final int atk_relation_set_get_n_relations(Handle set)
atk_relation_set_get_relation
protected static final Handle atk_relation_set_get_relation(Handle set,
int index)
atk_relation_set_get_relation_by_type
protected static final Handle atk_relation_set_get_relation_by_type(Handle set,
int relationship)
atk_relation_set_get_type
protected static final int atk_relation_set_get_type()
atk_relation_set_new
protected static final Handle atk_relation_set_new()
atk_relation_set_remove
protected static final void atk_relation_set_remove(Handle set,
Handle relation)
contains
public boolean contains(RelationType relationship)
Determines whether the relation set contains a relation that matches
the specified type.
getNumRelations
public int getNumRelations()
getRelation
public Relation getRelation(int index)
remove
public void remove(Relation relation)
Remove a relation from the relation set.