Lines Matching defs:cd
74 * CompositeData cd = (CompositeData) notif.getUserData();
75 * MemoryNotificationInfo info = MemoryNotificationInfo.from(cd);
163 MemoryNotificationInfo(CompositeData cd) {
164 MemoryNotifInfoCompositeData.validateCompositeData(cd);
166 this.poolName = MemoryNotifInfoCompositeData.getPoolName(cd);
167 this.usage = MemoryNotifInfoCompositeData.getUsage(cd);
168 this.count = MemoryNotifInfoCompositeData.getCount(cd);
235 * @param cd <tt>CompositeData</tt> representing a
238 * @throws IllegalArgumentException if <tt>cd</tt> does not
242 * by <tt>cd</tt> if <tt>cd</tt> is not <tt>null</tt>;
245 public static MemoryNotificationInfo from(CompositeData cd) {
246 if (cd == null) {
250 if (cd instanceof MemoryNotifInfoCompositeData) {
251 return ((MemoryNotifInfoCompositeData) cd).getMemoryNotifInfo();
253 return new MemoryNotificationInfo(cd);