Modifier and Type | Method and Description |
---|---|
Iterator<VertexProperty> |
getProperties()
Returns an iterator over the element's properties,
or an empty iterator, if the element does not have any property.
|
Iterator<VertexProperty> |
getProperties(String name)
Returns all the properties of this element
that have the given
name ,
or an empty iterator, if such a property name
does not exist. |
VertexProperty |
getProperty(String name)
Returns the first property of this element
that has the given
name ,
or null , if such a property name
does not exist. |
getId, getLabel, getPropertyNames
VertexProperty getProperty(String name)
name
,
or null
, if such a property name
does not exist.
If more than one property of this element has the given name, which one will be returned is unspecified.
getProperty
in interface Element
name
.Iterator<VertexProperty> getProperties(String name)
name
,
or an empty iterator, if such a property name
does not exist.
The returned iterator is immutable.
getProperties
in interface Element
name
.Iterator<VertexProperty> getProperties()
The returned iterator is immutable.
getProperties
in interface Element