com.raylabz.bytesurge.schema.ShortSchema Maven / Gradle / Ivy
package com.raylabz.bytesurge.schema;
import com.raylabz.bytesurge.container.Container;
import com.raylabz.bytesurge.container.ShortContainer;
/**
* Defines a short schema.
* @author Nicos Kasenides - RayLabz
* @version 0.0.1
*/
public class ShortSchema extends Schema {
/**
* Constructs a ShortSchema.
*/
public ShortSchema() {
super(SchemaType.SHORT);
}
/**
* Converts the ShortSchema into a ShortContainer (default value: 0).
* @return Returns a ShortContainer.
*/
@Override
public Container toContainer() {
return new ShortContainer((short) 0);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy