diff options
| author | Paul Buetow <pbuetow@mimecast.com> | 2020-08-07 11:14:35 +0100 |
|---|---|---|
| committer | Paul Buetow <pbuetow@mimecast.com> | 2020-08-07 11:14:35 +0100 |
| commit | deaa4e1c33cd2c1c75f698881918688055abfa51 (patch) | |
| tree | c6a82fec9cc3030f169d0b4441a8c63dd6bd1ea1 /ds/elem.go | |
| parent | d4c15be3268ee675b0d5853a8ffdb6c4c92585e7 (diff) | |
add quick2
Diffstat (limited to 'ds/elem.go')
| -rw-r--r-- | ds/elem.go | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -1,10 +1,12 @@ package ds type Elem interface { - Equal(a Elem) bool - Lower(a Elem) bool - LowerEqual(a Elem) bool - Higher(a Elem) bool - HigherEqual(a Elem) bool + Equal(e Elem) bool + Lower(e Elem) bool + LowerEqual(e Elem) bool + Higher(e Elem) bool + HigherEqual(e Elem) bool + Compare(e Elem) int + CompareCB(e Elem, lowerCB, higherCB, equalsCB func()) Int() int } |
