Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 668 for remote (0.22 sec)

  1. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                  @Override
                  public String toString() {
                    return map.toString();
                  }
    
                  @Override
                  public @Nullable String remove(Object key) {
                    return map.remove(key);
                  }
    
                  class EntrySet extends AbstractSet<Map.Entry<String, String>> {
                    @Override
                    public Iterator<Entry<String, String>> iterator() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                      }
                    })
                .named("Maps.asMap[Set, Function]")
                .withFeatures(
                    CollectionSize.ANY,
                    MapFeature.SUPPORTS_REMOVE,
                    CollectionFeature.SUPPORTS_ITERATOR_REMOVE)
                .createTestSuite());
        suite.addTest(
            SortedMapTestSuiteBuilder.using(
                    new TestMapGenerator<String, Integer>() {
                      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 32.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Iterables.java

          if (predicate.apply(list.get(n))) {
            list.remove(n);
          }
        }
        // And now remove everything in the range [to, from) (going backwards).
        for (int n = from - 1; n >= to; n--) {
          list.remove(n);
        }
      }
    
      /** Removes and returns the first matching element, or returns {@code null} if there is none. */
      @CheckForNull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ForwardingMultiset.java

      }
    
      /**
       * A sensible definition of {@link #remove(Object)} in terms of {@link #remove(Object, int)}. If
       * you override {@link #remove(Object, int)}, you may wish to override {@link #remove(Object)} to
       * forward to this implementation.
       *
       * @since 7.0
       */
      @Override
      protected boolean standardRemove(@CheckForNull Object element) {
        return remove(element, 1) > 0;
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java

       * implementation, because {@code map.get()} returns a view collection that changes in the course
       * of a call to {@code remove()}. Thus, the expectation doesn't hold that {@code map.remove(x)}
       * returns the same value which {@code map.get(x)} did immediately beforehand.
       */
      @Override
      public void testRemove() {
        final Map<String, Collection<Integer>> map;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

        rangeSet.add(Range.closed(3, 6));
        rangeSet.remove(Range.closedOpen(1, 3));
        testInvariants(rangeSet);
        assertThat(rangeSet.asRanges()).containsExactly(Range.closed(3, 6));
      }
    
      public void testRemovePartFromBelowLowerBound() {
        TreeRangeSet<Integer> rangeSet = TreeRangeSet.create();
        rangeSet.add(Range.closed(3, 6));
        rangeSet.remove(Range.closed(1, 3));
        testInvariants(rangeSet);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 24.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingQueue.java

        }
      }
    
      /**
       * A sensible definition of {@link #poll} in terms of {@link #remove}. If you override {@link
       * #remove}, you may wish to override {@link #poll} to forward to this implementation.
       *
       * @since 7.0
       */
      @CheckForNull
      protected E standardPoll() {
        try {
          return remove();
        } catch (NoSuchElementException caught) {
          return null;
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 4.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapValuesTester.java

        }
        assertEqualInOrder(expected, multimap().values());
      }
    
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      @CollectionSize.Require(ONE)
      public void testValuesIteratorRemove() {
        Iterator<V> valuesItr = multimap().values().iterator();
        valuesItr.next();
        valuesItr.remove();
        assertTrue(multimap().isEmpty());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapAsMapTester.java

        }
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testAsMapRemoveImplementsSortedSet() {
        List<K> keys = new ArrayList<>(multimap().keySet());
        for (K key : keys) {
          resetCollection();
          SortedSet<V> valueSet = (SortedSet<V>) multimap().asMap().remove(key);
          assertEquals(multimap().valueComparator(), valueSet.comparator());
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 2.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/FakeTicker.java

      @J2ktIncompatible
      @CanIgnoreReturnValue
      @SuppressWarnings("Java7ApiChecker") // guava-android can rely on library desugaring now.
      @IgnoreJRERequirement // TODO: b/288085449 - Remove this once we use library-desugaring scents.
      @Beta // TODO: b/288085449 - Remove @Beta after we're sure that Java 8 APIs are safe for Android
      public FakeTicker advance(Duration duration) {
        return advance(duration.toNanos());
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top