Record Class CAI1ComparisonFuzzy.Anything<T extends com.io7m.cedarbridge.runtime.api.CBSerializableType>
java.lang.Object
java.lang.Record
com.io7m.cardant.protocol.inventory.cb.CAI1ComparisonFuzzy.Anything<T>
- Type Parameters:
T-
- All Implemented Interfaces:
CAI1ComparisonFuzzy<T>,com.io7m.cedarbridge.runtime.api.CBSerializableType
- Enclosing interface:
CAI1ComparisonFuzzy<T extends com.io7m.cedarbridge.runtime.api.CBSerializableType>
public static record CAI1ComparisonFuzzy.Anything<T extends com.io7m.cedarbridge.runtime.api.CBSerializableType>()
extends Record
implements com.io7m.cedarbridge.runtime.api.CBSerializableType, CAI1ComparisonFuzzy<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.io7m.cardant.protocol.inventory.cb.CAI1ComparisonFuzzy
CAI1ComparisonFuzzy.Anything<T extends com.io7m.cedarbridge.runtime.api.CBSerializableType>, CAI1ComparisonFuzzy.IsEqualTo<T extends com.io7m.cedarbridge.runtime.api.CBSerializableType>, CAI1ComparisonFuzzy.IsNotEqualTo<T extends com.io7m.cedarbridge.runtime.api.CBSerializableType>, CAI1ComparisonFuzzy.IsNotSimilarTo<T extends com.io7m.cedarbridge.runtime.api.CBSerializableType>, CAI1ComparisonFuzzy.IsSimilarTo<T extends com.io7m.cedarbridge.runtime.api.CBSerializableType> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends com.io7m.cedarbridge.runtime.api.CBSerializableType>
CAI1ComparisonFuzzy.Anything<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.Anything.final booleanIndicates whether some other object is "equal to" this one.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, CAI1ComparisonFuzzy.Anything<T> $x, com.io7m.cedarbridge.runtime.api.CBSerializeType<T> $serializeT) Serialize a value of type com.io7m.cardant.protocol.inventory.cb.Anything.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Anything
public Anything()Creates an instance of aAnythingrecord class.
-
-
Method Details
-
serialize
public static <T extends com.io7m.cedarbridge.runtime.api.CBSerializableType> void serialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1ComparisonFuzzy.Anything<T> $x, com.io7m.cedarbridge.runtime.api.CBSerializeType<T> $serializeT) throws IOException Serialize a value of type com.io7m.cardant.protocol.inventory.cb.Anything.- 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> CAI1ComparisonFuzzy.Anything<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.Anything.- 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.Anything.
- Throws:
IOException
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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.
-