goog.module('nullability.explicitnotnullable.ExplicitNotNullable.IntFunction$impl');

const $Util = goog.require('nativebootstrap.Util$impl');

let $LambdaAdaptor = goog.forwardDeclare('nullability.explicitnotnullable.ExplicitNotNullable.IntFunction.$LambdaAdaptor$impl');

/**
 * @interface
 * @template T
 */
class IntFunction {
 /** @abstract @nodts @return {T} */
 m_accept__int__java_lang_Object(/** number */ i) {}
 /** @nodts @template T @return {!IntFunction<T>} */
 static $adapt(/** ?function(number):T */ fn) {
  IntFunction.$clinit();
  return /**@type {!$LambdaAdaptor<T>}*/ (new $LambdaAdaptor(fn));
 }
 /** @nodts */
 static $clinit() {
  IntFunction.$clinit = () =>{};
  IntFunction.$loadModules();
 }
 
 static $markImplementor(/** Function */ ctor) {
  ctor.prototype.$implements__nullability_explicitnotnullable_ExplicitNotNullable_IntFunction = true;
 }
 /** @nodts @return {boolean} */
 static $isInstance(/** ? */ instance) {
  return instance != null && !!instance.$implements__nullability_explicitnotnullable_ExplicitNotNullable_IntFunction;
 }
 
 /** @nodts */
 static $loadModules() {
  $LambdaAdaptor = goog.module.get('nullability.explicitnotnullable.ExplicitNotNullable.IntFunction.$LambdaAdaptor$impl');
 }
}
IntFunction.$markImplementor(/**@type {Function}*/ (IntFunction));
$Util.$setClassMetadataForInterface(/**@type {Function}*/ (IntFunction), 'nullability.explicitnotnullable.ExplicitNotNullable$IntFunction');

exports = IntFunction;

//# sourceMappingURL=ExplicitNotNullable$IntFunction.js.map
