Package org.bson

Class BsonUndefined

java.lang.Object
org.bson.BsonValue
org.bson.BsonUndefined

public final class BsonUndefined extends BsonValue
Represents the value associated with the BSON Undefined type. All values of this type are identical. Note that this type has been deprecated in the BSON specification.
Since:
3.0
See Also:
  • Constructor Details

    • BsonUndefined

      public BsonUndefined()
  • Method Details

    • 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)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object