Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for firstEntry (0.23 sec)

  1. 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());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 25.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingNavigableMap.java

      }
    
      @Override
      @CheckForNull
      public Entry<K, V> firstEntry() {
        return delegate().firstEntry();
      }
    
      /**
       * A sensible definition of {@link #firstEntry} in terms of the {@code iterator()} of {@link
       * #entrySet}. If you override {@code entrySet}, you may wish to override {@code firstEntry} to
       * forward to this implementation.
       */
      @CheckForNull
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jun 15 18:11:44 GMT 2023
    - 14.5K 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() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

      }
    
      @Override
      @CheckForNull
      public Entry<K, V> firstEntry() {
        return delegate().firstEntry();
      }
    
      /**
       * A sensible definition of {@link #firstEntry} in terms of the {@code iterator()} of {@link
       * #entrySet}. If you override {@code entrySet}, you may wish to override {@code firstEntry} to
       * forward to this implementation.
       */
      @CheckForNull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 15 18:11:44 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java

      @Override
      void init(int expectedSize, float loadFactor) {
        super.init(expectedSize, loadFactor);
        firstEntry = ENDPOINT;
        lastEntry = ENDPOINT;
        links = new long[expectedSize];
        Arrays.fill(links, UNSET);
      }
    
      @Override
      int firstIndex() {
        return (firstEntry == ENDPOINT) ? -1 : firstEntry;
      }
    
      @Override
      int nextIndex(int index) {
        int result = getSuccessor(index);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 5.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java

        }
      }
    
      @Override
      @CheckForNull
      public Entry<E> firstEntry() {
        return delegate().firstEntry();
      }
    
      /**
       * A sensible definition of {@link #firstEntry()} in terms of {@code entrySet().iterator()}.
       *
       * <p>If you override {@link #entrySet()}, you may wish to override {@link #firstEntry()} to
       * forward to this implementation.
       */
      @CheckForNull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingSortedMultiset.java

        }
      }
    
      @Override
      @CheckForNull
      public Entry<E> firstEntry() {
        return delegate().firstEntry();
      }
    
      /**
       * A sensible definition of {@link #firstEntry()} in terms of {@code entrySet().iterator()}.
       *
       * <p>If you override {@link #entrySet()}, you may wish to override {@link #firstEntry()} to
       * forward to this implementation.
       */
      @CheckForNull
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractNavigableMap.java

      }
    
      @Override
      @CheckForNull
      public Entry<K, V> ceilingEntry(@ParametricNullness K key) {
        return tailMap(key, true).firstEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> higherEntry(@ParametricNullness K key) {
        return tailMap(key, false).firstEntry();
      }
    
      @Override
      @CheckForNull
      public K lowerKey(@ParametricNullness K key) {
        return Maps.keyOrNull(lowerEntry(key));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 15 18:11:44 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        Entry<K, V> firstEntry = iterator.next();
        Entry<K, V> secondEntry = iterator.next();
        K key = secondEntry.getKey();
        SortedMap<K, V> subMap = map.tailMap(key);
        V value = getValueNotInPopulatedMap();
        subMap.put(key, value);
        assertEquals(secondEntry.getValue(), value);
        assertEquals(map.get(key), value);
        try {
          subMap.put(firstEntry.getKey(), value);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        Entry<K, V> firstEntry = iterator.next();
        Entry<K, V> secondEntry = iterator.next();
        K key = secondEntry.getKey();
        SortedMap<K, V> subMap = map.tailMap(key);
        V value = getValueNotInPopulatedMap();
        subMap.put(key, value);
        assertEquals(secondEntry.getValue(), value);
        assertEquals(map.get(key), value);
        try {
          subMap.put(firstEntry.getKey(), value);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 3.9K bytes
    - Viewed (0)
Back to top