- Sort Score
- Num 10 results
- Language All
Results 261 - 270 of 301 for _gwt (0.05 seconds)
-
android/guava/src/com/google/common/base/Functions.java
} // enum singleton pattern private enum ToStringFunction implements Function<Object, String> { INSTANCE; @Override public String apply(Object o) { checkNotNull(o); // eager for GWT. return o.toString(); } @Override public String toString() { return "Functions.toStringFunction()"; } } /** * Returns the identity function. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 15.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
import java.util.SortedSet; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Derived suite generators, split out of the suite builders so that they are available to GWT. * * @author George van den Driessche */ @GwtCompatible @NullMarked public final class DerivedCollectionGenerators { public static class MapEntrySetGenerator<K extends @Nullable Object, V extends @Nullable Object>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 18.2K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
* greater than {@code b}; or zero if they are equal */ @SuppressWarnings("InlineMeInliner") // Integer.compare unavailable under GWT+J2CL public static int compare(int a, int b) { return Ints.compare(flip(a), flip(b)); } /** * Returns the value of the given {@code int} as a {@code long}, when treated as unsigned. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 13.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/StandardTable.java
return super.setValue(checkNotNull(value)); } @Override public boolean equals(@Nullable Object object) { // TODO(lowasser): identify why this affects GWT tests return standardEquals(object); } }; } } /** * {@inheritDoc} * * <p>The returned map's views have iterators that don't support {@code remove()}.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 30.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
// It would be nice to be able to return a real concurrent // collection like ConcurrentLinkedQueue, so that e.g. concurrent // iteration would work, but that would not be GWT-compatible. // We are not "just" inheriting from ArrayList here as this doesn't work for J2kt. return new AbstractList<T>() { final ArrayList<T> data = new ArrayList<>(); @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 17.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
private static final int ODD_POWERS_OF_TWO = 0xaaaaaaaa; @VisibleForTesting static boolean isEvenLevel(int index) { int oneBased = ~~(index + 1); // for GWT checkState(oneBased > 0, "negative index"); return (oneBased & EVEN_POWERS_OF_TWO) > (oneBased & ODD_POWERS_OF_TWO); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 34K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multisets.java
* @since 11.0 */ public static <E extends @Nullable Object> SortedMultiset<E> unmodifiableSortedMultiset( SortedMultiset<E> sortedMultiset) { // it's in its own file so it can be emulated for GWT return new UnmodifiableSortedMultiset<>(checkNotNull(sortedMultiset)); } /** * Returns an immutable multiset entry with the specified element and count. The entry will be * serializable if {@code e} is.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 41.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactHashMap.java
* to prioritize memory over CPU. * * @author Louis Wasserman * @author Jon Noack */ @GwtIncompatible // not worth using in GWT for now class CompactHashMap<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMap<K, V> implements Serializable { /*
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 39.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/Multisets.java
* @since 11.0 */ public static <E extends @Nullable Object> SortedMultiset<E> unmodifiableSortedMultiset( SortedMultiset<E> sortedMultiset) { // it's in its own file so it can be emulated for GWT return new UnmodifiableSortedMultiset<>(checkNotNull(sortedMultiset)); } /** * Returns an immutable multiset entry with the specified element and count. The entry will be * serializable if {@code e} is.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 41.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSortedMultiset.java
* @author Louis Wasserman * @since 12.0 */ @GwtIncompatible // hasn't been tested yet public abstract class ImmutableSortedMultiset<E> extends ImmutableMultiset<E> implements SortedMultiset<E> { // TODO(lowasser): GWT compatibility /** * Returns a {@code Collector} that accumulates the input elements into a new {@code * ImmutableMultiset}. Elements are sorted by the specified comparator. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 29.5K bytes - Click Count (0)