void addLastEntry ( Object entry ) { if ( multiple == null ) { if ( ! single . equals ( entry ) ) { multiple = new LinkedList < Object > ( ) ; multiple . addLast ( single ) ; multiple . addLast ( entry ) ; } } else { if ( ! multiple . contains ( entry ) ) { multiple . addLast ( entry ) ; } } single = entry ; }
This method is used to add an entry to the AutoBindNode Note that the node can contain multiple entries . This method is not thread safe and should be externally synchronized such that other modifications do not happen concurrently on another thread .