- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for Reimplement (0.16 sec)
-
guava-tests/test/com/google/common/collect/IterablesTest.java
// Changes after are not list.set(0, 5); assertEquals(ImmutableList.of(3, 4), first); } @J2ktIncompatible // Arrays.asList(...).subList() doesn't implement RandomAccess in J2KT. @GwtIncompatible // Arrays.asList(...).subList doesn't implement RandomAccess in GWT public void testPartitionRandomAccessInput() { Iterable<Integer> source = asList(1, 2, 3);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 47.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TableCollectorsTest.java
immutableCell("three", "tres", 3), immutableCell("two", "dos", 4)); } // This function specifically returns a BiPredicate, because Guava7’s Equivalence class does not // actually implement BiPredicate, and CollectorTests expects a BiPredicate. static <C, E extends @Nullable Object, R extends Iterable<E>> BiPredicate<C, C> pairwiseOnResultOf(Function<C, R> arg) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Mar 05 16:03:18 GMT 2024 - 11.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/MoreExecutors.java
* been shutdown). * * <p>Although all tasks are immediately executed in the thread that submitted the task, this * {@code ExecutorService} imposes a small locking overhead on each task submission in order to * implement shutdown and termination behavior. * * <p>The implementation deviates from the {@code ExecutorService} specification with regards to
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 41.8K bytes - Viewed (0) -
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 Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 38.5K bytes - Viewed (0) -
android/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 May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 22.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
extends AbstractNavigableMap<K, V> { /* * It's less code to extend AbstractNavigableMap and forward the filtering logic to * FilteredEntryMap than to extend FilteredEntrySortedMap and reimplement all the NavigableMap * methods. */ private final NavigableMap<K, V> unfiltered; private final Predicate<? super Entry<K, V>> entryPredicate; private final Map<K, V> filteredDelegate;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 159.6K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Types.java
* AnnotatedElement}, which {@code TypeVariable} began to extend only in Java 8. Those methods * refer only to types present in Java 7, so we could implement them in {@code TypeVariableImpl} * today. (We could probably then make {@code TypeVariableImpl} implement {@code AnnotatedElement} * so that we get partial compile-time checking.) *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 23.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashMap.java
@GwtIncompatible // not worth using in GWT for now @ElementTypesAreNonnullByDefault class CompactLinkedHashMap<K extends @Nullable Object, V extends @Nullable Object> extends CompactHashMap<K, V> { // TODO(lowasser): implement removeEldestEntry so this can be used as a drop-in replacement /** Creates an empty {@code CompactLinkedHashMap} instance. */ public static <K extends @Nullable Object, V extends @Nullable Object>
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) -
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/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)