public List < GridCell < P > > consumeCells ( ) { final List < GridCell < P > > list = new ArrayList <> ( this . cells ) ; this . cells . clear ( ) ; return list ; }
Replies the cell on which the given element is located . The cell links were removed from the element .