content
The content.
T - the type of the contentSerializableAbstractPageDto, CommonSliceDto, JsonSliceDtoprotected protected AbstractSliceDto(List<? extends T> content,
int number,
int size,
boolean hasNext) protected AbstractSliceDto(List<? extends T> content,
int number,
int size,
boolean hasNext,
SortOrder sort) protected AbstractSliceDto(List<? extends T> content,
int number,
int size,
boolean hasNext,
org.springframework.data.domain.Sort sort) protected AbstractSliceDto(org.springframework.data.domain.Slice<? extends T> slice) intintorg.springframework.data.domain.PageableintgetSize()getSort()booleanbooleanisFirst()booleanisLast()booleanbooleanprotected voidsetContent(List<T> content) protected voidsetContentPresent(boolean contentPresent) protected voidsetFirst(boolean first) protected voidsetLast(boolean last) protected abstract voidsetNextAvailable(boolean nextAvailable) protected abstract voidsetNumber(int number) protected voidsetNumberOfElements(int numberOfElements) protected voidsetPreviousAvailable(boolean previousAvailable) protected abstract voidsetSize(int size) org.springframework.data.domain.Slice<T> toSlice()content - the contentnumber - the numbersize - the sizehasNext - the has nextcontent - the content of the slicenumber - the number of the slice starting with 0size - the size of the slice (not the size of the content)hasNext - the has nextsort - the sort odercontent - the contentnumber - the numbersize - the sizehasNext - the has nextsort - the sortslice - the slicecontent - the contentcontentPresent - the content presentnumber - the numbersize - the sizenumberOfElements - the number of elementsfirst - the firstlast - the lastnextAvailable - the next availablepreviousAvailable - the previous available