graphlab.graph.atributeset
Class EdgeAttrSet
java.lang.Object
graphlab.graph.atributeset.EdgeAttrSet
- All Implemented Interfaces:
- AttributeSet
public class EdgeAttrSet
- extends java.lang.Object
- implements AttributeSet
- Author:
- Azin Azadi
- See Also:
GraphAttrSet
Method Summary |
java.lang.Object |
get(java.lang.String atrName)
|
java.util.Map<java.lang.String,java.lang.Object> |
getAttrs()
|
void |
put(java.lang.String atrName,
java.lang.Object val)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOURCE
public static final java.lang.String SOURCE
- See Also:
- Constant Field Values
TARGET
public static final java.lang.String TARGET
- See Also:
- Constant Field Values
WEIGHT
public static final java.lang.String WEIGHT
- See Also:
- Constant Field Values
LABEL
public static final java.lang.String LABEL
- See Also:
- Constant Field Values
SHOW_WEIGHT
public static final java.lang.String SHOW_WEIGHT
- See Also:
- Constant Field Values
COLOR
public static final java.lang.String COLOR
- See Also:
- Constant Field Values
MARK
public static final java.lang.String MARK
- See Also:
- Constant Field Values
STROKE
public static final java.lang.String STROKE
- See Also:
- Constant Field Values
LABEL_LOCATION
public static final java.lang.String LABEL_LOCATION
- See Also:
- Constant Field Values
ARROW
public static final java.lang.String ARROW
- See Also:
- Constant Field Values
CURVE_CONTROL_POINT
public static final java.lang.String CURVE_CONTROL_POINT
- See Also:
- Constant Field Values
EdgeAttrSet
public EdgeAttrSet(EdgeModel e)
put
public void put(java.lang.String atrName,
java.lang.Object val)
- Specified by:
put
in interface AttributeSet
get
public java.lang.Object get(java.lang.String atrName)
- Specified by:
get
in interface AttributeSet
getAttrs
public java.util.Map<java.lang.String,java.lang.Object> getAttrs()
- Specified by:
getAttrs
in interface AttributeSet
- Returns:
- a unmodifiable copy of attributes in this object