- Sort Score
- Result 10 results
- Languages All
Results 611 - 620 of 1,961 for isobject (0.05 sec)
-
Multisets.java
abstract static class AbstractEntry<E extends @Nullable Object> implements Multiset.Entry<E> { L837: /** L838: * Indicates whether an object equals this entry, following the behavior specified in {@link L839: * Multiset.Entry#equals}. L840: */ L841: @Override L842: public boolean equals(@CheckForNull Object object) { L843: if (object instanceof Multiset.Entry) { L844: Multiset.Entry<?> that = (Multiset.Entry<?>) object; L845: return this.getCount() == that.getCount()...github.com/google/guava/android/guava/src/com/g...Sat Oct 19 00:05:46 UTC 2024 41.7K bytes -
Multisets.java
abstract static class AbstractEntry<E extends @Nullable Object> implements Multiset.Entry<E> { L841: /** L842: * Indicates whether an object equals this entry, following the behavior specified in {@link L843: * Multiset.Entry#equals}. L844: */ L845: @Override L846: public boolean equals(@CheckForNull Object object) { L847: if (object instanceof Multiset.Entry) { L848: Multiset.Entry<?> that = (Multiset.Entry<?>) object; L849: return this.getCount() == that.getCount()...github.com/google/guava/guava/src/com/google/co...Sat Oct 19 00:05:46 UTC 2024 41.5K bytes -
ClosingFuture.java
* @param <U> the type returned by the function L1940: */ L1941: public interface ClosingFunction5< L1942: V1 extends @Nullable Object, L1943: V2 extends @Nullable Object, L1944: V3 extends @Nullable Object, L1945: V4 extends @Nullable Object, L1946: V5 extends @Nullable Object, L1947: U extends @Nullable Object> { L1948: /** L1949: * Applies this function to five inputs, or throws an exception if unable to do so. L1950: * L1951: ...github.com/google/guava/android/guava/src/com/g...Tue Oct 08 19:36:35 UTC 2024 98.5K bytes -
CompactLinkedHashMap.java
now L58:@ElementTypesAreNonnullByDefault L59:class CompactLinkedHashMap<K extends @Nullable Object, V extends @Nullable Object> L60: extends CompactHashMap<K, V> { L61: // TODO(lowasser): implement removeEldestEntry so this can be used as a drop-in replacement L62: L63: /** Creates an empty {@code CompactLinkedHashMap} instance. */ L64: public static <K extends @Nullable Object, V extends @Nullable Object> L65: CompactLinkedHashMap<K, V> create() { L66: return new CompactLinkedHashMap<>();...github.com/google/guava/guava/src/com/google/co...Mon Apr 01 16:15:01 UTC 2024 10.2K bytes -
TestContainerGenerator.java
collective noun that L28: * encompasses both of these, 'container' is used. L29: * L30: * @author George van den Driessche L31: */ L32:@GwtCompatible L33:@ElementTypesAreNonnullByDefault L34:public interface TestContainerGenerator<T, E extends @Nullable Object> { L35: /** Returns the sample elements that this generate populates its container with. */ L36: SampleElements<E> samples(); L37: L38: /** L39: * Creates a new container containing the given elements. TODO: would be nice to figure out how to...github.com/google/guava/android/guava-testlib/s...Wed Feb 21 16:49:06 UTC 2024 2.4K bytes -
SetGenerators.java
explicitly listing this will L124: // cause the createArray() method missing in the generated javascript. L125: // TODO: Remove this once the GWT bug is fixed. L126: implements TestCollectionGenerator<Object> { L127: @Override L128: public Set<Object> create(Object... elements) { L129: return ImmutableSet.copyOf(elements); L130: } L131: } L132: L133: public static class DegeneratedImmutableSetGenerator extends TestStringSetGenerator { L134: // Make sure we get what...github.com/google/guava/android/guava-testlib/s...Wed Oct 30 16:15:19 UTC 2024 15.6K bytes -
ForwardingList.java
} L120: L121: @Override L122: public boolean equals(@CheckForNull Object object) { L123: return object == this || delegate().equals(object); L124: } L125: L126: @Override L127: public int hashCode() { L128: return delegate().hashCode(); L129: } L130: L131: /** L132: * A sensible default implementation of {@link #add(Object)}, in terms of {@link #add(int, L133: * Object)}. If you override {@link #add(int, Object)}, you may wish to override {@link L134: * #add(Object)} to forward...github.com/google/guava/android/guava/src/com/g...Fri May 12 15:26:39 UTC 2023 7.9K bytes -
RegularImmutableAsList.java
E> delegateList) { L39: this.delegate = delegate; L40: this.delegateList = delegateList; L41: } L42: L43: RegularImmutableAsList(ImmutableCollection<E> delegate, Object[] array) { L44: this(delegate, ImmutableList.<E>asImmutableList(array)); L45: } L46: L47: RegularImmutableAsList(ImmutableCollection<E> delegate, Object[] array, int size) { L48: this(delegate, ImmutableList.<E>asImmutableList(array, size)); L49: } L50: L51: @Override L52: ImmutableCollection<E> delegateCollection()...github.com/google/guava/android/guava/src/com/g...Thu Nov 30 21:54:06 UTC 2023 3K bytes -
ImmutableMapKeySet.java
iterator() { L51: return map.keyIterator(); L52: } L53: L54: @Override L55: public Spliterator<K> spliterator() { L56: return map.keySpliterator(); L57: } L58: L59: @Override L60: public boolean contains(@CheckForNull Object object) { L61: return map.containsKey(object); L62: } L63: L64: @Override L65: K get(int index) { L66: return map.entrySet().asList().get(index).getKey(); L67: } L68: L69: @Override L70: public void forEach(Consumer<? super K> action) { L71: checkNotNull(action);...github.com/google/guava/guava/src/com/google/co...Thu Nov 30 21:54:06 UTC 2023 2.7K bytes -
DescendingImmutableSortedSet.java
DescendingImmutableSortedSet(ImmutableSortedSet<E> forward) { L34: super(Ordering.from(forward.comparator()).reverse()); L35: this.forward = forward; L36: } L37: L38: @Override L39: public boolean contains(@CheckForNull Object object) { L40: return forward.contains(object); L41: } L42: L43: @Override L44: public int size() { L45: return forward.size(); L46: } L47: L48: @Override L49: public UnmodifiableIterator<E> iterator() { L50: return forward.descendingIterator(); L51: } L52:...github.com/google/guava/guava/src/com/google/co...Thu Nov 30 21:54:06 UTC 2023 3.3K bytes