public boolean empty() {
    int length = this.data.limit();
    for(int k = 0; k < length; ++k)
          if (this.data.get(k) != 0) return false;
      return true;
  }
public boolean empty() {
    int length = this.data.limit();
    for(int k = 0; k < length; ++k)
          if (this.data.get(k) != 0) return false;
      return true;
  }
public boolean empty ( ) { int length = this . data . limit ( ) ; for ( int k = 0 ; k < length ; ++ k ) if ( this . data . get ( k ) != 0 ) return false ; return true ; }
Check whether a bitset contains a set bit.

@return true if no set bit is found
Check whether a bitset contains a set bit .