public abstract class MutableWrapped<W> extends java.lang.Object implements Wrapped<W>
| Modifier | Constructor and Description |
|---|---|
protected |
MutableWrapped() |
protected |
MutableWrapped(W wrapped) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<W> |
asOptional() |
boolean |
equals(java.lang.Object other) |
W |
getWrapped() |
MutableWrapped<W> |
setWrapped(W wrapped) |
java.lang.String |
toString() |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetWrappedClass, unwrapprotected W wrapped
protected MutableWrapped()
protected MutableWrapped(W wrapped)
public java.util.Optional<W> asOptional()
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic W getWrapped()
getWrapped in interface Wrapped<W>public MutableWrapped<W> setWrapped(W wrapped)
public java.lang.String toString()
toString in class java.lang.Object