src/main/java/eu/digitisation/math/BiCounter.java
public BiCounter<T1, T2> add(T1 o1, T2 o2, int value) {
        Pair<T1, T2> pair = new Pair<T1, T2>(o1, o2);
        super.add(pair, value);
        subtotal1.add(o1, value);
        subtotal2.add(o2, value);
        return this;
    }
/**
     *
     * @param o1 first component in pair to be incremented
     * @param o2 second component in pair to be incremented
     * @param value the value to be added for the pair count
     * @return this BiCounter
     */
@param o1 first component in pair to be incremented
@param o2 second component in pair to be incremented
@param value the value to be added for the pair count
@return this BiCounter
@param o1 first component in pair to be incremented @param o2 second component in pair to be incremented @param value the value to be added for the pair count @return this BiCounter
public BiCounter<T1, T2> add(T1 o1, T2 o2, int value) {
        Pair<T1, T2> pair = new Pair<T1, T2>(o1, o2);
        super.add(pair, value);
        subtotal1.add(o1, value);
        subtotal2.add(o2, value);
        return this;
    }
public BiCounter < T1 , T2 > add ( T1 o1 , T2 o2 , int value ) { Pair < T1 , T2 > pair = new Pair < T1 , T2 > ( o1 , o2 ) ; super . add ( pair , value ) ; subtotal1 . add ( o1 , value ) ; subtotal2 . add ( o2 , value ) ; return this ; }
@param o1 first component in pair to be incremented
 @param o2 second component in pair to be incremented
 @param value the value to be added for the pair count
 @return this BiCounter
@param o1 first component in pair to be incremented @param o2 second component in pair to be incremented @param value the value to be added for the pair count @return this BiCounter