Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mapRType (0.04 sec)

  1. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            final Method m1 = MapType.class.getMethod("mapOfStringToObject");
            final Type t1 = m1.getGenericReturnType();
            assertThat(GenericsUtil.isTypeOf(t1, Map.class), is(true));
            assertThat(GenericsUtil.getKeyTypeOfMap(t1), is(sameClass(String.class)));
            assertThat(GenericsUtil.getValueTypeOfMap(t1), is(sameClass(Object.class)));
    
            final Method m2 = MapType.class.getMethod("mapOfClassToString");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/ast.go

    		}
    		f.walk(n.Params, ctxParam, visit)
    		if n.Results != nil {
    			f.walk(n.Results, ctxParam, visit)
    		}
    	case *ast.InterfaceType:
    		f.walk(n.Methods, ctxField, visit)
    	case *ast.MapType:
    		f.walk(&n.Key, ctxType, visit)
    		f.walk(&n.Value, ctxType, visit)
    	case *ast.ChanType:
    		f.walk(&n.Value, ctxType, visit)
    
    	case *ast.BadStmt:
    	case *ast.DeclStmt:
    		f.walk(n.Decl, ctxDecl, visit)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 14 15:47:06 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top