up: BOX     index Zimbu documentation

PIECE BOX.ByItem<Titem> @public

summary

     

Provide removeItem(Titem) and clearItem(Titem) for any Box that has find(Titem), remove(int) and clear(int)

$removeItem(item) Titem @public  Remove item and return it.
$clearItem(item) THIS @public  Remove item and return THIS.
 

members (alphabetically)

     

FUNC $clearItem(Titem item) THIS @public

     

Remove item and return THIS.

If the item is not present the Box is unchanged.

FUNC $removeItem(Titem item) Titem @public

     

Remove item and return it.

Throws an E.ItemNotFound exception if the item is not present.

license

      Copyright 2013 Bram Moolenaar All Rights Reserved.

      Licensed under the Apache License, Version 2.0. See the LICENSE file or obtain a copy at: http://www.apache.org/licenses/LICENSE-2.0