1 2 // 3 // This file is auto-generated. Please don't modify it! 4 // 5 package org.opencv.core; 6 7 import java.lang.String; 8 9 // C++: class Algorithm 10 //javadoc: Algorithm 11 public class Algorithm { 12 13 protected final long nativeObj; Algorithm(long addr)14 protected Algorithm(long addr) { nativeObj = addr; } 15 16 17 // 18 // C++: void clear() 19 // 20 21 //javadoc: Algorithm::clear() clear()22 public void clear() 23 { 24 25 clear_0(nativeObj); 26 27 return; 28 } 29 30 31 // 32 // C++: void save(String filename) 33 // 34 35 //javadoc: Algorithm::save(filename) save(String filename)36 public void save(String filename) 37 { 38 39 save_0(nativeObj, filename); 40 41 return; 42 } 43 44 45 // 46 // C++: String getDefaultName() 47 // 48 49 //javadoc: Algorithm::getDefaultName() getDefaultName()50 public String getDefaultName() 51 { 52 53 String retVal = getDefaultName_0(nativeObj); 54 55 return retVal; 56 } 57 58 59 @Override finalize()60 protected void finalize() throws Throwable { 61 delete(nativeObj); 62 } 63 64 65 66 // C++: void clear() clear_0(long nativeObj)67 private static native void clear_0(long nativeObj); 68 69 // C++: void save(String filename) save_0(long nativeObj, String filename)70 private static native void save_0(long nativeObj, String filename); 71 72 // C++: String getDefaultName() getDefaultName_0(long nativeObj)73 private static native String getDefaultName_0(long nativeObj); 74 75 // native support for java finalize() delete(long nativeObj)76 private static native void delete(long nativeObj); 77 78 } 79