Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,392 for Subject (0.15 sec)

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

      public void testReuseBuilderReducingHashTableSizeWithPowerOfTwoTotalElements() {
        ImmutableSet.Builder<Object> builder = ImmutableSet.builderWithExpectedSize(6);
        builder.add(0);
        ImmutableSet<Object> unused = builder.build();
        ImmutableSet<Object> subject = builder.add(1).add(2).add(3).build();
        assertFalse(subject.contains(4));
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableList.java

      @Override
      public int indexOf(@CheckForNull Object object) {
        return (object == null) ? -1 : Lists.indexOfImpl(this, object);
      }
    
      @Override
      public int lastIndexOf(@CheckForNull Object object) {
        return (object == null) ? -1 : Lists.lastIndexOfImpl(this, object);
      }
    
      @Override
      public boolean contains(@CheckForNull Object object) {
        return indexOf(object) >= 0;
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  3. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    more if you'd rather not.'
    
      `We indeed!' cried the Mouse, who was trembling down to the end
    of his tail.  `As if I would talk on such a subject!  Our family
    always HATED cats:  nasty, low, vulgar things!  Don't let me hear
    the name again!'
    
      `I won't indeed!' said Alice, in a great hurry to change the
    subject of conversation.  `Are you--are you fond--of--of dogs?'
    The Mouse did not answer, so Alice went on eagerly:  `There is
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Hashing.java

            bitSum += function.bits();
          }
          return bitSum;
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
          if (object instanceof ConcatenatedHashFunction) {
            ConcatenatedHashFunction other = (ConcatenatedHashFunction) object;
            return Arrays.equals(functions, other.functions);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  5. README.md

    -   [guava-discuss: For open-ended questions and discussion](https://groups.google.com/group/guava-discuss)
    
    ## IMPORTANT WARNINGS
    
    1.  APIs marked with the `@Beta` annotation at the class or method level are
        subject to change. They can be modified in any way, or even removed, at any
        time. If your code is a library itself (i.e., it is used on the CLASSPATH of
        users outside your own control), you should not use beta APIs unless you
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

        } catch (UnsupportedOperationException expected) {
        }
        expectUnchanged();
        assertTrue(collection.contains(e0()));
      }
    
      /*
       * AbstractCollection fails the removeAll(null) test when the subject
       * collection is empty, but we'd still like to test removeAll(null) when we
       * can. We split the test into empty and non-empty cases. This allows us to
       * suppress only the former.
       */
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSortedSet.java

                ImmutableList.asImmutableList(elements, n), comparator);
          }
        }
      }
    
      int unsafeCompare(Object a, @CheckForNull Object b) {
        return unsafeCompare(comparator, a, b);
      }
    
      static int unsafeCompare(Comparator<?> comparator, Object a, @CheckForNull Object b) {
        // Pretend the comparator can compare anything. If it turns out it can't
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/TearDown.java

       *
       * <p>tl4j details: For backwards compatibility, {@code junit3.TearDownTestCase} currently does
       * not fail a test when an exception is thrown from one of its {@link TearDown} instances, but
       * this is subject to change. Also, {@code junit4.TearDownTestCase} will.
       *
       * @throws Exception for any reason. {@code TearDownTestCase} ensures that any exception thrown
       *     will not interfere with other TearDown operations.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSortedMap.java

       *
       * @throws UnsupportedOperationException always
       * @deprecated <b>Pass keys of type {@code Comparable} to use {@link
       *     ImmutableSortedMap#of(Comparable, Object, Comparable, Object, Comparable, Object,
       *     Comparable, Object, Comparable, Object)}.</b>
       */
      @DoNotCall("Pass keys of type Comparable")
      @Deprecated
      public static <K, V> ImmutableSortedMap<K, V> of(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/annotations/Beta.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Signifies that a public API (public class, method or field) is subject to incompatible changes,
     * or even removal, in a future release. An API bearing this annotation is exempt from any
     * compatibility guarantees made by its containing library. Note that the presence of this
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 1.8K bytes
    - Viewed (0)
Back to top