@Override public int compareTo(final Paperclip other) { return ObjectContracts.compare(this, other, "attachedToStr", "document", "roleName", "documentCreatedAt", "documentDate", "documentState"); }
@Override public int compareTo(final DocumentType other) { return ObjectContracts.compare(this, other, "reference"); }
@Override public int compareTo(final Paperclip other) { return ObjectContracts.compare(this, other, "attachedToStr", "document", "roleName", "documentCreatedAt", "documentDate", "documentState"); }
@Override public int compare(T p, T q) { return ObjectContracts.compare(p, q, propertyNames); } };
@Override public int compare(T p, T q) { return ObjectContracts.compare(p, q, propertyNames); } };
@Override public int compareTo(final DocumentAbstract other) { return ObjectContracts.compare(this, other, "type", "name", "atPath", "sort", "id"); } //endregion
@Override public int compare(final FixtureScript o1, final FixtureScript o2) { return ObjectContracts.compare(o1, o2, "friendlyName","qualifiedName"); } });
@Override public int compareTo(final DocumentAbstract other) { return ObjectContracts.compare(this, other, "type", "name", "atPath", "sort", "id"); } //endregion
@Override public int compareTo(final SimpleObject other) { return ObjectContracts.compare(this, other, "name"); }
@Override public int compareTo(final ToDoItemsByCategoryViewModel other) { return ObjectContracts.compare(this, other, "category"); } //endregion
@Override public int compareTo(final ToDoItemsByDateRangeViewModel other) { return ObjectContracts.compare(this, other, "dateRange"); } //endregion
/** * Required so can store in {@link SortedSet sorted set}s (eg {@link #getDependencies()}). */ @Override public int compareTo(final ToDoItem other) { return ObjectContracts.compare(this, other, "complete,dueBy,description"); } //endregion
@Override public int compareTo(final Applicability other) { return ObjectContracts.compare(this, other, "documentTemplate", "domainClassName", "rendererModelFactoryClassName", "attachmentAdvisorClassName"); }
@Override public int compareTo(final RenderingStrategy other) { return ObjectContracts.compare(this, other, "reference"); }
/** * Evaluates which of p and q is first. * * @deprecated - please be aware that this utility heavily uses reflection. We don't actually intend to deprecate this method (it's useful while prototyping), but we wanted to bring this to your attention! */ @Deprecated @SuppressWarnings("unchecked") public static <T> int compare(final T p, final T q, final String... propertyNames) { final Iterable<String> propertyNamesIter = varargsToIterable(propertyNames); return compare(p, q, propertyNamesIter); }
@Override public int compareTo(Invoice2 o) { return ObjectContracts.compare(this, o, KEY_PROPERTIES); } }
@Override public int compareTo(InvoiceItem o) { return ObjectContracts.compare(this, o, KEY_PROPERTIES); } }
@Override public int compareTo(Invoice o) { return ObjectContracts.compare(this, o, KEY_PROPERTIES); } }
/** * Evaluates which of p and q is first. * * @deprecated - please be aware that this utility heavily uses reflection. We don't actually intend to deprecate this method (it's useful while prototyping), but we wanted to bring this to your attention! * @param propertyNames - the property name or names, CSV format. If multiple properties, use the {@link #compare(Object, Object, String...) varargs} overloaded version of this method. */ @Deprecated @SuppressWarnings("unchecked") public static <T> int compare(final T p, final T q, final String propertyNames) { final Iterable<String> propertyNamesIter = csvToIterable(propertyNames); return compare(p, q, propertyNamesIter); }
@Override public int compareTo(InvoiceItem2 o) { return ObjectContracts.compare(this, o, KEY_PROPERTIES); } }