Package io.aether.utils.streams
Class FGate.InsideGate
- java.lang.Object
-
- io.aether.utils.streams.FGate.InsideGate
-
-
Constructor Summary
Constructors Constructor Description InsideGate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Tfind(io.aether.utils.CTypeI<T> type)Finds an object of the specified type within the link, or returns null if no link is present.<T> Tfind(java.lang.Class<T> type)Finds an object of the specified type within the link, or returns null if no link is present.voidsend(Value<ToOut> value)Sends a value through the gate.java.lang.StringtoString()Returns a string representation of the link or "[NO LINK]" if no link is present.voidtoString(io.aether.utils.AString sb)Appends a string representation of the link or "[NO LINK]" to the provided AString instance.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.aether.utils.streams.GateI
sendRequestData
-
-
-
-
Method Detail
-
toString
public java.lang.String toString()
Returns a string representation of the link or "[NO LINK]" if no link is present.- Overrides:
toStringin classjava.lang.Object- Returns:
- A string representation of the link or "[NO LINK]" if no link is present.
-
toString
public void toString(io.aether.utils.AString sb)
Appends a string representation of the link or "[NO LINK]" to the provided AString instance.- Specified by:
toStringin interfaceio.aether.utils.ToString- Parameters:
sb- The AString instance to which the string representation will be appended.
-
find
public <T> T find(java.lang.Class<T> type)
Finds an object of the specified type within the link, or returns null if no link is present.- Specified by:
findin interfaceio.aether.utils.interfaces.ObjectFind- Type Parameters:
T- The type of the object to find.- Parameters:
type- The class of the object to find.- Returns:
- An object of the specified type, or null if not found or no link is present.
-
find
public <T> T find(io.aether.utils.CTypeI<T> type)
Finds an object of the specified type within the link, or returns null if no link is present.- Specified by:
findin interfaceio.aether.utils.interfaces.ObjectFind- Type Parameters:
T- The type of the object to find.- Parameters:
type- The CType of the object to find.- Returns:
- An object of the specified type, or null if not found or no link is present.
-
-