/*
 * Copyright (C) 2016-2022 ActionTech.
 * License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher.
 */

package com.actiontech.dble.plan.common.ptr;

public class LongPtr {
    private long l;

    public LongPtr(long l) {
        this.l = l;
    }

    public long get() {
        return l;
    }

    public void set(long v) {
        this.l = v;
    }

    public long decre() {
        return l--;
    }

    public long incre() {
        return l++;
    }
}
