Class BitStringWithNamedBits
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- BitString
-
- BitStringWithNamedBits
-
- All Implemented Interfaces:
DataObject,Serializable
- Direct Known Subclasses:
MAPAccessRestrictionData,MAPAdditionalSubscriptions,MAPAllowedServices,MAPBMSC_EventList,MAPBMSC_InterfaceList,MAPDeferredLocationEventType,MAPENB_InterfaceList,MAPGGSN_EventList,MAPGGSN_InterfaceList,MAPISR_Information,MAPMGW_EventList,MAPMGW_InterfaceList,MAPMME_EventList,MAPMME_InterfaceList,MAPMSC_S_EventList,MAPMSC_S_InterfaceList,MAPMW_Status,MAPODB_GeneralData,MAPODB_HPLMN_Data,MAPOfferedCamel4CSIs,MAPOfferedCamel4Functionalities,MAPPGW_EventList,MAPPGW_InterfaceList,MAPRequestedEquipmentInfo,MAPRequestedNodes,MAPRNC_InterfaceList,MAPServiceIndicator,MAPServingNode,MAPSGSN_EventList,MAPSGSN_InterfaceList,MAPSGW_EventList,MAPSGW_InterfaceList,MAPSpecificCSI_Withdraw,MAPSupportedCamelPhases,MAPSupportedFeatures,MAPSupportedGADShapes,MAPSupportedLCS_CapabilitySets,MAPSupportedRAT_Types,MAPSuppressMTSS,MAPTraceNE_TypeList
public abstract class BitStringWithNamedBits extends BitString
Abstract class for bit string values whose ASN.1 types are declared with one or more named bits.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBitStringWithNamedBits.NamedBitRepresents a single named bit as a NamedInteger.
-
Constructor Summary
Constructors Constructor Description BitStringWithNamedBits()Constructs a new BitStringWithNamedBits that has no bits set.BitStringWithNamedBits(int nbits)Constructs a new BitStringWithNamedBits that has no bits set, initialised to accommodate the given number of bits.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract BitStringWithNamedBits.NamedBit[]getNamedBits()Gets the names of all bits of this type (not just the bits set in this value).StringtoString()Returns a string describing this set of bits, using names for bits that have names and otherwise using numbers.-
Methods inherited from class com.opencloud.slee.resources.cgin.BitString
clear, clear, clone, copyOf, equals, get, hashCode, length, nextSetBit, set
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly, setReadOnly
-
-
-
-
Constructor Detail
-
BitStringWithNamedBits
public BitStringWithNamedBits()
Constructs a new BitStringWithNamedBits that has no bits set.
-
BitStringWithNamedBits
public BitStringWithNamedBits(int nbits)
Constructs a new BitStringWithNamedBits that has no bits set, initialised to accommodate the given number of bits.- Parameters:
nbits- initial number of bits
-
-
Method Detail
-
toString
public String toString()
Returns a string describing this set of bits, using names for bits that have names and otherwise using numbers. For example, "{nameForFirstBit,nameForThirdBit,4}" could be the string for a set of four bits in which the second bit is currently not set and the fourth bit has no name. The bits are described in order.
-
getNamedBits
public abstract BitStringWithNamedBits.NamedBit[] getNamedBits()
Gets the names of all bits of this type (not just the bits set in this value).- Returns:
- array of NamedBit
-
-