Skip to content

ListProxy Lists are not sortable #160

@Restage

Description

@Restage

ListProxy Lists returned by fetching nodes via a node's relationship property are not sortable by calling Collection.sort(). That's because the set() method in the ListProxy is not yet implemented.
Is this on purpose or just an incomplete implementation at this point in time? Personally I would prefer to sort the list in my application logic rather then querying the nodes in a specific order.

Small Example Code:

List<IEvent> eventNodes = matchdayNode.getEvents();
eventNodes.sort(new EventComparator());

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions