Class CollectionUtil

java.lang.Object
ch.kk7.confij.binding.collection.CollectionUtil

public class CollectionUtil
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    CollectionUtil()  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<ConfijNode> childrenAsContinuousList​(ConfijNode parentNode)
    finds all children of a node (which are organized as a map) and returns them as a continuous List.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CollectionUtil

      public CollectionUtil()
  • Method Details

    • childrenAsContinuousList

      public java.util.List<ConfijNode> childrenAsContinuousList​(ConfijNode parentNode)
      finds all children of a node (which are organized as a map) and returns them as a continuous List.
      Parameters:
      parentNode - the parent node of which we want the children
      Returns:
      the List of child nodes (without null elements)