public static class AbstractIpp.Version
extends java.lang.Object
| Constructor and Description |
|---|
Version(byte major,
byte minor)
Expects the first two bytes of an IPP request or response.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
byte[] |
toByteArray() |
java.lang.String |
toString()
Prints the two bytes as string.
|
public Version(byte major,
byte minor)
major - first byteminor - 2nd bytepublic java.lang.String toString()
toString in class java.lang.Objectpublic byte[] toByteArray()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2018–2020. All rights reserved.