MCPcopy Create free account
hub / github.com/danopdev/Perspective / fromList

Method fromList

opencv/src/main/java/org/opencv/core/MatOfInt.java:63–71  ·  view source on GitHub ↗
(List<Integer> lb)

Source from the content-addressed store, hash-verified

61 }
62
63 public void fromList(List<Integer> lb) {
64 if(lb==null || lb.size()==0)
65 return;
66 Integer ab[] = lb.toArray(new Integer[0]);
67 int a[] = new int[ab.length];
68 for(int i=0; i<ab.length; i++)
69 a[i] = ab[i];
70 fromArray(a);
71 }
72
73 public List<Integer> toList() {
74 int[] a = toArray();

Callers

nothing calls this directly

Calls 3

fromArrayMethod · 0.95
sizeMethod · 0.45
toArrayMethod · 0.45

Tested by

no test coverage detected