Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 1,961 for isobject (0.04 sec)

  1. ImmutableMapWithBadHashesMapInterfaceTest.java

    L21:import java.util.Map; L22: L23:@GwtCompatible L24:public class ImmutableMapWithBadHashesMapInterfaceTest L25: extends AbstractImmutableMapMapInterfaceTest<Object, Integer> { L26: @Override L27: protected Map<Object, Integer> makeEmptyMap() { L28: throw new UnsupportedOperationException(); L29: } L30: L31: @Override L32: protected Map<Object, Integer> makePopulatedMap() { L33: Colliders colliders = new Colliders(); L34: return ImmutableMap.of( L35: colliders.e0(), 0, L36: ...
    github.com/google/guava/android/guava-tests/tes...
    Wed Mar 09 02:18:08 UTC 2022
      1.4K bytes
  2. UsingToStringOrdering.java

    nnullByDefault L25:final class UsingToStringOrdering extends Ordering<Object> implements Serializable { L26: static final UsingToStringOrdering INSTANCE = new UsingToStringOrdering(); L27: L28: @Override L29: public int compare(Object left, Object right) { L30: return left.toString().compareTo(right.toString()); L31: } L32: L33: // preserve singleton-ness, so equals() and hashCode() work correctly L34: private Object readResolve() { L35: return INSTANCE; L36: } L37: L38: @Override L39:...
    github.com/google/guava/guava/src/com/google/co...
    Sun Jun 20 14:22:42 UTC 2021
      1.4K bytes
  3. ValueGraph.java

    ElementOrder<N> nodeOrder(); L153: L154: /** L155: * Returns an {@link ElementOrder} that specifies the order of iteration for the elements of L156: * {@link #edges()}, {@link #adjacentNodes(Object)}, {@link #predecessors(Object)}, {@link L157: * #successors(Object)} and {@link #incidentEdges(Object)}. L158: * L159: * @since 29.0 L160: */ L161: @Override L162: ElementOrder<N> incidentEdgeOrder(); L163: L164: // L165: // Element-level accessors L166: // L167: L168: /** L169: * Returns...
    github.com/google/guava/guava/src/com/google/co...
    Thu Oct 10 15:41:27 UTC 2024
      16K bytes
  4. CompactLinkedHashSet.java

    java.util.LinkedHashSet}. Generally speaking, this class reduces object allocation and memory L48: * consumption at the price of moderately increased constant factors of CPU. Only use this class L49: * when there is a specific reason to prioritize memory over CPU. L50: * L51: * @author Louis Wasserman L52: */ L53:@GwtIncompatible // not worth using in GWT for now L54:@ElementTypesAreNonnullByDefault L55:class CompactLinkedHashSet<E extends @Nullable Object> extends CompactHashSet<E> { L56: L57: /** Creates an...
    github.com/google/guava/guava/src/com/google/co...
    Tue Jul 09 00:15:47 UTC 2024
      9.7K bytes
  5. JobLogTests.java

    ITEM_ENDPOINT_SUFFIX; L63: } L64: L65: @Override L66: protected Map<String, Object> createTestParam(int id) { L67: fail(); // Unreachable L68: return null; L69: } L70: L71: @Override L72: protected Map<String, Object> getUpdateMap() { L73: fail(); // Unreachable L74: return null; L75: } L76: L77: @Override L78: protected void testRead() { L79: final Map<String, Object> searchBody = new HashMap<>(); L80: final String response = checkMeth...
    github.com/codelibs/fess/src/test/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      2.5K bytes
  6. TestMapEntrySetGenerator.java

    Creates map entries using sample keys and sample values. L30: * L31: * @author Jesse Wilson L32: */ L33:@GwtCompatible L34:@ElementTypesAreNonnullByDefault L35:public abstract class TestMapEntrySetGenerator< L36: K extends @Nullable Object, V extends @Nullable Object> L37: implements TestSetGenerator<Map.Entry<K, V>> { L38: private final SampleElements<K> keys; L39: private final SampleElements<V> values; L40: L41: protected TestMapEntrySetGenerator(SampleElements<K> keys, SampleElements<V>...
    github.com/google/guava/guava-testlib/src/com/g...
    Wed Oct 30 16:15:19 UTC 2024
      2.2K bytes
  7. MultiEdgesConnecting.java

    @param <E> Edge parameter type L37: */ L38:@ElementTypesAreNonnullByDefault L39:abstract class MultiEdgesConnecting<E> extends AbstractSet<E> { L40: L41: private final Map<E, ?> outEdgeToNode; L42: private final Object targetNode; L43: L44: MultiEdgesConnecting(Map<E, ?> outEdgeToNode, Object targetNode) { L45: this.outEdgeToNode = checkNotNull(outEdgeToNode); L46: this.targetNode = checkNotNull(targetNode); L47: } L48: L49: @Override L50: public UnmodifiableIterator<E> iterator() { L51: ...
    github.com/google/guava/guava/src/com/google/co...
    Wed Oct 06 00:47:57 UTC 2021
      2.2K bytes
  8. FreshValueGenerator.java

    interfaceType; L295: } L296: L297: @Override L298: @CheckForNull L299: protected Object handleInvocation(Object proxy, Method method, @Nullable Object[] args) { L300: return interfaceMethodCalled(interfaceType, method); L301: } L302: L303: @Override L304: public int hashCode() { L305: return identity; L306: } L307: L308: @Override L309: public boolean equals(@Nullable Object obj) { L310: if (obj instanceof FreshInvocationHandler) { L311: FreshInvocationHandler...
    github.com/google/guava/guava-testlib/src/com/g...
    Tue Jul 23 14:22:54 UTC 2024
      28.7K bytes
  9. Multiset.java

    L354: L355: // Comparison and hashing L356: L357: /** L358: * Compares the specified object with this multiset for equality. Returns {@code true} if the L359: * given object is also a multiset and contains equal elements with equal counts, regardless of L360: * order. L361: */ L362: @Override L363: // TODO(kevinb): caveats about equivalence-relation? L364: boolean equals(@CheckForNull Object object); L365: L366: /** L367: * Returns the hash code for this multiset. This is defined as...
    github.com/google/guava/guava/src/com/google/co...
    Sat Jun 17 14:40:53 UTC 2023
      21K bytes
  10. ImmutableTypeToInstanceMapTest.java

    @SuppressWarnings({"unchecked", "rawtypes"}) L56: public Map<TypeToken, Object> create(Object... elements) { L57: ImmutableTypeToInstanceMap.Builder<Object> builder = L58: ImmutableTypeToInstanceMap.builder(); L59: for (Object object : elements) { L60: Entry<?, ?> entry = (Entry<?, ?>) object; L61: builder.put((TypeToken) entry.getKey(), entry.getValue()); L62: ...
    github.com/google/guava/android/guava-tests/tes...
    Thu Feb 22 17:15:24 UTC 2024
      6.8K bytes
Back to top