MATLAB BUILDER JA 2 Podręcznik Użytkownika Strona 192

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 292
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 191
4 Using MWArra y Classes
toArray. MWCharArray inherits this method from the MWArray class.
Methods to Copy, Convert, and Compare MWCharArrays
Use these methods to copy, convert, and compare objects of class MWCharArray.
Method Description
“clone” on page
4-116
Creates and returns a deep copy of this array.
“compareTo” on
page 4-117
Compares this array w ith the specified array for order.
“equals” on page
4-117
Indicates whether some other array is equal to this one.
“hashCode” on
page 4-117
Returns a hash code value for the array.
“sharedCopy” on
page 4-117
Creates and returns a shared copy of this array.
“toString” on page
4-118
Returns a string representation of the a rray.
clone. This method create s and returns a deep copy of this array. Because
clone allocates a new array, any changes made to this new array are not
reflected in the original.
The
clone method of MWCharArray overrides the clone method of class
MWArray.
The prototype for the
clone method is
public Object clone()
Input Parameters
None
4-116
Przeglądanie stron 191
1 2 ... 187 188 189 190 191 192 193 194 195 196 197 ... 291 292

Komentarze do niniejszej Instrukcji

Brak uwag