arcgissamples\scenario\extension\ICalculateArea.java—ArcObjects 10.4 Help for Java | ArcGIS for Desktop
Utility object
arcgissamples\scenario\extension\ICalculateArea.java
/* Copyright 2015 ESRI
* 
* All rights reserved under the copyright laws of the United States
* and applicable international laws, treaties, and conventions.
* 
* You may freely redistribute and use this sample code, with or
* without modification, provided you include the original copyright
* notice and use restrictions.
* 
* See the use restrictions at <your ArcGIS install location>/DeveloperKit10.4/userestrictions.txt.
* 
*/
package arcgissamples.scenario.extension;

import com.esri.arcgis.geodatabase.IFeatureClass;
import com.esri.arcgis.interop.extn.ArcGISExtension;

@ArcGISExtension
public interface ICalculateArea {
  public double calculateArea(IFeatureClass fClass);
}