public HashMap<String, Object> export() {
        HashMap<String, Object> data = new HashMap<>();
        data.put(LEVEL_DESCRIPTOR, level.name());
        data.put(PRESENT_DESCRIPTOR, present);
        data.put(STRICT_DESCRIPTOR, strict);
        data.put(KNOWN_DESCRIPTOR, known);
        return data;
    }
public HashMap<String, Object> export() {
        HashMap<String, Object> data = new HashMap<>();
        data.put(LEVEL_DESCRIPTOR, level.name());
        data.put(PRESENT_DESCRIPTOR, present);
        data.put(STRICT_DESCRIPTOR, strict);
        data.put(KNOWN_DESCRIPTOR, known);
        return data;
    }
public HashMap < String , Object > export ( ) { HashMap < String , Object > data = new HashMap <> ( ) ; data . put ( LEVEL_DESCRIPTOR , level . name ( ) ) ; data . put ( PRESENT_DESCRIPTOR , present ) ; data . put ( STRICT_DESCRIPTOR , strict ) ; data . put ( KNOWN_DESCRIPTOR , known ) ; return data ; }
exports the Presence to a HashMap
@return the resulting HashMap
exports the Presence to a HashMap