19 public static implicit
operator ReadOnlyMemory<char>(
JavaSimpleTypeName typeName) => typeName.value;
20 public static implicit
operator JavaSimpleTypeName(ReadOnlyMemory<char> typeName) =>
new(typeName);
26 readonly ReadOnlyMemory<char>
value;
33 this(
value.AsMemory())
36 throw new ArgumentNullException(nameof(
value));
70 public override bool Equals(
object obj) =>
false;
Provides methods to parse a Java class simple name.
ReadOnlyMemory< char > Value
Gets the underlying value of this simple name.
readonly ReadOnlyMemory< char > value
override int GetHashCode()
Gets the hash code of this type name.
static bool operator!=(JavaSimpleTypeName a, JavaSimpleTypeName b)
bool IsEmpty
Returns true if this type name is empty.
JavaSimpleTypeName(string value)
Initializes a new instance.
bool Equals(JavaSimpleTypeName other)
Returns true if the two objects are equal.
override bool Equals(object obj)
Returns true if the two objects are equal.
static bool operator==(JavaSimpleTypeName a, JavaSimpleTypeName b)
override string ToString()
Returns a string instance of the type name.
static JavaSimpleTypeName Empty
JavaSimpleTypeName(ReadOnlyMemory< char > value)
Initializes a new instance.