All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.raylabz.bytesurge.schema.LongSchema Maven / Gradle / Ivy

There is a newer version: 0.0.5
Show newest version
package com.raylabz.bytesurge.schema;

import com.raylabz.bytesurge.container.Container;
import com.raylabz.bytesurge.container.LongContainer;

/**
 * Defines a long schema.
 * @author Nicos Kasenides - RayLabz
 * @version 0.0.1
 */
public class LongSchema extends Schema {

    /**
     * Constructs a LongSchema.
     */
    public LongSchema() {
        super(SchemaType.LONG);
    }

    /**
     * Converts the LongSchema into a LongContainer (default value: 0).
     * @return Returns a LongContainer.
     */
    @Override
    public Container toContainer() {
        return new LongContainer(0L);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy