ru.alpha.ltg.cards/src/test/java/ru/alpha/ltg/cards/K.java
changeset 2 41d78f336ede
child 3 b4cd95c95403
equal deleted inserted replaced
1:191517e224e0 2:41d78f336ede
       
     1 package ru.alpha.ltg.cards;
       
     2 
       
     3 import ru.alpha.ltg.cards.api.ICard;
       
     4 import ru.alpha.ltg.cards.api.IFunction;
       
     5 import ru.alpha.ltg.cards.api.IValue;
       
     6 
       
     7 public class K implements ICard
       
     8 {
       
     9 
       
    10 	@Override
       
    11 	public IValue returnValue(IValue[] values, Slot[] slots)
       
    12 	{
       
    13 		// TODO Auto-generated method stub
       
    14 		return null;
       
    15 	}
       
    16 	
       
    17 	public IValue ff(final IValue x)
       
    18 	{
       
    19 		return new IFunction()
       
    20 		{
       
    21 			public IValue returnValue(IValue value)
       
    22 			{
       
    23 				return x;
       
    24 			}
       
    25 		};
       
    26 	}
       
    27 }