Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for overloadSelection (0.1 sec)

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

      // change would be a compiler error.
      // See http://docs.oracle.com/javase/specs/jls/se7/html/jls-15.html#jls-15.12.2 for the spec on
      // how javac selects overloads
      @SuppressWarnings("null")
      public void overloadSelection() {
        Boolean boxedBoolean = null;
        boolean aBoolean = true;
        Long boxedLong = null;
        int anInt = 1;
        // With a boxed predicate, no overloads can be selected in phase 1
    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