Module org.dyn4j

Class SingleTypedFallbackCondition

    • Constructor Detail

      • SingleTypedFallbackCondition

        public SingleTypedFallbackCondition​(Class<? extends Convex> type)
        Minimal constructor.
        Parameters:
        type - the type
      • SingleTypedFallbackCondition

        public SingleTypedFallbackCondition​(Class<? extends Convex> type,
                                            int sortIndex)
        Optional constructor.
        Parameters:
        type - the type
        sortIndex - the sort index of this condition
      • SingleTypedFallbackCondition

        public SingleTypedFallbackCondition​(Class<? extends Convex> type,
                                            boolean strict)
        Optional constructor.
        Parameters:
        type - the type
        strict - true if a strict type comparison should be performed
      • SingleTypedFallbackCondition

        public SingleTypedFallbackCondition​(Class<? extends Convex> type,
                                            int sortIndex,
                                            boolean strict)
        Full constructor.
        Parameters:
        type - the type
        sortIndex - the sort index of this condition
        strict - true if a strict type comparison should be performed
    • Method Detail

      • getType

        public Class<? extends Convex> getType()
        Returns the type for this fallback condition.
        Returns:
        Class<? extends Convex>
      • isStrict

        public boolean isStrict()
        Returns true if this condition uses a strict type comparison.
        Returns:
        boolean