Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 122 for lastIndexOf (0.1 sec)

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

      }
    
      @Override
      public int indexOf(@CheckForNull Object element) {
        return delegate().indexOf(element);
      }
    
      @Override
      public int lastIndexOf(@CheckForNull Object element) {
        return delegate().lastIndexOf(element);
      }
    
      @Override
      public ListIterator<E> listIterator() {
        return delegate().listIterator();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingList.java

      }
    
      @Override
      public int indexOf(@CheckForNull Object element) {
        return delegate().indexOf(element);
      }
    
      @Override
      public int lastIndexOf(@CheckForNull Object element) {
        return delegate().lastIndexOf(element);
      }
    
      @Override
      public ListIterator<E> listIterator() {
        return delegate().listIterator();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThat(Chars.lastIndexOf(EMPTY, (char) 1)).isEqualTo(-1);
        assertThat(Chars.lastIndexOf(ARRAY1, (char) 2)).isEqualTo(-1);
        assertThat(Chars.lastIndexOf(ARRAY234, (char) 1)).isEqualTo(-1);
        assertThat(Chars.lastIndexOf(new char[] {(char) -1}, (char) -1)).isEqualTo(0);
        assertThat(Chars.lastIndexOf(ARRAY234, (char) 2)).isEqualTo(0);
        assertThat(Chars.lastIndexOf(ARRAY234, (char) 3)).isEqualTo(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public abstract class AbstractListIndexOfTester<E> extends AbstractListTester<E> {
      /** Override to call {@code indexOf()} or {@code lastIndexOf()}. */
      protected abstract int find(@Nullable Object o);
    
      /** Override to return "indexOf" or "lastIndexOf()" for use in failure messages. */
      protected abstract String getMethodName();
    
      @CollectionSize.Require(absent = ZERO)
      public void testFind_yes() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public abstract class AbstractListIndexOfTester<E> extends AbstractListTester<E> {
      /** Override to call {@code indexOf()} or {@code lastIndexOf()}. */
      protected abstract int find(@Nullable Object o);
    
      /** Override to return "indexOf" or "lastIndexOf()" for use in failure messages. */
      protected abstract String getMethodName();
    
      @CollectionSize.Require(absent = ZERO)
      public void testFind_yes() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                idx = u.lastIndexOf('?');
                if (idx >= 0) {
                    u = u.substring(0, idx);
                }
    
                idx = u.lastIndexOf('#');
                if (idx >= 0) {
                    u = u.substring(0, idx);
                }
            }
            u = decodeUrlAsName(u, u.startsWith("file:"));
            idx = u.lastIndexOf('/');
            if (idx >= 0) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

            String unc = loc.getUNCPath();
            String p = loc.getURL().getPath();
            if ( p.lastIndexOf('/') != ( p.length() - 1 ) ) {
                throw new SmbException(loc.getURL() + " directory must end with '/'");
            }
            if ( unc.lastIndexOf('\\') != ( unc.length() - 1 ) ) {
                throw new SmbException(unc + " UNC must end with '\\'");
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CartesianList.java

          if (elemIndex == -1) {
            return -1;
          }
          computedIndex += elemIndex * axesSizeProduct[axisIndex + 1];
        }
        return computedIndex;
      }
    
      @Override
      public int lastIndexOf(@CheckForNull Object o) {
        if (!(o instanceof List)) {
          return -1;
        }
        List<?> list = (List<?>) o;
        if (list.size() != axes.size()) {
          return -1;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

        assertEquals(size - 1, copy.lastIndexOf(list.get(size - 1)));
        assertEquals(size - 2, head.lastIndexOf(list.get(size - 2)));
        assertEquals(size - 2, tail.lastIndexOf(list.get(size - 1)));
        // The following assumes all elements are distinct.
        assertEquals(0, copy.lastIndexOf(list.get(0)));
        assertEquals(0, head.lastIndexOf(list.get(0)));
        assertEquals(0, tail.lastIndexOf(list.get(1)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

        assertEquals(size - 1, copy.lastIndexOf(list.get(size - 1)));
        assertEquals(size - 2, head.lastIndexOf(list.get(size - 2)));
        assertEquals(size - 2, tail.lastIndexOf(list.get(size - 1)));
        // The following assumes all elements are distinct.
        assertEquals(0, copy.lastIndexOf(list.get(0)));
        assertEquals(0, head.lastIndexOf(list.get(0)));
        assertEquals(0, tail.lastIndexOf(list.get(1)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top