Top Fields Constructors Methods
org.controlsfx.control.table

pack-priv final Class DupeCounter<T>

extends Object
Class Inheritance
Imports
java.util.HashMap, .Optional

Field Summary

Modifier and TypeField and Description
private final HashMap<T, Integer>
private final boolean

Constructor Summary

AccessConstructor and Description
public
DupeCounter(boolean enforceFloor)

Method Summary

Modifier and TypeMethod and Description
public int
add(T value)

public int
get(T value)

public int
remove(T value)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

countsback to summary
private final HashMap<T, Integer> counts
enforceFloorback to summary
private final boolean enforceFloor

Constructor Detail

DupeCounterback to summary
public DupeCounter(boolean enforceFloor)

Method Detail

addback to summary
public int add(T value)
getback to summary
public int get(T value)
removeback to summary
public int remove(T value)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override