Package org.jlayer.util
Class AssociateUtil<T>
java.lang.Object
org.jlayer.util.AssociateUtil<T>
- Type Parameters:
T
- the element type under consideration
This class provides the actual implementation of
VectorLayer
's method associate()
.
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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) void
associate
(VectorLayer.D1<?, T> xLayer, VectorLayer.D1<?, T> yLayer, Relation rel) (package private) void
associate
(VectorLayer.D1<?, T> xLayer, VectorLayer.D2<?, T> yLayer, Relation rel) (package private) void
associate
(VectorLayer.D1<?, T> xLayer, VectorLayer.D3<?, T> yLayer, Relation rel) (package private) void
associate
(VectorLayer.D2<?, T> xLayer, VectorLayer.D1<?, T> yLayer, Relation rel) (package private) void
associate
(VectorLayer.D2<?, T> xLayer, VectorLayer.D2<?, T> yLayer, Relation rel) (package private) void
associate
(VectorLayer.D2<?, T> xLayer, VectorLayer.D3<?, T> yLayer, Relation rel) (package private) void
associate
(VectorLayer.D3<?, T> xLayer, VectorLayer.D1<?, T> yLayer, Relation rel) (package private) void
associate
(VectorLayer.D3<?, T> xLayer, VectorLayer.D2<?, T> yLayer, Relation rel) (package private) void
associate
(VectorLayer.D3<?, T> xLayer, VectorLayer.D3<?, T> yLayer, Relation rel) private void
associate0
(VectorLayer.D1<?, T> xLayer, VectorLayer.D1<?, T> yLayer, Relation rel) private void
associate0
(VectorLayer.D1<?, T> xLayer, VectorLayer.D2<?, T> yLayer, Relation rel) private void
associate0
(VectorLayer.D1<?, T> xLayer, VectorLayer.D3<?, T> yLayer, Relation rel) private void
associate0
(VectorLayer.D2<?, T> xLayer, VectorLayer.D2<?, T> yLayer, Relation rel) private void
associate0
(VectorLayer.D2<?, T> xLayer, VectorLayer.D3<?, T> yLayer, Relation rel) private void
associate0
(VectorLayer.D3<?, T> xLayer, VectorLayer.D3<?, T> yLayer, Relation rel) private void
associate1
(VectorLayer.D1<?, T> xLayer, VectorLayer.D1<?, T> yLayer, Relation rel) private void
associate1
(VectorLayer.D1<?, T> xLayer, VectorLayer.D2<?, T> yLayer, Relation rel) private void
associate1
(VectorLayer.D1<?, T> xLayer, VectorLayer.D3<?, T> yLayer, Relation rel) private void
associate1
(VectorLayer.D2<?, T> xLayer, VectorLayer.D2<?, T> yLayer, Relation rel) private void
associate1
(VectorLayer.D2<?, T> xLayer, VectorLayer.D3<?, T> yLayer, Relation rel) private void
associate1
(VectorLayer.D3<?, T> xLayer, VectorLayer.D3<?, T> yLayer, Relation rel) private void
createLinkObjects
(T[] xArr) static boolean
protected abstract T[]
newArray
(int len) protected abstract T
static void
setAssociateForkJoinFlag
(boolean flag) private void
setXLink
(LayerIndex.D1 xGen, Map<LayerIndex.D1, List<LayerIndex.D1>> xMap, int[] yLen, VectorLayer.D1<?, T> xLayer, VectorLayer.D1<?, T> yLayer, Relation rel) private void
setXLink
(LayerIndex.D1 xGen, Map<LayerIndex.D1, List<LayerIndex.D2>> xMap, int[][] yLen, VectorLayer.D1<?, T> xLayer, VectorLayer.D2<?, T> yLayer, Relation rel) private void
setXLink
(LayerIndex.D1 xGen, Map<LayerIndex.D1, List<LayerIndex.D3>> xMap, int[][][] yLen, VectorLayer.D1<?, T> xLayer, VectorLayer.D3<?, T> yLayer, Relation rel) private void
setXLink
(LayerIndex.D2 xGen, Map<LayerIndex.D2, List<LayerIndex.D2>> xMap, int[][] yLen, VectorLayer.D2<?, T> xLayer, VectorLayer.D2<?, T> yLayer, Relation rel) private void
setXLink
(LayerIndex.D2 xGen, Map<LayerIndex.D2, List<LayerIndex.D3>> xMap, int[][][] yLen, VectorLayer.D2<?, T> xLayer, VectorLayer.D3<?, T> yLayer, Relation rel) private void
setXLink
(LayerIndex.D3 xGen, Map<LayerIndex.D3, List<LayerIndex.D3>> xMap, int[][][] yLen, VectorLayer.D3<?, T> xLayer, VectorLayer.D3<?, T> yLayer, Relation rel) private void
setYLink
(LayerIndex.D1 yGen, int[] yLen, Map<LayerIndex.D1, List<LayerIndex.D1>> xMap, VectorLayer.D1<?, T> xLayer, VectorLayer.D1<?, T> yLayer, Relation rel) private void
setYLink
(LayerIndex.D2 yGen, int[][] yLen, Map<LayerIndex.D1, List<LayerIndex.D2>> xMap, VectorLayer.D1<?, T> xLayer, VectorLayer.D2<?, T> yLayer, Relation rel) private void
setYLink
(LayerIndex.D2 yGen, int[][] yLen, Map<LayerIndex.D2, List<LayerIndex.D2>> xMap, VectorLayer.D2<?, T> xLayer, VectorLayer.D2<?, T> yLayer, Relation rel) private void
setYLink
(LayerIndex.D3 yGen, int[][][] yLen, Map<LayerIndex.D1, List<LayerIndex.D3>> xMap, VectorLayer.D1<?, T> xLayer, VectorLayer.D3<?, T> yLayer, Relation rel) private void
setYLink
(LayerIndex.D3 yGen, int[][][] yLen, Map<LayerIndex.D2, List<LayerIndex.D3>> xMap, VectorLayer.D2<?, T> xLayer, VectorLayer.D3<?, T> yLayer, Relation rel) private void
setYLink
(LayerIndex.D3 yGen, int[][][] yLen, Map<LayerIndex.D3, List<LayerIndex.D3>> xMap, VectorLayer.D3<?, T> xLayer, VectorLayer.D3<?, T> yLayer, Relation rel) private static List<List<LayerIndex.D1>>
splitIndexD1List
(List<LayerIndex.D1> ixList) private static List<List<LayerIndex.D2>>
splitIndexD2List
(List<LayerIndex.D2> ixList) private static List<List<LayerIndex.D3>>
splitIndexD3List
(List<LayerIndex.D3> ixList)
-
Field Details
-
associateForkJoinFlag
private static boolean associateForkJoinFlag
-
-
Constructor Details
-
AssociateUtil
public AssociateUtil()
-
-
Method Details
-
newObject
-
newArray
-
setAssociateForkJoinFlag
public static void setAssociateForkJoinFlag(boolean flag) -
getAssociateForkJoinFlag
public static boolean getAssociateForkJoinFlag() -
splitIndexD1List
-
splitIndexD2List
-
splitIndexD3List
-
associate
-
associate0
-
associate1
-
associate
-
associate0
-
associate1
-
associate
-
associate0
-
associate1
-
associate
-
associate
-
associate0
-
associate1
-
associate
-
associate0
-
associate1
-
associate
-
associate
-
associate
-
associate0
-
associate1
-
createLinkObjects
-
setXLink
private void setXLink(LayerIndex.D1 xGen, Map<LayerIndex.D1, List<LayerIndex.D1>> xMap, int[] yLen, VectorLayer.D1<?, T> xLayer, VectorLayer.D1<?, T> yLayer, Relation rel) -
setXLink
private void setXLink(LayerIndex.D1 xGen, Map<LayerIndex.D1, List<LayerIndex.D2>> xMap, int[][] yLen, VectorLayer.D1<?, T> xLayer, VectorLayer.D2<?, T> yLayer, Relation rel) -
setXLink
private void setXLink(LayerIndex.D1 xGen, Map<LayerIndex.D1, List<LayerIndex.D3>> xMap, int[][][] yLen, VectorLayer.D1<?, T> xLayer, VectorLayer.D3<?, T> yLayer, Relation rel) -
setXLink
private void setXLink(LayerIndex.D2 xGen, Map<LayerIndex.D2, List<LayerIndex.D2>> xMap, int[][] yLen, VectorLayer.D2<?, T> xLayer, VectorLayer.D2<?, T> yLayer, Relation rel) -
setXLink
private void setXLink(LayerIndex.D2 xGen, Map<LayerIndex.D2, List<LayerIndex.D3>> xMap, int[][][] yLen, VectorLayer.D2<?, T> xLayer, VectorLayer.D3<?, T> yLayer, Relation rel) -
setXLink
private void setXLink(LayerIndex.D3 xGen, Map<LayerIndex.D3, List<LayerIndex.D3>> xMap, int[][][] yLen, VectorLayer.D3<?, T> xLayer, VectorLayer.D3<?, T> yLayer, Relation rel) -
setYLink
private void setYLink(LayerIndex.D1 yGen, int[] yLen, Map<LayerIndex.D1, List<LayerIndex.D1>> xMap, VectorLayer.D1<?, T> xLayer, VectorLayer.D1<?, T> yLayer, Relation rel) -
setYLink
private void setYLink(LayerIndex.D2 yGen, int[][] yLen, Map<LayerIndex.D1, List<LayerIndex.D2>> xMap, VectorLayer.D1<?, T> xLayer, VectorLayer.D2<?, T> yLayer, Relation rel) -
setYLink
private void setYLink(LayerIndex.D3 yGen, int[][][] yLen, Map<LayerIndex.D1, List<LayerIndex.D3>> xMap, VectorLayer.D1<?, T> xLayer, VectorLayer.D3<?, T> yLayer, Relation rel) -
setYLink
private void setYLink(LayerIndex.D2 yGen, int[][] yLen, Map<LayerIndex.D2, List<LayerIndex.D2>> xMap, VectorLayer.D2<?, T> xLayer, VectorLayer.D2<?, T> yLayer, Relation rel) -
setYLink
private void setYLink(LayerIndex.D3 yGen, int[][][] yLen, Map<LayerIndex.D2, List<LayerIndex.D3>> xMap, VectorLayer.D2<?, T> xLayer, VectorLayer.D3<?, T> yLayer, Relation rel) -
setYLink
private void setYLink(LayerIndex.D3 yGen, int[][][] yLen, Map<LayerIndex.D3, List<LayerIndex.D3>> xMap, VectorLayer.D3<?, T> xLayer, VectorLayer.D3<?, T> yLayer, Relation rel)
-