/** * {@inheritDoc} */ @Override public void readExternal( ObjectInput in ) throws IOException, ClassNotFoundException { // Read the UPName upName = in.readUTF(); // Read the RDNs. Is it's null, the number will be -1. int nbRdns = in.readInt(); rdns = new ArrayList<>( nbRdns ); for ( int i = 0; i < nbRdns; i++ ) { Rdn rdn = new Rdn( schemaManager ); rdn.readExternal( in ); rdns.add( rdn ); } toUpName(); }
/** * {@inheritDoc} */ @Override public void readExternal( ObjectInput in ) throws IOException, ClassNotFoundException { // Read the UPName upName = in.readUTF(); // Read the RDNs. Is it's null, the number will be -1. int nbRdns = in.readInt(); rdns = new ArrayList<>( nbRdns ); for ( int i = 0; i < nbRdns; i++ ) { Rdn rdn = new Rdn( schemaManager ); rdn.readExternal( in ); rdns.add( rdn ); } toUpName(); }
/** * {@inheritDoc} */ @Override public void readExternal( ObjectInput in ) throws IOException, ClassNotFoundException { // Read the UPName upName = in.readUTF(); // Read the RDNs. Is it's null, the number will be -1. int nbRdns = in.readInt(); rdns = new ArrayList<>( nbRdns ); for ( int i = 0; i < nbRdns; i++ ) { Rdn rdn = new Rdn( schemaManager ); rdn.readExternal( in ); rdns.add( rdn ); } toUpName(); }
rdn.readExternal( in ); rdns[i] = rdn;