Exemplo n.º 1
0
 @Override
 public void copyAsField(String name, MapWriter writer) {
   if (writer.ok()) {
     SingleMapWriter impl = (SingleMapWriter) writer.map(name);
     impl.inform(impl.container.copyFromSafe(idx(), impl.idx(), vector));
   }
 }
Exemplo n.º 2
0
 @Override
 public void copyAsValue(MapWriter writer) {
   if (writer.ok()) {
     SingleMapWriter impl = (SingleMapWriter) writer;
     impl.inform(impl.container.copyFromSafe(idx(), impl.idx(), vector));
   }
 }