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.
static bool operator==(JavaSimplePackageName a, JavaSimplePackageName b)
bool IsEmpty
Returns true if this type name is empty.
override int GetHashCode()
Gets the hash code of this type name.
readonly ReadOnlyMemory< char > value
ReadOnlyMemory< char > Value
Gets the underlying value of this simple name.
override string ToString()
Returns a string instance of the type name.
JavaSimplePackageName(string value)
Initializes a new instance.
JavaSimplePackageName(ReadOnlyMemory< char > value)
Initializes a new instance.
bool Equals(JavaSimplePackageName other)
Returns true if the two objects are equal.
static bool operator!=(JavaSimplePackageName a, JavaSimplePackageName b)
static JavaSimplePackageName Empty
override bool Equals(object obj)
Returns true if the two objects are equal.