Plucene::Bitvector(3pm) User Contributed Perl Documentation 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.
perl v5.26.1 2018-04-02 Plucene::Bitvector(3pm)
Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2025-11-21 17:35 @216.73.216.164 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)