服务【 微芯:fw488888】,莞式,按摩一条龙,水疗会所,红灯,洋妞荤茶你懂得三忌夸张言辞影响孩子。 很多时候,家长都没有注意自己的言辞中带有夸张的成分,“小事化大”,有些家长还会把事情“歪曲”。如孩子不小心犯了错误,有的家长会夸大后果,这样容量刺激孩子,孩子以后干什么事都畏首畏
package com.model.behaviour;
public class MyIterator implements Iterator {
private Collection collection;
private int pos = -1;
public MyIterator(Collection collection){
this.collection = collection;
}
@Override
public Object previous() {
if(pos > 0){
pos--;
}
return collection.get(pos);
}
@Override
public Object next() {
if(pos<collection.size()-1){
pos++;
}
return collection.get(pos);
}
@Override
public boolean hasNext() {
if(pos<collection.size()-1){
return true;
}else{
return false;
}
}
@Override
public Object first() {
pos = 0;
return collection.get(pos);
}
}
package com.model.behaviour;
public class Test {
public static void main(String[] args) {
Collection collection
————————————————