Class CollectionShape

  • All Implemented Interfaces:
    java.lang.Comparable<Shape>, FromSourceLocation, ToShapeId, software.amazon.smithy.utils.Tagged
    Direct Known Subclasses:
    ListShape, SetShape

    public abstract class CollectionShape
    extends Shape
    Abstract class representing Set and List shapes.
    • Method Detail

      • getMember

        public final MemberShape getMember()
        Get the member shape of the collection.
        Returns:
        Returns the member shape.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class Shape