Package hydra.pg.model
Class ElementTree<V>
- java.lang.Object
-
- hydra.pg.model.ElementTree<V>
-
- All Implemented Interfaces:
java.io.Serializable
public class ElementTree<V> extends java.lang.Object implements java.io.Serializable
An element together with its dependencies in some context- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<ElementTree<V>>
dependencies
static Name
FIELD_NAME_DEPENDENCIES
static Name
FIELD_NAME_SELF
Element<V>
self
static Name
TYPE_NAME
-
Constructor Summary
Constructors Constructor Description ElementTree(Element<V> self, java.util.List<ElementTree<V>> dependencies)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
ElementTree
withDependencies(java.util.List<ElementTree<V>> dependencies)
ElementTree
withSelf(Element<V> self)
-
-
-
Constructor Detail
-
ElementTree
public ElementTree(Element<V> self, java.util.List<ElementTree<V>> dependencies)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
withSelf
public ElementTree withSelf(Element<V> self)
-
withDependencies
public ElementTree withDependencies(java.util.List<ElementTree<V>> dependencies)
-
-