Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for anInt (0.04 sec)

  1. guava-tests/test/com/google/common/base/PreconditionsTest.java

        // matches with the second parameter being boxed and without it being boxed.  The cast to Object
        // avoids this.
        checkState(aBoolean, "", aBoolean ? "" : anInt, (Object) anInt);
    
        // ambiguous without the .booleanValue() call since the boxing forces us into phase 2 resolution
        short s = 2;
        checkState(boxedBoolean.booleanValue(), "", s);
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top