Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 593 for doesn (4.82 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java

            "multiset.entrySet() has incorrect hash code",
            1 ^ e0().hashCode(),
            getMultiset().entrySet().hashCode());
      }
    
      public void testEquals_yes() {
        assertTrue(
            "multiset doesn't equal a multiset with the same elements",
            getMultiset().equals(HashMultiset.create(getSampleElements())));
      }
    
      public void testEquals_differentSize() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java

        assertThat(emptyGraph.allowsSelfLoops()).isTrue();
        assertThat(emptyGraph.nodeOrder()).isEqualTo(ElementOrder.<String>natural());
      }
    
      /**
       * Tests that the ImmutableGraph.Builder doesn't change when the creating GraphBuilder changes.
       */
      @Test
      @SuppressWarnings("CheckReturnValue")
      public void immutableGraphBuilder_copiesGraphBuilder() {
        GraphBuilder<String> graphBuilder =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jan 09 20:24:43 GMT 2020
    - 4.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/NullnessCasts.java

       * add the suppression to the whole method (which turns off checking for a large section of code),
       * or extract a variable, and put the suppression on that. However, a local variable typically
       * doesn't work: Because nullness analyses typically infer the nullness of local variables,
       * there's no way to assign a {@code @Nullable T} to a field {@code T foo;} and instruct the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Aug 17 15:44:29 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          implements TestSetGenerator<UnhashableObject> {}
    
      private static Ordering<String> createExplicitComparator(String[] elements) {
        // Collapse equal elements, which Ordering.explicit() doesn't support, while
        // maintaining the ordering by first occurrence.
        Set<String> elementsPlus = Sets.newLinkedHashSet();
        elementsPlus.add(BEFORE_FIRST);
        elementsPlus.add(BEFORE_FIRST_2);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        checkSerialization(Predicates.in(Arrays.asList(1, 2, 3, null)));
      }
    
      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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/IterablesTest.java

        // Changes after are not
        list.set(0, 5);
    
        assertEquals(ImmutableList.of(3, 4), first);
      }
    
      @J2ktIncompatible // Arrays.asList(...).subList() doesn't implement RandomAccess in J2KT.
      @GwtIncompatible // Arrays.asList(...).subList doesn't implement RandomAccess in GWT
      public void testPartitionRandomAccessInput() {
        Iterable<Integer> source = asList(1, 2, 3);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/annotations/GwtIncompatible.java

    @Documented
    @GwtCompatible
    public @interface GwtIncompatible {
      /**
       * Describes why the annotated element is incompatible with GWT. Since this is generally due to a
       * dependence on a type/method which GWT doesn't support, it is sufficient to simply reference the
       * unsupported type/method. E.g. "Class.isInstance".
       *
       * <p>As of Guava 20.0, this value is optional. We encourage authors who wish to describe why an
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 16:29:08 GMT 2017
    - 1.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

        testers.add(SetAddTester.class);
        testers.add(SetCreationTester.class);
        testers.add(SetHashCodeTester.class);
        testers.add(SetEqualsTester.class);
        testers.add(SetRemoveTester.class);
        // SetRemoveAllTester doesn't exist because, Sets not permitting
        // duplicate elements, there are no tests for Set.removeAll() that aren't
        // covered by CollectionRemoveAllTester.
        return testers;
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

      }
    
      public static class GoodEqualsFactory {
        public static Object good(
            String a,
            int b,
            // oneConstantOnly doesn't matter since it's not nullable and can be only 1 value.
            @SuppressWarnings("unused") OneConstantEnum oneConstantOnly,
            // noConstant doesn't matter since it can only be null
            @SuppressWarnings("unused") @Nullable NoConstantEnum noConstant) {
          return new GoodEquals(a, b);
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

      @GwtIncompatible // suite
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        // Not testing rowKeySet() or columnKeySet() of Table.transformValues()
        // since the transformation doesn't affect the row and column key sets.
    
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
Back to top