NAME
Data::Range::Compare::Stream::Iterator::Consolidate::Result - Range Compare Consolidate Result Object
DESCRIPTION
This module is a result object for classes that implement:
Data::Range::Compare::Stream::Iterator::Consolidate
OO Methods
my $result=new Data::Range::Compare::Stream::Iterator::Consolidate::Result (COMMON_RANGE,START_RANGE,END_RANGE,MISSING_STATE,GENERATED_STATE);
Object constructor: All arguments are mandatory
COMMON_RANGE Implements Data::Range::Compare::Stream START_RANGE Implements Data::Range::Compare::Stream END_RANGE Implements Data::Range::Compare::Stream MISSING_STATE Boolean value represents if this range result is not found in the source iterator. GENERATED_STATE Boolean value represents if this range result was auto generated by the consolidation or fill process.
my $range=$result->get_common
Returns the common range.
my $range=$result->get_common_range
Alias to $result->get_common.
my $range=$result->get_start_range
Returns the starting range.
my $range=$result->get_start
Returns the starting range.
my $range=$result->get_end_range
Returns the ending range.
my $range=$result->get_end
Returns the ending range.
my $string=$result->to_string;
Returns a string based on the following sprintf statement.
sprintf 'Commoon Range: [%s] Starting range: [%s] Ending Range: [%s]',$self->get_common,$self->get_start,$self->get_end
if($result->is_missing) { ... }
Returns the missing state.
if($result->is_generated) { ... }
Returns the generated state.
SEE ALSO
Data::Range::Compare::Stream::Iterator::Compare::Asc
Data::Range::Compare::Stream::Iterator::Compare::Base
AUTHOR
Michael Shipper
Source-Forge Project
As of version 0.001 the Project has been moved to Source-Forge.net
Data Range Compare https://sourceforge.net/projects/data-range-comp/
COPYRIGHT
Copyright 2011 Michael Shipper. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.