/**
  * Factory method to create an unmodifiable map.
  * <p>
  * If the map passed in is already unmodifiable, it is returned.
  *
  * @param map  the map to decorate, must not be null
  * @return an unmodifiable OrderedBidiMap
  * @throws IllegalArgumentException if map is null
  */
 public static OrderedBidiMap decorate(OrderedBidiMap map)
 {
     if (map is Unmodifiable)
     {
         return(map);
     }
     return(new UnmodifiableOrderedBidiMap(map));
 }
 /**
  * Factory method to create an unmodifiable map.
  * <p>
  * If the map passed in is already unmodifiable, it is returned.
  *
  * @param map  the map to decorate, must not be null
  * @return an unmodifiable OrderedBidiMap
  * @throws IllegalArgumentException if map is null
  */
 public static OrderedBidiMap decorate(OrderedBidiMap map)
 {
     if (map is Unmodifiable)
     {
         return map;
     }
     return new UnmodifiableOrderedBidiMap(map);
 }
        //-----------------------------------------------------------------------

        /**
         * Constructor that wraps (not copies).
         *
         * @param map  the map to decorate, must not be null
         * @throws IllegalArgumentException if map is null
         */
        private UnmodifiableOrderedBidiMap(OrderedBidiMap map)
            : base(map)
        {
        }
 //-----------------------------------------------------------------------
 /**
  * Constructor that wraps (not copies).
  *
  * @param map  the map to decorate, must not be null
  * @throws IllegalArgumentException if map is null
  */
 private UnmodifiableOrderedBidiMap(OrderedBidiMap map)
     : base(map)
 {
 }
 /**
  * Constructor that wraps (not copies).
  *
  * @param map  the map to decorate, must not be null
  * @throws IllegalArgumentException if the collection is null
  */
 protected AbstractOrderedBidiMapDecorator(OrderedBidiMap map)
     : base(map)
 {
 }
 /**
  * Constructor that wraps (not copies).
  *
  * @param map  the map to decorate, must not be null
  * @throws IllegalArgumentException if the collection is null
  */
 protected AbstractOrderedBidiMapDecorator(OrderedBidiMap map)
     : base(map)
 {
 }