Record Class DirectoryPage
java.lang.Object
java.lang.Record
net.bluemind.node.shared.DirectoryPage
- Record Components:
files- regular files of this pagecursor- name of the last scanned entry, to pass asafterto get the next page, null when the page is emptytruncated- true when entries were left out because the page was full
A page of
DirectoryScan, ordered by file name.-
Constructor Summary
ConstructorsConstructorDescriptionDirectoryPage(List<FileEntry> files, String cursor, boolean truncated) Creates an instance of aDirectoryPagerecord class. -
Method Summary
Modifier and TypeMethodDescriptioncursor()Returns the value of thecursorrecord component.static DirectoryPageempty()final booleanIndicates whether some other object is "equal to" this one.files()Returns the value of thefilesrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.booleanReturns the value of thetruncatedrecord component.
-
Constructor Details
-
DirectoryPage
-
-
Method Details
-
empty
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
files
-
cursor
-
truncated
-