Ejemplo n.º 1
0
  static void writeAll(LinkedList list, DataOutputStream out) throws IOException {
    if (list == null) return;

    int n = list.size();
    for (int i = 0; i < n; ++i) {
      AttributeInfo attr = (AttributeInfo) list.get(i);
      attr.write(out);
    }
  }
Ejemplo n.º 2
0
 void write(DataOutputStream out) throws IOException {
   super.write(out);
 }