geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexMetadataResults.java
@Override
    public Iterable<Long> ids() {
        return new Iterable<Long>() {

            /**
             * {@inheritDoc}
             */
            @Override
            public Iterator<Long> iterator() {
                return new Iterator<Long>() {

                    /**
                     * {@inheritDoc}
                     */
                    @Override
                    public boolean hasNext() {
                        return !geometryMetadata.isLast();
                    }

                    /**
                     * {@inheritDoc}
                     */
                    @Override
                    public Long next() {
                        geometryMetadata.moveToNext();
                        return featureIndexer.getGeometryMetadata(geometryMetadata).getId();
                    }

                };
            }
        };
    }
@Override
    public Iterable<Long> ids() {
        return new Iterable<Long>() {

            /**
             * {@inheritDoc}
             */
            @Override
            public Iterator<Long> iterator() {
                return new Iterator<Long>() {

                    /**
                     * {@inheritDoc}
                     */
                    @Override
                    public boolean hasNext() {
                        return !geometryMetadata.isLast();
                    }

                    /**
                     * {@inheritDoc}
                     */
                    @Override
                    public Long next() {
                        geometryMetadata.moveToNext();
                        return featureIndexer.getGeometryMetadata(geometryMetadata).getId();
                    }

                };
            }
        };
    }
{@inheritDoc}