Class DeltaTriple<T>

    • Constructor Detail

      • DeltaTriple

        public DeltaTriple()
      • DeltaTriple

        public DeltaTriple​(Supplier<T> initializer)
    • Method Detail

      • getPlus

        public T getPlus()
      • setPlus

        public void setPlus​(T plus)
      • getZero

        public T getZero()
      • setZero

        public void setZero​(T zero)
      • getMinus

        public T getMinus()
      • setMinus

        public void setMinus​(T minus)
      • foreach

        public void foreach​(Processor<T> processor)
        Description copied from interface: Foreachable
        Will call processor for every element in the instance. This is NOT recursive. E.g. in case of collection of collections the processor will NOT be called for elements of the inner collections. If you need recursion please have a look at Visitor.
        Specified by:
        foreach in interface Foreachable<T>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object