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

com.jparams.store.index.Element Maven / Gradle / Ivy

There is a newer version: 3.1.4
Show newest version
package com.jparams.store.index;

import com.jparams.store.reference.Reference;

public final class Element
{
    private final Reference reference;
    private boolean removed;

    public Element(final Reference reference)
    {
        this.reference = reference;
    }

    public V get()
    {
        return reference.get();
    }

    public void remove()
    {
        removed = true;
    }

    Reference getReference()
    {
        return reference;
    }

    boolean isRemoved()
    {
        return removed;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy