AttributableHelper
, BaseEdge
, BaseNode
, BasicSequence
, CanonicalSequence
, CodonSequence
, CompactRootedTree
, ConsensusSequence
, FilteredRootedTree
, FilteredSequence
, GaplessSequence
, MutableRootedTree
, ReRootedTree
, RootedFromUnrooted
, RootedSubtree
, SimpleRootedTree
, SimpleTree
, SortedRootedTree
, Taxon
, TransformedRootedTree
, TranslatedSequence
public interface Attributable
Modifier and Type | Interface | Description |
---|---|---|
static class |
Attributable.Utils |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
getAttribute(java.lang.String name) |
|
java.util.Map<java.lang.String,java.lang.Object> |
getAttributeMap() |
Gets the entire attribute map.
|
java.util.Set<java.lang.String> |
getAttributeNames() |
|
void |
removeAttribute(java.lang.String name) |
|
void |
setAttribute(java.lang.String name,
java.lang.Object value) |
Sets an named attribute for this object.
|
void setAttribute(java.lang.String name, java.lang.Object value)
name
- the name of the attribute.value
- the new value of the attribute.java.lang.Object getAttribute(java.lang.String name)
name
- the name of the attribute of interest, or null if the attribute doesn't exist.void removeAttribute(java.lang.String name)
name
- name of attribute to removejava.util.Set<java.lang.String> getAttributeNames()
java.util.Map<java.lang.String,java.lang.Object> getAttributeMap()
http://code.google.com/p/jebl2/