Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 1,961 for isobject (0.05 sec)

  1. ArrayMapTest.java

    } L304: L305: /** L306: * @throws Exception L307: */ L308: @Test L309: public void testPerformance() throws Exception { L310: int num = 100000; L311: Map<String, Object> hmap = new HashMap<String, Object>(); L312: Map<String, Object> amap = new ArrayMap<String, Object>(); L313: L314: long start = System.currentTimeMillis(); L315: for (int i = 0; i < num; i++) { L316: hmap.put(String.valueOf(i), null); L317: } L318: Syst...
    github.com/codelibs/corelib/src/test/java/org/c...
    Thu Mar 07 01:59:08 UTC 2024
      10.7K bytes
  2. Serialization.java

    content may change while the method is running. L57: * L58: * <p>The serialized output consists of the number of entries, first key, first value, second key, L59: * second value, and so on. L60: */ L61: static <K extends @Nullable Object, V extends @Nullable Object> void writeMap( L62: Map<K, V> map, ObjectOutputStream stream) throws IOException { L63: stream.writeInt(map.size()); L64: for (Map.Entry<K, V> entry : map.entrySet()) { L65: stream.writeObject(entry.getKey()); L66: ...
    github.com/google/guava/guava/src/com/google/co...
    Mon Mar 06 16:06:58 UTC 2023
      8.5K bytes
  3. NOTICE

    L1:runc L2: L3:Copyright 2012-2015 Docker, Inc. L4: L5:This product includes software developed at Docker, Inc. (http://www.docker.com). L6: L7:The following is courtesy of our legal counsel: L8: L9: L10:Use and transfer of Docker may be subject to certain restrictions by the L11:United States and other governments. L12:It is your responsibility to ensure that your use and/or transfer does not L13:violate applicable laws. L14: L15:For more information, please see http://www.bis.doc.gov L16: L17:See...
    github.com/kubernetes/kubernetes/LICENSES/third...
    Tue Oct 22 13:56:22 UTC 2024
      518 bytes
  4. ImmutableRangeMap.java

    @SuppressWarnings("RedundantOverride") L383: @Override L384: @J2ktIncompatible // serialization L385: Object writeReplace() { L386: return super.writeReplace(); L387: } L388: }; L389: } L390: L391: @Override L392: public int hashCode() { L393: return asMapOfRanges().hashCode(); L394: } L395: L396: @Override L397: public boolean equals(@CheckForNull Object o) { L398: if (o instanceof RangeMap) { L399: RangeMap<?, ?> rangeMap = (RangeMap<?, ?>) o; L400: ...
    github.com/google/guava/android/guava/src/com/g...
    Wed Oct 30 16:15:19 UTC 2024
      14.4K bytes
  5. CompactLinkedHashMapTest.java

    keys.size(), alternatingKeysAndValues.length); L160: assertEquals(2 * values.size(), alternatingKeysAndValues.length); L161: for (int i = 0; i < map.size(); i++) { L162: Object expectedKey = alternatingKeysAndValues[2 * i]; L163: Object expectedValue = alternatingKeysAndValues[2 * i + 1]; L164: Entry<Object, Object> expectedEntry = immutableEntry(expectedKey, expectedValue); L165: assertEquals(expectedEntry, entries.get(i)); L166: assertEquals(expectedKey, keys.get(i)); L167:...
    github.com/google/guava/guava-tests/test/com/go...
    Sat Oct 19 00:05:46 UTC 2024
      7.7K bytes
  6. PredicatesTest.java

    L319: L320: public void testAnd_iterableDefensivelyCopied() { L321: final List<Predicate<Object>> list = newArrayList(); L322: Iterable<Predicate<Object>> iterable = L323: new Iterable<Predicate<Object>>() { L324: @Override L325: public Iterator<Predicate<Object>> iterator() { L326: return list.iterator(); L327: } L328: }; L329: Predicate<Object> predicate = Predicates.and(iterable); L330: assertTrue(predicate.apply(1)); L331: li...
    github.com/google/guava/guava-tests/test/com/go...
    Thu Feb 22 17:15:24 UTC 2024
      32.4K bytes
  7. StoredLtrQueryBuilder.java

    L136: public StoredLtrQueryBuilder storeName(final String storeName) { L137: this.storeName = storeName; L138: return this; L139: } L140: L141: public Map<String, Object> params() { L142: return params; L143: } L144: L145: public StoredLtrQueryBuilder params(final Map<String, Object> params) { L146: this.params = Objects.requireNonNull(params); L147: return this; L148: } L149: L150: public List<String> activeFeatures() { L151: return activeFeatures;...
    github.com/codelibs/fess/src/main/java/org/code...
    Fri Oct 11 21:11:58 UTC 2024
      5.8K bytes
  8. CacheBuilder.java

    SimpleStatsCounter(); L250: } L251: }; L252: L253: enum NullListener implements RemovalListener<Object, Object> { L254: INSTANCE; L255: L256: @Override L257: public void onRemoval(RemovalNotification<Object, Object> notification) {} L258: } L259: L260: enum OneWeigher implements Weigher<Object, Object> { L261: INSTANCE; L262: L263: @Override L264: public int weigh(Object key, Object value) { L265: return 1; L266: } L267: } L268: L269: static final Ticker NULL_TICKER =...
    github.com/google/guava/guava/src/com/google/co...
    Fri Oct 18 19:07:49 UTC 2024
      51.6K bytes
  9. SafeTreeMap.java

    L41:public final class SafeTreeMap<K, V> implements Serializable, NavigableMap<K, V> { L42: @SuppressWarnings("unchecked") L43: private static final Comparator<Object> NATURAL_ORDER = L44: new Comparator<Object>() { L45: @Override L46: public int compare(Object o1, Object o2) { L47: return ((Comparable<Object>) o1).compareTo(o2); L48: } L49: }; L50: L51: private final NavigableMap<K, V> delegate; L52: L53: public SafeTreeMap() { L54: this(new TreeMap<K,...
    github.com/google/guava/guava-testlib/src/com/g...
    Tue Feb 20 17:00:05 UTC 2024
      7.5K bytes
  10. HashBiMap.java

    ated = true) L62:@ElementTypesAreNonnullByDefault L63:public final class HashBiMap<K extends @Nullable Object, V extends @Nullable Object> L64: extends IteratorBasedAbstractMap<K, V> implements BiMap<K, V>, Serializable { L65: L66: /** Returns a new, empty {@code HashBiMap} with the default initial capacity (16). */ L67: public static <K extends @Nullable Object, V extends @Nullable Object> HashBiMap<K, V> create() { L68: return create(16); L69: } L70: L71: /** L72: * Constructs a new,...
    github.com/google/guava/guava/src/com/google/co...
    Fri Oct 13 14:11:58 UTC 2023
      24.5K bytes
Back to top