private void countCosinus() {
    int z =0;
    for (wordsDocument doc : webDocs)
      for (wordsDocument otherDoc : webDocs)
        if (doc != otherDoc) {
          Map<Integer, Integer> converslyDocComparer = new HashMap<Integer, Integer>();
          converslyDocComparer.put(otherDoc.docName, doc.docName);
          if (intervals.containsValue(converslyDocComparer) == false) {
            double matrixsMultiplication = multiplicateMatrixes(doc, otherDoc);
            double aaa = (doc.modVector * otherDoc.modVector);
            double cos = matrixsMultiplication / (aaa);
            Map<Integer, Integer> docsComparer = new HashMap<Integer, Integer>();
            docsComparer.put(doc.docName, otherDoc.docName);
            intervals.put(cos, docsComparer.toString());
          }

        }
    System.out.println(intervals.size());

  }