public class NTNumericCredential extends Object
Constructor | Description |
---|---|
NTNumericCredential(long token) |
Create an
NTNumericCredential with an integer value. |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object o) |
Compares the specified Object with this
NTNumericCredential
for equality. |
long |
getToken() |
Return an integer representation of this
NTNumericCredential . |
int |
hashCode() |
Return a hash code for this
NTNumericCredential . |
String |
toString() |
Return a string representation of this
NTNumericCredential . |
public NTNumericCredential(long token)
NTNumericCredential
with an integer value.token
- the Windows NT security token for this user.public long getToken()
NTNumericCredential
.NTNumericCredential
.public String toString()
NTNumericCredential
.public boolean equals(Object o)
NTNumericCredential
for equality. Returns true if the given object is also a
NTNumericCredential
and the two NTNumericCredentials
represent the same NT security token.equals
in class Object
o
- Object to be compared for equality with this
NTNumericCredential
.NTNumericCredential
.Object.hashCode()
,
HashMap
public int hashCode()
NTNumericCredential
.hashCode
in class Object
NTNumericCredential
.Object.equals(java.lang.Object)
,
System.identityHashCode(java.lang.Object)
Copyright © 1998, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-Ubuntu+0-9b139-1