Interface Containable

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isEmpty()
      Tests whether the accumulation is empty or not.
      int size()
      Returns the number of data elements contained in the collection.
    • Method Detail

      • size

        int size()
        Returns the number of data elements contained in the collection.
        Returns:
        An integer representing the number of items stored in the accumulation.
      • isEmpty

        boolean isEmpty()
        Tests whether the accumulation is empty or not. Returns true if the accumulation is empty, else false is returned.
        Returns:
        True if no element is contained in the accumulation - else false is returned.