- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
public String bufer (int k) {
String bufer = "";
switch (k) {
case 1:
for (int i = 0; i < 10; i++) {
if (i == 6)
bufer += " ";
bufer += Characters[random.nextInt(Characters.length)];
}
break;
case 2:
for (int i = 0; i < 10; i++) {
if (i == 4 || i == 8)
bufer += " ";
bufer += Characters[random.nextInt(Characters.length)];
}
break;
case 3:
for (int i = 0; i < 10; i++) {
if (i == 6)
bufer += "@";
if (i == 8)
bufer += ".";
bufer += Characters[random.nextInt(Characters.length)];
}
break;
case 4:
for (int i = 0; i < 10; i++) {
bufer += Characters[random.nextInt(Characters.length)];
}
break;
}
return bufer;
}
wvxvw 10.12.2014 18:45 # 0
3.14159265 10.12.2014 19:16 # +1
Анонимус 11.12.2014 02:17 # +1
someone 11.12.2014 10:09 # 0
guest 12.12.2014 06:56 # +1