demo.rmi.filesystem.client
Class FileSystemClient.SemiPalindromeFilter
java.lang.Object
demo.rmi.filesystem.client.FileSystemClient.SemiPalindromeFilter
- All Implemented Interfaces:
- IRemoteFilenameFilter, Serializable, Remote
- Enclosing class:
- FileSystemClient
private static class FileSystemClient.SemiPalindromeFilter
- extends Object
- implements IRemoteFilenameFilter, Serializable
A filter that accepts what can be called a "semi-palindromic" file names.
A semi-palindrome is a palindrome limited to the outermost 2 characters.
Semi-palindromes are more frequent than "full" palindromes.
- See Also:
FileSystemClient.findSemiPalindromes(IRemoteFile, boolean)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
FileSystemClient.SemiPalindromeFilter
private FileSystemClient.SemiPalindromeFilter()
accept
public boolean accept(IRemoteFile dir,
String name)
- Specified by:
accept in interface IRemoteFilenameFilter
isSemiPalindrom
private boolean isSemiPalindrom(String name)
© 2002-12 Genady Beryozkin, rmi-info@genady.net.
Read our Privacy policy. Hosted on RimuHosting. Visit Javalobby.