Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Skinner (0.49 sec)

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

        assertEquals("FooBar{}", toTest);
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToStringHelper_localInnerClass() {
        // Local inner classes have names ending like "Outer.$1Inner"
        class LocalInnerClass {}
        String toTest = MoreObjects.toStringHelper(new LocalInnerClass()).toString();
        assertEquals("LocalInnerClass{}", toTest);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/MoreObjectsTest.java

        tester.testAllPublicStaticMethods(MoreObjects.class);
        tester.testAllPublicInstanceMethods(MoreObjects.toStringHelper(new TestClass()));
      }
    
      /** Test class for testing formatting of inner classes. */
      private static class TestClass {}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 2K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

      }
    
      private class Inner {
        public Inner(String s) {
          checkNotNull(s);
        }
      }
    
      public void testNonStaticInnerClass() {
        IllegalArgumentException expected =
            assertThrows(
                IllegalArgumentException.class,
                () -> new NullPointerTester().testAllPublicConstructors(Inner.class));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/PredicatesTest.java

      }
    
      public void testIn_handlesNullPointerException() {
        class CollectionThatThrowsNPE<T> extends ArrayList<T> {
          @J2ktIncompatible // Kotlin doesn't support companions for inner classes
          private static final long serialVersionUID = 1L;
    
          @Override
          public boolean contains(@Nullable Object element) {
            Preconditions.checkNotNull(element);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterables.java

       * smaller). For example, partitioning an iterable containing {@code [a, b, c, d, e]} with a
       * partition size of 3 yields {@code [[a, b, c], [d, e]]} -- an outer iterable containing two
       * inner lists of three and two elements, all in the original order.
       *
       * <p>Iterators returned by the returned iterable do not support the {@link Iterator#remove()}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

        assertEquals("FooBar{}", toTest);
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToStringHelper_localInnerClass() {
        // Local inner classes have names ending like "Outer.$1Inner"
        class LocalInnerClass {}
        String toTest = MoreObjects.toStringHelper(new LocalInnerClass()).toString();
        assertEquals("LocalInnerClass{}", toTest);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/MoreObjectsTest.java

        tester.testAllPublicStaticMethods(MoreObjects.class);
        tester.testAllPublicInstanceMethods(MoreObjects.toStringHelper(new TestClass()));
      }
    
      /** Test class for testing formatting of inner classes. */
      private static class TestClass {}
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

                !item.equals(item.toString()));
          }
        }
      }
    
      /**
       * Class used to test whether equals() correctly handles an instance of an incompatible class.
       * Since it is a private inner class, the invoker can never pass in an instance to the tester
       */
      private enum NotAnInstance {
        EQUAL_TO_NOTHING;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.graph.GraphConstants.INNER_CAPACITY;
    import static com.google.common.graph.GraphConstants.INNER_LOAD_FACTOR;
    import static com.google.common.graph.Graphs.checkNonNegative;
    import static com.google.common.graph.Graphs.checkPositive;
    
    import com.google.common.base.Function;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 18K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Lists.java

       * c, d, e]} with a partition size of 3 yields {@code [[a, b, c], [d, e]]} -- an outer list
       * containing two inner lists of three and two elements, all in the original order.
       *
       * <p>The outer list is unmodifiable, but reflects the latest state of the source list. The inner
       * lists are sublist views of the original list, produced on demand using {@link List#subList(int,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
Back to top