Interface IReadOnlyCollection<T>

All Superinterfaces:
Iterable<T>

public interface IReadOnlyCollection<T> extends Iterable<T>
  • Method Details

    • size

      int size()
      Returns:
      the objects in in the set.
    • isEmpty

      boolean isEmpty()
      Returns:
      true if there are objects in the set
    • contains

      boolean contains(Object node)
      Returns:
      return true if the object is part of the set.