protected void write(DataOutputStream stream) throws Exception {
  Iterator<NBT_Tag> iter=elements.iterator();
  while (iter.hasNext()) {
    NBT_Tag ret=iter.next();
    ret.save(stream);
  }
  TAG_End end=new TAG_End("");
  end.save(stream);
}

protected void write ( DataOutputStream stream ) throws Exception { Iterator < NBT_Tag > iter = elements . iterator ( ) ; while ( iter . hasNext ( ) ) { NBT_Tag ret = iter . next ( ) ; ret . save ( stream ) ; } TAG_End end = new TAG_End ( "" ) ; end . save ( stream ) ; }
saving method . ( see nbt_tag )
