@@ -124,6 +124,25 @@ public <N> ObjectPropertyNestingBuilder<N> nestProperty(NestingStep<T, Property<
124
124
return new ObjectPropertyNestingBuilder <N >(this , nestingStep );
125
125
}
126
126
127
+ /**
128
+ * Usability method which simply calls {@link #nestProperty(NestingStep) nestProperty}.
129
+ * <p>
130
+ * Returns a builder for nestings whose inner observable is a {@link Property}. The created nestings depend on this
131
+ * builder's outer observable and nesting steps and adds the specified step as the next one.
132
+ *
133
+ * @param <N>
134
+ * the type wrapped by the created nesting builder
135
+ * @param nestingStep
136
+ * the function which performs the nesting step from one observable to the next
137
+ * @return an {@link ObservableValueNestingBuilder} which builds a nesting from this builder's settings and the
138
+ * specified nesting steps
139
+ * @throws NullPointerException
140
+ * if the specified function is null
141
+ */
142
+ public <N > ObjectPropertyNestingBuilder <N > nest (NestingStep <T , Property <N >> nestingStep ) {
143
+ return nestProperty (nestingStep );
144
+ }
145
+
127
146
/**
128
147
* Returns a builder for nestings whose inner observable is a {@link BooleanProperty}. The created nestings depend
129
148
* on this builder's outer observable and nesting steps and adds the specified step as the next one.
@@ -220,25 +239,6 @@ public StringPropertyNestingBuilder nestStringProperty(NestingStep<T, StringProp
220
239
return new StringPropertyNestingBuilder (this , nestingStep );
221
240
}
222
241
223
- /**
224
- * Usability method which simply calls {@link #nestObservableValue(NestingStep) nestObservable}.
225
- * <p>
226
- * Returns a builder for nestings whose inner observable is an {@link ObservableValue}. The created nestings depend
227
- * on this builder's outer observable and nesting steps and adds the specified step as the next one.
228
- *
229
- * @param <N>
230
- * the type wrapped by the created nesting builder
231
- * @param nestingStep
232
- * the function which performs the nesting step from one observable to the next
233
- * @return an {@link ObservableValueNestingBuilder} which builds a nesting from this builder's settings and the
234
- * specified nesting steps
235
- * @throws NullPointerException
236
- * if the specified function is null
237
- */
238
- public <N > ObservableValueNestingBuilder <N > nest (NestingStep <T , ObservableValue <N >> nestingStep ) {
239
- return nestObservableValue (nestingStep );
240
- }
241
-
242
242
//#end NEST
243
243
244
244
}
0 commit comments