- Sort Score
- Result 10 results
- Languages All
Results 571 - 580 of 1,961 for isobject (0.04 sec)
-
MinMaxPriorityQueue.java
size; i++) { L919: queue[i] = null; L920: } L921: size = 0; L922: } L923: L924: @Override L925: @J2ktIncompatible // Incompatible return type change. Use inherited (unoptimized) implementation L926: public Object[] toArray() { L927: Object[] copyTo = new Object[size]; L928: arraycopy(queue, 0, copyTo, 0, size); L929: return copyTo; L930: } L931: L932: /** L933: * Returns the comparator used to order the elements in this queue. Obeys the general contract of L934: * {@link...github.com/google/guava/guava/src/com/google/co...Wed Oct 30 16:15:19 UTC 2024 34.1K bytes -
Maps.java
ValueDifference<V>> entriesDiffering() { L662: return differences; L663: } L664: L665: @Override L666: public boolean equals(@CheckForNull Object object) { L667: if (object == this) { L668: return true; L669: } L670: if (object instanceof MapDifference) { L671: MapDifference<?, ?> other = (MapDifference<?, ?>) object; L672: return entriesOnlyOnLeft().equals(other.entriesOnlyOnLeft()) L673: && entriesOnlyOnRight().equals(other.entriesOnlyOnRight())...github.com/google/guava/android/guava/src/com/g...Sat Oct 19 00:05:46 UTC 2024 161.6K bytes -
TestLogHandler.java
firstRecord.getMessage()); L49: * } L50: * </pre> L51: * L52: * @author Kevin Bourrillion L53: * @since 10.0 L54: */ L55:@GwtCompatible L56:@ElementTypesAreNonnullByDefault L57:public class TestLogHandler extends Handler { L58: private final Object lock = new Object(); L59: L60: /** We will keep a private list of all logged records */ L61: @GuardedBy("lock") L62: private final List<LogRecord> list = new ArrayList<>(); L63: L64: /** Adds the most recently logged record to our list. */ L65: @Override...github.com/google/guava/guava-testlib/src/com/g...Fri Jun 21 20:53:25 UTC 2024 2.8K bytes -
TransformedListIterator.java
e; L23: L24:/** L25: * An iterator that transforms a backing list iterator; for internal use. This avoids the object L26: * overhead of constructing a {@link Function} for internal methods. L27: * L28: * @author Louis Wasserman L29: */ L30:@GwtCompatible L31:@ElementTypesAreNonnullByDefault L32:abstract class TransformedListIterator<F extends @Nullable Object, T extends @Nullable Object> L33: extends TransformedIterator<F, T> implements ListIterator<T> { L34: TransformedListIterator(ListIterator<?...github.com/google/guava/android/guava/src/com/g...Tue Nov 21 21:43:01 UTC 2023 2.1K bytes -
TransformedListIterator.java
e; L23: L24:/** L25: * An iterator that transforms a backing list iterator; for internal use. This avoids the object L26: * overhead of constructing a {@link Function} for internal methods. L27: * L28: * @author Louis Wasserman L29: */ L30:@GwtCompatible L31:@ElementTypesAreNonnullByDefault L32:abstract class TransformedListIterator<F extends @Nullable Object, T extends @Nullable Object> L33: extends TransformedIterator<F, T> implements ListIterator<T> { L34: TransformedListIterator(ListIterator<?...github.com/google/guava/guava/src/com/google/co...Tue Nov 21 21:43:01 UTC 2023 2.1K bytes -
TesterRequirements.java
L54: public final Set<Feature<?>> getAbsentFeatures() { L55: return absentFeatures; L56: } L57: L58: @Override L59: public boolean equals(@Nullable Object object) { L60: if (object == this) { L61: return true; L62: } L63: if (object instanceof TesterRequirements) { L64: TesterRequirements that = (TesterRequirements) object; L65: return this.presentFeatures.equals(that.presentFeatures) L66: && this.absentFeatures.equals(that.absentFeatures); L67: } L68: return...github.com/google/guava/android/guava-testlib/s...Wed Oct 30 16:15:19 UTC 2024 2.5K bytes -
Multiset.java
L336: L337: // Comparison and hashing L338: L339: /** L340: * Compares the specified object with this multiset for equality. Returns {@code true} if the L341: * given object is also a multiset and contains equal elements with equal counts, regardless of L342: * order. L343: */ L344: @Override L345: // TODO(kevinb): caveats about equivalence-relation? L346: boolean equals(@CheckForNull Object object); L347: L348: /** L349: * Returns the hash code for this multiset. This is defined as...github.com/google/guava/android/guava/src/com/g...Sat Jun 17 14:40:53 UTC 2023 19.7K bytes -
TreeRangeMap.java
// This RangeMap is immutable. L411: private static final RangeMap<Comparable<?>, Object> EMPTY_SUB_RANGE_MAP = L412: new RangeMap<Comparable<?>, Object>() { L413: @Override L414: @CheckForNull L415: public Object get(Comparable<?> key) { L416: return null; L417: } L418: L419: @Override L420: @CheckForNull L421: public Entry<Range<Comparable<?>>, Object> getEntry(Comparable<?> key) { L422: return null; L423: } L424: L425:...github.com/google/guava/guava/src/com/google/co...Wed Oct 30 16:15:19 UTC 2024 26.7K bytes -
FessTransformer.java
oldValues; L113: if (oldValue instanceof Object[]) { L114: oldValues = (Object[]) oldValue; L115: } else if (oldValue instanceof Collection<?>) { L116: oldValues = ((Collection<?>) oldValue).toArray(); L117: } else { L118: oldValues = new Object[] { oldValue }; L119: } L120: if (value.getClass().isArray()) { L121: final Object[] newValues = (Object[]) value; L122: final Object[]...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 9.5K bytes -
InternersTest.java
assertThrows(NullPointerException.class, () -> pool.intern(null)); L48: } L49: L50: public void testStrong_builder() { L51: int concurrencyLevel = 42; L52: Interner<Object> interner = L53: Interners.newBuilder().strong().concurrencyLevel(concurrencyLevel).build(); L54: InternerImpl<Object> internerImpl = (InternerImpl<Object>) interner; L55: assertEquals(Strength.STRONG, internerImpl.map.keyStrength()); L56: } L57: L58: public void testWeak_simplistic() { L59: String canonical =...github.com/google/guava/guava-tests/test/com/go...Wed Jul 24 22:09:38 UTC 2024 4K bytes