Record Class EntryId
java.lang.Object
java.lang.Record
ai.badmonkey.agentspaces.api.entry.EntryId
- Record Components:
value- the identifier value, a UUID string
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static EntryIdnewId()Generates a fresh random identifier.static EntryIdWraps an existing identifier value.toString()Returns a string representation of this record class.value()Returns the identifier value; this is the serialized form.
-
Constructor Details
-
EntryId
-
-
Method Details
-
newId
Generates a fresh random identifier. -
of
-
value
Returns the identifier value; this is the serialized form. -
toString
-
hashCode
-
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).
-