Class ResourceEntryStatsCollector.ResourceStatistics
- java.lang.Object
-
- com.google.devrel.gmscore.tools.apk.arsc.ResourceEntryStatsCollector.ResourceStatistics
-
- Enclosing class:
- ResourceEntryStatsCollector
public static class ResourceEntryStatsCollector.ResourceStatistics extends java.lang.ObjectStats for an individualArscBlamer.ResourceEntry.
-
-
Field Summary
Fields Modifier and Type Field Description static ResourceEntryStatsCollector.ResourceStatisticsEMPTYThe empty, immutable instance of ResourceStatistics which contains 0 for all values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetPrivateSize()The number of bytes that would be freed if this resource was removed.doublegetProportionalSize()The total size this resource is responsible for.intgetSharedSize()The number of bytes taken up by this resource that are also shared with other resources.
-
-
-
Field Detail
-
EMPTY
public static final ResourceEntryStatsCollector.ResourceStatistics EMPTY
The empty, immutable instance of ResourceStatistics which contains 0 for all values.
-
-
Method Detail
-
getPrivateSize
public int getPrivateSize()
The number of bytes that would be freed if this resource was removed.
-
getSharedSize
public int getSharedSize()
The number of bytes taken up by this resource that are also shared with other resources.
-
getProportionalSize
public double getProportionalSize()
The total size this resource is responsible for.
-
-