Interface Weight<T>

  • All Superinterfaces:
    Comparable<T>

    public interface Weight<T>
    extends Comparable<T>
    A weight is anything that can be compared and added.
    Author:
    AO Industries, Inc.
    • Method Detail

      • add

        T add​(T weight)
        Adds this weight to another weight, returning the new weight. This weight is not modified.