Java Code Examples for sun.awt.AppContext#getSoftReferenceValue()

The following examples show how to use sun.awt.AppContext#getSoftReferenceValue() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AquaUtils.java    From jdk8u-dev-jdk with GNU General Public License v2.0 4 votes vote down vote up
final T get() {
    return AppContext.getSoftReferenceValue(this, () -> getInstance());
}
 
Example 2
Source File: ImageCache.java    From jdk8u-jdk with GNU General Public License v2.0 4 votes vote down vote up
public static ImageCache getInstance() {
    return AppContext.getSoftReferenceValue(ImageCache.class,
            () -> new ImageCache());
}
 
Example 3
Source File: AquaUtils.java    From jdk8u_jdk with GNU General Public License v2.0 4 votes vote down vote up
final T get() {
    return AppContext.getSoftReferenceValue(this, () -> getInstance());
}
 
Example 4
Source File: ImageCache.java    From jdk8u_jdk with GNU General Public License v2.0 4 votes vote down vote up
public static ImageCache getInstance() {
    return AppContext.getSoftReferenceValue(ImageCache.class,
            () -> new ImageCache());
}
 
Example 5
Source File: AquaUtils.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
final T get() {
    return AppContext.getSoftReferenceValue(this, () -> getInstance());
}
 
Example 6
Source File: ImageCache.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public static ImageCache getInstance() {
    return AppContext.getSoftReferenceValue(ImageCache.class,
            () -> new ImageCache());
}
 
Example 7
Source File: AquaUtils.java    From jdk8u-jdk with GNU General Public License v2.0 4 votes vote down vote up
final T get() {
    return AppContext.getSoftReferenceValue(this, () -> getInstance());
}
 
Example 8
Source File: ImageCache.java    From jdk8u-jdk with GNU General Public License v2.0 4 votes vote down vote up
public static ImageCache getInstance() {
    return AppContext.getSoftReferenceValue(ImageCache.class,
            () -> new ImageCache());
}
 
Example 9
Source File: AquaUtils.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
final T get() {
    return AppContext.getSoftReferenceValue(this, () -> getInstance());
}
 
Example 10
Source File: ImageCache.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public static ImageCache getInstance() {
    return AppContext.getSoftReferenceValue(ImageCache.class,
            () -> new ImageCache());
}
 
Example 11
Source File: ImageCache.java    From dragonwell8_jdk with GNU General Public License v2.0 4 votes vote down vote up
public static ImageCache getInstance() {
    return AppContext.getSoftReferenceValue(ImageCache.class,
            () -> new ImageCache());
}
 
Example 12
Source File: AquaUtils.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
final T get() {
    return AppContext.getSoftReferenceValue(this, () -> getInstance());
}
 
Example 13
Source File: ImageCache.java    From jdk8u-dev-jdk with GNU General Public License v2.0 4 votes vote down vote up
public static ImageCache getInstance() {
    return AppContext.getSoftReferenceValue(ImageCache.class,
            () -> new ImageCache());
}
 
Example 14
Source File: AquaUtils.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
final T get() {
    return AppContext.getSoftReferenceValue(this, () -> getInstance());
}
 
Example 15
Source File: ImageCache.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public static ImageCache getInstance() {
    return AppContext.getSoftReferenceValue(ImageCache.class,
            () -> new ImageCache());
}
 
Example 16
Source File: AquaUtils.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
final T get() {
    return AppContext.getSoftReferenceValue(this, () -> getInstance());
}
 
Example 17
Source File: ImageCache.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
public static ImageCache getInstance() {
    return AppContext.getSoftReferenceValue(ImageCache.class,
            () -> new ImageCache());
}
 
Example 18
Source File: AquaUtils.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
final T get() {
    return AppContext.getSoftReferenceValue(this, () -> getInstance());
}
 
Example 19
Source File: ImageCache.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
public static ImageCache getInstance() {
    return AppContext.getSoftReferenceValue(ImageCache.class,
            () -> new ImageCache());
}
 
Example 20
Source File: AquaUtils.java    From dragonwell8_jdk with GNU General Public License v2.0 4 votes vote down vote up
final T get() {
    return AppContext.getSoftReferenceValue(this, () -> getInstance());
}