Serializable, AutoCloseablepublic class OpaqueString extends Object implements Serializable, AutoCloseable
| Modifier and Type | Field | Description |
|---|---|---|
static OpaqueString |
EMPTY |
|
static OpaqueString |
NULL |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
release the resources used by this object.
|
boolean |
equals(Object obj) |
|
String |
get() |
return the value of the stored string
|
int |
hashCode() |
|
boolean |
isNull() |
|
static OpaqueString |
newOpaqueString(String s) |
return a new OpaqueString storing the argument
|
public static final OpaqueString NULL
public static final OpaqueString EMPTY
public static OpaqueString newOpaqueString(String s)
public String get()
public void close()
close in interface AutoCloseablepublic boolean isNull()
Copyright © 2008, 2017, Oracle. All rights reserved.