Object function ( ) { Object loc0 = deserializedEntries . get ( instanceId ) ; if ( loc0 != null ) { return loc0 ; } if ( instanceId != null ) { Object loc1 = deserializedEntries . putIfAbsent ( instanceId , this ) ; if ( loc1 != null ) { return loc1 ; } } return this ; }
this gets called after readobject ; it lets the object decide whether to return itself or return a previously read in version . we use a hashmap of instanceids to determine if we have already read in this object . concode_field_sep boolean dataAlphabetResolved concode_elem_sep VMID instanceId concode_elem_sep Alphabet targetAlphabet concode_elem_sep int CURRENT_SERIAL_VERSION concode_elem_sep Logger logger concode_elem_sep ConcurrentMap<VMID,Object> deserializedEntries concode_elem_sep boolean targetAlphabetResolved concode_elem_sep boolean targetProcessing concode_elem_sep Iterator<Instance> source concode_elem_sep Alphabet dataAlphabet concode_elem_sep long serialVersionUID concode_field_sep Instance next concode_elem_sep VMID getInstanceId concode_elem_sep void setTargetAlphabet concode_elem_sep boolean alphabetsMatch concode_elem_sep void remove concode_elem_sep Iterator<Instance> getSourceIterator concode_elem_sep void preceedingPipeDataAlphabetNotification concode_elem_sep Instance[] instancesFrom concode_elem_sep Instance[] instancesFrom concode_elem_sep Instance pipe concode_elem_sep Iterator<Instance> newIteratorFrom concode_elem_sep void setOrCheckTargetAlphabet concode_elem_sep boolean isTargetProcessing concode_elem_sep Instance instanceFrom concode_elem_sep void preceedingPipeTargetAlphabetNotification concode_elem_sep void writeObject concode_elem_sep Pipe getPipe concode_elem_sep boolean hasNext concode_elem_sep boolean precondition concode_elem_sep void setDataAlphabet concode_elem_sep void readObject concode_elem_sep Alphabet getTargetAlphabet concode_elem_sep Alphabet getDataAlphabet concode_elem_sep void setTargetProcessing concode_elem_sep Alphabet getAlphabet concode_elem_sep Alphabet[] getAlphabets concode_elem_sep boolean isDataAlphabetSet concode_elem_sep void setOrCheckDataAlphabet