Class BsonField

    • Constructor Detail

      • BsonField

        public BsonField​(String name,
                         Bson value)
        Construct an instance
        Parameters:
        name - the field name
        value - the field value
    • Method Detail

      • getName

        public String getName()
        Gets the field name
        Returns:
        the field name
      • getValue

        public Bson getValue()
        Gets the field value
        Returns:
        the field value
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object