@PublicApi @NotThreadSafe public final class ItemForestBuilderImpl extends Object implements ItemForestBuilder<ItemForestBuilderImpl>
Constructor and Description |
---|
ItemForestBuilderImpl() |
Modifier and Type | Method and Description |
---|---|
ItemForest |
build() |
long |
getCurrentRowId() |
ItemForestBuilderImpl |
nextFragment(ItemForest fragment) |
ItemForestBuilderImpl |
nextLevel() |
ItemForestBuilderImpl |
nextRow(ItemIdentity itemId)
Appends a new row with the given item identity.
|
ItemForestBuilderImpl |
nextRow(ItemIdentity itemId,
long semantics)
Appends a new row with the given item identity and semantics.
|
ItemForestBuilderImpl |
prevLevel() |
@NotNull public ItemForestBuilderImpl nextRow(@NotNull ItemIdentity itemId)
ItemListBuilder
nextRow
in interface ItemListBuilder<ItemForestBuilderImpl>
itemId
- Item identity@NotNull public ItemForestBuilderImpl nextRow(@NotNull ItemIdentity itemId, long semantics)
ItemListBuilder
nextRow
in interface ItemListBuilder<ItemForestBuilderImpl>
itemId
- Item identitysemantics
- Semantics code. Semantics is still work in progress, and passing any value other
than 0 may result in undefined behavior.@NotNull public ItemForestBuilderImpl nextLevel()
nextLevel
in interface ItemForestBuilder<ItemForestBuilderImpl>
@NotNull public ItemForestBuilderImpl prevLevel()
prevLevel
in interface ItemForestBuilder<ItemForestBuilderImpl>
@NotNull public ItemForestBuilderImpl nextFragment(@NotNull ItemForest fragment)
nextFragment
in interface ItemForestBuilder<ItemForestBuilderImpl>
@NotNull public ItemForest build()
public long getCurrentRowId()
Copyright © 2024 Tempo Software. All Rights Reserved.