edu.washington.biostr.sig.brainj3d.core.client
Class CoordinateSpace

java.lang.Object
  extended by edu.washington.biostr.sig.brainj3d.core.client.CoordinateSpace
All Implemented Interfaces:
Serializable

public class CoordinateSpace
extends Object
implements Serializable

The CoordinateSpace provides a list of compatable spaces. It also knows if some types require the subject data.

Author:
eider
See Also:
Serialized Form

Constructor Summary
CoordinateSpace(String space, String subject)
          Create a new Coordinate space.
 
Method Summary
 boolean equals(Object obj)
           
static boolean equals(String space1, String subject1, String space2, String subject2)
          Return true if the spaces are equal.
 String getSpace()
           
 String getSubject()
           
static Set<String> getSubjectSpecific()
           
 int hashCode()
           
 String toString()
           
static String toString(String space, String subject)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CoordinateSpace

public CoordinateSpace(String space,
                       String subject)
Create a new Coordinate space.

Parameters:
space -
subject -
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

equals

public static boolean equals(String space1,
                             String subject1,
                             String space2,
                             String subject2)
Return true if the spaces are equal. This takes into account spaces that are subject specific.

Parameters:
space1 -
subject1 -
space2 -
subject2 -
Returns:

toString

public static String toString(String space,
                              String subject)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

getSubjectSpecific

public static Set<String> getSubjectSpecific()

getSpace

public String getSpace()

getSubject

public String getSubject()


Copyright © 2006 University of Washington. All Rights Reserved.