* Implementation of Yang int8 built-in type. <br>
* int8 represents integer values between -128 and 127, inclusively. The Java
* counterpart of Yang int8 built-in type is {@link Byte}.
- *
+ *
* @see AbstractSignedInteger
*/
public final class Int8 extends AbstractSignedInteger {
- private static Int8 INSTANCE;
+ private static Int8 instance;
private static final QName NAME = BaseTypes.constructQName("int8");
private static final String DESCRIPTION = "represents integer values between -128 and 127, inclusively.";
}
public static Int8 getInstance() {
- if (INSTANCE == null) {
- INSTANCE = new Int8();
+ if (instance == null) {
+ instance = new Int8();
}
- return INSTANCE;
+ return instance;
}
@Override