public void subtractAll(K1 key, Counter<K2> c) { ClassicCounter<K2> myInner = getCounter(key); Counters.subtractInPlace(myInner, c); total -= c.totalCount(); }
public void subtractAll(K1 key, IntCounter<K2> c) { IntCounter<K2> myInner = getCounter(key); Counters.subtractInPlace(myInner, c); total -= c.totalIntCount(); }
public void subtractAll(TwoDimensionalIntCounter<K1, K2> c, boolean removeKeys) { for (K1 key : c.firstKeySet()) { IntCounter<K2> inner = c.getCounter(key); IntCounter<K2> myInner = getCounter(key); Counters.subtractInPlace(myInner, inner); if (removeKeys) { Counters.retainNonZeros(myInner); } total -= inner.totalIntCount(); } }
public void subtractAll(TwoDimensionalCounterInterface<K1, K2> c, boolean removeKeys) { for (K1 key : c.firstKeySet()) { Counter<K2> inner = c.getCounter(key); ClassicCounter<K2> myInner = getCounter(key); Counters.subtractInPlace(myInner, inner); if (removeKeys) Counters.retainNonZeros(myInner); total -= inner.totalCount(); } }
public void subtractAll(K1 key, IntCounter<K2> c) { IntCounter<K2> myInner = getCounter(key); Counters.subtractInPlace(myInner, c); total -= c.totalIntCount(); }
public void subtractAll(K1 key, Counter<K2> c) { ClassicCounter<K2> myInner = getCounter(key); Counters.subtractInPlace(myInner, c); total -= c.totalCount(); }
public void subtractAll(K1 key, Counter<K2> c) { ClassicCounter<K2> myInner = getCounter(key); Counters.subtractInPlace(myInner, c); total -= c.totalCount(); }
public void subtractAll(K1 key, IntCounter<K2> c) { IntCounter<K2> myInner = getCounter(key); Counters.subtractInPlace(myInner, c); total -= c.totalIntCount(); }
public void subtractAll(K1 key, Counter<K2> c) { ClassicCounter<K2> myInner = getCounter(key); Counters.subtractInPlace(myInner, c); total -= c.totalCount(); }
public void subtractAll(K1 key, IntCounter<K2> c) { IntCounter<K2> myInner = getCounter(key); Counters.subtractInPlace(myInner, c); total -= c.totalIntCount(); }
public void subtractAll(K1 key, Counter<K2> c) { ClassicCounter<K2> myInner = getCounter(key); Counters.subtractInPlace(myInner, c); total -= c.totalCount(); }
public void subtractAll(TwoDimensionalIntCounter<K1, K2> c, boolean removeKeys) { for (K1 key : c.firstKeySet()) { IntCounter<K2> inner = c.getCounter(key); IntCounter<K2> myInner = getCounter(key); Counters.subtractInPlace(myInner, inner); if (removeKeys) { Counters.retainNonZeros(myInner); } total -= inner.totalIntCount(); } }
public void subtractAll(TwoDimensionalCounterInterface<K1, K2> c, boolean removeKeys) { for (K1 key : c.firstKeySet()) { Counter<K2> inner = c.getCounter(key); ClassicCounter<K2> myInner = getCounter(key); Counters.subtractInPlace(myInner, inner); if (removeKeys) Counters.retainNonZeros(myInner); total -= inner.totalCount(); } }
public void subtractAll(TwoDimensionalIntCounter<K1, K2> c, boolean removeKeys) { for (K1 key : c.firstKeySet()) { IntCounter<K2> inner = c.getCounter(key); IntCounter<K2> myInner = getCounter(key); Counters.subtractInPlace(myInner, inner); if (removeKeys) { Counters.retainNonZeros(myInner); } total -= inner.totalIntCount(); } }
public void subtractAll(TwoDimensionalIntCounter<K1, K2> c, boolean removeKeys) { for (K1 key : c.firstKeySet()) { IntCounter<K2> inner = c.getCounter(key); IntCounter<K2> myInner = getCounter(key); Counters.subtractInPlace(myInner, inner); if (removeKeys) { Counters.retainNonZeros(myInner); } total -= inner.totalIntCount(); } }
public void subtractAll(TwoDimensionalCounterInterface<K1, K2> c, boolean removeKeys) { for (K1 key : c.firstKeySet()) { Counter<K2> inner = c.getCounter(key); ClassicCounter<K2> myInner = getCounter(key); Counters.subtractInPlace(myInner, inner); if (removeKeys) Counters.retainNonZeros(myInner); total -= inner.totalCount(); } }
public void subtractAll(TwoDimensionalCounterInterface<K1, K2> c, boolean removeKeys) { for (K1 key : c.firstKeySet()) { Counter<K2> inner = c.getCounter(key); ClassicCounter<K2> myInner = getCounter(key); Counters.subtractInPlace(myInner, inner); if (removeKeys) Counters.retainNonZeros(myInner); total -= inner.totalCount(); } }
public void subtractAll(TwoDimensionalCounter<K1, K2> c, boolean removeKeys) { for (K1 key : c.firstKeySet()) { ClassicCounter<K2> inner = c.getCounter(key); ClassicCounter<K2> myInner = getCounter(key); Counters.subtractInPlace(myInner, inner); if (removeKeys) Counters.retainNonZeros(myInner); total -= inner.totalCount(); } }