File tree Expand file tree Collapse file tree
hexadecimal/src/main/java Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import java .util .List ;
2+ import java .util .function .UnaryOperator ;
3+
4+ public class Accumulate {
5+
6+ public static <T > List <T > accumulate (List <T > list , UnaryOperator <T > operator ) {
7+ throw new UnsupportedOperationException ("Please implement the Accumulate.accumulate() method." );
8+ }
9+
10+ }
Original file line number Diff line number Diff line change 1+ public class Binary {
2+
3+ public Binary (String input ) {
4+ throw new UnsupportedOperationException ("Please implement the Binary constructor." );
5+ }
6+
7+ public int getDecimal () {
8+ throw new UnsupportedOperationException ("Please implement the Binary.getDecimal() method." );
9+ }
10+ }
Original file line number Diff line number Diff line change 1+ public class Hexadecimal {
2+
3+ public static int toDecimal (String input ) {
4+ throw new UnsupportedOperationException ("Please implement the Hexadecimal.toDecimal() method." );
5+ }
6+ }
Original file line number Diff line number Diff line change 1+ public class Octal {
2+
3+ public Octal (String octal ) {
4+ throw new UnsupportedOperationException ("Please implement the Octal constructor." );
5+ }
6+
7+ public int getDecimal () {
8+ throw new UnsupportedOperationException ("Please implement the Octal.getDecimal() method." );
9+ }
10+ }
Original file line number Diff line number Diff line change 1+ import java .util .Collection ;
2+ import java .util .function .Predicate ;
3+
4+ public class Strain {
5+
6+ public static <T > Collection <T > keep (Collection <T > collection , Predicate <T > predicate ) {
7+ throw new UnsupportedOperationException ("Please implement the Strain.keep() method." );
8+ }
9+
10+ public static <T > Collection <T > discard (Collection <T > collection , Predicate <T > predicate ) {
11+ throw new UnsupportedOperationException ("Please implement the Strain.discard() method." );
12+ }
13+
14+ }
Original file line number Diff line number Diff line change 1+ public class Trinary {
2+
3+ public static int toDecimal (String input ) {
4+ throw new UnsupportedOperationException ("Please implement the Trinary.toDecimal() method." );
5+ }
6+ }
You can’t perform that action at this time.
0 commit comments