Record Class AgenticScopeKey
java.lang.Object
java.lang.Record
dev.langchain4j.agentic.scope.AgenticScopeKey
-
Constructor Summary
ConstructorsConstructorDescriptionAgenticScopeKey(String agentId, Object memoryId) Creates an instance of aAgenticScopeKeyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionagentId()Returns the value of theagentIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.memoryId()Returns the value of thememoryIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AgenticScopeKey
-
-
Method Details
-
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). -
agentId
Returns the value of theagentIdrecord component.- Returns:
- the value of the
agentIdrecord component
-
memoryId
Returns the value of thememoryIdrecord component.- Returns:
- the value of the
memoryIdrecord component
-