Record Class InvertedListIndex.DirectoryEntry
java.lang.Object
java.lang.Record
AEDs3.DataBase.Index.InvertedListIndex.DirectoryEntry
- Record Components:
offset- Posição inicial do bloco no arquivo.blockSize- Tamanho do bloco em bytes.
- Enclosing class:
InvertedListIndex
Classe auxiliar para armazenar informações sobre a localização de um bloco no
disco.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDirectoryEntry(long offset, int blockSize) Creates an instance of aDirectoryEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theblockSizerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longoffset()Returns the value of theoffsetrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
DirectoryEntry
-
-
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 with thecomparemethod from their corresponding wrapper classes. -
offset
-
blockSize
-