public class MPPointD extends ObjectPool.Poolable
| Modifier and Type | Field and Description |
|---|---|
double |
x |
double |
y |
NO_OWNER| Modifier and Type | Method and Description |
|---|---|
static MPPointD |
getInstance(double x,
double y) |
protected ObjectPool.Poolable |
instantiate() |
static void |
recycleInstance(MPPointD instance) |
static void |
recycleInstances(java.util.List<MPPointD> instances) |
java.lang.String |
toString()
returns a string representation of the object
|
public static MPPointD getInstance(double x, double y)
public static void recycleInstance(MPPointD instance)
public static void recycleInstances(java.util.List<MPPointD> instances)
protected ObjectPool.Poolable instantiate()
instantiate in class ObjectPool.Poolablepublic java.lang.String toString()
toString in class java.lang.Object