Interface NamedObjects<E extends NamedObject>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean containsKey​(@NotNull java.lang.String name)
      Check whether an object is defined.
      E get​(@NotNull java.lang.String objectName)
      Gets a AbstractNamedObject.
      @NotNull java.lang.String getName()
      Returns the tree name.
      @NotNull NamedTreeNode<E> getTreeRoot()
      Get the object tree root.
      java.util.Iterator<E> iterator()
      NamedObjects are iterated in Unicode (=case sensitive ASCII) order.
      int size()
      Get the number of objects.
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • getTreeRoot

        @NotNull
        @NotNull NamedTreeNode<E> getTreeRoot()
        Get the object tree root.
        Returns:
        object tree root
      • getName

        @NotNull
        @NotNull java.lang.String getName()
        Returns the tree name.
        Returns:
        the tree name
      • size

        int size()
        Get the number of objects.
        Returns:
        object count
      • get

        @Nullable
        E get​(@NotNull
              @NotNull java.lang.String objectName)
        Gets a AbstractNamedObject.
        Parameters:
        objectName - name of object
        Returns:
        named object for name objectName or null if none found
      • containsKey

        boolean containsKey​(@NotNull
                            @NotNull java.lang.String name)
        Check whether an object is defined.
        Parameters:
        name - object name to look for
        Returns:
        true if an object with that name is defined, otherwise false
      • iterator

        java.util.Iterator<E> iterator()
        NamedObjects are iterated in Unicode (=case sensitive ASCII) order.
        Specified by:
        iterator in interface java.lang.Iterable<E extends NamedObject>