Class AggregateMemberNames


  • public class AggregateMemberNames
    extends Object
    Represents a list of aggregate member names.

    This class maintains a cache of aggregate members names in order to be reused for all the aggregate values with the same type.

    • Method Detail

      • indexOf

        public int indexOf​(String name)
        Parameters:
        name -
        Returns:
        the index of the name in the list or -1 if it is not part of the list
      • get

        public String get​(int idx)
      • size

        public int size()
        Returns:
        the number of member names in this list
      • get

        public static AggregateMemberNames get​(String[] names)
        Factory method that returns the unique object corresponding to the list of names.
        Parameters:
        names - - ordered list of names for which an object will be created if not already existing and returned
        Returns:
        - the unique object corresponding to the list of names
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object