@Override
    public boolean equals(Object other) {
        return other instanceof ArrayNode && elements.equals(((ArrayNode) other).elements);
    }
@param sloc Source location to use on the created node.
@param <T> Type of value in the collection.
@return Creates a collector that create an ArrayNode.
smithy-model/src/main/java/software/amazon/smithy/model/node/ArrayNode.java