Class TypeSwitch2.Node<O>

    • Field Detail

      • children

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

      • apply

        protected <I0,​I1> O apply​(IFunction2<? super I0,​? super I1,​? extends O> fallback,
                                        I0 input0,
                                        I1 input1)
      • 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()