Class CellSet

java.lang.Object
java.util.AbstractCollection<org.apache.poi.ss.util.CellReference>
java.util.AbstractSet<org.apache.poi.ss.util.CellReference>
java.util.HashSet<org.apache.poi.ss.util.CellReference>
com.vaadin.flow.component.spreadsheet.CellSet
All Implemented Interfaces:
Serializable, Cloneable, Iterable<org.apache.poi.ss.util.CellReference>, Collection<org.apache.poi.ss.util.CellReference>, Set<org.apache.poi.ss.util.CellReference>

public class CellSet extends HashSet<org.apache.poi.ss.util.CellReference>
CellSet is a set of cells that also provides utilities regarding the contents of the set.

Internal use only. May be renamed or removed in a future release.

See Also:
  • Constructor Details

    • CellSet

      public CellSet(Set<org.apache.poi.ss.util.CellReference> cells)
      Creates a set with the specified cells
      Parameters:
      cells - cells to construct the set with, not null
  • Method Details

    • contains

      public boolean contains(Object object)
      Whether the set contains the specified cell.
      Specified by:
      contains in interface Collection<org.apache.poi.ss.util.CellReference>
      Specified by:
      contains in interface Set<org.apache.poi.ss.util.CellReference>
      Overrides:
      contains in class HashSet<org.apache.poi.ss.util.CellReference>
      Parameters:
      object - cell to be checked whether it exists in the set
      Returns:
      true if set contains the specified cell, false otherwise
      Throws:
      IllegalArgumentException - the sheet name for the CellReference is null