com.groupbyinc.util.defaults.FieldSortOrderDefault Maven / Gradle / Ivy
package com.groupbyinc.util.defaults;
import com.groupbyinc.api.model.sort.FieldSort;
public class FieldSortOrderDefault {
public boolean equals(Object value) {
return value != null && (value instanceof FieldSort.Order || value instanceof com.groupbyinc.api.request.sort.FieldSort.Order) && FieldSort.Order.Ascending.toString().equals(value.toString());
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy