public class NCollectionDiffChangeImpl<T> extends Object implements NCollectionDiffChange<T>
| Constructor and Description |
|---|
NCollectionDiffChangeImpl(NDiffMode mode,
NValueAndPos<T> oldValue,
NValueAndPos<T> newValue)
N collection diff change.
|
NCollectionDiffChangeImpl(NDiffMode mode,
T oldValue,
T newValue,
int oldPos,
int newPos)
N collection diff change.
|
| Modifier and Type | Method and Description |
|---|---|
<H> NCollectionDiffChange<H> |
map(Function<T,H> f)
Map.
|
NDiffMode |
mode()
Mode.
|
T |
newValue()
New value.
|
T |
oldValue()
Old value.
|
public NCollectionDiffChangeImpl(NDiffMode mode, NValueAndPos<T> oldValue, NValueAndPos<T> newValue)
mode - modeoldValue - old valuenewValue - new valuepublic <H> NCollectionDiffChange<H> map(Function<T,H> f)
map in interface NCollectionDiffChange<T>f - fpublic NDiffMode mode()
mode in interface NCollectionDiffChange<T>public T oldValue()
oldValue in interface NCollectionDiffChange<T>public T newValue()
newValue in interface NCollectionDiffChange<T>Copyright © 2026 vpc open source initiative. All rights reserved.