Lines Matching refs:other
107 func (this ApiLevel) CompareTo(other ApiLevel) int {
108 if this.IsPreview() && !other.IsPreview() {
110 } else if !this.IsPreview() && other.IsPreview() {
114 if this.number < other.number {
116 } else if this.number == other.number {
123 func (this ApiLevel) EqualTo(other ApiLevel) bool {
124 return this.CompareTo(other) == 0
127 func (this ApiLevel) GreaterThan(other ApiLevel) bool {
128 return this.CompareTo(other) > 0
131 func (this ApiLevel) GreaterThanOrEqualTo(other ApiLevel) bool {
132 return this.CompareTo(other) >= 0
135 func (this ApiLevel) LessThan(other ApiLevel) bool {
136 return this.CompareTo(other) < 0
139 func (this ApiLevel) LessThanOrEqualTo(other ApiLevel) bool {
140 return this.CompareTo(other) <= 0