Class SequencesJoinFloat

  • All Implemented Interfaces:
    Serializable, Cloneable

    public final class SequencesJoinFloat
    extends BinaryDerivation
    Derived variable representing the "join" of two sequences. That is, if the two sequences came from the same original data structure (like an array of multi-field objects) then we join the two sequences and generate a hashcode of the join value. This allows us to detect uniqueness and equality style invariants across the data structure rather than just one slice of it. Works for number and string arrays.
    See Also:
    Serialized Form
    • Field Detail

      • debug

        public static final Logger debug
        Debug tracer.
      • dkconfig_enabled

        public static boolean dkconfig_enabled
        Boolean. True iff SequencesJoin derived variables should be generated.
    • Method Detail

      • makeVarInfo

        protected VarInfo makeVarInfo()
        Description copied from class: Derivation
        Used by all child classes to actually create the VarInfo this represents, after which it is interned for getVarInfo().
        Specified by:
        makeVarInfo in class Derivation
      • isSameFormula

        @Pure
        public boolean isSameFormula​(Derivation other)
        Description copied from class: Derivation
        Returns true iff other and this represent the same derivation (modulo the variable they are applied to). Default implentation will just checks run-time type, but subclasses with state (e.g. SequenceInitial index) should match that, too.
        Specified by:
        isSameFormula in class Derivation
        Parameters:
        other - the Derivation to compare to
        Returns:
        true iff other and this represent the same derivation