Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 33 of 33 for ListIterator (0.37 sec)

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

        replaceValue(expected, newEntry);
        expectContents(expected);
      }
    
      private void replaceValue(List<Entry<K, V>> expected, Entry<K, V> newEntry) {
        for (ListIterator<Entry<K, V>> i = expected.listIterator(); i.hasNext(); ) {
          if (Helpers.equal(i.next().getKey(), newEntry.getKey())) {
            i.set(newEntry);
            return;
          }
        }
    
        throw new IllegalArgumentException(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. platforms/software/testing-base/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/report/HtmlTestResultsFixture.groovy

                assert tableElement.select("tr > td:eq(2)").listIterator().any { Element it -> it.text() == expectedValue }
                assert tableElement.select("tr > td:eq(2)").hasClass(expectedClass)
            }
    
            boolean failed() {
                return tableElement.select("tr > td:eq(2)").listIterator().any { Element it -> it.text() == 'failed' } &&
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/RegularImmutableList.java

      @Override
      @SuppressWarnings("unchecked")
      public E get(int index) {
        return (E) array[index];
      }
    
      @SuppressWarnings("unchecked")
      @Override
      public UnmodifiableListIterator<E> listIterator(int index) {
        // for performance
        // The fake cast to E is safe because the creation methods only allow E's
        return (UnmodifiableListIterator<E>) Iterators.forArrayWithPosition(array, index);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 20:19:12 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top