Java tutorial
//package com.java2s; public class Main { private static boolean isStartWithIpNum(String others) { return others.startsWith("17951") || others.startsWith("12593") || others.startsWith("17900") || others.startsWith("17901") || others.startsWith("17908") || others.startsWith("17909") || others.startsWith("17911") || others.startsWith("10193"); } }