| NORSYS SOFTWARE © 2007 | NETICA API | JAVA VERSION 3.25

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:
  3.25 - June 15, 2007

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