What is the meaning of “opaque values” in Java 7?

Java 7 AttributeViewallows you to create and update opaque values ​​associated with objects in the file system. What does it mean?

+5
source share
2 answers

Opaque values ​​are abstract elements that you can go through but cannot see or change. A good example is the file descriptor provided by the operating system - you can get it and pass it to other functions that require the file descriptor, but you don't know what it really is.

For example, the opaque value of the file may be the physical location of the home block of the file on disk — that exists, but which you are forbidden to read or write.

+2

, . , Java , Java. , - , JavaScript JNI, .

: . .

0

All Articles