public abstract static class Type.PrimitiveType extends Object implements Type
Type.NestedType, Type.PrimitiveType, Type.TypeID| Constructor and Description |
|---|
PrimitiveType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
We need to override equals because the check
intType1 == intType2 can return false. |
int |
hashCode() |
boolean |
isNestedType() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitfromPartitionString, fromValue, typeIdpublic boolean isNestedType()
isNestedType in interface Typepublic boolean equals(Object o)
intType1 == intType2 can return false.
Despite the fact that most subclasses look like singleton with static field INSTANCE,
they can still be created by deserializer.Copyright © 2024 The Apache Software Foundation. All rights reserved.