[
https://issues.apache.org/jira/browse/LUCENE-7918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16114380#comment-16114380
]
Karl Wright commented on LUCENE-7918:
-------------------------------------
[~ivera], there is no requirement in Lucene that all classes need a toString()
method, but I do find it is very helpful, and all the concrete object classes
in Geo3D have one. So I think that the composite classes should too. They can
rely on the members' toString() methods as needed.
> Give access to members of a composite shape
> -------------------------------------------
>
> Key: LUCENE-7918
> URL: https://issues.apache.org/jira/browse/LUCENE-7918
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/spatial3d
> Reporter: Ignacio Vera
> Assignee: Karl Wright
> Attachments: LUCENE-7918.patch
>
>
> Hi [~daddywri],
> I hope this is my last point in my wish list. In order to serialize objects I
> need to access the members of a composite geoshape. This is currently not
> possible so I was wondering if it is possible to add to more methods to the
> class GeoCompositeMembershipShape:
> public int size()
> public GeoMembershipShape getShape(int index)
> Thanks,
> Ignacio
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]