Class EmptyProperty<V>
- java.lang.Object
 - 
- org.apache.tinkerpop.gremlin.structure.util.empty.EmptyProperty<V>
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Property
Property.Exceptions 
 - 
 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Elementelement()Get the element that this property is associated with.booleanequals(Object object)inthashCode()static <V> Property<V>instance()booleanisPresent()Whether the property is empty or not.Stringkey()The key of the property.voidremove()Remove the property from the associated element.StringtoString()Vvalue()The value of the property.- 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.Property
ifPresent, orElse, orElseGet, orElseThrow 
 - 
 
 - 
 
- 
- 
Method Detail
- 
value
public V value() throws NoSuchElementException
Description copied from interface:PropertyThe value of the property.- Specified by:
 valuein interfaceProperty<V>- Returns:
 - The property value
 - Throws:
 NoSuchElementException- thrown if the property is empty
 
- 
isPresent
public boolean isPresent()
Description copied from interface:PropertyWhether the property is empty or not. 
- 
element
public Element element()
Description copied from interface:PropertyGet the element that this property is associated with. 
- 
remove
public void remove()
Description copied from interface:PropertyRemove the property from the associated element. 
- 
instance
public static <V> Property<V> instance()
 
 - 
 
 -