public BeanPropertyMap(Collection<SettableBeanProperty> properties) { _size = properties.size(); int bucketCount = findSize(_size); _hashMask = bucketCount-1; Bucket[] buckets = new Bucket[bucketCount]; for (SettableBeanProperty property : properties) { String key = property.getName(); int index = key.hashCode() & _hashMask; buckets[index] = new Bucket(buckets[index], key, property); } _buckets = buckets; }
public BeanPropertyMap(Collection<SettableBeanProperty> properties) { _size = properties.size(); int bucketCount = findSize(_size); _hashMask = bucketCount-1; Bucket[] buckets = new Bucket[bucketCount]; for (SettableBeanProperty property : properties) { String key = property.getName(); int index = key.hashCode() & _hashMask; buckets[index] = new Bucket(buckets[index], key, property); } _buckets = buckets; }
public BeanPropertyMap(Collection<SettableBeanProperty> properties) { _size = properties.size(); int bucketCount = findSize(_size); _hashMask = bucketCount-1; Bucket[] buckets = new Bucket[bucketCount]; for (SettableBeanProperty property : properties) { String key = property.getName(); int index = key.hashCode() & _hashMask; buckets[index] = new Bucket(buckets[index], key, property); } _buckets = buckets; }
public BeanPropertyMap(Collection<SettableBeanProperty> properties) { _size = properties.size(); int bucketCount = findSize(_size); _hashMask = bucketCount-1; Bucket[] buckets = new Bucket[bucketCount]; for (SettableBeanProperty property : properties) { String key = property.getName(); int index = key.hashCode() & _hashMask; buckets[index] = new Bucket(buckets[index], key, property); } _buckets = buckets; }
public BeanPropertyMap(Collection<SettableBeanProperty> properties) { _size = properties.size(); int bucketCount = findSize(_size); _hashMask = bucketCount-1; Bucket[] buckets = new Bucket[bucketCount]; for (SettableBeanProperty property : properties) { String key = property.getName(); int index = key.hashCode() & _hashMask; buckets[index] = new Bucket(buckets[index], key, property); } _buckets = buckets; }