blob: 63dbdb2df0a7a4dbddc552f1ef1e3f04dd170dfa [file] [log] [blame]
sslobodrd046be82019-01-16 10:02:22 -05001// 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}