1 Clazz.load(["java.util.Map"],"java.util.MapEntry",null,function(){
2 c$=Clazz.decorateAsClass(function(){
5 Clazz.instantialize(this,arguments);
6 },java.util,"MapEntry",null,[java.util.Map.Entry,Cloneable]);
7 Clazz.makeConstructor(c$,
11 Clazz.makeConstructor(c$,
12 function(theKey,theValue){
16 Clazz.defineMethod(c$,"clone",
19 return Clazz.superCall(this,java.util.MapEntry,"clone",[]);
21 if(Clazz.instanceOf(e,CloneNotSupportedException)){
28 Clazz.overrideMethod(c$,"equals",
32 }if(Clazz.instanceOf(object,java.util.Map.Entry)){
34 return(this.key==null?entry.getKey()==null:this.key.equals(entry.getKey()))&&(this.value==null?entry.getValue()==null:this.value.equals(entry.getValue()));
37 Clazz.overrideMethod(c$,"getKey",
41 Clazz.overrideMethod(c$,"getValue",
45 Clazz.overrideMethod(c$,"hashCode",
47 return(this.key==null?0:this.key.hashCode())^(this.value==null?0:this.value.hashCode());
49 Clazz.overrideMethod(c$,"setValue",
51 var result=this.value;
55 Clazz.overrideMethod(c$,"toString",
57 return this.key+"="+this.value;
59 Clazz.declareInterface(java.util.MapEntry,"Type");