java.lang.Object
java.lang.Record
org.aya.core.serde.SerPat.ShapedInt
- 所有已实现的接口:
Serializable,SerPat
- 封闭接口:
SerPat
public static record SerPat.ShapedInt(int integer, boolean explicit, SerDef.SerAyaShape shape, SerTerm.DataCall type)
extends Record
implements SerPat
- 另请参阅:
-
嵌套类概要
从接口继承的嵌套类/接口 org.aya.core.serde.SerPat
SerPat.Absurd, SerPat.Bind, SerPat.Ctor, SerPat.End, SerPat.Matchy, SerPat.ShapedInt, SerPat.Tuple -
构造器概要
构造器构造器说明ShapedInt(int integer, boolean explicit, SerDef.SerAyaShape shape, SerTerm.DataCall type) 创建ShapedInt记录类的实例。 -
方法概要
-
构造器详细资料
-
ShapedInt
public ShapedInt(int integer, boolean explicit, @NotNull SerDef.SerAyaShape shape, @NotNull SerTerm.DataCall type) 创建ShapedInt记录类的实例。- 参数:
integer-integer记录组件的值explicit-explicit记录组件的值shape-shape记录组件的值type-type记录组件的值
-
-
方法详细资料
-
de
-
toString
返回此记录类的字符串表示形式。此表示形式包含类的名称,后跟每个记录组件的名称和值。 -
hashCode
public final int hashCode()返回此对象的哈希代码值。此值派生自每个记录组件的哈希代码。 -
equals
指示某个其他对象是否“等于”此对象。如果两个对象属于同一个类,而且所有记录组件都相等,则这两个对象相等。 使用Objects::equals(Object,Object)对参考组件进行比较;使用 '==' 对基元组件进行比较 -
integer
public int integer()返回integer记录组件的值。- 返回:
integer记录组件的值
-
explicit
public boolean explicit()返回explicit记录组件的值。- 返回:
explicit记录组件的值
-
shape
返回shape记录组件的值。- 返回:
shape记录组件的值
-
type
返回type记录组件的值。- 返回:
type记录组件的值
-