Rechercher une page de manuel
Plucene::Bitvector.3pm
Langue: en
Version: 2005-09-05 (ubuntu - 08/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Plucene::Bitvector - a vector of bitsSYNOPSIS
# 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.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre