Java Number Sum summary(String text)

Here you can find the source of summary(String text)

Description

summary

License

Open Source License

Declaration

public static String summary(String text) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static String summary(String text) {
        if (text == null) {
            return "null";
        }//from   w w  w .j  a  v a 2s  .com
        return text.substring(0, Math.min(10, text.length()));
    }
}

Related

  1. sumIsMod10(int sum)
  2. sumLange(int _a, int _b)
  3. sumLogProb(double a, double b)
  4. summarize(String longString, int limit)
  5. summarizeCigarString(String cigarString)
  6. summatory(int value)
  7. sumMinMax(int a, int b)
  8. sumNforOddIndices(long n)
  9. sumOfCollectionDouble(Iterable doubleIterable)