mirror of
https://github.com/corda/corda.git
synced 2025-01-01 02:36:44 +00:00
18 lines
389 B
Java
18 lines
389 B
Java
package java.io;
|
|
|
|
public class FileDescriptor {
|
|
public static final FileDescriptor in = new FileDescriptor(0);
|
|
public static final FileDescriptor out = new FileDescriptor(1);
|
|
public static final FileDescriptor err = new FileDescriptor(2);
|
|
|
|
private final int value;
|
|
|
|
private FileDescriptor(int value) {
|
|
this.value = value;
|
|
}
|
|
|
|
public FileDescriptor() {
|
|
this(-1);
|
|
}
|
|
}
|