コード例 #1
0
 @Override
 public void writeTo(OutputStream dest) {
   writeObject(dest, Types.serializableSize(this));
   for (int i = 0; i < size(); ++i) {
     if (Types.isSerializable(item(i))) {
       writeField(dest, nameOf(i));
       item(i).writeTo(dest);
     }
   }
 }
コード例 #2
0
 @Override
 public <T> Any<T> remove(Named<T> name) {
   return Types.castAnyTo(remove(name.id()), name);
 };
コード例 #3
0
 @Override
 public <T> Any<T> item(Named<T> name) {
   return Types.castAnyTo(item(name.id()), name);
 };
コード例 #4
0
 @Override
 public <T> Any<T> update(Named<T> name, Any<T> value) {
   return Types.castAnyTo(update(name.id(), value), name);
 };