Class TypeSwitch1.Node<O>

  • Enclosing class:
    TypeSwitch1<I,​O>

    protected static class TypeSwitch1.Node<O>
    extends Object
    • Field Detail

      • children

        protected Set<N extends com.g2forge.alexandria.java.type.function.ANode<O,​N>> children
    • Method Detail

      • apply

        protected <I> O apply​(IFunction1<? super I,​? extends O> fallback,
                              I input)
      • isObjectRoot

        protected boolean isObjectRoot()
      • toString

        public String toString()
      • computeRoot

        protected static <F,​O,​N extends com.g2forge.alexandria.java.type.function.ANode<O,​N>> N computeRoot​(Collection<? extends F> functions,
                                                                                                                              IFunction1<? super F,​? extends N> createNode)
      • split

        protected static <O,​N extends com.g2forge.alexandria.java.type.function.ANode<O,​N>> List<N> split​(N newChild,
                                                                                                                      N existingParent,
                                                                                                                      IConsumer1<N> siblings)
      • clean

        protected void clean()
      • getChildren

        public Set<N> getChildren()