public static MosaicProperties createMosaicProperties(final Long initialSupply,final Integer divisibility,final Boolean isSupplyMutable,final Boolean isTransferable){
  final Properties properties=new Properties();
  if (null != initialSupply) {
    properties.put("initialSupply",Long.toString(initialSupply));
  }
  if (null != divisibility) {
    properties.put("divisibility",Long.toString(divisibility));
  }
  if (null != isSupplyMutable) {
    properties.put("supplyMutable",Boolean.toString(isSupplyMutable));
  }
  if (null != isTransferable) {
    properties.put("transferable",Boolean.toString(isTransferable));
  }
  return new DefaultMosaicProperties(properties);
}

public static MosaicProperties createMosaicProperties ( final Long initialSupply , final Integer divisibility , final Boolean isSupplyMutable , final Boolean isTransferable ) { final Properties properties = new Properties ( ) ; if ( null != initialSupply ) { properties . put ( "initialSupply" , Long . toString ( initialSupply ) ) ; } if ( null != divisibility ) { properties . put ( "divisibility" , Long . toString ( divisibility ) ) ; } if ( null != isSupplyMutable ) { properties . put ( "supplyMutable" , Boolean . toString ( isSupplyMutable ) ) ; } if ( null != isTransferable ) { properties . put ( "transferable" , Boolean . toString ( isTransferable ) ) ; } return new DefaultMosaicProperties ( properties ) ; }
creates custom mosaic properties .
