Package org.bson

Class BsonMaxKey


  • public final class BsonMaxKey
    extends BsonValue
    Represent the maximum key value regardless of the key's type
    • Constructor Detail

      • BsonMaxKey

        public BsonMaxKey()
    • Method Detail

      • getBsonType

        public BsonType getBsonType()
        Description copied from class: BsonValue
        Gets the BSON type of this value.
        Specified by:
        getBsonType in class BsonValue
        Returns:
        the BSON type, which may not be null (but may be BSONType.NULL)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object