src/main/java/org/g_node/nix/util/Util.java
/**
     * Splits an SI unit into prefix, unit and the power components.
     *
     * @param fullUnit unit
     * @return array with prefix, unit, power
     */
Splits an SI unit into prefix, unit and the power components.
@param fullUnit unit
@return array with prefix, unit, power
Splits an SI unit into prefix unit and the power components . @param fullUnit unit @return array with prefix unit power
public static String[] splitUnit(String fullUnit) {
        BytePointer bp1 = new BytePointer(1);
        BytePointer bp2 = new BytePointer(1);
        BytePointer bp3 = new BytePointer(1);
        splitUnit(fullUnit, bp1, bp2, bp3);
        return new String[]{bp1.getString(), bp2.getString(), bp3.getString()};
    }
public static String [ ] splitUnit ( String fullUnit ) { BytePointer bp1 = new BytePointer ( 1 ) ; BytePointer bp2 = new BytePointer ( 1 ) ; BytePointer bp3 = new BytePointer ( 1 ) ; splitUnit ( fullUnit , bp1 , bp2 , bp3 ) ; return new String [ ] { bp1 . getString ( ) , bp2 . getString ( ) , bp3 . getString ( ) } ; }
Splits an SI unit into prefix, unit and the power components.
Splits an SI unit into prefix unit and the power components .