ByteArray.st
branchjv
changeset 19567 33f60845c4bc
parent 19496 7613c0fb5f3c
parent 19563 7255172dc813
child 19635 875eb54afd2c
equal deleted inserted replaced
19559:d35a89d5c0ec 19567:33f60845c4bc
  2994     "
  2994     "
  2995      #[1 2 3 1 2 3 1 2 3 1 2 3 4 5 6 4 5 6] usedValues
  2995      #[1 2 3 1 2 3 1 2 3 1 2 3 4 5 6 4 5 6] usedValues
  2996     "
  2996     "
  2997 ! !
  2997 ! !
  2998 
  2998 
       
  2999 
  2999 !ByteArray methodsFor:'searching'!
  3000 !ByteArray methodsFor:'searching'!
  3000 
  3001 
  3001 indexOf:aByte startingAt:start
  3002 indexOf:aByte startingAt:start
  3002     "return the index of the first occurrence of the argument, aByte
  3003     "return the index of the first occurrence of the argument, aByte
  3003      in the receiver starting at start, anInteger; return 0 if not found.
  3004      in the receiver starting at start, anInteger; return 0 if not found.
  3059     "
  3060     "
  3060      #[1 2 3 4 5 6 7 8 9 0 1 2 3 4 5] indexOf:0 startingAt:1
  3061      #[1 2 3 4 5 6 7 8 9 0 1 2 3 4 5] indexOf:0 startingAt:1
  3061     "
  3062     "
  3062 ! !
  3063 ! !
  3063 
  3064 
       
  3065 
  3064 !ByteArray methodsFor:'testing'!
  3066 !ByteArray methodsFor:'testing'!
  3065 
  3067 
  3066 isByteArray
  3068 isByteArray
  3067     "return true, if the receiver is some kind of bytearray;
  3069     "return true, if the receiver is some kind of bytearray;
  3068      true is returned here - the method is redefined from Object."
  3070      true is returned here - the method is redefined from Object."