| 1 | package SPVM::EqualityCheckable; | ||
| 2 | |||
| 3 | |||
| 4 | |||
| 5 | 1; | ||
| 6 | |||
| 7 | =head1 Name | ||
| 8 | |||
| 9 | SPVM::EqualityCheckable - EqualityCheckable Interface | ||
| 10 | |||
| 11 | =head1 Description | ||
| 12 | |||
| 13 | EqualityCheckable interface in L<SPVM> has interface methods to check equality of two objects. | ||
| 14 | |||
| 15 | =head1 Usage | ||
| 16 | |||
| 17 | interface EqualityCheckable; | ||
| 18 | |||
| 19 | =head1 Interface Methods | ||
| 20 | |||
| 21 | C<required method eq : int ($a : object, $b : object);> | ||
| 22 | |||
| 23 | An interface method to check equality of two objects. | ||
| 24 | |||
| 25 | If $a is equal to $b, returns 1, otherwise returns 0. | ||
| 26 | |||
| 27 | =head1 Copyright & License | ||
| 28 | |||
| 29 | Copyright (c) 2024 Yuki Kimoto | ||
| 30 | |||
| 31 | MIT License | ||
| 32 |