Package org.apache.oro.text.perl

Examples of org.apache.oro.text.perl.Perl5Util.split()


      String line = null;
      while ((line = bufferedReader.readLine()) != null) {
        final Perl5Util util = new Perl5Util();
        final List<String> rankStrings = new ArrayList<String>();
        util.split(rankStrings, "/\\s*,\\s*/", line);

        int product = 1;
        // First 5 columns are card ranks
        for (int i = 0; i < 5; i++) {
          product *= Rank.valueOf(rankStrings.get(i)).getPrime();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.