<s>[INST] returns a typed sorted bag backed by the given bag . only objects of the specified type can be added to the bag . concode_field_sep Bag EMPTY_BAG concode_elem_sep Bag EMPTY_SORTED_BAG concode_field_sep Bag predicatedBag concode_elem_sep SortedBag synchronizedSortedBag concode_elem_sep SortedBag predicatedSortedBag concode_elem_sep SortedBag transformedSortedBag concode_elem_sep Bag typedBag concode_elem_sep Bag transformedBag concode_elem_sep SortedBag unmodifiableSortedBag concode_elem_sep Bag unmodifiableBag concode_elem_sep Bag synchronizedBag [/INST] SortedBag function ( SortedBag arg0 , Class arg1 ) { return TypedSortedBag . decorate ( arg0 , arg1 ) ; </s>