public class Euclidean2D extends java.lang.Object implements java.io.Serializable, Space
Modifier and Type | Class and Description |
---|---|
private static class |
Euclidean2D.LazyHolder
Holder for the instance.
|
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
Serializable version identifier.
|
Modifier | Constructor and Description |
---|---|
private |
Euclidean2D()
Private constructor for the singleton.
|
Modifier and Type | Method and Description |
---|---|
int |
getDimension()
Get the dimension of the space.
|
static Euclidean2D |
getInstance()
Get the unique instance.
|
Euclidean1D |
getSubSpace()
Get the n-1 dimension subspace of this space.
|
private java.lang.Object |
readResolve()
Handle deserialization of the singleton.
|
private static final long serialVersionUID
public static Euclidean2D getInstance()
public int getDimension()
getDimension
in interface Space
public Euclidean1D getSubSpace()
getSubSpace
in interface Space
Space.getDimension()
private java.lang.Object readResolve()
Copyright (c) 2003-2013 Apache Software Foundation