Interface ElementKey

  • All Known Implementing Classes:
    ElementKey.EdgeKey, ElementKey.EntityKey

    public interface ElementKey
    An ElementKey wraps an element and overrides hashcode and equals to only select the parts of the element that make up the key - i.e the Group, vertex/source/destination/directed and the group by properties.

    This can then be used in a Map to group elements together prior to performing aggregation.

    An ElementKey should be constructed using one of the create methods.