Record Class InMemoryTable.DbMemory<T extends Entity<T>>
java.lang.Object
java.lang.Record
tech.ydb.yoj.repository.test.inmemory.InMemoryTable.DbMemory<T>
- Enclosing class:
- InMemoryTable<T extends Entity<T>>
@Deprecated
public static record InMemoryTable.DbMemory<T extends Entity<T>>(Class<T extends Entity<T>> type, InMemoryRepositoryTransaction transaction)
extends Record
Deprecated.
-
Constructor Summary
ConstructorsConstructorDescriptionDbMemory(Class<T> type, InMemoryRepositoryTransaction transaction) Deprecated.Creates an instance of aDbMemoryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanDeprecated.Indicates whether some other object is "equal to" this one.final inthashCode()Deprecated.Returns a hash code value for this object.final StringtoString()Deprecated.Returns a string representation of this record class.Deprecated.Returns the value of thetransactionrecord component.type()Deprecated.Returns the value of thetyperecord component.
-
Constructor Details
-
DbMemory
Deprecated.Creates an instance of aDbMemoryrecord class.- Parameters:
type- the value for thetyperecord componenttransaction- the value for thetransactionrecord component
-
-
Method Details
-
toString
Deprecated.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()Deprecated.Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Deprecated.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). -
type
Deprecated.Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
transaction
Deprecated.Returns the value of thetransactionrecord component.- Returns:
- the value of the
transactionrecord component
-