- public Collection<LeafSetEntryNode<T>> getValue() {
- return UnmodifiableCollection.create(children.values());
+ protected boolean valueEquals(final UserLeafSetNode<?> other) {
+ return children.equals(((ImmutableUserLeafSetNode<?>) other).children);
+ }
+
+ @SuppressFBWarnings(value = "UPM_UNCALLED_PRIVATE_METHOD",
+ justification = "https://github.com/spotbugs/spotbugs/issues/811")
+ private Map<NodeWithValue, LeafSetEntryNode<T>> getChildren() {
+ return Collections.unmodifiableMap(children);