- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 119 for get$index (0.05 sec)
-
android/guava/src/com/google/common/collect/Lists.java
fromList.subList(fromIndex, toIndex).clear(); } @Override @ParametricNullness public T get(int index) { return function.apply(fromList.get(index)); } @Override public Iterator<T> iterator() { return listIterator(); } @Override public ListIterator<T> listIterator(int index) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 42.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ArrayTable.java
this.keyIndex = keyIndex; } @Override public Set<K> keySet() { return keyIndex.keySet(); } K getKey(int index) { return keyIndex.keySet().asList().get(index); } abstract String getKeyRole(); @ParametricNullness abstract V getValue(int index); @ParametricNullness abstract V setValue(int index, @ParametricNullness V newValue);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 19:39:21 UTC 2025 - 26.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 81.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultimap.java
public int size() { return ImmutableMultimap.this.size(); } @Override Multiset.Entry<K> getEntry(int index) { Map.Entry<K, ? extends Collection<V>> entry = map.entrySet().asList().get(index); return Multisets.immutableEntry(entry.getKey(), entry.getValue().size()); } @Override boolean isPartialView() { return true; } @GwtIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 28.6K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
// Select channel based on affinity key List<ChannelInfo> list = new ArrayList<>(channels); int index = Math.abs((int)(affinityKey % list.size())); return list.get(index); } // No affinity, use weighted random return selectWeightedRandom(channels); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
addToMap(); } } return changed; } @Override @ParametricNullness public V get(int index) { refreshIfEmpty(); return getListDelegate().get(index); } @Override @ParametricNullness public V set(int index, @ParametricNullness V element) { refreshIfEmpty(); return getListDelegate().set(index, element); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Aug 12 15:51:57 UTC 2025 - 48.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
return Lists.asList("foo", "bar", new String[0]).iterator(); } }.test(); } private static void assertIndexIsOutOfBounds(List<String> list, int index) { try { list.get(index); fail(); } catch (IndexOutOfBoundsException expected) { } } public void testReverseViewRandomAccess() { List<Integer> fromList = new ArrayList<>(SOME_LIST);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
// Align to 8-byte boundary ndrBuffer.setIndex(5); alignedBytes = ndrBuffer.align(8); assertEquals(3, alignedBytes); // Should advance by 3 bytes (5 -> 8) assertEquals(8, ndrBuffer.getIndex()); } @Test void testEncDecNdrSmall() { ndrBuffer.enc_ndr_small(0xAB); assertEquals(1, ndrBuffer.getIndex());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
} @Override ImmutableList<E> createAsList() { return new ImmutableAsList<E>() { @Override public E get(int index) { return Indexed.this.get(index); } @Override Indexed<E> delegateCollection() { return Indexed.this; } // redeclare to help optimizers with b/310253115
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
public E next() { checkConcurrentModification(); if (!hasNext()) { throw new NoSuchElementException(); } canRemove = true; return elements.get(index++); } @Override public void remove() { checkConcurrentModification(); checkRemove(canRemove); elements.remove(--index); expectedModCount = ++modCount;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (0)