Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 1,875 for isobject (0.04 sec)

  1. NetworkMutationTest.java

    testNetworkMutation(NetworkBuilder.undirected()); L47: } L48: L49: private static void testNetworkMutation(NetworkBuilder<? super Integer, Object> networkBuilder) { L50: Random gen = new Random(42); // Fixed seed so test results are deterministic. L51: L52: for (int trial = 0; trial < NUM_TRIALS; ++trial) { L53: MutableNetwork<Integer, Object> network = L54: networkBuilder.allowsParallelEdges(true).allowsSelfLoops(true).build(); L55: L56: assertThat(network.nodes()).isEmpty();...
    github.com/google/guava/guava-tests/test/com/go...
    Wed Apr 10 19:42:18 UTC 2024
      4.5K bytes
  2. MapTestSuiteBuilderTests.java

    AtomicBoolean setUpRan; L304: L305: CheckSetUpInvocationHandler(Map<String, String> map, AtomicBoolean setUpRan) { L306: this.map = map; L307: this.setUpRan = setUpRan; L308: } L309: L310: @Override L311: public Object invoke(Object target, Method method, Object[] args) throws Throwable { L312: assertTrue("setUp should have run", setUpRan.get()); L313: try { L314: return method.invoke(map, args); L315: } catch (InvocationTargetException e) { L316: throw e.getCause();...
    github.com/google/guava/guava-testlib/test/com/...
    Wed Apr 19 19:24:36 UTC 2023
      11.9K bytes
  3. DenseImmutableTable.java

    Casts without copying. L301: ImmutableMap<R, ImmutableMap<C, V>> rowMap = this.rowMap; L302: return ImmutableMap.<R, Map<C, V>>copyOf(rowMap); L303: } L304: L305: @Override L306: @CheckForNull L307: public V get(@CheckForNull Object rowKey, @CheckForNull Object columnKey) { L308: Integer rowIndex = rowKeyToIndex.get(rowKey); L309: Integer columnIndex = columnKeyToIndex.get(columnKey); L310: return ((rowIndex == null) || (columnIndex == null)) ? null : values[rowIndex][columnIndex];...
    github.com/google/guava/guava/src/com/google/co...
    Sat Oct 19 00:05:46 UTC 2024
      10.1K bytes
  4. AbstractInvocationHandler.java

    .checker.nullness.qual.Nullable; L23: L24:/** L25: * Abstract implementation of {@link InvocationHandler} that handles {@link Object#equals}, {@link L26: * Object#hashCode} and {@link Object#toString}. For example: L27: * L28: * <pre> L29: * class Unsupported extends AbstractInvocationHandler { L30: * protected Object handleInvocation(Object proxy, Method method, Object[] args) { L31: * throw new UnsupportedOperationException(); L32: * } L33: * } L34: * L35: * CharSequence unsupported = ...
    github.com/google/guava/android/guava/src/com/g...
    Wed Jan 05 17:43:40 UTC 2022
      5.2K bytes
  5. DescendingMultiset.java

    L150: public Iterator<E> iterator() { L151: return Multisets.iteratorImpl(this); L152: } L153: L154: @Override L155: public @Nullable Object[] toArray() { L156: return standardToArray(); L157: } L158: L159: @Override L160: @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations L161: public <T extends @Nullable Object> T[] toArray(T[] array) { L162: return standardToArray(array); L163: } L164: L165: @Override L166: public String toString() { L167:...
    github.com/google/guava/android/guava/src/com/g...
    Mon Jun 26 21:02:13 UTC 2023
      4.5K bytes
  6. AnnotatedNotAbstractInSuperclassTest.java

    <SubClass> { L27: static class SuperClass { L28: final List<Object> notOverriddenInSubclassEvents = Lists.newArrayList(); L29: final List<Object> overriddenNotAnnotatedInSubclassEvents = Lists.newArrayList(); L30: final List<Object> overriddenAndAnnotatedInSubclassEvents = Lists.newArrayList(); L31: final List<Object> differentlyOverriddenNotAnnotatedInSubclassBadEvents = Lists.newArrayList(); L32: final List<Object> differentlyOverriddenAnnotatedInSubclassBadEvents = Lists.newArrayList();...
    github.com/google/guava/android/guava-tests/tes...
    Tue Feb 08 21:35:40 UTC 2022
      4.1K bytes
  7. AbstractMapBasedMultiset.java

    explicit {@code readObject} and {@code L43: * writeObject} methods. L44: * L45: * @author Kevin Bourrillion L46: */ L47:@GwtCompatible(emulated = true) L48:@ElementTypesAreNonnullByDefault L49:abstract class AbstractMapBasedMultiset<E extends @Nullable Object> extends AbstractMultiset<E> L50: implements Serializable { L51: L52: transient ObjectCountHashMap<E> backingMap; L53: transient long size; L54: L55: AbstractMapBasedMultiset(int distinctElements) { L56: backingMap = newBackingMap(distinctElements);...
    github.com/google/guava/android/guava/src/com/g...
    Mon Mar 06 16:06:58 UTC 2023
      8.2K bytes
  8. ToStringHelperTest.java

    anonymous class has a name ending like "Outer.$n" L125: Object unused1 = new Object() {}; L126: Object unused2 = new Object() {}; L127: Object unused3 = new Object() {}; L128: Object unused4 = new Object() {}; L129: Object unused5 = new Object() {}; L130: Object unused6 = new Object() {}; L131: Object unused7 = new Object() {}; L132: Object unused8 = new Object() {}; L133: Object unused9 = new Object() {}; L134: Object o10 = new Object() {}; L135: String toTest = MoreO...
    github.com/google/guava/android/guava-tests/tes...
    Wed Oct 09 21:19:18 UTC 2024
      21.3K bytes
  9. GroupDbm.java

    public void acceptPrimaryKeyMap(Entity entity, Map<String, ? extends Object> primaryKeyMap) { L197: } L198: L199: @Override L200: public void acceptAllColumnMap(Entity entity, Map<String, ? extends Object> allColumnMap) { L201: } L202: L203: @Override L204: public Map<String, Object> extractPrimaryKeyMap(Entity entity) { L205: return null; L206: } L207: L208: @Override L209: public Map<String, Object> extractAllColumnMap(Entity entity) { L210: return null; L211:...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      7.6K bytes
  10. FreshValueGenerator.java

    interfaceType; L291: } L292: L293: @Override L294: @CheckForNull L295: protected Object handleInvocation(Object proxy, Method method, @Nullable Object[] args) { L296: return interfaceMethodCalled(interfaceType, method); L297: } L298: L299: @Override L300: public int hashCode() { L301: return identity; L302: } L303: L304: @Override L305: public boolean equals(@Nullable Object obj) { L306: if (obj instanceof FreshInvocationHandler) { L307: FreshInvocationHandler...
    github.com/google/guava/android/guava-testlib/s...
    Tue Jul 23 14:22:54 UTC 2024
      28.1K bytes
Back to top