// 
// Decompiled by Procyon v0.6.0
// 

package com.hypixel.hytale.server.core.meta;

import javax.annotation.Nonnull;
import com.hypixel.hytale.codec.Codec;

public class PersistentMetaKey<T> extends MetaKey<T>
{
    private final String key;
    private final Codec<T> codec;
    
    PersistentMetaKey(final int id, final String key, final Codec<T> codec) {
        super(id);
        this.key = key;
        this.codec = codec;
    }
    
    public String getKey() {
        return this.key;
    }
    
    public Codec<T> getCodec() {
        return this.codec;
    }
    
    @Nonnull
    @Override
    public String toString() {
        return "PersistentMetaKey{key=" + this.key + "codec=" + String.valueOf(this.codec);
    }
}
