类com.google.protobuf.LazyField.LazyIterator源码实例Demo

下面列出了怎么用com.google.protobuf.LazyField.LazyIterator的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: play-store-api   文件: FieldSet.java
/**
 * Get an iterator to the field map. This iterator should not be leaked out
 * of the protobuf library as it is not protected from mutation when fields
 * is not immutable.
 */
public Iterator<Map.Entry<FieldDescriptorType, Object>> iterator() {
  if (hasLazyField) {
    return new LazyIterator<FieldDescriptorType>(
        fields.entrySet().iterator());
  }
  return fields.entrySet().iterator();
}
 
源代码2 项目: travelguide   文件: FieldSet.java
/**
 * Get an iterator to the field map. This iterator should not be leaked out
 * of the protobuf library as it is not protected from mutation when fields
 * is not immutable.
 */
public Iterator<Map.Entry<FieldDescriptorType, Object>> iterator() {
  if (hasLazyField) {
    return new LazyIterator<FieldDescriptorType>(
        fields.entrySet().iterator());
  }
  return fields.entrySet().iterator();
}
 
源代码3 项目: 365browser   文件: FieldSet.java
/**
 * Get an iterator to the field map. This iterator should not be leaked out
 * of the protobuf library as it is not protected from mutation when fields
 * is not immutable.
 */
public Iterator<Map.Entry<FieldDescriptorType, Object>> iterator() {
  if (hasLazyField) {
    return new LazyIterator<FieldDescriptorType>(
        fields.entrySet().iterator());
  }
  return fields.entrySet().iterator();
}
 
源代码4 项目: android-chromium   文件: FieldSet.java
/**
 * Get an iterator to the field map. This iterator should not be leaked out
 * of the protobuf library as it is not protected from mutation when fields
 * is not immutable.
 */
public Iterator<Map.Entry<FieldDescriptorType, Object>> iterator() {
  if (hasLazyField) {
    return new LazyIterator<FieldDescriptorType>(
        fields.entrySet().iterator());
  }
  return fields.entrySet().iterator();
}
 
源代码5 项目: android-chromium   文件: FieldSet.java
/**
 * Get an iterator to the field map. This iterator should not be leaked out
 * of the protobuf library as it is not protected from mutation when fields
 * is not immutable.
 */
public Iterator<Map.Entry<FieldDescriptorType, Object>> iterator() {
  if (hasLazyField) {
    return new LazyIterator<FieldDescriptorType>(
        fields.entrySet().iterator());
  }
  return fields.entrySet().iterator();
}
 
 类所在包
 类方法
 同包方法