@Override
    public boolean equals(Object o) {
        if (o == null) return false;
        if (!o.getClass().equals(DelegationTokenImage.class)) return false;
        DelegationTokenImage other = (DelegationTokenImage) o;
        return tokens.equals(other.tokens);
    }
Represents the DelegationToken credentials in the metadata image.

This class is thread-safe.
metadata/src/main/java/org/apache/kafka/image/DelegationTokenImage.java