Lines Matching refs:other
110 func (this ApiLevel) CompareTo(other ApiLevel) int {
111 if this.IsPreview() && !other.IsPreview() {
113 } else if !this.IsPreview() && other.IsPreview() {
117 if this.number < other.number {
119 } else if this.number == other.number {
126 func (this ApiLevel) EqualTo(other ApiLevel) bool {
127 return this.CompareTo(other) == 0
130 func (this ApiLevel) GreaterThan(other ApiLevel) bool {
131 return this.CompareTo(other) > 0
134 func (this ApiLevel) GreaterThanOrEqualTo(other ApiLevel) bool {
135 return this.CompareTo(other) >= 0
138 func (this ApiLevel) LessThan(other ApiLevel) bool {
139 return this.CompareTo(other) < 0
142 func (this ApiLevel) LessThanOrEqualTo(other ApiLevel) bool {
143 return this.CompareTo(other) <= 0