Package org.dishevelled.bio.feature.bed
Enum BedFormat
- java.lang.Object
-
- java.lang.Enum<BedFormat>
-
- org.dishevelled.bio.feature.bed.BedFormat
-
- All Implemented Interfaces:
Serializable,Comparable<BedFormat>
public enum BedFormat extends Enum<BedFormat>
BED formats.- Author:
- Michael Heuer
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BED12BED12 format, chrom start end name score strand thickStart thickEnd itemRgb blockCount blockSizes blockStarts.BED3BED3 format, chrom start end.BED4BED4 format, chrom start end name.BED5BED5 format, chrom start end name score.BED6BED6 format, chrom start end name score strand.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAtLeastBED12()Return true if this BED format is at least BED12.booleanisAtLeastBED3()Return true if this BED format is at least BED3.booleanisAtLeastBED4()Return true if this BED format is at least BED4.booleanisAtLeastBED5()Return true if this BED format is at least BED5.booleanisAtLeastBED6()Return true if this BED format is at least BED6.booleanisBED12()Return true if this BED format is BED12.booleanisBED3()Return true if this BED format is BED3.booleanisBED4()Return true if this BED format is BED4.booleanisBED5()Return true if this BED format is BED5.booleanisBED6()Return true if this BED format is BED6.static BedFormatvalueOf(String name)Returns the enum constant of this type with the specified name.static BedFormat[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BED3
public static final BedFormat BED3
BED3 format, chrom start end.
-
BED4
public static final BedFormat BED4
BED4 format, chrom start end name.
-
BED5
public static final BedFormat BED5
BED5 format, chrom start end name score.
-
BED6
public static final BedFormat BED6
BED6 format, chrom start end name score strand.
-
BED12
public static final BedFormat BED12
BED12 format, chrom start end name score strand thickStart thickEnd itemRgb blockCount blockSizes blockStarts.
-
-
Method Detail
-
values
public static BedFormat[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BedFormat c : BedFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BedFormat valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
isBED3
public boolean isBED3()
Return true if this BED format is BED3.- Returns:
- true if this BED format is BED3
-
isAtLeastBED3
public boolean isAtLeastBED3()
Return true if this BED format is at least BED3.- Returns:
- true if this BED format is at least BED3
-
isBED4
public boolean isBED4()
Return true if this BED format is BED4.- Returns:
- true if this BED format is BED4
-
isAtLeastBED4
public boolean isAtLeastBED4()
Return true if this BED format is at least BED4.- Returns:
- true if this BED format is at least BED4
-
isBED5
public boolean isBED5()
Return true if this BED format is BED5.- Returns:
- true if this BED format is BED5
-
isAtLeastBED5
public boolean isAtLeastBED5()
Return true if this BED format is at least BED5.- Returns:
- true if this BED format is at least BED5
-
isBED6
public boolean isBED6()
Return true if this BED format is BED6.- Returns:
- true if this BED format is BED6
-
isAtLeastBED6
public boolean isAtLeastBED6()
Return true if this BED format is at least BED6.- Returns:
- true if this BED format is at least BED6
-
isBED12
public boolean isBED12()
Return true if this BED format is BED12.- Returns:
- true if this BED format is BED12
-
isAtLeastBED12
public boolean isAtLeastBED12()
Return true if this BED format is at least BED12.- Returns:
- true if this BED format is at least BED12
-
-