Interface ToIntMapping

  • All Superinterfaces:
    Mapping
    All Known Implementing Classes:
    ToIntMapMapping

    public interface ToIntMapping
    extends Mapping
    A mapping from objects into int values.
    Since:
    Ptolemy II 4.0
    Version:
    $Id$
    Author:
    Shuvra S. Bhattacharyya, Shahrooz Shahparnia
    Pt.AcceptedRating:
    Red (ssb)
    Pt.ProposedRating:
    Red (ssb)
    • Method Detail

      • toInt

        int toInt​(java.lang.Object object)
        Return the int value associated with the given object.
        Parameters:
        object - The given object.
        Returns:
        The int value that is associated with given object under this mapping.