Class FileNode<T>

java.lang.Object
net.mcreator.io.tree.FileNode<T>

public class FileNode<T> extends Object
  • Field Details

    • childs

      public final List<FileNode<T>> childs
    • leafs

      public final List<FileNode<T>> leafs
    • data

      public final String data
    • incrementalPath

      public final String incrementalPath
    • object

      @Nullable public final T object
  • Constructor Details

    • FileNode

      public FileNode(String nodeValue, String incrementalPath)
    • FileNode

      public FileNode(String nodeValue, String incrementalPath, @Nullable T object)
  • Method Details

    • getObject

      @Nullable public T getObject()
    • isLeaf

      public boolean isLeaf()
    • splitPath

      public String[] splitPath()
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object