graphlab.platform.attribute
Interface AttributeSet
- All Known Subinterfaces:
- NotifiableAttributeSet, NotifiableAttributeSetView
- All Known Implementing Classes:
- AttributeSetImpl, EdgeAttrSet, EdgeNotifiableAttrSet, GraphAttrSet, GraphNotifiableAttrSet, NotifiableAttributeSetImpl, PortableNotifiableAttributeSetImpl, TimeLimitedNotifiableAttrSet, VertexAttrSet, VertexNotifiableAttrSet
public interface AttributeSet
The base interface for storing a set of attributes, it is very similar to a map.
- Author:
- Azin Azadi
Method Summary |
java.lang.Object |
get(java.lang.String name)
|
java.util.Map<java.lang.String,java.lang.Object> |
getAttrs()
|
void |
put(java.lang.String name,
java.lang.Object value)
|
getAttrs
java.util.Map<java.lang.String,java.lang.Object> getAttrs()
- Returns:
- a unmodifiable copy of attributes in this object
put
void put(java.lang.String name,
java.lang.Object value)
get
java.lang.Object get(java.lang.String name)