Interface VelocitySensor

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface VelocitySensor
    A sensor which detects velocity
    • Method Detail

      • getVelocity

        double getVelocity()
        Returns:
        the velocity