Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. guava-tests/test/com/google/common/collect/ComparisonChainTest.java

        FALSE,
        MAYBE,
        TRUE,
      }
    
      static class Foo {
        private final String aString;
        private final int anInt;
        private final @Nullable TriState anEnum;
    
        Foo(String aString, int anInt, @Nullable TriState anEnum) {
          this.aString = aString;
          this.anInt = anInt;
          this.anEnum = anEnum;
        }
    
        @Override
        public String toString() {
          return toStringHelper(this)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 13:27:08 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. 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