This project has moved and is read-only. For the latest updates, please go here.
!Class Collection

superclass: Object;
instanceArchitecture: #Abstract

Page still under construction; sorry about that.

Instance Methods

protocol: #binding method:
[## metaValueAt: key ifAbsent: absentBlock
        self do: [:each | key = each key ifTrue: [^each value value]].
        ^absentBlock value
];

protocol: #binding method:
[## metaValueAtIndex: index ifAbsent: absentBlock
        index > self size ifTrue: [^absentBlock value].
        index < 1 ifTrue: [^absentBlock value].
        ^(self at: index) value
]

Last edited Jun 6, 2014 at 8:21 AM by Strategesis, version 3