Record Class CAI1ComparisonSet.IsSupersetOf<T extends com.io7m.cedarbridge.runtime.api.CBSerializableType>
java.lang.Object
java.lang.Record
com.io7m.cardant.protocol.inventory.cb.CAI1ComparisonSet.IsSupersetOf<T>
- Type Parameters:
T-- Record Components:
fieldValue-
- All Implemented Interfaces:
CAI1ComparisonSet<T>,com.io7m.cedarbridge.runtime.api.CBSerializableType
- Enclosing interface:
CAI1ComparisonSet<T extends com.io7m.cedarbridge.runtime.api.CBSerializableType>
public static record CAI1ComparisonSet.IsSupersetOf<T extends com.io7m.cedarbridge.runtime.api.CBSerializableType>(com.io7m.cedarbridge.runtime.api.CBList<T extends com.io7m.cedarbridge.runtime.api.CBSerializableType> fieldValue)
extends Record
implements com.io7m.cedarbridge.runtime.api.CBSerializableType, CAI1ComparisonSet<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.io7m.cardant.protocol.inventory.cb.CAI1ComparisonSet
CAI1ComparisonSet.Anything<T extends com.io7m.cedarbridge.runtime.api.CBSerializableType>, CAI1ComparisonSet.IsEqualTo<T extends com.io7m.cedarbridge.runtime.api.CBSerializableType>, CAI1ComparisonSet.IsNotEqualTo<T extends com.io7m.cedarbridge.runtime.api.CBSerializableType>, CAI1ComparisonSet.IsOverlapping<T extends com.io7m.cedarbridge.runtime.api.CBSerializableType>, CAI1ComparisonSet.IsSubsetOf<T extends com.io7m.cedarbridge.runtime.api.CBSerializableType>, CAI1ComparisonSet.IsSupersetOf<T extends com.io7m.cedarbridge.runtime.api.CBSerializableType> -
Constructor Summary
ConstructorsConstructorDescriptionIsSupersetOf(com.io7m.cedarbridge.runtime.api.CBList<T> fieldValue) Creates an instance of aIsSupersetOfrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends com.io7m.cedarbridge.runtime.api.CBSerializableType>
CAI1ComparisonSet.IsSupersetOf<T> deserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, com.io7m.cedarbridge.runtime.api.CBDeserializeType<T> $deserializeT) Deserialize a value of type com.io7m.cardant.protocol.inventory.cb.IsSupersetOf.final booleanIndicates whether some other object is "equal to" this one.com.io7m.cedarbridge.runtime.api.CBList<T> Returns the value of thefieldValuerecord component.final inthashCode()Returns a hash code value for this object.static <T extends com.io7m.cedarbridge.runtime.api.CBSerializableType>
voidserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1ComparisonSet.IsSupersetOf<T> $x, com.io7m.cedarbridge.runtime.api.CBSerializeType<T> $serializeT) Serialize a value of type com.io7m.cardant.protocol.inventory.cb.IsSupersetOf.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
IsSupersetOf
Creates an instance of aIsSupersetOfrecord class.- Parameters:
fieldValue- the value for thefieldValuerecord component
-
-
Method Details
-
serialize
public static <T extends com.io7m.cedarbridge.runtime.api.CBSerializableType> void serialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1ComparisonSet.IsSupersetOf<T> $x, com.io7m.cedarbridge.runtime.api.CBSerializeType<T> $serializeT) throws IOException Serialize a value of type com.io7m.cardant.protocol.inventory.cb.IsSupersetOf.- Type Parameters:
T- The type of one or more serialized fields.- Parameters:
$context- The serialization context.$x- The value to be serialized.$serializeT- A serializer for values of type T.- Throws:
IOException
-
deserialize
public static <T extends com.io7m.cedarbridge.runtime.api.CBSerializableType> CAI1ComparisonSet.IsSupersetOf<T> deserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, com.io7m.cedarbridge.runtime.api.CBDeserializeType<T> $deserializeT) throws IOException Deserialize a value of type com.io7m.cardant.protocol.inventory.cb.IsSupersetOf.- Type Parameters:
T- The type of one or more deserialized fields.- Parameters:
$context- The serialization context.$deserializeT- A deserializer for values of type T.- Returns:
- A value of type com.io7m.cardant.protocol.inventory.cb.IsSupersetOf.
- Throws:
IOException
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
fieldValue
Returns the value of thefieldValuerecord component.- Returns:
- the value of the
fieldValuerecord component
-