Class Hints.ClassKey

  • Enclosing class:
    Hints

    public static final class Hints.ClassKey
    extends Hints.Key
    A key for value that may be specified either as instance of T, or as Class<T>.
    Since:
    2.4
    Author:
    Martin Desruisseaux
    • Constructor Summary

      Constructors 
      Constructor Description
      ClassKey​(Class<?> classe)
      Constructs a new key for values of the given class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isCompatibleValue​(Object value)
      Returns true if the specified object is a valid value for this key.
      • Methods inherited from class RenderingHints.Key

        equals, hashCode, intKey
      • Methods inherited from class Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait