public class AsciiString extends java.lang.Object implements java.lang.Comparable<AsciiString>
Modifier and Type | Field and Description |
---|---|
protected byte[] |
val |
Constructor and Description |
---|
AsciiString() |
AsciiString(AsciiString str) |
AsciiString(byte[] val) |
AsciiString(int length) |
AsciiString(java.lang.String str) |
Modifier and Type | Method and Description |
---|---|
byte[] |
chars() |
int |
compareTo(AsciiString str) |
boolean |
equals(byte[] other) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
int |
length() |
java.lang.String |
toString() |
public AsciiString()
public AsciiString(java.lang.String str)
public AsciiString(AsciiString str)
public AsciiString(byte[] val)
public AsciiString(int length)
public byte[] chars()
public int length()
public int compareTo(AsciiString str)
compareTo
in interface java.lang.Comparable<AsciiString>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public boolean equals(byte[] other)
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 1998-2020 Red Hat. All Rights Reserved.