All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.iodesystems.fn.tree.NodeWithParent Maven / Gradle / Ivy

Go to download

Fn is a lazy Java Library that helps utilize some rudimentary functional concepts with more nounular objects

There is a newer version: 3.0.4
Show newest version
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