com.iodesystems.fn.tree.NodeWithParent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fn Show documentation
Show all versions of fn Show documentation
Fn is a lazy Java Library that helps utilize some rudimentary functional concepts with more nounular objects
package com.iodesystems.fn.tree;
public class NodeWithParent {
private final NodeWithParent parent;
private final T item;
public NodeWithParent(T item) {
this(null, item);
}
public NodeWithParent(NodeWithParent parent, T item) {
this.parent = parent;
this.item = item;
}
public NodeWithParent getParent() {
return parent;
}
public T getItem() {
return item;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy