本文整理汇总了Java中com.googlecode.javacpp.annotation.MemberGetter类的典型用法代码示例。如果您正苦于以下问题:Java MemberGetter类的具体用法?Java MemberGetter怎么用?Java MemberGetter使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
MemberGetter类属于com.googlecode.javacpp.annotation包,在下文中一共展示了MemberGetter类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getBehavior
import com.googlecode.javacpp.annotation.MemberGetter; //导入依赖的package包/类
public static Annotation getBehavior(Method method) {
Annotation[] annotations = method.getAnnotations();
Annotation behaviorAnnotation = null;
for (Annotation a: annotations) {
if (a instanceof Function || a instanceof Allocator || a instanceof ArrayAllocator ||
a instanceof ValueSetter || a instanceof ValueGetter ||
a instanceof MemberGetter || a instanceof MemberSetter) {
if (behaviorAnnotation != null) {
logger.log(Level.WARNING, "Behavior annotation \"" + behaviorAnnotation +
"\" already found. Ignoring superfluous annotation \"" + a + "\".");
} else {
behaviorAnnotation = a;
}
}
}
return behaviorAnnotation;
}
示例2: getDoublePointerVal
import com.googlecode.javacpp.annotation.MemberGetter; //导入依赖的package包/类
@MemberGetter @Name("val")
public native DoublePointer getDoublePointerVal();
示例3: getLongPointerVal
import com.googlecode.javacpp.annotation.MemberGetter; //导入依赖的package包/类
@MemberGetter @Cast("double*") @Name("val")
public native LongPointer getLongPointerVal();
示例4: calc_linear
import com.googlecode.javacpp.annotation.MemberGetter; //导入依赖的package包/类
@MemberGetter public static native @ByRef Calc calc_linear();
示例5: calc_rbf
import com.googlecode.javacpp.annotation.MemberGetter; //导入依赖的package包/类
@MemberGetter public static native @ByRef Calc calc_rbf();
示例6: calc_poly
import com.googlecode.javacpp.annotation.MemberGetter; //导入依赖的package包/类
@MemberGetter public static native @ByRef Calc calc_poly();
示例7: calc_sigmoid
import com.googlecode.javacpp.annotation.MemberGetter; //导入依赖的package包/类
@MemberGetter public static native @ByRef Calc calc_sigmoid();
示例8: select_working_set
import com.googlecode.javacpp.annotation.MemberGetter; //导入依赖的package包/类
@MemberGetter public static native @ByRef SelectWorkingSet select_working_set();
示例9: select_working_set_nu_svm
import com.googlecode.javacpp.annotation.MemberGetter; //导入依赖的package包/类
@MemberGetter public static native @ByRef SelectWorkingSet select_working_set_nu_svm();
示例10: calc_rho
import com.googlecode.javacpp.annotation.MemberGetter; //导入依赖的package包/类
@MemberGetter public static native @ByRef CalcRho calc_rho();
示例11: calc_rho_nu_svm
import com.googlecode.javacpp.annotation.MemberGetter; //导入依赖的package包/类
@MemberGetter public static native @ByRef CalcRho calc_rho_nu_svm();
示例12: get_row_svc
import com.googlecode.javacpp.annotation.MemberGetter; //导入依赖的package包/类
@MemberGetter public static native @ByRef GetRow get_row_svc();
示例13: get_row_one_class
import com.googlecode.javacpp.annotation.MemberGetter; //导入依赖的package包/类
@MemberGetter public static native @ByRef GetRow get_row_one_class();
示例14: get_row_svr
import com.googlecode.javacpp.annotation.MemberGetter; //导入依赖的package包/类
@MemberGetter public static native @ByRef GetRow get_row_svr();
示例15: feature
import com.googlecode.javacpp.annotation.MemberGetter; //导入依赖的package包/类
@MemberGetter public native dc1394feature_info_t feature();