Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cardinality (0.14 sec)

  1. android/guava/src/com/google/common/collect/ImmutableMap.java

              dups.set(i);
            }
          }
          if (dups.isEmpty()) {
            return localAlternatingKeysAndValues;
          }
          Object[] newAlternatingKeysAndValues = new Object[(size - dups.cardinality()) * 2];
          for (int inI = 0, outI = 0; inI < size * 2; ) {
            if (dups.get(inI >>> 1)) {
              inI += 2;
            } else {
              newAlternatingKeysAndValues[outI++] =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableMap.java

              dups.set(i);
            }
          }
          if (dups.isEmpty()) {
            return entries;
          }
          @SuppressWarnings({"rawtypes", "unchecked"})
          Entry<K, V>[] newEntries = new Entry[size - dups.cardinality()];
          for (int inI = 0, outI = 0; inI < size; inI++) {
            if (!dups.get(inI)) {
              newEntries[outI++] = entries[inI];
            }
          }
          return newEntries;
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
Back to top