Interface ITypedQuantity<U extends TypedUnit<U>>

  • All Superinterfaces:
    Comparable<IQuantity>, IDisplayable, IItem, IQuantity

    public interface ITypedQuantity<U extends TypedUnit<U>>
    extends IQuantity
    Type parameterized extension of IQuantity. This construction exists to reduce clutter for casual users of IQuantity, while still providing type safety for internal implementations. (Proposed "self-variance" extensions to Java, in JDK 9 or beyond, may directly support this with a single interface.)