keySet() public method

public keySet ( ) : global::java.util.Set
return global::java.util.Set
示例#1
0
 public override string InterfaceMethod1(string _string)
 {
     string text = Test.Integration.Interface_Fields.Default + java.lang.Object.instancehelper_toString(Test.Integration.Interface_Fields._params);
     text = java.lang.String.instancehelper_trim(java.lang.String.instancehelper_substring(text, 1)) + java.lang.Class.forName(typeof(Test.Integration.Interface[]).AssemblyQualifiedName) + java.lang.Class.forName(typeof(Class1).AssemblyQualifiedName) + java.lang.Object.instancehelper_getClass(this);
     string _lock = "";
     Test.Integration.InterfaceInnerClass anonymousClass = new AnonymousClassInterface_InterfaceInnerClass1(text, this, _lock);
     Map map = new HashMap();
     if (map.containsKey(text) && ExistSimilarFieldAndMethod())
     {
         lock (text) {
             Iterator it = map.keySet().iterator();
             Map.Entry entry = (Map.Entry)it.next();
             object key = entry.getKey();
         }
     }
     return java.lang.String.instancehelper_charAt(text, 0) + java.lang.String.instancehelper_replaceAll(text, "\\s", "&nbsp");
 }
示例#2
0
 public override int GetHashCode()
 {
     return(map.keySet().GetHashCode());
 }