public class CounterSet<T> extends Object
| 构造器和说明 |
|---|
CounterSet() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
foreachByAsc(ObjIntConsumer<T> consumer) |
void |
foreachByDesc(ObjIntConsumer<T> consumer) |
T |
getMax() |
T |
getMin() |
Set<T> |
keySet() |
CounterSet<T> |
plus(T target) |
<K> CounterSet<T> |
plusAll(Collection<K> targets,
Function<K,T> mapping) |
CounterSet<T> |
sub(T target) |
public <K> CounterSet<T> plusAll(Collection<K> targets, Function<K,T> mapping)
public CounterSet<T> plus(T target)
public CounterSet<T> sub(T target)
public T getMax()
public T getMin()
public void foreachByAsc(ObjIntConsumer<T> consumer)
public void foreachByDesc(ObjIntConsumer<T> consumer)
Copyright © 2022. All rights reserved.