Here you can find the source of minSPSForBandCode(String bandCode)
public static float minSPSForBandCode(String bandCode)
//package com.java2s; //License from project: Open Source License public class Main { public static float minSPSForBandCode(String bandCode) { return minSPSForBandCode(bandCode.charAt(0)); }/* ww w .jav a 2s . c o m*/ public static float minSPSForBandCode(char bandCode) { float minSps = 0; switch (bandCode) { case 'F': case 'G': minSps = 1000; break; case 'D': case 'C': minSps = 250; break; case 'E': minSps = 80; break; case 'S': minSps = 10; break; case 'H': minSps = 80; break; case 'B': minSps = 10; break; case 'M': minSps = 1; break; case 'L': minSps = 1; break; case 'V': minSps = 0.1f; break; case 'U': minSps = 0.01f; break; case 'R': minSps = 0.001f; break; default: minSps = 1; } return minSps; } }