All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.extjs.gxt.ui.client.data.ModelComparer Maven / Gradle / Ivy

/*
 * Sencha GXT 2.3.1a - Sencha for GWT
 * Copyright(c) 2007-2013, Sencha, Inc.
 * [email protected]
 * 
 * http://www.sencha.com/products/gxt/license/
 */
 package com.extjs.gxt.ui.client.data;

/**
 * Compares the model instances for equality.
 * 
 * @param  the model type
 */
public interface ModelComparer {

  /**
   * Returns true if and model instances represent the same entity.
   * 
   * @param m1 model one
   * @param m2 model two
   * @return true if the models are equal
   */
  public boolean equals(M m1, M m2);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy