++ed by:
BEROV XYF KES MHOWARD SKOLYCHEV

13 PAUSE users
5 non-PAUSE users.

Yuki Kimoto

NAME

SPVM::EqualityChecker::Address - a equality checker to check the equality of adresses of two object.

SYNOPSYS

  use SPVM::EqualityChecker::Address;
  
  my $equality_checker : SPVM::EqualityChecker = SPVM::EqualityChecker::Address->new;
  
  my $point1 = SPVM::Point->new(1, 2);
  my $point2 = SPVM::Point->new(5, 6);
  
  my $is_equal = $equality_checker->($point1, $point2);

DESCRIPTION

SPVM::EqualityChecker::Address is a equality checker to check the equality of adresses of two object.

CLASS METHODS

new

  sub new : SPVM::EqualityChecker::Address ()

Create a new SPVM::EqualityChecker::Address object.

INSTANCE METHODS

ANON

  sub : int ($self : self, $obj1 : object, $obj2 : object)

This method receive tow objects and return 1 if the address of the two object equals, return 0 if not.