Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for firstEntry (0.09 sec)

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

        assertEquals(c, sortedMultiset.tailMultiset(b.getElement(), CLOSED).firstEntry());
        assertEquals(c, sortedMultiset.tailMultiset(c.getElement(), CLOSED).firstEntry());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testHigher() {
        resetWithHole();
        assertEquals(c, sortedMultiset.tailMultiset(a.getElement(), OPEN).firstEntry());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        assertEquals(c, sortedMultiset.tailMultiset(b.getElement(), CLOSED).firstEntry());
        assertEquals(c, sortedMultiset.tailMultiset(c.getElement(), CLOSED).firstEntry());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testHigher() {
        resetWithHole();
        assertEquals(c, sortedMultiset.tailMultiset(a.getElement(), OPEN).firstEntry());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CompactLinkedHashMap.java

       */
      @CheckForNull @VisibleForTesting transient long[] links;
    
      /** Pointer to the first node in the linked list, or {@code ENDPOINT} if there are no entries. */
      private transient int firstEntry;
    
      /** Pointer to the last node in the linked list, or {@code ENDPOINT} if there are no entries. */
      private transient int lastEntry;
    
      private final boolean accessOrder;
    
      CompactLinkedHashMap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate().descendingMap();
        }
    
        @Override
        public @Nullable Entry<K, V> firstEntry() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().firstEntry();
        }
    
        @Override
        public @Nullable Entry<K, V> floorEntry(K key) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().floorEntry(key);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/LinkedHashMultimap.java

        // entry object per key.
        private ValueSetLink<K, V> firstEntry;
        private ValueSetLink<K, V> lastEntry;
    
        ValueSet(@ParametricNullness K key, int expectedValues) {
          this.key = key;
          this.firstEntry = this;
          this.lastEntry = this;
          // Round expected values up to a power of 2 to get the table size.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TreeRangeMap.java

      }
    
      @Override
      public Range<K> span() {
        Entry<Cut<K>, RangeMapEntry<K, V>> firstEntry = entriesByLowerBound.firstEntry();
        Entry<Cut<K>, RangeMapEntry<K, V>> lastEntry = entriesByLowerBound.lastEntry();
        // Either both are null or neither is, but we check both to satisfy the nullness checker.
        if (firstEntry == null || lastEntry == null) {
          throw new NoSuchElementException();
        }
        return Range.create(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/TreeRangeMap.java

      }
    
      @Override
      public Range<K> span() {
        Entry<Cut<K>, RangeMapEntry<K, V>> firstEntry = entriesByLowerBound.firstEntry();
        Entry<Cut<K>, RangeMapEntry<K, V>> lastEntry = entriesByLowerBound.lastEntry();
        // Either both are null or neither is, but we check both to satisfy the nullness checker.
        if (firstEntry == null || lastEntry == null) {
          throw new NoSuchElementException();
        }
        return Range.create(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        valueIterator.next();
        valueIterator.remove();
        assertFalse(underlying.containsKey("e"));
    
        Set<Entry<String, String>> entries = map.entrySet();
        Entry<String, String> firstEntry = entries.iterator().next();
        entries.remove(firstEntry);
        assertFalse(underlying.containsKey("f"));
    
        Iterator<Entry<String, String>> entryIterator = entries.iterator();
        entryIterator.next();
        entryIterator.remove();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top