Code examples for ParameterizedType

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
42:	Type thatOwnerType = that.getOwnerType(); 
43:	Type thatRawType = that.getRawType(); 
44:	return (ownerType == null ? thatOwnerType == null : ownerType.equals(thatOwnerType)) && (rawType == null ? thatRawType == null : rawType.equals(thatRawType)) && Arrays.equals(actualTypeArguments, that.getActualTypeArguments()); 
Full Snippet Info
8
CodeRank
77:	Class<?> raw = (Class<?>) type.getRawType(); 
-
79:	return nameFor(type.getActualTypeArguments()[0]) + "List"; 
Full Snippet Info
8
CodeRank
71:	Type thatOwnerType = that.getOwnerType(); 
72:	Type thatRawType = that.getRawType(); 
73:	return (ownerType == null ? thatOwnerType == null : ownerType.equals(thatOwnerType)) && (rawType == null ? thatRawType == null : rawType.equals(thatRawType)) && Arrays.equals(actualTypeArguments, that.getActualTypeArguments()); 
Full Snippet Info
8
CodeRank
81:	this.type = ptype.getActualTypeArguments()[0]; 
Full Snippet Info
8
CodeRank
137:	return new ParameterizedTypeImpl(p.getOwnerType(), 
138:	p.getRawType(), p.getActualTypeArguments()); 
Full Snippet Info
8
CodeRank
55:	if (pt.getRawType() != TypeToken.class) 
-
59:	return pt.getActualTypeArguments()[0]; 
Full Snippet Info
8
CodeRank
27:	this.clazz = (Class<?>) stringListType.getActualTypeArguments()[0]; 
Full Snippet Info
8
CodeRank
58:	Type thatOwnerType = that.getOwnerType(); 
59:	Type thatRawType = that.getRawType(); 
60:	return (ownerType == null ? thatOwnerType == null : ownerType.equals(thatOwnerType)) && (rawType == null ? thatRawType == null : rawType.equals(thatRawType)) && Arrays.equals(actualTypeArguments, that.getActualTypeArguments()); 
Full Snippet Info
8
CodeRank
66:	return getValue(type.getRawType()); 
Full Snippet Info
7
CodeRank
120:	Type[] tp = type.getActualTypeArguments(); 
Full Snippet Info
7
CodeRank
58:	Type thatOwnerType = that.getOwnerType(); 
59:	Type thatRawType = that.getRawType(); 
60:	return (ownerType == null ? thatOwnerType == null : ownerType.equals(thatOwnerType)) && (rawType == null ? thatRawType == null : rawType.equals(thatRawType)) && Arrays.equals(actualTypeArguments, that.getActualTypeArguments()); 
Full Snippet Info
7
CodeRank
109:	assertEquals(rawType, parameterized.getRawType()); 
110:	assertTrue(Arrays.equals(types, parameterized.getActualTypeArguments())); 
Full Snippet Info
8
CodeRank
236:	return ((Class<?>)pt.getRawType()).getSimpleName() +"<"+ 
237:	((Class<?>)pt.getActualTypeArguments()[0]).getSimpleName() +">"; 
Full Snippet Info
7
CodeRank
40:	return (Class<T>) type.getActualTypeArguments()[0]; 
Full Snippet Info
7
CodeRank
58:	Type thatOwnerType = that.getOwnerType(); 
59:	Type thatRawType = that.getRawType(); 
60:	return (ownerType == null ? thatOwnerType == null : ownerType.equals(thatOwnerType)) && (rawType == null ? thatRawType == null : rawType.equals(thatRawType)) && Arrays.equals(actualTypeArguments, that.getActualTypeArguments()); 
Full Snippet Info
8
CodeRank
107:	assertEquals(parameterizedType.getRawType(), rawType); 
-
109:	Type[] arguments = parameterizedType.getActualTypeArguments(); 
Full Snippet Info
8
CodeRank
82:	Type actualType = type.getActualTypeArguments()[0]; 
Full Snippet Info
7
CodeRank
80:	if (opt.getOwnerType() != null) { 
-
84:	if (rawType != opt.getRawType()) { 
-
88:	return Arrays.equals(parameters, opt.getActualTypeArguments()); 
Full Snippet Info
8
CodeRank
236:	return ((Class<?>)pt.getRawType()).getSimpleName() +"<"+ 
237:	((Class<?>)pt.getActualTypeArguments()[0]).getSimpleName() +">"; 
Full Snippet Info
7
CodeRank
69:	return toClass(pt.getRawType()); 
Full Snippet Info
6
CodeRank