void (Bin binStructure) { Bin.Structure structure = (Bin.Structure)binStructure; ArrayList<Bin> members = structure.getMembers(); for (Bin bin : members) { Bin valueMember = myMembersMap.get(bin.getName()); if (valueMember != null) { valueMember.copyFrom(bin); } } }