Android???????
???????????? ???????[ 2013/6/4 10:00:26 ] ????????
????this.count = count;
????}
????public Node getNextNode() {
????return nextNode;
????}
????publicvoid setNextNode(Node nextNode) {
????this.nextNode = nextNode;
????}
????}
????ReverseSingleLink.java
????publicclass ReverseSingleLink {
????publicstatic Node revSingleLink(Node head){
????if(head ==null){ //??????????????
????return head;
????}
????if(head.getNextNode()==null){ //???????????????????????????
????return head;
????}
????Node rhead = revSingleLink(head.getNextNode());
????head.getNextNode().setNextNode(head);
????head.setNextNode(null);
????return rhead;
????}
????publicstaticvoid main(String[] args){
????Node head =new Node(0);
????Node temp1 =null??temp2 =null;
????for(int i=1;i<100;i++){
????temp1 =new Node(i);
????if(i==1){
????head.setNextNode(temp1);
????}else{
????temp2.setNextNode(temp1);
????}
????temp2 = temp1;
????}
????head = revSingleLink(head);
????while(head!=null){
????head = head.getNextNode();
????}
????}
????}
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11