Documentation of 'org.jdmp.core.sample.AbstractSample' Java class
AbstractSample
org.jdmp.core.sample

Class AbstractSample

    • Constructor Detail

      • AbstractSample

        public AbstractSample()
    • Method Detail

      • isCorrect

        public boolean isCorrect()
        Specified by:
        isCorrect in interface Sample
      • setLabel

        public void setLabel(java.lang.Object label)
        Description copied from interface: HasLabel
        Sets the label of an object
        Specified by:
        setLabel in interface HasLabel
        Overrides:
        setLabel in class AbstractMatrix
        Parameters:
        label - the new label.
      • getGUIObject

        public final GUIObject getGUIObject()
        Description copied from interface: HasGUIObject
        Returns an object suitable for displaying on the screen. Ensures that, for each basic object, only one GUIObject can be returned.
        Specified by:
        getGUIObject in interface HasGUIObject
        Overrides:
        getGUIObject in class AbstractMatrix
        Returns:
        object suitable for displaying on the screen
      • getAsObject

        public final java.lang.Object getAsObject(java.lang.String id)
        Specified by:
        getAsObject in interface Sample
      • getAsMatrix

        public final Matrix getAsMatrix(java.lang.String id)
        Specified by:
        getAsMatrix in interface Sample
      • getAsDouble

        public final double getAsDouble(java.lang.String id)
        Specified by:
        getAsDouble in interface Sample
      • getAsString

        public final java.lang.String getAsString(java.lang.String id)
        Specified by:
        getAsString in interface Sample
      • getAsInt

        public final int getAsInt(java.lang.String id)
        Specified by:
        getAsInt in interface Sample
      • getAsLong

        public final long getAsLong(java.lang.String id)
        Specified by:
        getAsLong in interface Sample
      • getAsShort

        public final short getAsShort(java.lang.String id)
        Specified by:
        getAsShort in interface Sample
      • getAsFloat

        public final float getAsFloat(java.lang.String id)
        Specified by:
        getAsFloat in interface Sample
      • getAsByte

        public final byte getAsByte(java.lang.String id)
        Specified by:
        getAsByte in interface Sample
      • getAsChar

        public final char getAsChar(java.lang.String id)
        Specified by:
        getAsChar in interface Sample
      • getWeight

        public final double getWeight()
        Specified by:
        getWeight in interface Sample

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.