- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isKnownToHaveConstantTimeSizeMethod (0.61 sec)
-
subprojects/core/src/main/java/org/gradle/api/internal/WithEstimatedSize.java
* * @return the estimate size of the object */ int estimatedSize(); class Estimates { public static <T> int estimateSizeOf(Collection<T> collection) { if (isKnownToHaveConstantTimeSizeMethod(collection)) { return collection.size(); } if (collection instanceof WithEstimatedSize) { return ((WithEstimatedSize) collection).estimatedSize();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 18 08:11:23 UTC 2017 - 2.7K bytes - Viewed (0)