Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

124
LINES

< > BotCompany Repo | #1006122 // Backup of original #1 - Java lexing (level 1) - declarations

TB declarations

1. comment("java-lexing")

2. example(
input=>>
package net.luaos.tb.tb01.crispengine.solving;

import net.luaos.tb.tb01.crispengine.Solution;

public interface SolutionCollector {
  public void addSolution(Solution solution);
}
<<, output=
>>package
net
.
luaos
.
tb
.
tb01
.
crispengine
.
solving
;
import
net
.
luaos
.
tb
.
tb01
.
crispengine
.
Solution
;
public
interface
SolutionCollector
{
public
void
addSolution
(
Solution
solution
)
;
}<<)

3. example(
input=>>
package tb;

import net.luaos.tb.tb01.crispengine.Solution;

public class sol_id extends Solution {
  public String compute(String input) {
    return input;
  }
}
<<, output=
>>package
tb
;
import
net
.
luaos
.
tb
.
tb01
.
crispengine
.
Solution
;
public
class
sol_id
extends
Solution
{
public
String
compute
(
String
input
)
{
return
input
;
}
}<<)

4. secret-example(
input=>>
package prophecy.common;

public interface Freezable {
  public FrozenObject freeze();
}
<<, output=
>>package
prophecy
.
common
;
public
interface
Freezable
{
public
FrozenObject
freeze
(
)
;
}<<)

Author comment

Began life as a copy of #1

download  show line numbers   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1006122
Snippet name: Backup of original #1 - Java lexing (level 1) - declarations
Eternal ID of this version: #1006122/1
Text MD5: e75c1601ad30c45aed2be21e9dd57f56
Author: stefan
Category:
Type: TB declarations
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-20 00:15:48
Source code size: 1171 bytes / 124 lines
Pitched / IR pitched: No / No
Views / Downloads: 501 / 157
Referenced in: [show references]