@Encoding.Naming(value = "setJavaMap*") @Encoding.Init void setJavaMap( final java.util.Map<K, V> in_map) { this.map = TreeMap.ofAll(in_map); }
public Builder setJavaMapOptionalAttributes(Map<SMFAttributeName, SMFSchemaAttribute> in_map) { this.optionalAttributes_map = TreeMap.ofAll(in_map); return this; }
@Encoding.Naming(value = "setJavaMap*") @Encoding.Init void setJavaMap( final java.util.Map<K, V> in_map) { this.map = TreeMap.ofAll(in_map); }
public Builder setJavaMapRequiredAttributes(Map<SMFAttributeName, SMFSchemaAttribute> in_map) { this.requiredAttributes_map = TreeMap.ofAll(in_map); return this; }
public Builder setJavaMapRequiredAttributes(Map<SMFAttributeName, SMFSchemaAttribute> in_map) { this.requiredAttributes_map = TreeMap.ofAll(in_map); return this; }
public Builder setJavaMapOptionalAttributes(Map<SMFAttributeName, SMFSchemaAttribute> in_map) { this.optionalAttributes_map = TreeMap.ofAll(in_map); return this; }
/** * @return The sets of packed attributes, grouped by ID */ @Value.Derived default SortedMap<Integer, SMFByteBufferPackedAttributeSet> attributeSetsByID() { return TreeMap.ofAll( this.attributeSets().toJavaStream().collect( Collectors.toMap( attr -> Integer.valueOf(attr.id()), Function.identity(), (set0, set1) -> { final StringBuilder sb = new StringBuilder(128); sb.append("Duplicate packing set ID."); sb.append(System.lineSeparator()); sb.append(" ID: "); sb.append(set0.id()); sb.append(System.lineSeparator()); throw new IllegalArgumentException(sb.toString()); }))); } }