Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Plucene::Bitvector

Name Plucene::Bitvector
Version
Located at /usr/share/perl5
File /usr/share/perl5/Plucene/Bitvector.pm
Is Core No
Search CPAN for this module Plucene::Bitvector
Documentation Plucene::Bitvector
Module Details Plucene::Bitvector

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.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026