Code example for HashSet

Methods: clear, addAll

0
  { 
    if (ids == null)
    { 
      throw new NullPointerException();
    } 
    this.ids.clear();
    this.ids.addAll(ids);
    this.bounds = null;
    startProcessing(box);
    if (this.bounds == null)
    { 
      recurse(box, section.getParentSection());
      if (this.bounds == null)
      { 
        return new StrictBounds(); 
      } 
    } 
    return this.bounds;
  } 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE