Class Mappings.AbstractMapping

    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getSource​(int target)  
      int getSourceCount()
      Returns the number of sources.
      int getSourceOpt​(int target)  
      int getTarget​(int source)
      Returns the target that a source maps to.
      int getTargetCount()
      Returns the number of targets.
      int getTargetOpt​(int source)
      Returns the target that a source maps to, or -1 if it is not mapped.
      boolean isIdentity()
      Returns whether this mapping is the identity.
      void set​(int source, int target)  
      java.lang.String toString()
      Returns a string representation of this mapping.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator