goog.module('jsfunction.Main.TIntegerJsBiFunction$impl');

const j_l_Object = goog.require('java.lang.Object$impl');
const $Util = goog.require('nativebootstrap.Util$impl');
const $JavaScriptFunction = goog.require('vmbootstrap.JavaScriptFunction$impl');

let Integer = goog.forwardDeclare('java.lang.Integer$impl');
let $Casts = goog.forwardDeclare('vmbootstrap.Casts$impl');

/**
 * @final
 * @template T
 */
class TIntegerJsBiFunction extends j_l_Object {
 /** @protected @nodts */
 constructor() {
  super();
 }
 /** @nodts @template T @return {function(T, Integer):T} */
 static $create__() {
  TIntegerJsBiFunction.$clinit();
  let $instance = new TIntegerJsBiFunction();
  $instance.$ctor__jsfunction_Main_TIntegerJsBiFunction__void();
  return $Util.$makeLambdaFunction(TIntegerJsBiFunction.prototype.m_apply__java_lang_Object__java_lang_Number__java_lang_Object, $instance, TIntegerJsBiFunction.$copy);
 }
 /** @nodts */
 $ctor__jsfunction_Main_TIntegerJsBiFunction__void() {
  this.$ctor__java_lang_Object__void();
 }
 /** @nodts @template T @return {T} */
 static m_apply__jsfunction_Main_TIntegerJsBiFunction__java_lang_Object__java_lang_Integer__java_lang_Object(/** !TIntegerJsBiFunction<T> */ $thisArg, /** T */ element, /** Integer */ i) {
  TIntegerJsBiFunction.$clinit();
  return null;
 }
 //Bridge method.
 /** @final @return {T} */
 m_apply__java_lang_Object__java_lang_Number__java_lang_Object(/** T */ arg0, /** Integer */ arg1) {
  return TIntegerJsBiFunction.m_apply__jsfunction_Main_TIntegerJsBiFunction__java_lang_Object__java_lang_Integer__java_lang_Object(this, arg0, /**@type {Integer}*/ ($Casts.$to(arg1, Integer)));
 }
 /** @nodts */
 static $clinit() {
  TIntegerJsBiFunction.$clinit = () =>{};
  TIntegerJsBiFunction.$loadModules();
  j_l_Object.$clinit();
 }
 /** @nodts @return {boolean} */
 static $isInstance(/** ? */ instance) {
  return instance != null && !!instance.$is__jsfunction_Main_TIntegerJsBiFunction;
 }
 /** @nodts */
 static $copy(/** ? */ from, /** ? */ to) {
  to.$is__jsfunction_Main_TIntegerJsBiFunction = true;
 }
 
 /** @nodts */
 static $loadModules() {
  Integer = goog.module.get('java.lang.Integer$impl');
  $Casts = goog.module.get('vmbootstrap.Casts$impl');
 }
}
$JavaScriptFunction.$markImplementor(TIntegerJsBiFunction);
$Util.$setClassMetadata(TIntegerJsBiFunction, 'jsfunction.Main$TIntegerJsBiFunction');

exports = TIntegerJsBiFunction;

//# sourceMappingURL=Main$TIntegerJsBiFunction.js.map
