Interface BitSet

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void add​(int id)
      Adds the id to the set.
      void clear()
      Clears the set.
      boolean contains​(int id)
      Checks whether the id is already in the set.
      void remove​(int id)
      Removes a id from the set.
    • Method Detail

      • contains

        boolean contains​(int id)
        Checks whether the id is already in the set.
        Parameters:
        id - The identifier.
        Returns:
        True if the identifier is in the set.
      • add

        void add​(int id)
        Adds the id to the set.
        Parameters:
        id - The id to add
      • remove

        void remove​(int id)
        Removes a id from the set.
        Parameters:
        id - The id to remove
      • clear

        void clear()
        Clears the set.