@Deprecated public final class SetShape extends ListShape
set shape.
Sets are deprecated. Use list shapes with the uniqueItems trait instead. When serialized using IDL v2, sets are converted to lists with the uniqueItems trait.
| Modifier and Type | Class and Description |
|---|---|
static class |
SetShape.Builder
Deprecated.
Builder used to create a
SetShape. |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
accept(ShapeVisitor<R> visitor)
Deprecated.
Dispatches the shape to the appropriate
ShapeVisitor method. |
java.util.Optional<SetShape> |
asSetShape()
Deprecated.
|
static SetShape.Builder |
builder()
Deprecated.
|
ShapeType |
getType()
Deprecated.
Gets the type of the shape.
|
SetShape.Builder |
toBuilder()
Deprecated.
|
asListShapegetAllMembers, getMember, getMemberasBigDecimalShape, asBigIntegerShape, asBlobShape, asBooleanShape, asByteShape, asDocumentShape, asDoubleShape, asEnumShape, asFloatShape, asIntegerShape, asIntEnumShape, asLongShape, asMapShape, asMemberShape, asOperationShape, asResourceShape, asServiceShape, asShortShape, asStringShape, asStructureShape, asTimestampShape, asUnionShape, compareTo, equals, expectTrait, findMemberTrait, findTrait, findTrait, getAllTraits, getId, getIntroducedTraits, getMemberNames, getMemberTrait, getMixins, getRequiredMembers, getSourceLocation, getTags, getTrait, hashCode, hasTrait, hasTrait, hasTrait, isBigDecimalShape, isBigIntegerShape, isBlobShape, isBooleanShape, isByteShape, isDocumentShape, isDoubleShape, isEnumShape, isFloatShape, isIntegerShape, isIntEnumShape, isListShape, isLongShape, isMapShape, isMemberShape, isOperationShape, isResourceShape, isServiceShape, isSetShape, isShortShape, isStringShape, isStructureShape, isTimestampShape, isUnionShape, members, shapeToBuilder, toShapeId, toString, validateMemberShapeIds, validateMixinsclone, finalize, getClass, notify, notifyAll, wait, wait, waitcomparepublic static SetShape.Builder builder()
public SetShape.Builder toBuilder()
public <R> R accept(ShapeVisitor<R> visitor)
ShapeShapeVisitor method.public java.util.Optional<SetShape> asSetShape()
asSetShape in class ShapeSetShape.