![JAR search and dependency download from the Maven repository](/logo.png)
com.emv.qrcode.core.model.TLV Maven / Gradle / Ivy
package com.emv.qrcode.core.model;
import java.io.Serializable;
import java.util.Optional;
public interface TLV extends Serializable {
public T getTag();
public V getValue();
default Integer getLength() {
return Optional.ofNullable(getValue()).map(V::toString).map(String::length).orElse(0);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy