Package com.enonic.xp.node

## Class NodeBranchEntries

- java.lang.Object
- - com.enonic.xp.node.NodeBranchEntries

- All Implemented Interfaces:
    `Iterable<NodeBranchEntry>`

      public class NodeBranchEntries
      extends Object
      implements Iterable<NodeBranchEntry>

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `NodeBranchEntries.Builder` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static NodeBranchEntries.Builder` | `create()` |
    `static NodeBranchEntries` | `empty()` |
    `static NodeBranchEntries` | `from​(Collection<NodeBranchEntry> nodeBranchEntries)` |
    `NodeBranchEntry` | `get​(NodeId nodeId)` |
    `Set<NodeId>` | `getKeys()` |
    `Collection<NodeBranchEntry>` | `getSet()` |
    `int` | `getSize()` |
    `boolean` | `isNotEmpty()` |
    `Iterator<NodeBranchEntry>` | `iterator()` |
    `Stream<NodeBranchEntry>` | `stream()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.lang.Iterable

      `forEach, spliterator`

- - ### Method Detail

    - #### from

          public static NodeBranchEntries from​(Collection<NodeBranchEntry> nodeBranchEntries)

    - #### empty

          public static NodeBranchEntries empty()

    - #### create

          public static NodeBranchEntries.Builder create()

    - #### getSize

          public int getSize()

    - #### isNotEmpty

          public boolean isNotEmpty()

    - #### getSet

          public Collection<NodeBranchEntry> getSet()

    - #### stream

          public Stream<NodeBranchEntry> stream()

    - #### iterator

          public Iterator<NodeBranchEntry> iterator()

      Specified by:
        `iterator` in interface `Iterable<NodeBranchEntry>`

    - #### getKeys

          public Set<NodeId> getKeys()

    - #### get

          public NodeBranchEntry get​(NodeId nodeId)