org.ccnx.ccn.impl.CCNStats.CCNEnumStats< K extends Enum< K >>.IStatsEnum Interface Reference

The statistics Enum used by "K extends Enum<K>" must implement this interface. More...

List of all members.

Public Member Functions

int getIndex (String name) throws IllegalArgumentException
 Given the enum string, return its index value.
String getName (int index) throws ArrayIndexOutOfBoundsException
 Given an index value, return the name.
String getUnits (int index) throws ArrayIndexOutOfBoundsException
 Return the units of the count.
String getDescription (int index) throws ArrayIndexOutOfBoundsException
 Return a short description of the counter.
String[] getNames ()
 Return all counter names.


Detailed Description

The statistics Enum used by "K extends Enum<K>" must implement this interface.

See the example in ExampleClassWithStatistics below for how to do this.


The documentation for this interface was generated from the following file:

Generated on Thu Feb 16 00:44:52 2012 for Content-Centric Networking in Java by  doxygen 1.5.6