com.android.dx.dex.file
Class Statistics

java.lang.Object
  extended by com.android.dx.dex.file.Statistics

public final class Statistics
extends Object

Statistics about the contents of a file.


Constructor Summary
Statistics()
          Constructs an instance.
 
Method Summary
 void add(Item item)
          Adds the given item to the statistics.
 void addAll(Section list)
          Adds the given list of items to the statistics.
 String toHuman()
           
 void writeAnnotation(AnnotatedOutput out)
          Writes the statistics as an annotation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Statistics

public Statistics()
Constructs an instance.

Method Detail

add

public void add(Item item)
Adds the given item to the statistics.

Parameters:
item - non-null; the item to add

addAll

public void addAll(Section list)
Adds the given list of items to the statistics.

Parameters:
list - non-null; the list of items to add

writeAnnotation

public final void writeAnnotation(AnnotatedOutput out)
Writes the statistics as an annotation.

Parameters:
out - non-null; where to write to

toHuman

public String toHuman()


Copyright © 2013. All Rights Reserved.