Unnamed: 0 int64 0 305k | body stringlengths 7 52.9k | name stringlengths 1 185 |
|---|---|---|
10,200 | BuilderSingularMapBuilder (String myMapKey, String myMapValue) { if (this.myMap$key == null) { this.myMap$key = new ArrayList<String>(); this.myMap$value = new ArrayList<String>(); } this.myMap$key.add(myMapKey); this.myMap$value.add(myMapValue); return this; } | myMap |
10,201 | BuilderSingularMapBuilder (Map<? extends String, ? extends String> myMap) { if (myMap == null) { throw new NullPointerException("myMap cannot be null"); } if (this.myMap$key == null) { this.myMap$key = new ArrayList<String>(); this.myMap$value = new ArrayList<String>(); } for (final Map.Entry<? extends String, ? extends String> $lombokEntry : myMap.entrySet()) { this.myMap$key.add($lombokEntry.getKey()); this.myMap$value.add($lombokEntry.getValue()); } return this; } | myMap |
10,202 | BuilderSingularMapBuilder () { if (this.myMap$key != null) { this.myMap$key.clear(); this.myMap$value.clear(); } return this; } | clearMyMap |
10,203 | BuilderSingularMap () { Map<String, String> myMap; switch (this.myMap$key == null ? 0 : this.myMap$key.size()) { case 0: myMap = java.util.Collections.emptyMap(); break; case 1: myMap = java.util.Collections.singletonMap(this.myMap$key.get(0), this.myMap$value.get(0)); break; default: myMap = new java.util.LinkedHashMap<String, String>(this.myMap$key.size() < 1073741824 ? 1 + this.myMap$key.size() + (this.myMap$key.size() - 3) / 3 : Integer.MAX_VALUE); for (int $i = 0; $i < this.myMap$key.size(); $i++) myMap.put(this.myMap$key.get($i), (String) this.myMap$value.get($i)); myMap = java.util.Collections.unmodifiableMap(myMap); } return new BuilderSingularMap(myMap); } | build |
10,204 | String () { return "BuilderSingularMap.BuilderSingularMapBuilder(myMap$key=" + this.myMap$key + ", myMap$value=" + this.myMap$value + ")"; } | toString |
10,205 | void (String[] args) { BuilderSimple builderSimple = BuilderSimple.builder().myInt(123).myString("string").build(); System.out.println(builderSimple); } | main |
10,206 | void (String[] args) { BuilderAtConstructorSimple builderSimple = BuilderAtConstructorSimple.builder().myInt(123).myString("string").build(); System.out.println(builderSimple); } | main |
10,207 | BuilderAtMethodSimple (int myInt, String myString) { BuilderAtMethodSimple result = new BuilderAtMethodSimple(); result.myInt = myInt; result.myString = myString; return result; } | createMe |
10,208 | void (String[] args) { BuilderAtMethodSimple builderSimple = BuilderAtMethodSimple.builder().myInt(123).myString("string").build(); System.out.println(builderSimple); } | main |
10,209 | BuilderAtMethodSimpleBuilder () { return new BuilderAtMethodSimpleBuilder(); } | builder |
10,210 | BuilderAtMethodSimpleBuilder (int myInt) { this.myInt = myInt; return this; } | myInt |
10,211 | BuilderAtMethodSimpleBuilder (String myString) { this.myString = myString; return this; } | myString |
10,212 | BuilderAtMethodSimple () { return BuilderAtMethodSimple.createMe(this.myInt, this.myString); } | build |
10,213 | String () { return "BuilderAtMethodSimple.BuilderAtMethodSimpleBuilder(myInt=" + this.myInt + ", myString=" + this.myString + ")"; } | toString |
10,214 | void (String[] args) { BuilderSimpleWithSetterPrefix builderSimple = BuilderSimpleWithSetterPrefix.builder().setMyInt(123).setMyString("string").build(); System.out.println(builderSimple); } | main |
10,215 | void (String[] args) { BuilderSimpleWithSetterPrefix builderSimple = BuilderSimpleWithSetterPrefix.builder().setMyInt(123).setMyString("string").build(); System.out.println(builderSimple); } | main |
10,216 | BuilderSimpleWithSetterPrefixBuilder () { return new BuilderSimpleWithSetterPrefixBuilder(); } | builder |
10,217 | BuilderSimpleWithSetterPrefixBuilder (int myInt) { this.myInt = myInt; return this; } | setMyInt |
10,218 | BuilderSimpleWithSetterPrefixBuilder (String myString) { this.myString = myString; return this; } | setMyString |
10,219 | BuilderSimpleWithSetterPrefix () { return new BuilderSimpleWithSetterPrefix(this.myInt, this.myString); } | build |
10,220 | String () { return "BuilderSimpleWithSetterPrefix.BuilderSimpleWithSetterPrefixBuilder(myInt=" + this.myInt + ", myString=" + this.myString + ")"; } | toString |
10,221 | BuilderSimplePreDefinedBuilder (String myString) { this.myString = myString + "something"; return this; } | myString |
10,222 | void (String[] args) { BuilderSimplePreDefined builderSimple = BuilderSimplePreDefined.builder().myInt(123).myString("string").build(); System.out.println(builderSimple); } | main |
10,223 | void (String[] args) { BuilderSimple builderSimple = BuilderSimple.builder().myInt(123).myString("string").build(); System.out.println(builderSimple); } | main |
10,224 | BuilderSimpleBuilder () { return new BuilderSimpleBuilder(); } | builder |
10,225 | BuilderSimpleBuilder (int myInt) { this.myInt = myInt; return this; } | myInt |
10,226 | BuilderSimpleBuilder (String myString) { this.myString = myString; return this; } | myString |
10,227 | BuilderSimple () { return new BuilderSimple(this.myInt, this.myString); } | build |
10,228 | String () { return "BuilderSimple.BuilderSimpleBuilder(myInt=" + this.myInt + ", myString=" + this.myString + ")"; } | toString |
10,229 | BuilderAtConstructorSimplePredefinedBuilder () { return new BuilderAtConstructorSimplePredefinedBuilder(); } | builder |
10,230 | BuilderAtConstructorSimplePredefinedBuilder (String myString) { this.myString = myString + "something"; return this; } | myString |
10,231 | BuilderAtConstructorSimplePredefinedBuilder (int myInt) { this.myInt = myInt; return this; } | myInt |
10,232 | BuilderAtConstructorSimplePredefined () { return new BuilderAtConstructorSimplePredefined(this.myInt, this.myString); } | build |
10,233 | String () { return "BuilderAtConstructorSimplePredefined.BuilderAtConstructorSimplePredefinedBuilder(myInt=" + this.myInt + ", myString=" + this.myString + ")"; } | toString |
10,234 | void (String[] args) { BuilderAtConstructorSimplePredefined builderSimple = BuilderAtConstructorSimplePredefined.builder().myInt(123).myString("string").build(); System.out.println(builderSimple); } | main |
10,235 | BuilderAtMethodSimplePredefined (int myInt, String myString) { BuilderAtMethodSimplePredefined result = new BuilderAtMethodSimplePredefined(); result.myInt = myInt; result.myString = myString; return result; } | createMe |
10,236 | BuilderAtMethodSimplePredefinedBuilder () { return new BuilderAtMethodSimplePredefinedBuilder(); } | builder |
10,237 | BuilderAtMethodSimplePredefinedBuilder (String myString) { this.myString = myString + "something"; return this; } | myString |
10,238 | BuilderAtMethodSimplePredefinedBuilder (int myInt) { this.myInt = myInt; return this; } | myInt |
10,239 | BuilderAtMethodSimplePredefined () { return BuilderAtMethodSimplePredefined.createMe(this.myInt, this.myString); } | build |
10,240 | String () { return "BuilderAtMethodSimplePredefined.BuilderAtMethodSimplePredefinedBuilder(myInt=" + this.myInt + ", myString=" + this.myString + ")"; } | toString |
10,241 | void (String[] args) { BuilderAtMethodSimplePredefined builderSimple = BuilderAtMethodSimplePredefined.builder().myInt(123).myString("string").build(); System.out.println(builderSimple); } | main |
10,242 | BuilderJacksonizedBuilder () { return new BuilderJacksonizedBuilder(); } | builder |
10,243 | BuilderJacksonizedBuilder (int someInt) { this.someInt = someInt; return this; } | someInt |
10,244 | BuilderJacksonizedBuilder (String someField) { this.someField = someField; return this; } | someField |
10,245 | BuilderJacksonized () { return new BuilderJacksonized(this.someInt, this.someField); } | build |
10,246 | String () { return "BuilderJacksonized.BuilderJacksonizedBuilder(someInt=" + this.someInt + ", someField=" + this.someField + ")"; } | toString |
10,247 | void (String[] args) { BuilderAtConstructorSimple builderSimple = BuilderAtConstructorSimple.builder().myInt(123).myString("string").build(); System.out.println(builderSimple); } | main |
10,248 | BuilderAtConstructorSimpleBuilder () { return new BuilderAtConstructorSimpleBuilder(); } | builder |
10,249 | BuilderAtConstructorSimpleBuilder (int myInt) { this.myInt = myInt; return this; } | myInt |
10,250 | BuilderAtConstructorSimpleBuilder (String myString) { this.myString = myString; return this; } | myString |
10,251 | BuilderAtConstructorSimple () { return new BuilderAtConstructorSimple(this.myInt, this.myString); } | build |
10,252 | String () { return "BuilderAtConstructorSimple.BuilderAtConstructorSimpleBuilder(myInt=" + this.myInt + ", myString=" + this.myString + ")"; } | toString |
10,253 | BuilderAtConstructorSimplePredefinedBuilder (String myString) { this.myString = myString + "something"; return this; } | myString |
10,254 | void (String[] args) { BuilderAtConstructorSimplePredefined builderSimple = BuilderAtConstructorSimplePredefined.builder().myInt(123).myString("string").build(); System.out.println(builderSimple); } | main |
10,255 | Callable<Void> () { return new Callable<Void>() { @Override public Void call() throws Exception { return null; } }; } | calcDelegated |
10,256 | Callable<Void> () { return new Callable<Void>() { @Override public Void call() throws Exception { return null; } }; } | calcDelegated |
10,257 | int () { return this.x; } | getX |
10,258 | int () { return this.y; } | getY |
10,259 | boolean (final Object o) { if (o == this) return true; if (!(o instanceof Value3)) return false; final Value3 other = (Value3) o; if (this.getX() != other.getX()) return false; if (this.getY() != other.getY()) return false; return true; } | equals |
10,260 | int () { final int PRIME = 59; int result = 1; result = result * PRIME + this.getX(); result = result * PRIME + this.getY(); return result; } | hashCode |
10,261 | String () { return "Value3(x=" + this.getX() + ", y=" + this.getY() + ")"; } | toString |
10,262 | int () { return this.x; } | getX |
10,263 | String () { return this.name; } | getName |
10,264 | boolean (final Object o) { if (o == this) return true; if (!(o instanceof Value2)) return false; final Value2 other = (Value2) o; if (!other.canEqual((Object) this)) return false; if (this.getX() != other.getX()) return false; final Object this$name = this.getName(); final Object other$name = other.getName(); if (this$name == null ? other$name != null : !this$name.equals(other$name)) return false; return true; } | equals |
10,265 | boolean (final Object other) { return other instanceof Value2; } | canEqual |
10,266 | int () { final int PRIME = 59; int result = 1; result = result * PRIME + this.getX(); final Object $name = this.getName(); result = result * PRIME + ($name == null ? 43 : $name.hashCode()); return result; } | hashCode |
10,267 | String () { return "Value2(x=" + this.getX() + ", name=" + this.getName() + ")"; } | toString |
10,268 | String () { return this.f1; } | getF1 |
10,269 | String () { return this.f2; } | getF2 |
10,270 | boolean (final Object o) { if (o == this) return true; if (!(o instanceof Class1)) return false; final Class1 other = (Class1) o; final Object this$f1 = this.getF1(); final Object other$f1 = other.getF1(); if (this$f1 == null ? other$f1 != null : !this$f1.equals(other$f1)) return false; return true; } | equals |
10,271 | int () { final int PRIME = 59; int result = 1; final Object $f1 = this.getF1(); result = result * PRIME + ($f1 == null ? 43 : $f1.hashCode()); return result; } | hashCode |
10,272 | String () { return "Class1(f1=" + this.getF1() + ", f2=" + this.getF2() + ")"; } | toString |
10,273 | int () { return this.x; } | getX |
10,274 | String () { return this.name; } | getName |
10,275 | boolean (final Object o) { if (o == this) return true; if (!(o instanceof Value1)) return false; final Value1 other = (Value1) o; if (this.getX() != other.getX()) return false; final Object this$name = this.getName(); final Object other$name = other.getName(); if (this$name == null ? other$name != null : !this$name.equals(other$name)) return false; return true; } | equals |
10,276 | int () { final int PRIME = 59; int result = 1; result = result * PRIME + this.getX(); final Object $name = this.getName(); result = result * PRIME + ($name == null ? 43 : $name.hashCode()); return result; } | hashCode |
10,277 | String () { return "Value1(x=" + this.getX() + ", name=" + this.getName() + ")"; } | toString |
10,278 | void () { log.info("Hello!"); } | logHallo |
10,279 | void (String[] args) { Test test = new Test(); test.logHallo(); } | main |
10,280 | void () { log.info("Hello!"); } | logHallo |
10,281 | void (String[] args) { Test test = new Test(); test.logHallo(); } | main |
10,282 | void () { log.info("Hello!"); } | logHallo |
10,283 | void (String[] args) { Test test = new Test(); test.logHallo(); } | main |
10,284 | void () { log.info("Hello!"); } | logHallo |
10,285 | void (String[] args) { Test test = new Test(); test.logHallo(); } | main |
10,286 | void () { log.info("Hello!"); } | logHallo |
10,287 | void (String[] args) { Test test = new Test(); test.logHallo(); } | main |
10,288 | void () { log.info("Hello!"); } | logHallo |
10,289 | void (String[] args) { Test test = new Test(); test.logHallo(); } | main |
10,290 | void () { log.info("Hello!"); } | logHallo |
10,291 | void (String[] args) { Test test = new Test(); test.logHallo(); } | main |
10,292 | void () { log.info("Hello!"); } | logHallo |
10,293 | void (String[] args) { Test test = new Test(); test.logHallo(); } | main |
10,294 | void () { log.info("Hello!"); } | logHallo |
10,295 | void (String[] args) { Test test = new Test(); test.logHallo(); } | main |
10,296 | void () { log.info("Hello!"); } | logHallo |
10,297 | void (String[] args) { Test test = new Test(); test.logHallo(); } | main |
10,298 | void () { log.info("Hello!"); } | logHallo |
10,299 | void (String[] args) { Test test = new Test(); test.logHallo(); } | main |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.