|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Measurable
represents a measure of some sort, combining a number with a unit. This class is related to JSR 275.
Unit| Nested Class Summary | |
|---|---|
static class |
Measurable.Adapter
|
| Method Summary | |
|---|---|
Number |
getAmount()
represents the quantity of this measurable entity |
Unit |
getUnit()
represents the unit type of this measurable entity |
| Method Detail |
|---|
Unit getUnit()
Number getAmount()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||