|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aelitis.azureus.core.speedmanager.impl.v2.SpeedLimitConfidence
public class SpeedLimitConfidence
Created on Jun 5, 2007 Created by Alan Snyder Copyright (C) Azureus Software, Inc, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Field Summary | |
---|---|
static SpeedLimitConfidence |
ABSOLUTE
|
static SpeedLimitConfidence |
HIGH
|
static SpeedLimitConfidence |
LOW
|
static SpeedLimitConfidence |
MED
|
static SpeedLimitConfidence |
NONE
|
Method Summary | |
---|---|
float |
asEstimateType()
|
static java.lang.String |
asEstimateTypeString(float type)
|
int |
compareTo(java.lang.Object obj)
Comparable interface. |
int |
compareTo(SpeedLimitConfidence limitConf)
Comparable interface |
static SpeedLimitConfidence |
convertType(float type)
|
java.lang.String |
getInternationalizedString()
Get the internationalized string for UI panels and drop downs. |
java.lang.String |
getString()
|
boolean |
isGreater(SpeedLimitConfidence limitConf)
compareTo to with boolean syntax. |
static SpeedLimitConfidence |
parseString(java.lang.String setting)
Turns a string into a SpeedLimitConfidence class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final SpeedLimitConfidence NONE
public static final SpeedLimitConfidence LOW
public static final SpeedLimitConfidence MED
public static final SpeedLimitConfidence HIGH
public static final SpeedLimitConfidence ABSOLUTE
Method Detail |
---|
public static SpeedLimitConfidence convertType(float type)
public static SpeedLimitConfidence parseString(java.lang.String setting)
setting
- - String is expected to be one of: NONE, LOW, MED, HIGH, ABSOLUE.
public float asEstimateType()
public static java.lang.String asEstimateTypeString(float type)
public java.lang.String getString()
public java.lang.String getInternationalizedString()
public boolean isGreater(SpeedLimitConfidence limitConf)
limitConf
- -
public int compareTo(SpeedLimitConfidence limitConf)
limitConf
- - Item to compare with.
public int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
obj
- -
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |