man > Plucene::Bitvector(3pm)

NAME
    Plucene::Bitvector - a vector of bits

SYNOPSIS
            # isa Bit::Vector::Minimal;

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

            $bitvector->write($stream);

            my $count = $bitvector->count;

DESCRIPTION
    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.

Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-15 14:24 @216.73.217.60
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!