1
00:00:00,390 --> 00:00:04,020
And then it's going to go again inside of this index zero of this array.

2
00:00:04,170 --> 00:00:08,300
And then it's going to actually give us it's dissuade you appeal to us OK for the company name.

3
00:00:08,610 --> 00:00:14,900
And again for the devices here for the company device here are really fed through the name of these

4
00:00:15,030 --> 00:00:19,330
devices right here as you can see at inside the brackets of this array.

5
00:00:19,500 --> 00:00:22,020
I referred to the name of this index variable.

6
00:00:22,020 --> 00:00:25,120
So now the value of this index variable is number two.

7
00:00:25,260 --> 00:00:28,570
So to module 12 is number two.

8
00:00:28,650 --> 00:00:29,230
OK.

9
00:00:29,490 --> 00:00:34,080
So now as you can see it's going to go in state of the index number two of this Ali.

10
00:00:34,230 --> 00:00:36,930
And then it's going to actually give me this value to me ok.

11
00:00:36,930 --> 00:00:38,410
Galaxy Note 8.

12
00:00:38,610 --> 00:00:39,070
OK.

13
00:00:39,150 --> 00:00:43,260
And then it's going to assign that object to the index number two of this.

14
00:00:43,290 --> 00:00:43,770
OK.

15
00:00:43,770 --> 00:00:45,480
So hopefully that makes sense.

16
00:00:45,480 --> 00:00:48,390
Now let's actually add some more quotes to this class.

17
00:00:48,450 --> 00:00:52,010
OK so now let's actually create a method in this class.

18
00:00:52,020 --> 00:00:52,550
OK.

19
00:00:52,710 --> 00:00:58,770
So after the end in calibrates of this puzzle constructor here as you can see if you want to actually

20
00:00:58,770 --> 00:01:03,380
create another method here we want to actually create effect inside of this puzzle class.

21
00:01:03,390 --> 00:01:03,800
OK.

22
00:01:03,840 --> 00:01:08,290
So before the end in place of this puzzle class I want to actually create a.

23
00:01:08,340 --> 00:01:14,670
So I just pasting some lines of code here and then I explain to you what's going on here.

24
00:01:14,690 --> 00:01:20,220
So now as you can see here these are the lines of code that I pasted here.

25
00:01:20,480 --> 00:01:22,800
And now first let's actually look at this.

26
00:01:22,850 --> 00:01:25,440
Let's shuffle the device's method here.

27
00:01:25,580 --> 00:01:28,470
So the axis modifier of the Smurfette is public.

28
00:01:28,670 --> 00:01:34,640
The return type of this method is void and the name of this method is let's shuffle the devices.

29
00:01:35,000 --> 00:01:39,420
And as you can see here if it actually doesn't accept any arguments.

30
00:01:39,590 --> 00:01:44,370
So let's actually go inside the body of the Smurfette And let's see what's going on here.

31
00:01:44,390 --> 00:01:51,050
First of all as you can see I assigned the values zero to this current device model valuable as you

32
00:01:51,050 --> 00:01:52,040
can see here.

33
00:01:52,040 --> 00:01:52,710
Right.

34
00:01:53,060 --> 00:01:59,630
So that meant that for example when a user calls this method first the value of this current device

35
00:01:59,630 --> 00:02:06,300
model is going to be 0 and then it's going to exiguous this for loop here so forth.

36
00:02:06,470 --> 00:02:11,610
And as you can see I created are valuable here and the data type of this valuable is integer.

37
00:02:11,720 --> 00:02:17,090
The name of this variable is first device assignment operator 0.

38
00:02:17,090 --> 00:02:20,830
So here I created a variable and then assign the value 0 to this value.

39
00:02:20,840 --> 00:02:24,830
But semi-colon and then are here as you can see here.

40
00:02:24,830 --> 00:02:27,430
I actually put this condition here.

41
00:02:27,590 --> 00:02:32,440
So this condition actually determines how many times this fall is going to be executed.

42
00:02:32,630 --> 00:02:40,100
So until the value of this first device here is actually less than the value of the length of this company

43
00:02:40,130 --> 00:02:43,410
and device is arii this loop is going to be executed.

44
00:02:43,700 --> 00:02:47,590
And here as you can see I actually put this value first device plus plus.

45
00:02:47,600 --> 00:02:52,400
So this means that after each execution of this for a loop the value of this first device is going to

46
00:02:52,400 --> 00:02:54,370
be incremented by 1.

47
00:02:54,380 --> 00:02:57,480
So now let's go inside the body of this for a loop here.

48
00:02:57,680 --> 00:03:05,210
As you can see first of all I created over the table here and the name of this valuable is second device

49
00:03:05,360 --> 00:03:12,470
right assignment operator and here as you can see I referred to the name of the secure random numbers

50
00:03:12,530 --> 00:03:12,920
here.

51
00:03:12,980 --> 00:03:13,760
As you can see.

52
00:03:13,880 --> 00:03:14,920
So let's look at this.

53
00:03:14,930 --> 00:03:19,360
So your random numbers here inside this puzzle class as you can see here.

54
00:03:19,490 --> 00:03:22,190
I actually created this constant.

55
00:03:22,430 --> 00:03:27,820
So I actually put this final keyboard and this means that this this is actually a constant.

56
00:03:27,830 --> 00:03:33,570
And here as you can see the data type of this constant is secure random here.

57
00:03:33,830 --> 00:03:39,940
And the name of this constant is secure random numbers assignment operator Nilo secure random.

58
00:03:39,950 --> 00:03:46,040
So here I actually created an object of type secure random and the name of this object is a few random

59
00:03:46,040 --> 00:03:46,830
numbers.

60
00:03:46,880 --> 00:03:52,400
So here this object can actually generate secure random numbers for me.

61
00:03:52,400 --> 00:03:54,800
So now let's actually look at our for loop here.

62
00:03:54,800 --> 00:04:02,150
So I actually referred to the name of my constant secure random numbers that next int number of models.

63
00:04:02,210 --> 00:04:05,100
So it's going to actually give me a random number.

64
00:04:05,210 --> 00:04:06,540
OK.

65
00:04:06,680 --> 00:04:13,810
By looking at the number of models here as you can see inside this class I created this constant here.

66
00:04:14,420 --> 00:04:18,370
Private static final int number of models 60.

67
00:04:18,380 --> 00:04:20,580
So that's our method here.

68
00:04:20,600 --> 00:04:26,270
As you can see by it by calling these next in Mefford on this secure the numbers and by passing this

69
00:04:26,480 --> 00:04:34,880
number of mudholes to this method is going to give me a random number between number 0 and number 59

70
00:04:35,450 --> 00:04:41,750
and then that's value that a random value is going to be assigned to this second device by the bed which

71
00:04:41,750 --> 00:04:42,650
is of type integer.

72
00:04:42,650 --> 00:04:51,500
Right and in line 50 as you can see I actually created an object of type company and device as you can

73
00:04:51,500 --> 00:04:52,230
see here.

74
00:04:52,490 --> 00:04:59,520
And the name of this object is temp company and device Temperley company and device assignment operator.

75
00:04:59,750 --> 00:05:04,180
And here as you can see I've referred to the name of this as a company and devices address.

76
00:05:04,190 --> 00:05:10,910
So here inside this class I actually created an array of pipe company and device as you can see here

77
00:05:10,930 --> 00:05:12,500
in line 11 right.

78
00:05:12,500 --> 00:05:18,220
So inside this puzzle instructor I actually initialized this company and devices at.

79
00:05:18,230 --> 00:05:25,010
So now when the use for example creates an object of type puzzle this company and it was his idea is

80
00:05:25,010 --> 00:05:28,520
going to be initialized as you can see here in line 24.

81
00:05:28,520 --> 00:05:31,010
I am actually initializing this at a company devices.

82
00:05:31,010 --> 00:05:36,170
Assignment operator new company and device number of models as you can see here.

83
00:05:36,170 --> 00:05:37,230
Right.

84
00:05:37,340 --> 00:05:40,030
So here as you can see I to initialize this.

85
00:05:40,070 --> 00:05:50,040
And I said that this this is actually an array that can hold up for example 60 values OK can hold 60

86
00:05:50,040 --> 00:05:53,670
values 60 values of type company and device object.

87
00:05:53,670 --> 00:05:54,450
OK.

88
00:05:54,690 --> 00:06:01,850
So here inside this for loop as you can see here I am actually iterating over the values iterating through

89
00:06:01,920 --> 00:06:04,120
the values of this company and devices.

90
00:06:04,590 --> 00:06:05,590
As you can see.

91
00:06:06,030 --> 00:06:12,380
And then I am saying that company and devices index assignment operator new company and device.

92
00:06:12,390 --> 00:06:16,370
And here I am specifying as you can see here the first value.

93
00:06:16,650 --> 00:06:22,100
And here I am specifying the second value that is specified inside this company and device constructor

94
00:06:22,350 --> 00:06:22,980
OK.

95
00:06:23,190 --> 00:06:24,800
The first value is going to be companies.

96
00:06:24,810 --> 00:06:30,510
And the second value is going to be the devices and here we created these raise in order to initialize

97
00:06:30,750 --> 00:06:31,240
this era.

98
00:06:31,260 --> 00:06:33,340
He had company and devices arii.

99
00:06:33,540 --> 00:06:35,340
So hopefully that makes sense.

100
00:06:35,730 --> 00:06:38,790
And now let's look at our let's for the devices here.

101
00:06:38,910 --> 00:06:45,720
So here I actually referred to the name of this a company and devices and here I actually passed this

102
00:06:45,780 --> 00:06:49,640
first device to this inside the brackets here.

103
00:06:49,740 --> 00:06:50,990
OK first device.

104
00:06:51,060 --> 00:06:55,450
So it's going actually so look it's going to look at this for loop here as you can see.

105
00:06:55,730 --> 00:07:01,940
I created this valuable here first device and then it's going to give me a value for example the first

106
00:07:01,950 --> 00:07:02,470
value.

107
00:07:02,460 --> 00:07:07,460
So the first time that this group is going to be executed it's going to actually give me the first value.

108
00:07:07,460 --> 00:07:13,450
For example the value that is inside of the index zero of these are eight of these company anyway is

109
00:07:13,460 --> 00:07:20,190
at a first device and then it's going to assign that value to the stem company device and 11:51 as you

110
00:07:20,190 --> 00:07:20,830
can see.

111
00:07:20,880 --> 00:07:24,730
I'll defer that to the name of this company and the voters Aure.

112
00:07:25,230 --> 00:07:30,990
And I said that the value that is inside of the index first device as you can see here I want to change

113
00:07:30,990 --> 00:07:37,640
that value assignment operator unable to assign this value to this to the in the index first device

114
00:07:37,770 --> 00:07:39,210
of this company and devices.

115
00:07:39,210 --> 00:07:43,110
So company and devices second valid second device as you can see here.

116
00:07:43,400 --> 00:07:43,700
So it's.

117
00:07:43,730 --> 00:07:49,380
So it's going to change the value that is inside of this first device is going to assign the value that

118
00:07:49,380 --> 00:07:55,590
is inside of the inside of this second device and it's going to actually assign that value to the index

119
00:07:55,800 --> 00:08:00,360
first device of this company and devices at a as you can see here.

120
00:08:00,480 --> 00:08:09,000
Right and in line 52 again referred to the name of this company and devices Arey and I said Now we want

121
00:08:09,000 --> 00:08:13,370
to actually change the value that is inside of the index search and device.

122
00:08:13,420 --> 00:08:18,840
So company in devices second device assignment operator temp company and device.

123
00:08:18,840 --> 00:08:25,200
So as you can see here I actually created this value here teme company and device as you can see here

124
00:08:25,390 --> 00:08:29,340
this valuable actually hold a value of pipe company and device as you can see here.

125
00:08:29,340 --> 00:08:30,010
Right.

126
00:08:30,060 --> 00:08:35,750
So now I can actually assign that value to the index the second device of this company and devices.

127
00:08:35,760 --> 00:08:42,240
So in this way we can actually shop LTE devices that we have inside our application right.

128
00:08:43,040 --> 00:08:48,050
So hopefully that makes sense and if you have any questions please post a discussion in the course and

129
00:08:48,050 --> 00:08:51,650
then I do my best to answer all of your questions.

130
00:08:51,650 --> 00:08:54,260
And as you can see here I pasted these lines of code here.

131
00:08:54,260 --> 00:08:54,750
OK.

132
00:08:54,860 --> 00:08:57,600
So the access modifier of this method is public.

133
00:08:57,620 --> 00:09:03,970
So did the type of the Smurfit the return type of dismay if it is actually company and device.

134
00:09:03,980 --> 00:09:04,610
OK.

135
00:09:05,000 --> 00:09:08,380
So the name of this Meffert is give me the model OK.

136
00:09:08,660 --> 00:09:12,610
And as you can see this is not going to actually accept any arguments.

137
00:09:12,950 --> 00:09:18,200
And as you can see here inside of the Smurfit as you can see these are the lines of code that actually

138
00:09:18,200 --> 00:09:19,570
put inside of this effort.

139
00:09:19,790 --> 00:09:27,270
So first of all I actually created an if statement if the value of this current device model but as

140
00:09:27,260 --> 00:09:30,410
you can see I actually declare this variable inline 12.

141
00:09:30,440 --> 00:09:38,450
So as you can see I declared this variable in line 12 as you can see here and here I referred to the

142
00:09:38,450 --> 00:09:39,610
name of that rowdier.

143
00:09:39,620 --> 00:09:47,120
But if current device model variable is less than OK if the value of this variable is less than the

144
00:09:47,120 --> 00:09:55,470
value of the line of this company and devices are a is going to actually execute this line of code here.

145
00:09:55,560 --> 00:09:58,010
Return companies and devices.

146
00:09:58,170 --> 00:10:04,860
So here I actually referred to the name of this great company and devices sup Canon device model plus

147
00:10:04,890 --> 00:10:05,610
plus.

148
00:10:06,000 --> 00:10:06,460
OK.

149
00:10:06,570 --> 00:10:12,150
So as you can see here inside the constructor of this actually the puzzle here I assign the values zero

150
00:10:12,840 --> 00:10:14,450
to this kind of device model.

151
00:10:14,730 --> 00:10:20,380
And then again I assign the value zero to this current device modeled inside the let's Shafir the devices

152
00:10:20,400 --> 00:10:20,700
here.

153
00:10:20,700 --> 00:10:21,280
OK.

154
00:10:21,330 --> 00:10:27,930
And then here I actually specify that the return value that is inside of this current device model to

155
00:10:27,930 --> 00:10:28,540
me.

156
00:10:28,740 --> 00:10:29,230
OK.

157
00:10:29,400 --> 00:10:35,940
So for example for the first time that this is going to be executed the value of this kind of device

158
00:10:35,940 --> 00:10:37,100
model is number 0.

159
00:10:37,100 --> 00:10:37,550
OK.

160
00:10:37,680 --> 00:10:43,860
So this means that this number 0 is going to be the index 0 of this company and devices.

161
00:10:44,150 --> 00:10:44,420
Right.

162
00:10:44,460 --> 00:10:44,940
OK.

163
00:10:45,060 --> 00:10:49,780
So it's going to go inside of the index zero of this company and the devices are a.

164
00:10:49,860 --> 00:10:52,640
And then it's going to actually return that's of value to me.

165
00:10:52,650 --> 00:10:55,020
Ok return that value to the caller of this method.

166
00:10:55,230 --> 00:10:55,650
OK.

167
00:10:55,800 --> 00:11:01,950
And after that it's going to actually increment the value that is inside of this current device model

168
00:11:01,950 --> 00:11:02,410
right here.

169
00:11:02,440 --> 00:11:02,830
OK.

170
00:11:02,880 --> 00:11:05,070
Plus plus hopefully that makes sense.

171
00:11:05,070 --> 00:11:10,960
So if we actually divert to write this plus plus before the value of a name here.

172
00:11:11,130 --> 00:11:17,250
So in this case it's going to actually increment the value of this current device model first and then

173
00:11:17,610 --> 00:11:20,740
it's going to actually go inside of this company and devices.

174
00:11:20,760 --> 00:11:27,140
So for example before this benefit is executed the value of this current device model is really about

175
00:11:27,150 --> 00:11:28,140
is number 0.

176
00:11:28,320 --> 00:11:28,890
So for us.

177
00:11:28,920 --> 00:11:33,360
So after we are up we call this method is going to actually go inside of this Smurfit and then it's

178
00:11:33,360 --> 00:11:38,790
going to actually check this condition inside of the if statement if current device model is less than

179
00:11:39,090 --> 00:11:42,040
the value of the company and device is great.

180
00:11:42,210 --> 00:11:44,550
And then it's going to actually execute this line of code here.

181
00:11:44,550 --> 00:11:51,450
So inside the brackets here we have specified that plus plus connoted device model is going to increment

182
00:11:51,480 --> 00:11:54,080
the value of this kind of device model first.

183
00:11:54,100 --> 00:12:00,000
Okay for example the value of zero and now the value is number one and then that's number one is going

184
00:12:00,000 --> 00:12:03,480
to be in the index of this company and devices.

185
00:12:03,600 --> 00:12:08,170
So it's going to give me the value that is inside of the index of this hourly and then it's going to

186
00:12:08,190 --> 00:12:09,920
it's going to return that value to me.

187
00:12:09,960 --> 00:12:16,830
I want the value that is inside of the index zero of this array and then it can actually increment the

188
00:12:16,830 --> 00:12:22,860
value of this kind of device model by one and then it can actually to return other values to me else

189
00:12:23,160 --> 00:12:30,420
if the value of this current device model is equal or greater than the value of this land of this company

190
00:12:30,420 --> 00:12:32,980
and the basis of it is going to actually return nodded.

191
00:12:33,170 --> 00:12:34,040
Okay.

192
00:12:34,650 --> 00:12:36,760
And now it means nothing.

193
00:12:37,230 --> 00:12:40,660
For now we don't have to worry about this not here.

194
00:12:40,740 --> 00:12:42,310
It's going to return nothing to us.

195
00:12:42,330 --> 00:12:42,720
OK.

196
00:12:42,750 --> 00:12:47,580
If this condition if this condition evaluates to false OK it's going to actually turn off.

197
00:12:47,640 --> 00:12:48,130
OK.

198
00:12:48,210 --> 00:12:50,350
So hopefully that makes sense.

199
00:12:50,580 --> 00:12:54,350
And let's actually go back inside this main activity of a fight here.

200
00:12:54,540 --> 00:12:58,040
Let's actually do something with these classes that we actually created here.

201
00:12:58,170 --> 00:13:00,740
Company and device class and puzzle class.

202
00:13:00,750 --> 00:13:06,410
So inside of this uncreate Meffert Let's actually create an object from the editor class.

203
00:13:06,570 --> 00:13:10,220
So here I just paste in a line of code here.

204
00:13:10,500 --> 00:13:14,530
As you can see so the data type of object is added text.

205
00:13:14,550 --> 00:13:16,070
And this is the name of an object.

206
00:13:16,080 --> 00:13:18,590
It is the puzzle assignment operator.

207
00:13:18,690 --> 00:13:23,250
And here I cast this object to it it takes up to an edit text object.

208
00:13:23,250 --> 00:13:28,760
And here I said find view ID or dot ID dot EDT puzzle OK.

209
00:13:29,310 --> 00:13:32,610
And here let's actually create a stream object.

210
00:13:32,610 --> 00:13:33,100
OK.

211
00:13:33,240 --> 00:13:36,940
And the name of our object is old.

212
00:13:37,020 --> 00:13:38,810
It is a puzzle value.

213
00:13:39,030 --> 00:13:42,370
And then I need to actually put in a semi-colon at the end of my statement.

214
00:13:42,510 --> 00:13:47,610
So as you can see here I didn't actually instantiate this object here because I just wanted to declare

215
00:13:47,850 --> 00:13:51,290
this up this object yet here this string object.

216
00:13:51,300 --> 00:13:55,410
So now let's actually create an object from this puzzle class.

217
00:13:55,560 --> 00:13:56,980
Ok so here.

218
00:13:57,000 --> 00:13:59,780
So as you can see here the type of object is puzzle.

219
00:13:59,900 --> 00:14:03,950
OK the name of an object is my puzzle assignment operator.

220
00:14:04,050 --> 00:14:06,430
And here I actually instantiated this object.

221
00:14:06,450 --> 00:14:06,800
OK.

222
00:14:06,810 --> 00:14:10,670
So now this object is actually referring to some place in memory.

223
00:14:10,920 --> 00:14:17,500
Ok so now let's actually shuffle the for the devices that are actually inside of this puzzle.

224
00:14:17,520 --> 00:14:17,910
OK.

225
00:14:17,940 --> 00:14:23,160
So I just need to to the name of this puzzle that shuffle the devices.

226
00:14:23,610 --> 00:14:24,290
OK.

227
00:14:24,510 --> 00:14:29,560
So now it's going to actually shuffle the deck for the devices that are actually inside of this puzzle.

228
00:14:29,730 --> 00:14:30,150
OK.

229
00:14:30,150 --> 00:14:35,820
So remember that here in line 23 I actually created an object from this puzzle class.

230
00:14:35,820 --> 00:14:36,380
OK.

231
00:14:36,570 --> 00:14:42,690
So here because I actually instantiated this object the constructor that is inside of this puzzle class

232
00:14:42,720 --> 00:14:44,250
is going to be executed.

233
00:14:44,250 --> 00:14:49,290
OK so now these lines of code here as you can see is going is going to be executed here.

234
00:14:49,700 --> 00:14:50,190
OK.

235
00:14:50,280 --> 00:14:56,300
After the execution of these lines of code we actually called this let's shuffle the devices here.

236
00:14:56,660 --> 00:15:01,820
The Smurfette this let's shuffle the devices move it here on this my puzzle object here.

237
00:15:01,830 --> 00:15:05,170
OK so now let's actually create a for loop here.

238
00:15:05,190 --> 00:15:09,270
So as you can see here this is the for loop that actually created here.

239
00:15:09,480 --> 00:15:09,900
OK.

240
00:15:09,960 --> 00:15:15,450
So as you can see here inside the practices of this for loop I actually created an integer rowdier bill

241
00:15:15,690 --> 00:15:17,970
and the name of this valuable is.

242
00:15:18,000 --> 00:15:18,580
OK.

243
00:15:18,750 --> 00:15:21,690
And then I assigned the value zero to this variable.

244
00:15:21,810 --> 00:15:26,140
And here as you can see I specified I actually created a condition.

245
00:15:26,220 --> 00:15:26,570
OK.

246
00:15:26,640 --> 00:15:29,260
Until it is less than number 60.

247
00:15:29,520 --> 00:15:30,000
OK.

248
00:15:30,150 --> 00:15:37,540
So until the value of this valuable is less than the value of 60 here this loop is going to be executed.

249
00:15:37,770 --> 00:15:44,310
And after each execution of this for a loop the value of this type of argument is going to be incremented

250
00:15:44,310 --> 00:15:44,750
by 1.

251
00:15:44,760 --> 00:15:45,540
OK.

252
00:15:45,870 --> 00:15:51,450
So inside of this for loop as you can see here I referred to the name of this object that I actually

253
00:15:51,450 --> 00:15:52,710
declared in like 20.

254
00:15:52,740 --> 00:15:53,060
OK.

255
00:15:53,100 --> 00:15:58,570
Old EDT puzzle value assignment operator idiotcy puzzle right.

256
00:15:58,630 --> 00:15:59,410
It's a puzzle.

257
00:15:59,430 --> 00:16:02,280
So as you can see here this is the name of the text object.

258
00:16:02,280 --> 00:16:03,200
OK.

259
00:16:03,270 --> 00:16:05,740
It is the puzzle that get text that string.

260
00:16:05,790 --> 00:16:11,060
So here I am actually getting the text of these added text object.

261
00:16:11,100 --> 00:16:16,470
Here as you can see and I am actually converting this value to a string value so that I can actually

262
00:16:16,620 --> 00:16:20,550
sign that value to this all the EDT puzzle value OK.

263
00:16:20,940 --> 00:16:28,020
And in line 51 here I actually want to actually set some text to this EDT puzzle object.

264
00:16:28,020 --> 00:16:28,430
OK.

265
00:16:28,530 --> 00:16:32,590
So it is the puzzle that said text all is puzzle value.

266
00:16:32,610 --> 00:16:38,840
So in this way it's going to actually output the previous values that were actually inside of this text

267
00:16:38,850 --> 00:16:43,890
view here as you can see it's going to out with the old values that were actually inside of the state's

268
00:16:43,890 --> 00:16:44,380
view.

269
00:16:44,580 --> 00:16:51,090
And then it's going to actually be concatenated value with the newest value in my puzzle that gave me

270
00:16:51,090 --> 00:16:51,660
the model.

271
00:16:51,690 --> 00:16:52,380
OK.

272
00:16:52,680 --> 00:16:58,740
So here I actually first to the name of this post my puzzle object that they actually created in line

273
00:16:59,370 --> 00:17:03,570
23 and I actually called the Smurfette on this object.

274
00:17:03,570 --> 00:17:04,600
Give me the models.

275
00:17:04,740 --> 00:17:08,300
So as you can see here inside of this i'll give me them of those Meffert.

276
00:17:08,310 --> 00:17:10,640
I actually put these these lines of code here.

277
00:17:10,770 --> 00:17:17,460
If current device model is less than company devices that lenth company and devices that lenth then

278
00:17:17,460 --> 00:17:22,020
it's going to actually execute this line of code here returned company on devices current device model

279
00:17:22,020 --> 00:17:23,120
plus plus.

280
00:17:23,130 --> 00:17:27,570
So it's going to go inside of this array and then it's going to actually return the value that is inside

281
00:17:27,570 --> 00:17:29,580
of this current device model index.

282
00:17:29,820 --> 00:17:32,160
And then it's going to increments that value by one.

283
00:17:32,390 --> 00:17:32,840
OK.

