public void clear() { flags = 0; action = MapEntryActions.ADD; info.clear(); state.clear(); groupStateList.clear(); load.clear(); data.clear(); link.clear(); seqMcast.clear(); }
/** * Performs a deep copy of {@link ServiceLinkInfo} object. * * @param destServiceLinkInfo ServiceLinkInfo object to copy this object into. It cannot be null. * * @return UPA return value indicating success or failure of copy operation. */ public int copy(ServiceLinkInfo destServiceLinkInfo) { assert (destServiceLinkInfo != null) : "destServiceLinkInfo can not be null"; destServiceLinkInfo.clear(); destServiceLinkInfo.action(action()); int ret = CodecReturnCodes.SUCCESS; for (ServiceLink serviceLink : linkList()) { ServiceLink serviceLink2 = new ServiceLink(); ret = serviceLink.copy(serviceLink2); if (ret != CodecReturnCodes.SUCCESS) return ret; destServiceLinkInfo.linkList().add(serviceLink2); } return ret; }
/** * Performs a deep copy of {@link ServiceLinkInfo} object. * * @param destServiceLinkInfo ServiceLinkInfo object to copy this object into. It cannot be null. * * @return UPA return value indicating success or failure of copy operation. */ public int copy(ServiceLinkInfo destServiceLinkInfo) { assert (destServiceLinkInfo != null) : "destServiceLinkInfo can not be null"; destServiceLinkInfo.clear(); destServiceLinkInfo.action(action()); int ret = CodecReturnCodes.SUCCESS; for (ServiceLink serviceLink : linkList()) { ServiceLink serviceLink2 = new ServiceLink(); ret = serviceLink.copy(serviceLink2); if (ret != CodecReturnCodes.SUCCESS) return ret; destServiceLinkInfo.linkList().add(serviceLink2); } return ret; }
clear(); linkMap.clear(); linkMapEntry.clear();