Exemplo n.º 1
1
 @Override
 protected void removeRange(final int fromIndex, final int toIndex) {
   super.removeRange(fromIndex, toIndex);
 }
Exemplo n.º 2
0
 @Override
 protected void removeRange(int fromIndex, int toIndex) {
   if (null != dictionary && dictionary.isEditable()) {
     List<Word> copy = new ArrayList<Word>(subList(fromIndex, toIndex));
     super.removeRange(fromIndex, toIndex);
     for (Word word : copy) {
       removeFromIndexWords(word);
     }
   } else {
     super.removeRange(fromIndex, toIndex);
   }
 }
Exemplo n.º 3
0
 public Value setValue(String stringValue) {
   if (isEmpty()) {
     add(new Value());
   } else {
     super.removeRange(1, size());
   }
   get(0).setValue(stringValue);
   return get(0);
 }
Exemplo n.º 4
0
 @Override
 protected void removeRange(int fromIndex, int toIndex) {
   if (null != dictionary && dictionary.isEditable()) {
     List<Pointer> copy = new ArrayList<Pointer>(super.subList(fromIndex, toIndex));
     super.removeRange(fromIndex, toIndex);
     for (Pointer pointer : copy) {
       // delete symmetric pointer from the target
       if (null != pointer.getType().getSymmetricType()
           && dictionary.getManageSymmetricPointers()) {
         for (Pointer p : pointer.getTargetSynset().getPointers()) {
           if (offset == p.getTargetOffset()
               && pointer.getType().getSymmetricType().equals(p.getType())) {
             pointer.getTargetSynset().getPointers().remove(p);
             break;
           }
         }
       }
     }
   } else {
     super.removeRange(fromIndex, toIndex);
   }
 }
Exemplo n.º 5
0
 public void removeRange(int from, int to) {
   super.removeRange(from, to);
 }
 @Override
 protected void removeRange(int fromIndex, int toIndex) {
   if (!isInitialized()) initialize();
   super.removeRange(fromIndex, toIndex);
 }
Exemplo n.º 7
0
 @Override
 public void removeRange(int fromIndex, int toIndex) {
   super.removeRange(fromIndex, toIndex);
 }
Exemplo n.º 8
0
 public void removeRange(int start, int end) {
   super.removeRange(start, end);
 }