Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 1,875 for isobject (0.08 sec)

  1. SynchronizedQueueTest.java

    } L55: L56: @Override L57: public E remove() { L58: assertTrue(Thread.holdsLock(mutex)); L59: return delegate.remove(); L60: } L61: L62: @Override L63: public boolean remove(Object object) { L64: assertTrue(Thread.holdsLock(mutex)); L65: return delegate.remove(object); L66: } L67: L68: @Override L69: public @Nullable E peek() { L70: assertTrue(Thread.holdsLock(mutex)); L71: return delegate.peek(); L72: } L73: L74: @Override L75: public...
    github.com/google/guava/android/guava-tests/tes...
    Mon Aug 19 20:50:58 UTC 2024
      4.7K bytes
  2. AbstractBiMap.java

    } L402: L403: @Override L404: public boolean remove(@CheckForNull Object object) { L405: /* L406: * `o instanceof Entry` is guaranteed by `contains`, but we check it here to satisfy our L407: * nullness checker. L408: */ L409: if (!esDelegate.contains(object) || !(object instanceof Entry)) { L410: return false; L411: } L412: L413: Entry<?, ?> entry = (Entry<?, ?>) object; L414: inverse.delegate.remove(entry.getValue()); L415: /* L416:...
    github.com/google/guava/guava/src/com/google/co...
    Thu Aug 24 01:40:03 UTC 2023
      14.6K bytes
  3. Tables.java

    cked") L692: private static <K extends @Nullable Object, V extends @Nullable Object> L693: Function<Map<K, V>, Map<K, V>> unmodifiableWrapper() { L694: return (Function) UNMODIFIABLE_WRAPPER; L695: } L696: L697: private static final Function<? extends Map<?, ?>, ? extends Map<?, ?>> UNMODIFIABLE_WRAPPER = L698: new Function<Map<Object, Object>, Map<Object, Object>>() { L699: @Override L700: public Map<Object, Object> apply(Map<Object, Object> input) { L701: ...
    github.com/google/guava/android/guava/src/com/g...
    Wed Oct 16 21:21:17 UTC 2024
      26.3K bytes
  4. TearDownStack.java

    L39:@GwtCompatible L40:@ElementTypesAreNonnullByDefault L41:public class TearDownStack implements TearDownAccepter { L42: private static final Logger logger = Logger.getLogger(TearDownStack.class.getName()); L43: L44: @VisibleForTesting final Object lock = new Object(); L45: L46: @GuardedBy("lock") L47: final LinkedList<TearDown> stack = new LinkedList<>(); L48: L49: private final boolean suppressThrows; L50: L51: public TearDownStack() { L52: this.suppressThrows = false; L53: } L54: L55: public...
    github.com/google/guava/android/guava-testlib/s...
    Fri Jun 21 10:19:29 UTC 2024
      2.5K bytes
  5. ForwardingObjectTester.java

    super T>) Iterables.getOnlyElement(Arrays.asList(forwarderClass.getInterfaces())); L58: new ForwardingWrapperTester() L59: .testForwarding( L60: interfaceType, L61: new Function<Object, T>() { L62: @Override L63: public T apply(Object delegate) { L64: T mock = mock(forwarderClass, CALLS_REAL_METHODS); L65: try { L66: T stubber = doReturn(delegate).when(mock); L67: DELEGATE_MET...
    github.com/google/guava/android/guava-tests/tes...
    Thu Jan 05 19:41:03 UTC 2023
      2.5K bytes
  6. TearDownStack.java

    L39:@GwtCompatible L40:@ElementTypesAreNonnullByDefault L41:public class TearDownStack implements TearDownAccepter { L42: private static final Logger logger = Logger.getLogger(TearDownStack.class.getName()); L43: L44: @VisibleForTesting final Object lock = new Object(); L45: L46: @GuardedBy("lock") L47: final LinkedList<TearDown> stack = new LinkedList<>(); L48: L49: private final boolean suppressThrows; L50: L51: public TearDownStack() { L52: this.suppressThrows = false; L53: } L54: L55: public...
    github.com/google/guava/guava-testlib/src/com/g...
    Fri Jun 21 10:19:29 UTC 2024
      2.5K bytes
  7. ImmutableMapEntrySet.java

    @J2ktIncompatible // serialization L76: @GwtIncompatible // serialization L77: Object writeReplace() { L78: return super.writeReplace(); L79: } L80: } L81: L82: ImmutableMapEntrySet() {} L83: L84: abstract ImmutableMap<K, V> map(); L85: L86: @Override L87: public int size() { L88: return map().size(); L89: } L90: L91: @Override L92: public boolean contains(@CheckForNull Object object) { L93: if (object instanceof Entry) { L94: Entry<?, ?> entry = (Entry<?, ?>) object; L95:...
    github.com/google/guava/android/guava/src/com/g...
    Thu Nov 30 21:54:06 UTC 2023
      3.8K bytes
  8. UnhashableObject.java

    ullness.qual.Nullable; L21: L22:/** L23: * An unhashable object to be used in testing as values in our collections. L24: * L25: * @author Regina O'Dell L26: */ L27:@GwtCompatible L28:public class UnhashableObject implements Comparable<UnhashableObject> { L29: private final int value; L30: L31: public UnhashableObject(int value) { L32: this.value = value; L33: } L34: L35: @Override L36: public boolean equals(@Nullable Object object) { L37: if (object instanceof UnhashableObject) { L38:...
    github.com/google/guava/android/guava-testlib/s...
    Thu Apr 20 11:19:03 UTC 2023
      1.6K bytes
  9. AbstractNotAnnotatedInSuperclassTest.java

    lass> { L27: abstract static class SuperClass { L28: public abstract void overriddenInSubclassNowhereAnnotated(Object o); L29: L30: public abstract void overriddenAndAnnotatedInSubclass(Object o); L31: } L32: L33: static class SubClass extends SuperClass { L34: final List<Object> overriddenInSubclassNowhereAnnotatedEvents = Lists.newArrayList(); L35: final List<Object> overriddenAndAnnotatedInSubclassEvents = Lists.newArrayList(); L36: L37: @Override L38: public void overrid...
    github.com/google/guava/guava-tests/test/com/go...
    Tue Feb 08 21:35:40 UTC 2022
      2K bytes
  10. ImmutableMapValues.java

    L54: } L55: L56: @Override L57: public V next() { L58: return entryItr.next().getValue(); L59: } L60: }; L61: } L62: L63: @Override L64: public boolean contains(@CheckForNull Object object) { L65: return object != null && Iterators.contains(iterator(), object); L66: } L67: L68: @Override L69: boolean isPartialView() { L70: return true; L71: } L72: L73: @Override L74: public ImmutableList<V> asList() { L75: final ImmutableList<Entry<K, V>> entryList =...
    github.com/google/guava/android/guava/src/com/g...
    Thu Nov 30 21:54:06 UTC 2023
      3K bytes
Back to top