Class BooleanArrayWrapper


  • public class BooleanArrayWrapper
    extends Object
    • Constructor Detail

      • BooleanArrayWrapper

        public BooleanArrayWrapper()
      • BooleanArrayWrapper

        public BooleanArrayWrapper​(int s,
                                   boolean defaultValue)
    • Method Detail

      • partialEmpty

        public boolean partialEmpty​(int start,
                                    int end)
        Check if any ele in [start, end] is true
        Parameters:
        start - left boundary.
        end - right boundary.
        Returns:
        true if empty in this range.
      • partialEmpty

        public boolean partialEmpty​(long start,
                                    long end)
      • get

        public boolean get​(int ind)
      • get

        public boolean get​(long ind)
      • get

        public boolean get​(Vertex<Long> vertex)
      • set

        public void set​(int ind,
                        boolean newValue)
      • set

        public void set​(Vertex<Long> vertex,
                        boolean newvalue)
      • set

        public void set​(long ind,
                        boolean newValue)
      • set

        public void set​(boolean newValue)
      • getSize

        public int getSize()
      • clear

        public void clear()