#Java - Code Snippets for '#.Param' - 3 code snippet(s) found |
|
Sample 1. Usage of java.lang.reflect.ParameterizedType | |
|
ParameterizedType ptype = (ParameterizedType)type;
Class raw = (Class)ptype.getRawType();
|
|
Like Feedback Reflection ParameterizedType |
|
|
Sample 2. Code Sample / Example / Snippet of org.apache.spark.ml.param.IntParam | |
|
public String uid() {
return uid_;
}
IntParam maxIter = new IntParam(this, "maxIter", "max number of iterations");
|
|
Like Feedback org.apache.spark.ml.param.IntParam |
|
|
Sample 3. Code Sample / Example / Snippet of org.apache.bcel.classfile.ParameterAnnotations | |
|
public static ParameterAnnotationEntry[] createParameterAnnotationEntries(final Attribute[] attrs) {
final List<ParameterAnnotationEntry> accumulatedAnnotations = new ArrayList<>(attrs.length);
for (final Attribute attribute : attrs) {
if (attribute instanceof ParameterAnnotations) {
final ParameterAnnotations runtimeAnnotations = (ParameterAnnotations)attribute;
Collections.addAll(accumulatedAnnotations, runtimeAnnotations.getParameterAnnotationEntries());
}
}
return accumulatedAnnotations.toArray(new ParameterAnnotationEntry[accumulatedAnnotations.size()]);
}
|
|
Like Feedback org.apache.bcel.classfile.ParameterAnnotations |
|
|