java.lang.Object
swim.avro.AvroNamespace
- All Implemented Interfaces:
Comparable<AvroNamespace>,Iterable<String>,Collection<String>,Debug,Display
public abstract class AvroNamespace
extends Object
implements Collection<String>, Comparable<AvroNamespace>, Debug, Display
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends String> components) appended(Collection<? extends String> components) static Builder<String,AvroNamespace> builder()voidclear()final intcompareTo(AvroNamespace that) static AvroNamespacebooleanbooleancontainsAll(Collection<?> components) abstract <T> Output<T>Writes a developer readable, debug-formatted string representation of this object tooutput.abstract <T> Output<T>Writes a human readable, display-formatted string representation of this object tooutput.static AvroNamespaceempty()final booleanstatic AvroNamespacefrom(Collection<? extends String> components) final inthashCode()abstract Stringhead()abstract booleanabstract booleanisEmpty()iterator()static AvroNamespacestatic AvroNamespaceprepended(Collection<? extends String> components) booleanbooleanremoveAll(Collection<?> components) booleanretainAll(Collection<?> components) intsize()abstract AvroNamespacetail()Object[]toArray()<T> T[]toArray(T[] array) abstract StringtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, spliterator, stream, toArray
-
Method Details
-
isDefined
public abstract boolean isDefined() -
isEmpty
public abstract boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<String>
-
size
public int size()- Specified by:
sizein interfaceCollection<String>
-
head
-
tail
-
contains
- Specified by:
containsin interfaceCollection<String>
-
containsAll
- Specified by:
containsAllin interfaceCollection<String>
-
add
- Specified by:
addin interfaceCollection<String>
-
addAll
- Specified by:
addAllin interfaceCollection<String>
-
remove
- Specified by:
removein interfaceCollection<String>
-
removeAll
- Specified by:
removeAllin interfaceCollection<String>
-
retainAll
- Specified by:
retainAllin interfaceCollection<String>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<String>
-
appended
-
appended
-
appended
-
prepended
-
prepended
-
prepended
-
toArray
- Specified by:
toArrayin interfaceCollection<String>
-
toArray
public <T> T[] toArray(T[] array) - Specified by:
toArrayin interfaceCollection<String>
-
iterator
-
compareTo
- Specified by:
compareToin interfaceComparable<AvroNamespace>
-
equals
- Specified by:
equalsin interfaceCollection<String>- Overrides:
equalsin classObject
-
hashCode
public final int hashCode()- Specified by:
hashCodein interfaceCollection<String>- Overrides:
hashCodein classObject
-
debug
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput. -
display
Description copied from interface:DisplayWrites a human readable, display-formatted string representation of this object tooutput. -
toString
-
empty
-
component
-
of
-
from
-
parse
-
builder
-