- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for Comment (0.21 sec)
-
android/guava/src/com/google/common/collect/LinkedHashMultimap.java
@Override public ValueSetLink<K, V> getPredecessorInValueSet() { return requireNonNull(predecessorInValueSet); // see the comment on the class fields } @Override public ValueSetLink<K, V> getSuccessorInValueSet() { return requireNonNull(successorInValueSet); // see the comment on the class fields } @Override public void setPredecessorInValueSet(ValueSetLink<K, V> entry) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 23.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
void forceJdk() { requireNonNull(impl); // see the comment on the field this.impl = new JdkBackedSetBuilderImpl<>(impl); } final void copyIfNecessary() { if (forceCopy) { copy(); forceCopy = false; } } void copy() { requireNonNull(impl); // see the comment on the field impl = impl.copy(); } @Override
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 35.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
checkSerialization(Predicates.equalTo(null)); } /** * Tests for Predicates.instanceOf(x). TODO: Fix the comment style after fixing annotation * stripper to remove comments properly. Currently, all tests before the comments are removed as * well. */ @GwtIncompatible // Predicates.instanceOf public void testIsInstanceOf_apply() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 32.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
this.right = null; } /** Constructor for the header node. */ AvlNode() { this.elem = null; this.elemCount = 1; } // For discussion of pred() and succ(), see the comment on the pred and succ fields. private AvlNode<E> pred() { return requireNonNull(pred); } private AvlNode<E> succ() { return requireNonNull(succ); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 34.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Preconditions.java
*/ @CanIgnoreReturnValue public static int checkElementIndex(int index, int size, String desc) { // Carefully optimized for execution by hotspot (explanatory comment above) if (index < 0 || index >= size) { throw new IndexOutOfBoundsException(badElementIndex(index, size, desc)); } return index; }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 11 11:52:14 GMT 2024 - 52.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMultiset.java
*/ @CanIgnoreReturnValue public Builder<E> addCopies(E element, int occurrences) { requireNonNull(contents); // see the comment on the field if (occurrences == 0) { return this; } if (buildInvoked) { contents = new ObjectCountHashMap<E>(contents); isLinkedHash = false; }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 22.6K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
checkPositive(++successorCount); if (orderedNodeConnections != null) { orderedNodeConnections.add(new NodeConnection.Succ<>(node)); } } // See the comment on the similar cast in removeSuccessor. return previousSuccessor == null ? null : (V) previousSuccessor; } private static boolean isPredecessor(@CheckForNull Object value) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 18K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
/* * If greatestOf() promised to be implemented as reverse().leastOf(), this * test would be enough. It doesn't... but we'll cheat and act like it does * anyway. There's a comment there to remind us to fix this if we change it. */ List<Integer> list = Arrays.asList(3, 1, 3, 2, 4, 2, 4, 3); assertEquals(Arrays.asList(4, 4, 3, 3), numberOrdering.greatestOf(list, 4)); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 42.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
/* * If greatestOf() promised to be implemented as reverse().leastOf(), this * test would be enough. It doesn't... but we'll cheat and act like it does * anyway. There's a comment there to remind us to fix this if we change it. */ List<Integer> list = Arrays.asList(3, 1, 3, 2, 4, 2, 4, 3); assertEquals(Arrays.asList(4, 4, 3, 3), numberOrdering.greatestOf(list, 4)); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 42.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashMap.java
links = null; return result; } /* * For discussion of the safety of the following methods for operating on predecessors and * successors, see the comments near the end of CompactHashMap, noting that the methods here call * link(), which is defined at the end of this file. */ private int getPredecessor(int entry) { return ((int) (link(entry) >>> 32)) - 1;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 8.5K bytes - Viewed (0)