T
- Comparable
public interface ElementCounter<T extends java.lang.Comparable> extends BaseInterface<T>
ARRAY_IS_EMPTY, DATA_TYPE_NOT_SUPPORTED_YET, DECIMAL_RADIX, DELIMITER_COMMA, ELEMENT_NOT_FOUND, LIST_IS_EMPTY, OPERATION_NOT_SUPPORTED_YET
Modifier and Type | Method and Description |
---|---|
int |
countInLinearTime(T[] objects,
T targetElement) |
int |
countInLogTime(T[] objects,
T targetElement) |
checkArray, checkIntArray, checkList