-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNodeList3.java
More file actions
41 lines (32 loc) · 964 Bytes
/
Copy pathNodeList3.java
File metadata and controls
41 lines (32 loc) · 964 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package com.axe3d.node;
import java.util.Comparator;
import com.axe.collect.List;
import com.axe.collect.ListArray;
import com.axe.collect.ListLinked;
import com.axe.collect.ListSorted;
import com.axe.math.Vec3f;
import com.axe.node.Node;
import com.axe.node.NodeList;
public class NodeList3<T extends Node<Vec3f>> extends NodeList<Vec3f, T>
{
public static <T extends Node<Vec3f>> NodeList3<T> create3(List<T> nodes)
{
return new NodeList3<T>( nodes );
}
public static <T extends Node<Vec3f>> NodeList3<T> linked3()
{
return new NodeList3<T>( ListLinked.create() );
}
public static <T extends Node<Vec3f>> NodeList3<T> array3(T ... nodes)
{
return new NodeList3<T>( ListArray.create( nodes ) );
}
public static <T extends Node<Vec3f>> NodeList3<T> sorted3(Comparator<T> comparator, T ... nodes)
{
return new NodeList3<T>( ListSorted.create( comparator, nodes ) );
}
protected NodeList3(List<T> nodes)
{
super( nodes );
}
}