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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 292
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 179
4 Using MWArra y Classes
Setting A(2,3) to true
Array element A(2,3) is true
toArray. MWLogicalArray inherits this method from the MWArray class.
Methods to Copy, Convert, and Compare MWLogicalArrays
Use these methods to copy, convert, and compare objects of class
MWLogicalArray.
Method Description
“clone” on
page 4-104
Creates and returns a deep copy of this array.
“compareTo”
on page
4-105
Compares this array with the specified array for order.
“equals” on
page 4-105
Indicates whether some other array is equal to this one.
“hashCode”
on page
4-106
Returns a hash code value for the array.
“sharedCopy”
on page
4-106
Creates and returns a shared copy of this array.
“toString” on
page 4-106
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 MWLogicalArray overrides the clone method of class
MWArray.
The prototype for the
clone method is
4-104
Przeglądanie stron 179
1 2 ... 175 176 177 178 179 180 181 182 183 184 185 ... 291 292

Komentarze do niniejszej Instrukcji

Brak uwag