@ Deprecated public static boolean isSingleField ( String skeleton ) { char first = skeleton . charAt ( 0 ) ; for ( int i = 1 ; i < skeleton . length ( ) ; ++ i ) { if ( skeleton . charAt ( i ) != first ) return false ; } return true ; }
Determines whether a skeleton contains a single field