Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 1,875 for isobject (0.06 sec)

  1. ShortArrayAsListTest.java

    L129: L130: @Override L131: public List<Short> create(Object... elements) { L132: Short[] array = new Short[elements.length]; L133: short i = 0; L134: for (Object e : elements) { L135: array[i++] = (Short) e; L136: } L137: return create(array); L138: } L139: L140: /** L141: * Creates a new collection containing the given elements; implement this method instead of L142: * {@link #create(Object...)}. L143: */ L144: protected abstract List<Short>...
    github.com/google/guava/guava-tests/test/com/go...
    Thu Jun 01 09:32:35 UTC 2023
      5.6K bytes
  2. CharArrayAsListTest.java

    @Override L131: public List<Character> create(Object... elements) { L132: Character[] array = new Character[elements.length]; L133: int i = 0; L134: for (Object e : elements) { L135: array[i++] = (Character) e; L136: } L137: return create(array); L138: } L139: L140: /** L141: * Creates a new collection containing the given elements; implement this method instead of L142: * {@link #create(Object...)}. L143: */ L144: protected abstract List<Character>...
    github.com/google/guava/guava-tests/test/com/go...
    Thu Jun 01 09:32:35 UTC 2023
      5.7K bytes
  3. LocalCacheTest.java

    Object> listener = queuingRemovalListener(); L974: LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder().removalListener(listener)); L975: assertTrue(listener.isEmpty()); L976: L977: Object one = new Object(); L978: Object two = new Object(); L979: Object three = new Object(); L980: Object four = new Object(); L981: Object five = new Object(); L982: Object six = new Object(); L983: L984: map.put(one, two); L985: map.remove(one); L986: assertNotified(listener,...
    github.com/google/guava/guava-tests/test/com/go...
    Fri Oct 18 19:07:49 UTC 2024
      112.3K bytes
  4. ForwardingMap.java

    L132: } L133: L134: @Override L135: public boolean equals(@CheckForNull Object object) { L136: return object == this || delegate().equals(object); L137: } L138: L139: @Override L140: public int hashCode() { L141: return delegate().hashCode(); L142: } L143: L144: /** L145: * A sensible definition of {@link #putAll(Map)} in terms of {@link #put(Object, Object)}. If you L146: * override {@link #put(Object, Object)}, you may wish to override {@link #putAll(Map)} to forward L147: * to...
    github.com/google/guava/android/guava/src/com/g...
    Fri May 12 15:26:39 UTC 2023
      9.9K bytes
  5. LocalCacheTest.java

    Object> listener = queuingRemovalListener(); L958: LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder().removalListener(listener)); L959: assertTrue(listener.isEmpty()); L960: L961: Object one = new Object(); L962: Object two = new Object(); L963: Object three = new Object(); L964: Object four = new Object(); L965: Object five = new Object(); L966: Object six = new Object(); L967: L968: map.put(one, two); L969: map.remove(one); L970: assertNotified(listener,...
    github.com/google/guava/android/guava-tests/tes...
    Fri Oct 18 19:07:49 UTC 2024
      110.6K bytes
  6. NeitherAbstractNorAnnotatedInSuperclassTest.java

    extends AbstractEventBusTest<SubClass> { L27: static class SuperClass { L28: final List<Object> neitherOverriddenNorAnnotatedEvents = Lists.newArrayList(); L29: final List<Object> overriddenInSubclassNowhereAnnotatedEvents = Lists.newArrayList(); L30: final List<Object> overriddenAndAnnotatedInSubclassEvents = Lists.newArrayList(); L31: L32: public void neitherOverriddenNorAnnotated(Object o) { L33: neitherOverriddenNorAnnotatedEvents.add(o); L34: } L35: L36: public void...
    github.com/google/guava/android/guava-tests/tes...
    Tue Feb 08 21:35:40 UTC 2022
      2.5K bytes
  7. AbstractCache.java

    {@code K}. L59: * L60: * @since 11.0 L61: */ L62: /* L63: * <? extends Object> is mostly the same as <?> to plain Java. But to nullness checkers, they L64: * differ: <? extends Object> means "non-null types," while <?> means "all types." L65: */ L66: @Override L67: public ImmutableMap<K, V> getAllPresent(Iterable<? extends Object> keys) { L68: Map<K, V> result = Maps.newLinkedHashMap(); L69: for (Object key : keys) { L70: if (!result.containsKey(key)) { L71: @Suppres...
    github.com/google/guava/guava/src/com/google/co...
    Tue Jun 15 18:00:07 UTC 2021
      9.1K bytes
  8. 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
  9. BsCrawlingInfo.java

    Source L69: // ====== L70: @Override L71: public Map<String, Object> toSource() { L72: Map<String, Object> sourceMap = new HashMap<>(); L73: if (createdTime != null) { L74: addFieldToSource(sourceMap, "createdTime", createdTime); L75: } L76: if (expiredTime != null) { L77: addFieldToSource(sourceMap,...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      5.3K bytes
  10. FilteredMultimapValues.java

    L31: L32:/** L33: * Implementation for {@link FilteredMultimap#values()}. L34: * L35: * @author Louis Wasserman L36: */ L37:@GwtCompatible L38:@ElementTypesAreNonnullByDefault L39:final class FilteredMultimapValues<K extends @Nullable Object, V extends @Nullable Object> L40: extends AbstractCollection<V> { L41: @Weak private final FilteredMultimap<K, V> multimap; L42: L43: FilteredMultimapValues(FilteredMultimap<K, V> multimap) { L44: this.multimap = checkNotNull(multimap); L45: } L46: L47:...
    github.com/google/guava/android/guava/src/com/g...
    Wed Oct 30 16:15:19 UTC 2024
      3K bytes
Back to top