com.epam.jdi.light.elements.complex.IHasSize Maven / Gradle / Ivy
package com.epam.jdi.light.elements.complex;
/**
* Created by Roman Iovlev on 26.09.2019
* Email: [email protected]; Skype: roman.iovlev
*/
public interface IHasSize {
int size();
default boolean isEmpty() { return size() == 0; }
default boolean isNotEmpty() { return size() > 0; }
}