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

io.activej.serializer.def.AbstractSerializerDef Maven / Gradle / Ivy

Go to download

Extremely fast and space-efficient serializers. Implemented using bytecode engineering.

There is a newer version: 6.0-rc2
Show newest version
package io.activej.serializer.def;

import io.activej.serializer.CompatibilityLevel;

import java.util.Set;

public abstract class AbstractSerializerDef implements SerializerDef {
	@Override
	public void accept(Visitor visitor) {
	}

	@Override
	public Set getVersions() {
		return Set.of();
	}

	@Override
	public boolean isInline(int version, CompatibilityLevel compatibilityLevel) {
		return true;
	}

	@Override
	public Class getDecodeType() {
		return getEncodeType();
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy