com.bluecatcode.common.base.RichEnum Maven / Gradle / Ivy
The newest version!
package com.bluecatcode.common.base;
import javax.annotation.Nullable;
/**
* An interface for corresponding {@link com.bluecatcode.common.base.RichEnumInstance}
* and {@link com.bluecatcode.common.base.RichEnumConstants}
* @see com.bluecatcode.common.base.RichEnumInstance
* @see com.bluecatcode.common.base.RichEnumConstants
* @param the enum type
*/
public interface RichEnum {
boolean nameEquals(@Nullable String that);
boolean nameEqualsIgnoreCase(@Nullable String that);
boolean nameEqualsIgnoreCaseAndUnderscore(@Nullable String that);
}