- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 192 for Reimplement (0.15 sec)
-
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
*/ @DoNotCall @Deprecated @Override public final ImmutableSortedMap<K, V> buildKeepingLast() { // TODO(emcmanus): implement throw new UnsupportedOperationException( "ImmutableSortedMap.Builder does not yet implement buildKeepingLast()"); } } private final transient RegularImmutableSortedSet<K> keySet; private final transient ImmutableList<V> valueList;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 53.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Monitor.java
// // 3. I think "enterWhen(notEmpty)" reads better than "notEmpty.enter()". // // TODO(user): Implement ReentrantLock features: // - toString() method // - getOwner() method // - getQueuedThreads() method // - getWaitingThreads(Guard) method // - implement Serializable // - redo the API to be as close to identical to ReentrantLock as possible,
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 18:22:01 GMT 2023 - 38.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
* natural ordering. The sorted sets use {@link Ordering#natural()} as the comparator. This method * provides more type-safety than {@link #builder}, as it can be called only for classes that * implement {@link Comparable}. */ public static <E extends Comparable<?>> Builder<E> naturalOrder() { return new Builder<>(Ordering.natural()); } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 36.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
int i = 0; for (Object e : elements) { array[i++] = (Long) e; } return create(array); } /** * Creates a new collection containing the given elements; implement this method instead of * {@link #create(Object...)}. */ protected abstract List<Long> create(Long[] elements); @Override public Long[] createArray(int length) {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 20.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Joiner.java
* that users *can* pass null arguments to Joiner, we annotate it as if it always tolerates null * inputs, rather than as if it never tolerates them. * * We rely on checkers to implement special cases to catch dangerous calls to join(), etc. based * on what they know about the particular Joiner instances the calls are performed on. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 18.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
// Changes after are not list.set(0, 4); assertEquals(ImmutableList.of(3), first); } @J2ktIncompatible // Arrays.asList(...).subList() doesn't implement RandomAccess in J2KT. @GwtIncompatible // Arrays.asList(...).subList() doesn't implement RandomAccess in GWT public void testPartitionRandomAccess() { Iterator<Integer> source = asList(1, 2, 3).iterator();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 55.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Collections2.java
* * <p>Duplicate elements are considered equal. For example, the list [1, 1] will have only one * permutation, instead of two. This is why the elements have to implement {@link Comparable}. * * <p>An empty iterable has only one permutation, which is an empty list. * * <p>This method is equivalent to {@code Collections2.orderedPermutations(list, * Ordering.natural())}.
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 23.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedHashMultimap.java
* past them.) * * We could consider "lying" and omitting @CheckNotNull from all these fields. Normally, I'm not * a fan of that: What if we someday implement (presumably to be enabled during tests only) * bytecode rewriting that checks for any null value that passes through an API with a * known-non-null type? But that particular problem might not arise here, since we're not
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) -
android/guava/src/com/google/common/collect/LinkedListMultimap.java
/* * Order is maintained using a linked list containing all key-value pairs. In * addition, a series of disjoint linked lists of "siblings", each containing * the values for a specific key, is used to implement {@link * ValueForKeyIterator} in constant time. */ static final class Node<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMapEntry<K, V> {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Oct 13 14:11:58 GMT 2023 - 27.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
* very rare. Note that if backward conversion is not only unimplemented but * unimplement<i>able</i> (for example, consider a {@code Converter<Chicken, ChickenNugget>}), * then this is not logically a {@code Converter} at all, and should just implement {@link * Function}. */ @ForOverride protected abstract A doBackward(B b); // API (consumer-side) methods
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 23K bytes - Viewed (0)