Exemplo n.º 1
0
 public int CompareTo(SchemaBinaryBase obj)
 {
     long l = 0;
     while( l < myValue.Length && l < obj.Value.Length && myValue[l]==obj.Value[l] )
         l++;
     if( l < myValue.Length && l < obj.Value.Length )
         return myValue[l].CompareTo( obj.Value[l] );
     return myValue.Length.CompareTo( obj.Value.Length );
 }
Exemplo n.º 2
0
 public SchemaBinaryBase(SchemaBinaryBase obj)
 {
     myValue = obj.myValue;
     isEmpty = obj.isEmpty;
     isNull = obj.isNull;
 }