test_class.declarator: recs
test_class.modifier: private final
test_class.original_string: private final List<Tuple2id> recs;
test_class.type: List<Tuple2id>
test_class.var_name: recs
test_class.declarator: recommender
test_class.modifier: private final
test_class.original_string: private final FastRecommender<String, String> recommender;
test_class.type: FastRecommender<String, String>
test_class.var_name: recommender
test_class.file: RankSys-rec/src/test/java/es/uam/eps/ir/ranksys/rec/fast/AbstractFastRecommenderTest.java
test_class.identifier: AbstractFastRecommenderTest
test_case.body: @Test
      public void testStdFree() {
          int maxLength = Integer.MAX_VALUE;
          
          List<Tuple2od<String>> result = recommender.getRecommendation("0", maxLength).getItems();
  
          List<Tuple2od<String>> expected = Arrays.asList(
                  tuple("0", 6.0),
                  tuple("1", 5.0),
                  tuple("2", 4.0),
                  tuple("3", 3.0),
                  tuple("4", 2.0),
                  tuple("5", 1.0)
          );
          
          assertEquals(expected, result);
      }
test_case.class_method_signature: AbstractFastRecommenderTest.testStdFree()
test_case.full_signature: @Test public void testStdFree()
test_case.identifier: testStdFree
test_case.invocations: getItems getRecommendation asList tuple tuple tuple tuple tuple tuple assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testStdFree()
focal_class.declarator: uIndex
focal_class.modifier: protected final
focal_class.original_string: protected final FastUserIndex<U> uIndex;
focal_class.type: FastUserIndex<U>
focal_class.var_name: uIndex
focal_class.declarator: iIndex
focal_class.modifier: protected final
focal_class.original_string: protected final FastItemIndex<I> iIndex;
focal_class.type: FastItemIndex<I>
focal_class.var_name: iIndex
focal_class.file: RankSys-rec/src/main/java/es/uam/eps/ir/ranksys/rec/fast/AbstractFastRecommender.java
focal_class.identifier: AbstractFastRecommender
focal_class.interfaces: implements FastRecommender<U, I>
focal_class.class_method_signature: AbstractFastRecommender.AbstractFastRecommender(FastUserIndex<U> uIndex, FastItemIndex<I> iIndex)
focal_class.full_signature: public  AbstractFastRecommender(FastUserIndex<U> uIndex, FastItemIndex<I> iIndex)
focal_class.identifier: AbstractFastRecommender
focal_class.modifiers: public
focal_class.parameters: (FastUserIndex<U> uIndex, FastItemIndex<I> iIndex)
focal_class.signature:  AbstractFastRecommender(FastUserIndex<U> uIndex, FastItemIndex<I> iIndex)
focal_class.class_method_signature: AbstractFastRecommender.numUsers()
focal_class.full_signature: @Override public int numUsers()
focal_class.identifier: numUsers
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int numUsers()
focal_class.class_method_signature: AbstractFastRecommender.user2uidx(U u)
focal_class.full_signature: @Override public int user2uidx(U u)
focal_class.identifier: user2uidx
focal_class.modifiers: @Override public
focal_class.parameters: (U u)
focal_class.return: int
focal_class.signature: int user2uidx(U u)
focal_class.class_method_signature: AbstractFastRecommender.uidx2user(int uidx)
focal_class.full_signature: @Override public U uidx2user(int uidx)
focal_class.identifier: uidx2user
focal_class.modifiers: @Override public
focal_class.parameters: (int uidx)
focal_class.return: U
focal_class.signature: U uidx2user(int uidx)
focal_class.class_method_signature: AbstractFastRecommender.numItems()
focal_class.full_signature: @Override public int numItems()
focal_class.identifier: numItems
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int numItems()
focal_class.class_method_signature: AbstractFastRecommender.item2iidx(I i)
focal_class.full_signature: @Override public int item2iidx(I i)
focal_class.identifier: item2iidx
focal_class.modifiers: @Override public
focal_class.parameters: (I i)
focal_class.return: int
focal_class.signature: int item2iidx(I i)
focal_class.class_method_signature: AbstractFastRecommender.iidx2item(int iidx)
focal_class.full_signature: @Override public I iidx2item(int iidx)
focal_class.identifier: iidx2item
focal_class.modifiers: @Override public
focal_class.parameters: (int iidx)
focal_class.return: I
focal_class.signature: I iidx2item(int iidx)
focal_class.class_method_signature: AbstractFastRecommender.getRecommendation(U u, int maxLength)
focal_class.full_signature: @Override public Recommendation<U, I> getRecommendation(U u, int maxLength)
focal_class.identifier: getRecommendation
focal_class.modifiers: @Override public
focal_class.parameters: (U u, int maxLength)
focal_class.return: Recommendation<U, I>
focal_class.signature: Recommendation<U, I> getRecommendation(U u, int maxLength)
focal_class.class_method_signature: AbstractFastRecommender.getRecommendation(int uidx)
focal_class.full_signature: @Override public FastRecommendation getRecommendation(int uidx)
focal_class.identifier: getRecommendation
focal_class.modifiers: @Override public
focal_class.parameters: (int uidx)
focal_class.return: FastRecommendation
focal_class.signature: FastRecommendation getRecommendation(int uidx)
focal_class.class_method_signature: AbstractFastRecommender.getRecommendation(int uidx, int maxLength)
focal_class.full_signature: @Override public FastRecommendation getRecommendation(int uidx, int maxLength)
focal_class.identifier: getRecommendation
focal_class.modifiers: @Override public
focal_class.parameters: (int uidx, int maxLength)
focal_class.return: FastRecommendation
focal_class.signature: FastRecommendation getRecommendation(int uidx, int maxLength)
focal_class.class_method_signature: AbstractFastRecommender.getRecommendation(U u, int maxLength, Predicate<I> filter)
focal_class.full_signature: @Override public Recommendation<U, I> getRecommendation(U u, int maxLength, Predicate<I> filter)
focal_class.identifier: getRecommendation
focal_class.modifiers: @Override public
focal_class.parameters: (U u, int maxLength, Predicate<I> filter)
focal_class.return: Recommendation<U, I>
focal_class.signature: Recommendation<U, I> getRecommendation(U u, int maxLength, Predicate<I> filter)
focal_class.class_method_signature: AbstractFastRecommender.getRecommendation(int uidx, IntPredicate filter)
focal_class.full_signature: @Override public FastRecommendation getRecommendation(int uidx, IntPredicate filter)
focal_class.identifier: getRecommendation
focal_class.modifiers: @Override public
focal_class.parameters: (int uidx, IntPredicate filter)
focal_class.return: FastRecommendation
focal_class.signature: FastRecommendation getRecommendation(int uidx, IntPredicate filter)
focal_class.class_method_signature: AbstractFastRecommender.getRecommendation(int uidx, int maxLength, IntPredicate filter)
focal_class.full_signature: @Override public abstract FastRecommendation getRecommendation(int uidx, int maxLength, IntPredicate filter)
focal_class.identifier: getRecommendation
focal_class.modifiers: @Override public abstract
focal_class.parameters: (int uidx, int maxLength, IntPredicate filter)
focal_class.return: FastRecommendation
focal_class.signature: FastRecommendation getRecommendation(int uidx, int maxLength, IntPredicate filter)
focal_class.class_method_signature: AbstractFastRecommender.getRecommendation(U u, Stream<I> candidates)
focal_class.full_signature: @Override public Recommendation<U, I> getRecommendation(U u, Stream<I> candidates)
focal_class.identifier: getRecommendation
focal_class.modifiers: @Override public
focal_class.parameters: (U u, Stream<I> candidates)
focal_class.return: Recommendation<U, I>
focal_class.signature: Recommendation<U, I> getRecommendation(U u, Stream<I> candidates)
focal_class.class_method_signature: AbstractFastRecommender.getRecommendation(int uidx, IntStream candidates)
focal_class.full_signature: @Override public FastRecommendation getRecommendation(int uidx, IntStream candidates)
focal_class.identifier: getRecommendation
focal_class.modifiers: @Override public
focal_class.parameters: (int uidx, IntStream candidates)
focal_class.return: FastRecommendation
focal_class.signature: FastRecommendation getRecommendation(int uidx, IntStream candidates)
focal_class.superclass: extends AbstractRecommender<U, I>
focal_method.body: @Override
      public Recommendation<U, I> getRecommendation(U u, int maxLength) {
          FastRecommendation rec = getRecommendation(user2uidx(u), maxLength);
  
          return new Recommendation<>(uidx2user(rec.getUidx()), rec.getIidxs().stream()
                  .map(this::iidx2item)
                  .collect(toList()));
      }
focal_method.class_method_signature: AbstractFastRecommender.getRecommendation(U u, int maxLength)
focal_method.full_signature: @Override public Recommendation<U, I> getRecommendation(U u, int maxLength)
focal_method.identifier: getRecommendation
focal_method.invocations: getRecommendation user2uidx uidx2user getUidx collect map stream getIidxs toList
focal_method.modifiers: @Override public
focal_method.parameters: (U u, int maxLength)
focal_method.return: Recommendation<U, I>
focal_method.signature: Recommendation<U, I> getRecommendation(U u, int maxLength)