![JAR search and dependency download from the Maven repository](/logo.png)
com.github.sisyphsu.smartbuf.node.array.BooleanArrayNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smartbuf Show documentation
Show all versions of smartbuf Show documentation
SmartBuf, is a cross-language serialization and deserialization framework, and it has
high performance and compression ratio like protobuf, high compatibility and scalability like json.
The newest version!
package com.github.sisyphsu.smartbuf.node.array;
import com.github.sisyphsu.smartbuf.node.Node;
import com.github.sisyphsu.smartbuf.node.NodeType;
/**
* BooleanArrayNode represents boolean[]
*
* @author sulin
* @since 2019-11-03 14:46:34
*/
public final class BooleanArrayNode extends Node {
private final boolean[] data;
public BooleanArrayNode(boolean[] data) {
this.data = data;
}
@Override
public Object value() {
return data;
}
@Override
public NodeType type() {
return NodeType.ARRAY_BOOLEAN;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy