Plucene::Bitvector(3pm)

Plucene::Bitvector3pm

A vector of bits

Usage

        # isa Bit::Vector::Minimal;
        my $bitvector = Plucene::Bitvector->read($stream);
        $bitvector->write($stream);
        
        my $count = $bitvector->count;

Overview

A serialisable implementation of a vector of bits.

This subclass of Bit::Vector::Minimal allows the writing (and reading) of vectors to (and from) a Plucene stream.

Methods

count

        my $count = $bitvector->count;

Compute the number of one-bits.

write

        $bitvector->write($stream);

Write this vector to the passed in stream.

read

        my $bitvector = Plucene::Bitvector->read($stream);

Read from the passed in stream.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 5 times.

  1. 3.1
  2. 4.0
  3. 5.0–6.0
  4. 7–9
  5. 10–11
  6. 12–13

From libplucene-perl 1.25-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.