GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  RANGE::INTEGER::OBJECT (3)

.ds Aq ’

NAME

Range::Integer::Object - Implements Range::Interface::Object.

CONTENTS

VERSION

This documentation describes version 0.01

DESCRIPTION

min()

Returns the smallest element in range

max()

Returns the largest element in range

clear()

Returns the object after clearing its content.

empty()

Returns true if object is empty, false otherwise.

size()

Returns number of elements in range.

    clone( object )

Returns a cloned object.

    equal( object )

Overloads <B>eqB>. Returns 1 if two objects are of equal value, 0 otherwise.

    add( object )

Overloads <B>+=B>. Returns the object after union with another object.

    subtract( object )

Overloads <B>-=B>. Returns the object after subtraction with another object.

    intersect( object )

Overloads <B>&=B>. Returns the object after intersection with another object.

    list( skip => boolean )

Boundary value pairs if skip is set. Values of all elements otherwise. Returns ARRAY reference in scalar context. Returns ARRAY in list context.

string( CW%symbol )

Serializes object as string.

    value( indices )

Values of elements to corresponding indices. Returns ARRAY reference in scalar context. Returns ARRAY in list context or only one index is given.

    index( values )

Indices of elements to corresponding values. Returns ARRAY reference in scalar context. Returns ARRAY in list context or only one value is given.

    subset( index1, index2 )

Returns an object that contains the inclusive subset within indices

    insert( value1, value2 )

Insert elements delimited by two values. Returns the object.

    remove( value1, value2 )

Remove elements delimited by two values. Returns an object containing the removed elements.

SEE ALSO

See Range::Interface::Object for additional methods.

AUTHOR

Kan Liu

COPYRIGHT and LICENSE

Copyright (c) 2010. Kan Liu

This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 RANGE::INTEGER::OBJECT (3) 2010-12-04

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.