Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for headIndex (0.23 sec)

  1. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

      }
    
      @Override
      @CheckForNull
      public E lower(E element) {
        int index = headIndex(element, false) - 1;
        return (index == -1) ? null : elements.get(index);
      }
    
      @Override
      @CheckForNull
      public E floor(E element) {
        int index = headIndex(element, true) - 1;
        return (index == -1) ? null : elements.get(index);
      }
    
      @Override
      @CheckForNull
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

      public ImmutableSortedSet<E> elementSet() {
        return elementSet;
      }
    
      @Override
      public ImmutableSortedMultiset<E> headMultiset(E upperBound, BoundType boundType) {
        return getSubMultiset(0, elementSet.headIndex(upperBound, checkNotNull(boundType) == CLOSED));
      }
    
      @Override
      public ImmutableSortedMultiset<E> tailMultiset(E lowerBound, BoundType boundType) {
        return getSubMultiset(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

            E head = oldTable.get(oldIndex);
    
            if (head != null) {
              E next = head.getNext();
              int headIndex = head.getHash() & newMask;
    
              // Single node on list
              if (next == null) {
                newTable.set(headIndex, head);
              } else {
                // Reuse the consecutive sequence of nodes with the same target
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/LocalCache.java

            if (head != null) {
              ReferenceEntry<K, V> next = head.getNext();
              int headIndex = head.getHash() & newMask;
    
              // Single node on list
              if (next == null) {
                newTable.set(headIndex, head);
              } else {
                // Reuse the consecutive sequence of nodes with the same target
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LocalCache.java

            if (head != null) {
              ReferenceEntry<K, V> next = head.getNext();
              int headIndex = head.getHash() & newMask;
    
              // Single node on list
              if (next == null) {
                newTable.set(headIndex, head);
              } else {
                // Reuse the consecutive sequence of nodes with the same target
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedMap.java

       * the original {@code toKey}.
       *
       * @since 12.0
       */
      @Override
      public ImmutableSortedMap<K, V> headMap(K toKey, boolean inclusive) {
        return getSubMap(0, keySet.headIndex(checkNotNull(toKey), inclusive));
      }
    
      /**
       * This method returns a {@code ImmutableSortedMap}, consisting of the entries whose keys ranges
       * from {@code fromKey}, inclusive, to {@code toKey}, exclusive.
    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)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * the original {@code toKey}.
       *
       * @since 12.0
       */
      @Override
      public ImmutableSortedMap<K, V> headMap(K toKey, boolean inclusive) {
        return getSubMap(0, keySet.headIndex(checkNotNull(toKey), inclusive));
      }
    
      /**
       * This method returns a {@code ImmutableSortedMap}, consisting of the entries whose keys ranges
       * from {@code fromKey}, inclusive, to {@code toKey}, exclusive.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 52.7K bytes
    - Viewed (0)
Back to top