blob: 63dbdb2df0a7a4dbddc552f1ef1e3f04dd170dfa [file] [log] [blame]
Scott Bakere7144bc2019-10-01 14:16:47 -07001// Copyright 2010 Petar Maymounkov. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5package llrb
6
7type Int int
8
9func (x Int) Less(than Item) bool {
10 return x < than.(Int)
11}
12
13type String string
14
15func (x String) Less(than Item) bool {
16 return x < than.(String)
17}