XPRSutils
- java.lang.Object
-  
  - com.dashoptimization.XPRSutils
 
-  
   
 public abstract class XPRSutils extends java.lang.ObjectContainer for some useful XPRS utility functions
-  
    
   -  
         Nested Class SummaryModifier and Type Class Description static interfaceXPRSutils.AddNames
 -  
         Constructor SummaryConstructor Description XPRSutils()
 -  
         Method SummaryModifier and Type Method Description static intaddNames(java.lang.String[] names, int first, int last, XPRSutils.AddNames add)static byte[]copyToPackedStringArray(java.lang.String[] strs, byte[] buf, int numStrs)static byte[]copyToUnpackedStringArray(java.lang.String[] strs, byte[] buf, int numStrs, int strLen)static intcountByteArrayReqd(java.lang.String[] str)Given a string array, count how large a byte array will be required to contain itstatic java.lang.String[]decodeUnpackedStringArray(byte[] bytes, int len, int count)Decodes a packed string array into an array of String objectsstatic voiddecodeUnpackedStringArray(java.lang.String[] strs, byte[] bytes, int len, int count)Decodes a packed string array into the specified String arraystatic java.lang.StringfromByteArray(byte[] str)ConvertsNULterminated byte array to a string.static byte[]toByteArray(char[] chrs)Converts a character array into a byte arraystatic byte[]toByteArray(StringHolder str, byte[] b)Converts a string holder into a byte arraystatic byte[]toByteArray(StringHolder str, int minlen)Converts a string holder into a byte arraystatic byte[]toByteArray(java.lang.String str)Converts a string into aNULterminated byte array
 
-  
         
-  
    
   -  
         Method Detail-  toByteArraypublic static byte[] toByteArray(char[] chrs) Converts a character array into a byte array
 -  toByteArraypublic static byte[] toByteArray(StringHolder str, int minlen) Converts a string holder into a byte array
 -  toByteArraypublic static byte[] toByteArray(StringHolder str, byte[] b) Converts a string holder into a byte array
 -  toByteArraypublic static byte[] toByteArray(java.lang.String str) Converts a string into aNULterminated byte array
 -  fromByteArraypublic static java.lang.String fromByteArray(byte[] str) ConvertsNULterminated byte array to a string.
 -  countByteArrayReqdpublic static int countByteArrayReqd(java.lang.String[] str) Given a string array, count how large a byte array will be required to contain it
 -  copyToPackedStringArraypublic static byte[] copyToPackedStringArray(java.lang.String[] strs, byte[] buf, int numStrs)
 -  copyToUnpackedStringArraypublic static byte[] copyToUnpackedStringArray(java.lang.String[] strs, byte[] buf, int numStrs, int strLen)
 -  decodeUnpackedStringArraypublic static void decodeUnpackedStringArray(java.lang.String[] strs, byte[] bytes, int len, int count)Decodes a packed string array into the specified String array
 -  decodeUnpackedStringArraypublic static java.lang.String[] decodeUnpackedStringArray(byte[] bytes, int len, int count)Decodes a packed string array into an array of String objects
 -  addNamespublic static int addNames(java.lang.String[] names, int first, int last, XPRSutils.AddNames add)
 
-  
 
-  
         
© 2001-2024 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.
 
