private void encodeFeatures(List<? extends EntryBase> features, ByteBuffer buffer) {
        IntegerCompressor.putCompressedPositiveNumber(features.size(), buffer);
        for (EntryBase e : features) {
            e.encode(buffer);
        }
    }
Returns a mutable collection of range feature entries.
container-search/src/main/java/com/yahoo/prelude/query/PredicateQueryItem.java