
com.raylabz.bytesurge.schema.LongSchema Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bytesurge Show documentation
Show all versions of bytesurge Show documentation
A library for streaming byte messages of data in Java.
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