All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.yangcentral.yangkit.model.impl.restriction.YangBooleanImpl Maven / Gradle / Ivy

There is a newer version: 1.4.5
Show newest version
package org.yangcentral.yangkit.model.impl.restriction;

import org.yangcentral.yangkit.base.YangContext;
import org.yangcentral.yangkit.model.api.restriction.YangBoolean;
import org.yangcentral.yangkit.model.api.stmt.Typedef;

public class YangBooleanImpl extends RestrictionImpl implements YangBoolean {
   public YangBooleanImpl(YangContext context, Typedef derived) {
      super(context, derived);
   }

   public YangBooleanImpl(YangContext context) {
      super(context);
   }

   public boolean evaluated(Boolean value) {
      return true;
   }

   public boolean equals(Object obj) {
      return obj instanceof YangBoolean;
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy