
public class GlobalInformation extends Object
| Modifier and Type | Field and Description | 
|---|---|
Map<String,Map<String,String>> | 
dependencies  | 
| Constructor and Description | 
|---|
GlobalInformation(String permutationId)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addFragmentDescriptor(int fragment,
                     String desc)
Adds a descriptor (a split point) to a fragment. 
 | 
SizeBreakdown[] | 
allSizeBreakdowns()  | 
void | 
computePackageSizes()
Computes all package sizes. 
 | 
SizeBreakdown | 
fragmentCodeBreakdown(int fragment)
Gets an exclusive code breakdown for a fragment. 
 | 
Map<String,String> | 
getClassToPackage()
Gets the mapping from each class to its package. 
 | 
HashMap<String,HashSet<String>> | 
getClassToWhatItDependsOn()
Gets the mapping from a class to what it depends on. 
 | 
Map<Integer,SizeBreakdown> | 
getExclusiveCodeBreakdowns()
Gets the exclusive code breakdown. 
 | 
List<String> | 
getFragmentDescriptors(int fragment)
Gets the descriptors associated with a
 fragment. 
 | 
SizeBreakdown | 
getInitialCodeBreakdown()
Gets the initial fragment size breakdown. 
 | 
ArrayList<Integer> | 
getInitialFragmentLoadSequence()
Gets the initial load sequence. 
 | 
SizeBreakdown | 
getLeftoversBreakdown()
Gets the leftovers fragment size breakdown. 
 | 
int | 
getNumFragments()
Gets the number of fragments.. 
 | 
Map<String,TreeSet<String>> | 
getPackageToClasses()
Gets the mapping from packages to classes. 
 | 
String | 
getPermutationId()  | 
SizeBreakdown | 
getTotalCodeBreakdown()
Gets the total code breakdown. 
 | 
public GlobalInformation(String permutationId)
public SizeBreakdown[] allSizeBreakdowns()
public void computePackageSizes()
public final Map<String,String> getClassToPackage()
public final HashMap<String,HashSet<String>> getClassToWhatItDependsOn()
public final Map<Integer,SizeBreakdown> getExclusiveCodeBreakdowns()
public final SizeBreakdown getInitialCodeBreakdown()
public final SizeBreakdown getLeftoversBreakdown()
public final int getNumFragments()
public final Map<String,TreeSet<String>> getPackageToClasses()
public String getPermutationId()
public final ArrayList<Integer> getInitialFragmentLoadSequence()
public final void addFragmentDescriptor(int fragment,
                                        String desc)
fragment - the fragment number.desc - a string describing a split point for fragment fragmentpublic final List<String> getFragmentDescriptors(int fragment)
fragment - the fragment numberpublic final SizeBreakdown getTotalCodeBreakdown()
public SizeBreakdown fragmentCodeBreakdown(int fragment)
fragment - the fragment idCopyright © 2018. All rights reserved.