Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for lastIndexOfImpl (0.1 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

        return (object == null) ? -1 : Lists.indexOfImpl(this, object);
      }
    
      @Override
      public int lastIndexOf(@Nullable Object object) {
        return (object == null) ? -1 : Lists.lastIndexOfImpl(this, object);
      }
    
      public final boolean addAll(int index, Collection<? extends E> newElements) {
        throw new UnsupportedOperationException();
      }
    
      public final E set(int index, E element) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 22:14:46 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableList.java

        return (object == null) ? -1 : Lists.indexOfImpl(this, object);
      }
    
      @Override
      public int lastIndexOf(@CheckForNull Object object) {
        return (object == null) ? -1 : Lists.lastIndexOfImpl(this, object);
      }
    
      @Override
      public boolean contains(@CheckForNull Object object) {
        return indexOf(object) >= 0;
      }
    
      // constrain the return type to ImmutableList<E>
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Lists.java

            if (element.equals(list.get(i))) {
              return i;
            }
          }
        }
        return -1;
      }
    
      /** An implementation of {@link List#lastIndexOf(Object)}. */
      static int lastIndexOfImpl(List<?> list, @CheckForNull Object element) {
        if (list instanceof RandomAccess) {
          return lastIndexOfRandomAccess(list, element);
        } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableList.java

        return (object == null) ? -1 : Lists.indexOfImpl(this, object);
      }
    
      @Override
      public int lastIndexOf(@CheckForNull Object object) {
        return (object == null) ? -1 : Lists.lastIndexOfImpl(this, object);
      }
    
      @Override
      public boolean contains(@CheckForNull Object object) {
        return indexOf(object) >= 0;
      }
    
      // constrain the return type to ImmutableList<E>
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
Back to top