Code example for ConcurrentLinkedQueue

Methods: remove

0
		return !inputBytes.isEmpty();
	} 
 
	@Override 
	public byte read() { 
		return inputBytes.remove();
	} 
 
	public void addInputByte(byte b) {
		inputBytes.add(b);
	} 
 
	public void addInputString(String str) {
		for(int i = 0; i < str.length(); i++) {
			addInputByte((byte) str.charAt(i));
		} 
	} 
 
	@Override 
	public void reset() { 
Contextual code suggestions in your IDE  Get Codota for Java