OrderedBagTGetLast Method |
Returns the last item in the bag: the item
that would appear last if the bag was enumerated. This is also the largest
item in the bag.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
SyntaxReturn Value
Type:
TThe last item in the bag. If more than one item
is largest, the last one added is returned.
Exceptions
RemarksGetLast() takes time O(log N), where N is the number of items in the bag.
See Also