I do not. A lot depends on if you want to use optional methods which is
difficult in Go, but many have given plenty of starting ideas.
type Collection interface {
Contains(e E) bool // may be slow, requiring a scan
Iterator() ElementIterator[E]
}
type Set interface { // simply a marker that
On Tue, 27 Sep 2022, at 6:57 PM, Robert Engels wrote:
> The github set issue is impossible to follow without using github.
>
> Please simply define the interfaces. The implementations will follow.
> You can have simple iterators, indexed iterators, map (key/value)
> iterators, errorable iterator
The github set issue is impossible to follow without using github.
Please simply define the interfaces. The implementations will follow. You can
have simple iterators, indexed iterators, map (key/value) iterators, errorable
iterators, closable iterators.
You can define how to provide/adapt fo