- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 63 for listIterator (0.18 sec)
-
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: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.6K bytes - Viewed (0) -
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) -
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) -
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) -
android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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)