class AMQ::BitSet

def get(i)

Other tags:
    Api: - public

Returns:
  • (Boolean) - true if given bit is set, false otherwise

Parameters:
  • A (Integer) -- bit to fetch
def get(i)
  check_range(i)
  w = self.word_index(i)
  (@words[w] & (1 << i % BITS_PER_WORD)) != 0
end # get(i)