public void clear() {if (size > 0) {size = 0;voidLink.next = voidLink;voidLink.previous = voidLink;modCount++;}}

public void clear ( ) { if ( size > 0 ) { size = 0 ; voidLink . next = voidLink ; voidLink . previous = voidLink ; modCount ++ ; } }
public override void clear(){if (_size > 0){_size = 0;voidLink.next = voidLink;voidLink.previous = voidLink;modCount++;}}
