Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## avrora.util.profiling
Class Proportion.Share

    java.lang.Object
      avrora.util.profiling.DataItem
          avrora.util.profiling.Counter
              avrora.util.profiling.Proportion.Share

Enclosing class:
  Proportion

public class Proportion.Share
extends Counter

Internal class that encapsulates both a counter and the fraction of the total that this named Share represents.

Field Summary

Fields inherited from class avrora.util.profiling.Counter
`count`

Fields inherited from class avrora.util.profiling.DataItem
`name`

Constructor Summary
`Proportion.Share(java.lang.String newname)`
`Proportion.Share(java.lang.String newname, int count)`

Method Summary
`float` | `getFraction()`
`void` | `processData()`
`void` | `textReport()`

Methods inherited from class avrora.util.profiling.Counter
`getTotal, hasData, increment, increment, reset`

Methods inherited from class avrora.util.profiling.DataItem
`getName, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### Proportion.Share

    public Proportion.Share(java.lang.String newname)

### Proportion.Share

    public Proportion.Share(java.lang.String newname,
                            int count)

Method Detail

### getFraction

    public float getFraction()

### processData

    public void processData()

  Overrides:
    `processData` in class `Counter`

### textReport

    public void textReport()

  Overrides:
    `textReport` in class `Counter`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD