comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/Compatibility.d @ 9:950d84783eac

Removing direct tango deps.
author Frank Benoit <benoit@tionex.de>
date Mon, 09 Mar 2009 14:26:40 +0100
parents 6bf2837c50fe
children 9b96950f2c3c
comparison
equal deleted inserted replaced
8:2847134a5fc0 9:950d84783eac
224 * 224 *
225 * @param c the character 225 * @param c the character
226 * @return true when the character is a letter 226 * @return true when the character is a letter
227 */ 227 */
228 public static bool isLetter(dchar c) { 228 public static bool isLetter(dchar c) {
229 return Unicode.isLetter(c); 229 return Character.isLetter(c);
230 } 230 }
231 231
232 /** 232 /**
233 * Answers whether the character is a letter or a digit. 233 * Answers whether the character is a letter or a digit.
234 * 234 *
235 * @param c the character 235 * @param c the character
236 * @return true when the character is a letter or a digit 236 * @return true when the character is a letter or a digit
237 */ 237 */
238 public static bool isLetterOrDigit(dchar c) { 238 public static bool isLetterOrDigit(dchar c) {
239 return Unicode.isLetterOrDigit(c); 239 return Character.isLetterOrDigit(c);
240 } 240 }
241 241
242 /** 242 /**
243 * Answers whether the character is a Unicode space character. 243 * Answers whether the character is a Unicode space character.
244 * 244 *
245 * @param c the character 245 * @param c the character
246 * @return true when the character is a Unicode space character 246 * @return true when the character is a Unicode space character
247 */ 247 */
248 public static bool isSpaceChar(dchar c) { 248 public static bool isSpaceChar(dchar c) {
249 return Unicode.isSpace(c); 249 return Character.isSpace(c);
250 } 250 }
251 251
252 /** 252 /**
253 * Answers whether the character is a whitespace character. 253 * Answers whether the character is a whitespace character.
254 * 254 *
255 * @param c the character to test 255 * @param c the character to test
256 * @return true if the character is whitespace 256 * @return true if the character is whitespace
257 */ 257 */
258 public static bool isWhitespace(dchar c) { 258 public static bool isWhitespace(dchar c) {
259 return Unicode.isWhitespace(c); 259 return Character.isWhitespace(c);
260 } 260 }
261 261
262 /** 262 /**
263 * Execute a program in a separate platform process if the 263 * Execute a program in a separate platform process if the
264 * underlying platform support this. 264 * underlying platform support this.