Interface Immutable

All Superinterfaces:
MutationBehaviourAware<Immutable>

public interface Immutable extends MutationBehaviourAware<Immutable>
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
     
    default boolean
    Always return false.
  • Method Details

    • mutable

      default boolean mutable()
      Always return false.
      Specified by:
      mutable in interface MutationBehaviourAware<Immutable>
      Returns:
      true if object is currently mutable
    • isImmutable

      static boolean isImmutable(Object object)