*/
package org.opendaylight.yangtools.yang.model.util.type;
+import org.eclipse.jdt.annotation.NonNull;
import org.opendaylight.yangtools.yang.model.api.type.Int32TypeDefinition;
import org.opendaylight.yangtools.yang.model.util.BaseTypes;
final class BaseInt32Type extends AbstractRangeRestrictedBaseType<Int32TypeDefinition, Integer>
implements Int32TypeDefinition {
- static final BaseInt32Type INSTANCE = new BaseInt32Type();
+ static final @NonNull BaseInt32Type INSTANCE = new BaseInt32Type();
private BaseInt32Type() {
super(BaseTypes.INT32_QNAME, Integer.MIN_VALUE, Integer.MAX_VALUE);
@Override
public int hashCode() {
- return TypeDefinitions.hashCode(this);
+ return Int32TypeDefinition.hashCode(this);
}
@Override
public boolean equals(final Object obj) {
- return TypeDefinitions.equals(this, obj);
+ return Int32TypeDefinition.equals(this, obj);
}
@Override
public String toString() {
- return TypeDefinitions.toString(this);
+ return Int32TypeDefinition.toString(this);
}
}