Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ForwardsToTheWrongMethod (0.2 sec)

  1. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

        }
      }
    
      public interface Arithmetic extends Adder {
        int minus(int a, int b);
      }
    
      private static class ForwardsToTheWrongMethod implements Arithmetic {
        private final Arithmetic arithmetic;
    
        ForwardsToTheWrongMethod(Arithmetic arithmetic) {
          this.arithmetic = arithmetic;
        }
    
        @Override
        public int minus(int a, int b) { // bad!
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 15.7K bytes
    - Viewed (0)
Back to top