Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import java.util.HashMap;

public class Main {
    private static HashMap<String, String> fractions;

    public static boolean containsShortFractions(String __text) {
        for (String key : fractions.keySet()) {
            if (__text.indexOf(fractions.get(key)) > -1)
                return true;
        }
        return false;
    }
}