Class StringSizeEstimator
java.lang.Object
org.apache.jackrabbit.oak.commons.sort.StringSizeEstimator
Source copied from a publicly available library.
- Author:
- Eleftherios Chetzakis
- See Also:
-
Method Summary
-
Method Details
-
estimatedSizeOf
Estimates the size of aString
object in bytes.- Parameters:
s
- The string to estimate memory footprint.- Returns:
- The estimated size in bytes.
-