Package org.bson

Class BsonNull



  • public final class BsonNull
    extends BsonValue
    A representation of the BSON Null type.
    Since:
    3.0
    • Field Detail

      • VALUE

        public static final BsonNull VALUE
    • Constructor Detail

      • BsonNull

        public BsonNull​()
    • 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