接口 ArraySizeTrimmer

所有已知实现类:
CompositeParameterNameDiscoverer, CompositeStrategies, DefaultMultiValueMap, DefaultParameterNameDiscoverer, LinkedMultiValueMap, SmartList

public interface ArraySizeTrimmer
Trims the capacity of this instance's (list or array) to its size. An application can use this operation to minimize the storage of this instance.
从以下版本开始:
4.0
作者:
TODAY 2021/9/14 11:02
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    Trims the capacity of this instance's (list or array) to its size.
  • 方法详细资料

    • trimToSize

      void trimToSize()
      Trims the capacity of this instance's (list or array) to its size. An application can use this operation to minimize the storage of this instance.