Exemplo n.º 1
0
 protected static boolean isLengthOne(RAbstractIntVector length) {
   return length.getLength() == 1;
 }
Exemplo n.º 2
0
 @Specialization(guards = "isLengthOne(lengthVector)")
 protected RAbstractContainer updateLength(
     RAbstractContainer container, RAbstractIntVector lengthVector) {
   controlVisibility();
   return container.resize(lengthVector.getDataAt(0));
 }