public interface CharQueue
Modifier and Type | Method and Description |
---|---|
boolean |
isEmpty()
是否为空
|
char |
peek()
不删除字符的情况下读取第一个字符
|
char |
peek(int ofset)
不删除字符的情况下读取第ofset个字符,
|
char |
poll()
读取字符,并删除字符
|
Copyright © 2017. All rights reserved.