Class WildCardTypeData<T>

  • Type Parameters:
    T - the bounds type
    All Implemented Interfaces:
    org.bson.codecs.pojo.TypeWithTypeParameters<T>

    public class WildCardTypeData<T>
    extends TypeData<T>
    Represents a wild card type
    Since:
    2.1.5
    Developer note.
    This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
    • Method Detail

      • builder

        public static WildCardTypeData.Builder builder​(TypeData<?> bound,
                                                       boolean upperBound)
        Creates a builder
        Parameters:
        bound -
        upperBound - true if the type parameters represent an upper bound
        Returns:
        the new builder
      • isUpperBound

        public boolean isUpperBound()
        Returns:
        true if the type parameters represent an upper bound