public static class Types.FixedType extends Type.PrimitiveType
Type.NestedType, Type.PrimitiveType, Type.TypeID| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
We need to override equals because the check
intType1 == intType2 can return false. |
static Types.FixedType |
getFixed(int size) |
int |
getFixedSize() |
int |
hashCode() |
String |
toString() |
Type.TypeID |
typeId() |
isNestedTypeclone, finalize, getClass, notify, notifyAll, wait, wait, waitfromPartitionString, fromValuepublic static Types.FixedType getFixed(int size)
public int getFixedSize()
public Type.TypeID typeId()
public boolean equals(Object o)
Type.PrimitiveTypeintType1 == intType2 can return false.
Despite the fact that most subclasses look like singleton with static field INSTANCE,
they can still be created by deserializer.equals in class Type.PrimitiveTypepublic int hashCode()
hashCode in class Type.PrimitiveTypeCopyright © 2024 The Apache Software Foundation. All rights reserved.