Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 158 for Bass (0.15 sec)

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

         *
         * <p>This method is used when testing iterators without a known ordering. We poll the target
         * iterator's next element and pass it to the reference iterator through this method so it can
         * return the same element. This enables the assertion to pass and the reference iterator to
         * properly update its state.
         */
        void promoteToNext(E e) {
          if (nextElements.remove(e)) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/ClusterException.java

       *       in the {@code exceptions} collection.
       * </ul>
       *
       * <p>Though this method takes any {@link Collection}, it often makes most sense to pass a {@link
       * java.util.List} or some other collection that preserves the order in which the exceptions got
       * added.
       *
       * @throws NullPointerException if {@code exceptions} is null
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

        Map<K, V> delegateMap = Maps.newHashMapWithExpectedSize(n);
        // If duplicates are allowed, this map will track the last value for each duplicated key.
        // A second pass will retain only the first entry for that key, but with this last value. The
        // value will then be replaced by null, signaling that later entries with the same key should
        // be deleted.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

          fail("expected <" + e.getMessage() + "> to contain <" + message + ">");
        }
      }
    
      /**
       * Test class with valid equals and hashCode methods. Testers created with instances of this class
       * should always pass.
       */
      private static class ValidTestObject {
        private int aspect1;
        private int aspect2;
    
        ValidTestObject(int aspect1, int aspect2) {
          this.aspect1 = aspect1;
          this.aspect2 = aspect2;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ComparisonChain.java

       *
       * <p>This method is declared to accept any 2 {@code Comparable} objects, even if they are not <a
       * href="https://docs.oracle.com/javase/tutorial/collections/interfaces/order.html">mutually
       * comparable</a>. If you pass objects that are not mutually comparable, this method may throw an
       * exception. (The reason for this decision is lost to time, but the reason <i>might</i> be that
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Sep 21 17:28:11 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        }
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(final Collection<T> collection) {
        // return collection::iterator;
        return new Iterable<T>() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 15:23:21 GMT 2023
    - 20K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Suppliers.java

      private enum SupplierFunctionImpl implements SupplierFunction<@Nullable Object> {
        INSTANCE;
    
        // Note: This makes T a "pass-through type"
        @Override
        @CheckForNull
        public Object apply(Supplier<@Nullable Object> input) {
          return input.get();
        }
    
        @Override
        public String toString() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Monitor.java

       * without the guard being satisfied (due to timeout, but not interrupt) can then immediately exit
       * the monitor without signalling. If it timed out without being signalled, it does not need to
       * "pass on" the signal to another thread. If it *was* signalled, then its guard must have been
       * satisfied at the time of signal, and has since been modified by some other thread to be
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        }
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(final Collection<T> collection) {
        // return collection::iterator;
        return new Iterable<T>() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

       * int} values are boxed into {@link Integer} instances on demand, which can be very expensive.
       * The returned list should be used once and discarded. For any usages beyond that, pass the
       * returned list to {@link com.google.common.collect.ImmutableList#copyOf(Collection)
       * ImmutableList.copyOf} and use that list instead.
       */
      public List<Integer> asList() {
        /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
Back to top