Class CloudStringReaderMixin
java.lang.Object
cloud.commandframework.fabric.mixin.CloudStringReaderMixin
- All Implemented Interfaces:
cloud.commandframework.brigadier.argument.StringReaderAsQueue,Iterable<String>,Collection<String>,Queue<String>
public class CloudStringReaderMixin
extends Object
implements cloud.commandframework.brigadier.argument.StringReaderAsQueue
Mix in to our own class in order to implement the Queue interface without signature conflicts.
This must be kept in sync with the wrapping implementation in cloud-brigadier
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArrayMethods inherited from interface cloud.commandframework.brigadier.argument.StringReaderAsQueue
add, addAll, contains, containsAll, element, isEmpty, iterator, offer, remove, removeAll, retainAll, toArray, toArray
-
Constructor Details
-
CloudStringReaderMixin
public CloudStringReaderMixin()
-
-
Method Details
-
getOriginal
public com.mojang.brigadier.StringReader getOriginal()- Specified by:
getOriginalin interfacecloud.commandframework.brigadier.argument.StringReaderAsQueue
-
poll
-
peek
-
size
public int size()- Specified by:
sizein interfaceCollection<String>
-
remove
- Specified by:
removein interfaceCollection<String>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<String>- Specified by:
clearin interfacecloud.commandframework.brigadier.argument.StringReaderAsQueue
-