MCPcopy Index your code
hub / github.com/EdwardRaff/JSAT / submit

Method submit

JSAT/src/jsat/utils/FakeExecutor.java:49–85  ·  view source on GitHub ↗
(final Callable<T> clbl)

Source from the content-addressed store, hash-verified

47 }
48
49 public <T> Future<T> submit(final Callable<T> clbl)
50 {
51 return new Future<T>() {
52
53 public boolean cancel(boolean bln)
54 {
55 return false;
56 }
57
58 public boolean isCancelled()
59 {
60 return false;
61 }
62
63 public boolean isDone()
64 {
65 return false;
66 }
67
68 public T get() throws InterruptedException, ExecutionException
69 {
70 try
71 {
72 return clbl.call();
73 }
74 catch (Exception ex)
75 {
76 return null;
77 }
78 }
79
80 public T get(long l, TimeUnit tu) throws InterruptedException, ExecutionException, TimeoutException
81 {
82 return get();
83 }
84 };
85 }
86
87 public <T> Future<T> submit(Runnable r, T t)
88 {

Callers 15

applyTransformMethod · 0.80
forwardSubMethod · 0.80
backSubMethod · 0.80
CholeskyDecompositionMethod · 0.80
OuterProductUpdateMethod · 0.80
mutableAddMethod · 0.80
multiplyTransposeMethod · 0.80
multiplyMethod · 0.80
mutableMultiplyMethod · 0.80
transposeMultiplyMethod · 0.80
lupMethod · 0.80
qrMethod · 0.80

Calls 1

runMethod · 0.45

Tested by

no test coverage detected