Class BooleanClassFilter

  • All Implemented Interfaces:
    ClassFilter

    final class BooleanClassFilter
    extends java.lang.Object
    implements ClassFilter
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private BooleanClassFilter​(boolean result)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accept​(java.lang.String path)
      Determine whether a class name should be accepted by this filter.
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BooleanClassFilter

        private BooleanClassFilter​(boolean result)
    • Method Detail

      • accept

        public boolean accept​(java.lang.String path)
        Description copied from interface: ClassFilter
        Determine whether a class name should be accepted by this filter. The class name is qualified with a dot-separated package name.
        Specified by:
        accept in interface ClassFilter
        Parameters:
        path - the class name
        Returns:
        true to accept the class, false otherwise
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object