@SuppressWarnings("unchecked")
        T peekFirst() {
            return (T) this.elements[this.offset];
        }
A recyclable segment.
@author boyan(boyan@antfin.com)

@param <T>
jraft-core/src/main/java/com/alipay/sofa/jraft/util/SegmentList.java