use of com.ait.tooling.nativetools.client.collection.NFastStringSet in project lienzo-core by ahome-it.
the class AttributesChangedEvent method count.
public final int count(final Attribute... attributes) {
int count = 0;
final NFastStringSet seen = new NFastStringSet();
for (Attribute attribute : attributes) {
final String name = attribute.getProperty();
if (false == seen.contains(name)) {
if (m_changed.contains(name)) {
count++;
seen.add(name);
}
}
}
return count;
}
Aggregations