Package org.jlayer.util
Class ConnectUtil<T>
java.lang.Object
org.jlayer.util.ConnectUtil<T>
- Type Parameters:
T
- the element type under consideration
This class provides the actual implementation of
VectorLayer's method connect().
A flag controlling, whether the implementation uses the Fork/Join Framework, is set or get, respectively, by:
The abstract method items newObject()
and newArray(int)
return an object or an array of objects of the element type under consideration.
- Author:
- Gerd Kock
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate class
private class
private class
private class
private class
private class
private class
private class
private class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
static boolean
private T[]
getLinkVector
(int[] ix, Layer.D1<?, T> yLayer, Relation rel) private T[]
getLinkVector
(int[] ix, Layer.D2<?, T> yLayer, Relation rel) private T[]
getLinkVector
(int[] ix, Layer.D3<?, T> yLayer, Relation rel) protected abstract T[]
newArray
(int len) protected abstract T
static void
setConnectForkJoinFlag
(boolean flag) splitIndexList
(List<int[]> ixList)
-
Field Details
-
connectForkJoinFlag
private static boolean connectForkJoinFlag
-
-
Constructor Details
-
ConnectUtil
public ConnectUtil()
-
-
Method Details
-
newObject
-
newArray
-
setConnectForkJoinFlag
public static void setConnectForkJoinFlag(boolean flag) -
getConnectForkJoinFlag
public static boolean getConnectForkJoinFlag() -
splitIndexList
-
connect
-
connect0
-
connect1
-
connect
-
connect0
-
connect1
-
connect
-
connect0
-
connect1
-
connect
-
connect0
-
connect1
-
connect
-
connect0
-
connect1
-
connect
-
connect0
-
connect1
-
connect
-
connect0
-
connect1
-
connect
-
connect0
-
connect1
-
connect
-
connect0
-
connect1
-
getLinkVector
-
getLinkVector
-
getLinkVector
-