java.lang.Object
java.lang.Record
org.aya.core.serde.SerTerm.DeState
- Enclosing interface:
SerTerm
-
Constructor Summary
ConstructorsConstructorDescriptionDeState(@NotNull kala.collection.mutable.MutableMap<kala.collection.Seq<String>, kala.collection.mutable.MutableMap<String, DefVar<?, ?>>> defCache, @NotNull kala.collection.mutable.MutableMap<Integer, LocalVar> localCache, PrimDef.Factory primFactory) Creates an instance of aDeStaterecord class.DeState(PrimDef.Factory primFactory) -
Method Summary
Modifier and TypeMethodDescription@NotNull kala.collection.mutable.MutableMap<kala.collection.Seq<String>,kala.collection.mutable.MutableMap<String, DefVar<?, ?>>> defCache()Returns the value of thedefCacherecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelocalCacherecord component.Returns the value of theprimFactoryrecord component.voidputPrim(@NotNull kala.collection.immutable.ImmutableSeq<String> mod, PrimDef.ID id, @NotNull DefVar<?, ?> defVar) <V extends DefVar<?,?>>
Vresolve(SerDef.QName name) final StringtoString()Returns a string representation of this record class.@NotNull LocalVarvar(@NotNull SerTerm.SimpVar var)
-
Constructor Details
-
DeState
-
DeState
public DeState(@NotNull @NotNull kala.collection.mutable.MutableMap<kala.collection.Seq<String>, kala.collection.mutable.MutableMap<String, DefVar<?, ?>>> defCache, @NotNull @NotNull kala.collection.mutable.MutableMap<Integer, LocalVar> localCache, @NotNull PrimDef.Factory primFactory) Creates an instance of aDeStaterecord class.- Parameters:
defCache- the value for thedefCacherecord componentlocalCache- the value for thelocalCacherecord componentprimFactory- the value for theprimFactoryrecord component
-
-
Method Details
-
var
-
resolve
-
putPrim
public void putPrim(@NotNull @NotNull kala.collection.immutable.ImmutableSeq<String> mod, @NotNull PrimDef.ID id, @NotNull @NotNull DefVar<?, ?> defVar) -
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. All components in this record class are compared withObjects::equals(Object,Object). -
defCache
@NotNull public @NotNull kala.collection.mutable.MutableMap<kala.collection.Seq<String>,kala.collection.mutable.MutableMap<String, defCache()DefVar<?, ?>>> Returns the value of thedefCacherecord component.- Returns:
- the value of the
defCacherecord component
-
localCache
Returns the value of thelocalCacherecord component.- Returns:
- the value of the
localCacherecord component
-
primFactory
Returns the value of theprimFactoryrecord component.- Returns:
- the value of the
primFactoryrecord component
-