Class ComputerGraph.ComputerProperty<V>
java.lang.Object
org.apache.tinkerpop.gremlin.process.computer.util.ComputerGraph.ComputerProperty<V>
- All Implemented Interfaces:
Property<V>,WrappedProperty<Property<V>>
- Enclosing class:
- ComputerGraph
public class ComputerGraph.ComputerProperty<V>
extends Object
implements Property<V>, WrappedProperty<Property<V>>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Property
Property.Exceptions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionelement()Get the element that this property is associated with.booleaninthashCode()booleanWhether the property is empty or not.key()The key of the property.voidremove()Remove the property from the associated element.toString()value()The value of the property.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.tinkerpop.gremlin.structure.Property
ifPresent, orElse, orElseGet, orElseThrow
-
Constructor Details
-
ComputerProperty
-
-
Method Details
-
key
Description copied from interface:PropertyThe key of the property. -
value
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
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. -
getBaseProperty
- Specified by:
getBasePropertyin interfaceWrappedProperty<V>
-
toString
-
hashCode
public int hashCode() -
equals
-