Changeset 4025
- Timestamp:
- Nov 7, 2008, 7:23:07 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
to-imperative/trunk/java/java/refal/plus/Dir.java
r3758 r4025 25 25 public int compareTo (Dir dir) { 26 26 return RefalRuntime.compare(this, dir); 27 } 28 29 @RefalFormat("$func? IsDir e.dirName = ;") 30 public static boolean IsDir (Expr dirName) throws RefalException { 31 return (new File(dirName.toChars())).isDirectory(); 27 32 } 28 33
Note: See TracChangeset
for help on using the changeset viewer.