my intent was to avoid double iteration of the collection - once for
filter, once for the foreach. Creating a view (to my understanding) and
then applying filter to it causes lazy evaluation of the iterator used by
foreach. of course, I could be completely off base.

Sent from my iPhone

On Apr 30, 2013, at 10:22 PM, Christopher Currie <notifications@github.com>
wrote:

In
src/main/scala/com/fasterxml/jackson/module/scala/introspect/ScalaPropertiesCollector.scala:

> @@ -64,37 +62,80 @@ class ScalaPropertiesCollector(config: MapperConfig[_],
>      _creatorProperties.asScala
>    }
>
> +
> +  override def _addCreators() {
> +    lazy val ctors = classDef.getConstructors.asScala
> +    _descriptor.properties.view.filter(_.param.isDefined).foreach { pd =>

What's the purpose of view here?

—
Reply to this email directly or view it on
GitHub<https://github.com/FasterXML/jackson-module-scala/pull/75/files#r4032262>
.