Class FpIfTargetOlder

  • All Implemented Interfaces:
    org.cactoos.BiFunc<Path,​Path,​Path>, Footprint

    public final class FpIfTargetOlder
    extends FpEnvelope
    Footprint that behaves like one of the given wrapped footprints depending on the result of comparison target and source in terms of last modified date.
    Since:
    0.41
    • Constructor Detail

      • FpIfTargetOlder

        public FpIfTargetOlder​(org.cactoos.Func<Path,​Path> destination,
                               Footprint first,
                               Footprint second)
        Ctor.
        Parameters:
        destination - Function that modifies result target path
        first - First wrapped footprint
        second - Second wrapped footprint