public class ColorCount extends Object implements Comparable<ColorCount>
Constructor and Description |
---|
ColorCount(HSBColor color,
int count,
float percentage) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ColorCount colorCount) |
HSBColor |
getColor() |
int |
getCount() |
float |
getPercentage() |
String |
toString() |
public ColorCount(HSBColor color, int count, float percentage)
public HSBColor getColor()
public int getCount()
public float getPercentage()
public int compareTo(ColorCount colorCount)
compareTo
in interface Comparable<ColorCount>
Copyright © 2002-2019 Atlassian. All Rights Reserved.