org.ujmp.core.annotation
Class AbstractAnnotation

java.lang.Object
  extended by org.ujmp.core.annotation.AbstractAnnotation
All Implemented Interfaces:
Serializable, Cloneable, Annotation
Direct Known Subclasses:
DefaultAnnotation

public abstract class AbstractAnnotation
extends Object
implements Annotation

See Also:
Serialized Form

Constructor Summary
AbstractAnnotation(long... size)
           
 
Method Summary
abstract  Annotation clone()
           
 boolean equals(Object obj)
           
 Object getAxisAnnotation(int axis)
           
 int getDimensionCount()
           
 long[] getSize()
           
 int hashCode()
           
 void setAxisAnnotation(int axis, Object value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ujmp.core.annotation.Annotation
clear, getAxisAnnotation, getDimensionMatrix, getMatrixAnnotation, getPositionForLabel, setAxisAnnotation, setDimensionMatrix, setMatrixAnnotation
 

Constructor Detail

AbstractAnnotation

public AbstractAnnotation(long... size)
Method Detail

getSize

public final long[] getSize()
Specified by:
getSize in interface Annotation

getDimensionCount

public final int getDimensionCount()

getAxisAnnotation

public final Object getAxisAnnotation(int axis)
Specified by:
getAxisAnnotation in interface Annotation

setAxisAnnotation

public final void setAxisAnnotation(int axis,
                                    Object value)
Specified by:
setAxisAnnotation in interface Annotation

toString

public final String toString()
Overrides:
toString in class Object

hashCode

public final int hashCode()
Overrides:
hashCode in class Object

equals

public final boolean equals(Object obj)
Specified by:
equals in interface Annotation
Overrides:
equals in class Object

clone

public abstract Annotation clone()
Specified by:
clone in interface Annotation
Overrides:
clone in class Object


Copyright © 2010. All Rights Reserved.