コード例 #1
0
 /** Construct an iterable containing the nodes of a tree with the specified roots and midwife. */
 public TreeIterable(
     Iterable<? extends E> roots,
     Transformer<? super E, ? extends Iterable<? extends E>> transformer) {
   super();
   if ((roots == null) || (transformer == null)) {
     throw new NullPointerException();
   }
   this.roots = roots;
   this.transformer = TransformerTools.toIterator(transformer);
 }
 protected PropertyValueModel<EclipseLinkConvert> buildEclipseLinkConvertModel(
     PropertyValueModel<Converter> converterModel) {
   return new TransformationPropertyValueModel<Converter, EclipseLinkConvert>(
       converterModel, TransformerTools.nullCheck(EclipseLinkConvert.CONVERTER_TRANSFORMER));
 }