类 OrderedSetType

    • 方法详细资料

      • instantiate

        public Object instantiate​(int anticipatedSize)
        从类复制的说明: CollectionType
        Instantiate an empty instance of the "underlying" collection (not a wrapper), but with the given anticipated size (i.e. accounting for initial capacity and perhaps load factor).
        覆盖:
        instantiate 在类中 SetType
        参数:
        anticipatedSize - The anticipated size of the instantiated collection after we are done populating it.
        返回:
        A newly instantiated collection to be wrapped.