| NORSYS SOFTWARE © 2009 | NETICA API | JAVA VERSION 4.18

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## norsys.netica
Class Util

    java.lang.Object
      |
      +--norsys.netica.Util

public class Util
extends java.lang.Object

A collection of static methods of general use to Java developers.

Since:
  2.08
Version:
  4.18 - October 1, 2010

Method Summary
`static boolean` | `isAscii(java.lang.String str)` Returns true, iff, the given string contains only ascii characters, that is, characters in the range 1..255, inclusive.
`static double[]` | `toDoubles(float[] floats)` Converts a float array to a double array.
`static float[]` | `toFloats(double[] doubles)` Converts a double array to a float array.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

public static boolean isAscii ( |
String | str
| )

  Returns true, iff, the given string contains only ascii characters, that is, characters in the range 1..255, inclusive.
  Parameters:

  str |  | String |  | the string to test

  Version:
  Since 2.11

public static double[ ] toDoubles ( |
float[ ] | floats
| )

  Converts a float array to a double array.
  Parameters:

  float[] |  | floats |  | The array to convert.

  Version:
  This method is available in all versions.

public static float[ ] toFloats ( |
double[ ] | doubles
| )

  Converts a double array to a float array.
  Parameters:

  double[] |  | doubles |  | The array to convert.

  Version:
  This method is available in all versions.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD