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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 292
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 222
Using Class Methods
Methods to Copy, Convert, and Compare MWCellArrays
Use these methods to copy, convert, and compare objects of class MWCellArray.
Method Description
“clone” on
page 4-147
Creates and returns a deep copy of this array.
“compareTo”
on page
4-148
Compares this array with the specif ied array for order.
“equals” on
page 4-148
Indicates whether some other array is equal to this one.
“hashCode”
on page
4-148
Returns a hash code value for the array.
“sharedCopy”
on page
4-148
Creates and returns a shared copy of this array.
“toString” on
page 4-149
Returns a string representation of the array.
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 MWCellArray overrides the clone method of class
MWArray.
The prototype for the
clone method is as fo llow s:
public Object clone()
Input Parameters
None
4-147
Przeglądanie stron 222
1 2 ... 218 219 220 221 222 223 224 225 226 227 228 ... 291 292

Komentarze do niniejszej Instrukcji

Brak uwag