Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 63 for ListIterator (0.14 sec)

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

      @Override
      public UnmodifiableIterator<E> iterator() {
        return listIterator();
      }
    
      @Override
      public ImmutableList<E> subList(int fromIndex, int toIndex) {
        return unsafeDelegateList(Lists.subListImpl(this, fromIndex, toIndex));
      }
    
      @Override
      public UnmodifiableListIterator<E> listIterator() {
        return listIterator(0);
      }
    
      @Override
    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-testlib/src/com/google/common/collect/testing/Helpers.java

        return modified;
      }
    
      static <T extends @Nullable Object> Iterable<T> reverse(List<T> list) {
        return new Iterable<T>() {
          @Override
          public Iterator<T> iterator() {
            ListIterator<T> listIter = list.listIterator(list.size());
            return new Iterator<T>() {
              @Override
              public boolean hasNext() {
                return listIter.hasPrevious();
              }
    
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ListsTest.java

        public int size() {
          return realDelegate.size();
        }
    
        @Override
        public ListIterator<E> listIterator(int index) {
          return realDelegate.listIterator(index);
        }
    
        @Override
        protected List<E> delegate() {
          throw new UnsupportedOperationException("This list only supports ListIterator");
        }
      }
    
      private static void assertTransformIterator(List<String> list) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ListsTest.java

        public int size() {
          return realDelegate.size();
        }
    
        @Override
        public ListIterator<E> listIterator(int index) {
          return realDelegate.listIterator(index);
        }
    
        @Override
        protected List<E> delegate() {
          throw new UnsupportedOperationException("This list only supports ListIterator");
        }
      }
    
      private static void assertTransformIterator(List<String> list) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

            @Override
            protected ListIterator<Entry<String, Integer>> newTargetIterator() {
              multimap = create();
              multimap.putAll("foo", asList(2, 3));
              multimap.putAll("bar", asList(4, 5));
              multimap.put("foo", 6);
              return multimap.entries().listIterator(startIndex);
            }
    
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableList.java

      @Override
      public UnmodifiableIterator<E> iterator() {
        return listIterator();
      }
    
      @Override
      public UnmodifiableListIterator<E> listIterator() {
        return listIterator(0);
      }
    
      @SuppressWarnings("unchecked")
      @Override
      public UnmodifiableListIterator<E> listIterator(int index) {
        checkPositionIndex(index, size());
        if (isEmpty()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(Iterator.class, ImmutableSet.of().iterator())
              .put(PeekingIterator.class, Iterators.peekingIterator(ImmutableSet.of().iterator()))
              .put(ListIterator.class, ImmutableList.of().listIterator())
              .put(Iterable.class, ImmutableSet.of())
              .put(Collection.class, ImmutableList.of())
              .put(ImmutableCollection.class, ImmutableList.of())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

            }
    
            if ( targetDomain != null ) {
                targetDomain = targetDomain.toUpperCase(Locale.ROOT);
            }
    
            ListIterator<SmbSessionImpl> iter = this.sessions.listIterator();
            while ( iter.hasNext() ) {
                SmbSessionImpl ssn = iter.next();
                if ( ssn.matches(tf, targetHost, targetDomain) ) {
                    if ( log.isTraceEnabled() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            PrintWriter out;
            SmbFile[] dirents;
            SmbFile f;
            int i, j, len, maxLen, dirCount, fileCount, sort;
            String str, name, path, fmt;
            LinkedList sorted;
            ListIterator iter;
            SimpleDateFormat sdf = new SimpleDateFormat( "MM/d/yy h:mm a" );
            GregorianCalendar cal = new GregorianCalendar();
    
            sdf.setCalendar( cal );
    
            dirents = dir.listFiles();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        return modified;
      }
    
      static <T extends @Nullable Object> Iterable<T> reverse(List<T> list) {
        return new Iterable<T>() {
          @Override
          public Iterator<T> iterator() {
            ListIterator<T> listIter = list.listIterator(list.size());
            return new Iterator<T>() {
              @Override
              public boolean hasNext() {
                return listIter.hasPrevious();
              }
    
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top