query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
Add room at a location. This should look a lot like addFlight, only keyed on a string location instead of a flight number.
public boolean addRooms(int id, String location, int numRooms, int price) throws RemoteException, DeadlockException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long addLoc(String location) {\n ContentValues initialValues = new ContentValues();\n initialValues.put(KEY_LOC_NAME, location); \n return db.insert(DATABASE_TABLE_LOC, null, initialValues);\n }", "public void addLocation(Location location...
[ "0.65666515", "0.6520085", "0.6511901", "0.643564", "0.6421806", "0.64207184", "0.6402175", "0.6322237", "0.61888367", "0.6147666", "0.61366016", "0.6099644", "0.60898715", "0.6032641", "0.60057783", "0.5971942", "0.59379977", "0.5929901", "0.5926695", "0.58917606", "0.586195...
0.69553375
0
Add customer with id.
public boolean newCustomer(int id, int cid) throws RemoteException, DeadlockException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Customer(int id) {\n\t\tthis.id = id;\n\t}", "public void addCustomer(){\n Customer customer = new Customer();\n customer.setId(data.numberOfCustomer());\n customer.setFirstName(GetChoiceFromUser.getStringFromUser(\"Enter First Name: \"));\n customer.setLastName(GetChoiceFromUs...
[ "0.7423318", "0.73033154", "0.69889015", "0.682943", "0.68006295", "0.67840797", "0.6771483", "0.67565066", "0.67561716", "0.67193955", "0.6708291", "0.6703864", "0.6702201", "0.6693723", "0.66372365", "0.6614107", "0.6613424", "0.6598508", "0.6584948", "0.6583856", "0.658018...
0.6523881
27
Delete the flight. deleteFlight implies whole deletion of the flight. If there is a reservation on the flight, then the flight cannot be deleted
public boolean deleteFlight(int id, int flightNum) throws RemoteException, DeadlockException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean deleteFlight(int id, int flightNum)\n throws RemoteException;", "void removeFlight(Flight flight);", "@Override\n\tpublic boolean deletingFlight(int flightId) {\n\t\tboolean ds = false;\n\t\tfor (int i = 0; i <= Repository.FLIGHT_DETAILS.size() - 1; i++) {\n\t\t\tFilghtDetails retriev...
[ "0.8088157", "0.7404573", "0.7122728", "0.6949409", "0.68117154", "0.6788936", "0.6340125", "0.627702", "0.6274945", "0.610159", "0.6075946", "0.5987419", "0.59776574", "0.59624404", "0.5938321", "0.5917976", "0.58769375", "0.579784", "0.57974786", "0.5784473", "0.5767355", ...
0.80375695
1
Delete all cars at a location. It may not succeed if there are reservations for this location
public boolean deleteCars(int id, String location) throws RemoteException, DeadlockException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void deleteLocation(String idUser, List<LocationDTO> loc);", "public abstract Boolean delete(LocationDto location);", "public void deleteAllPeople() {\n }", "void deleteLocationById(long id);", "public void deleteAll();", "public void deleteAll();", "public void deleteAll();", "public void ...
[ "0.61932945", "0.6174425", "0.60929275", "0.60460514", "0.5903522", "0.5903522", "0.5903522", "0.5845719", "0.57983863", "0.576654", "0.5731035", "0.5704887", "0.565582", "0.5652268", "0.5652268", "0.5651067", "0.5649729", "0.56236863", "0.56220186", "0.56220186", "0.56220186...
0.703664
0
Delete all rooms at a location. It may not succeed if there are reservations for this location.
public boolean deleteRooms(int id, String location) throws RemoteException, DeadlockException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void delete(List<PropertyRooms> propertyRooms) {\n\t\thibernateTemplate.deleteAll(propertyRooms);\n\t}", "public void removeUnavailableRooms(){\n\t}", "public void exitAllRooms() {\n\t\tfor (RoomSetting roomSetting : roomSettings) {\n\t\t\troomSetting.getRoom().removeClient(this);\n\t\t}\n\...
[ "0.5925979", "0.5893494", "0.58332604", "0.5754842", "0.5627809", "0.5616352", "0.5611609", "0.56033444", "0.5550472", "0.55145156", "0.550588", "0.54958606", "0.54267454", "0.5405295", "0.5324705", "0.53070664", "0.52660024", "0.52521497", "0.5210155", "0.51767975", "0.51679...
0.7182486
0
Delete a customer and associated reservations.
public boolean deleteCustomer(int id, int customerID) throws RemoteException, DeadlockException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void deleteCustomerById(int customerId);", "void delete(Customer customer);", "@RequestMapping(value = \"/Reservation/{reservation_reservationId}\", method = RequestMethod.DELETE)\n\t@ResponseBody\n\tpublic void deleteReservation(@PathVariable Integer reservation_reservationId) {\n\t\tReservation reservation =...
[ "0.66089594", "0.6533354", "0.6531948", "0.6453672", "0.6395919", "0.63100547", "0.62320876", "0.62320876", "0.6143315", "0.61335975", "0.61115575", "0.6077781", "0.6047622", "0.6042728", "0.6034783", "0.6033842", "0.6007294", "0.60056174", "0.5997183", "0.5992667", "0.596848...
0.58389354
26
Query the status of a flight.
public int queryFlight(int id, int flightNumber) throws RemoteException, DeadlockException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int queryFlight(int id, int flightNumber)\n throws RemoteException;", "@Query(\"FROM Flight WHERE flightState=true\")\r\n\tpublic List<Flight> viewAll();", "boolean hasFlightdetails();", "private boolean getFlightTeamStatus(String flightId) throws DAOException {\n\n List<TeamMember> ...
[ "0.67765236", "0.6602291", "0.61633474", "0.6159774", "0.60403264", "0.58924955", "0.5794461", "0.5782831", "0.573731", "0.5691261", "0.5662424", "0.5565946", "0.55498475", "0.5536452", "0.5486643", "0.5451817", "0.54438525", "0.54082704", "0.5399881", "0.53990537", "0.536632...
0.6640912
1
Query the status of a car location.
public int queryCars(int id, String location) throws RemoteException, DeadlockException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static JSONObject locationAvailability(String city,String location) throws Exception{\n\t\tJSONObject jsonObject = new JSONObject();\n\t\tBoolean isLocationAvailable = false;\n\t\tConnection connection = null;\n\t\tPreparedStatement preparedStatement = null;\n\t\tResultSet resultSet = null;\n\t\tString stat...
[ "0.58823293", "0.57301164", "0.5713345", "0.5708709", "0.5693218", "0.564201", "0.56285065", "0.5583861", "0.55773497", "0.5529222", "0.5498725", "0.5496748", "0.5307083", "0.5306998", "0.53039616", "0.5252768", "0.5220952", "0.51976293", "0.5192122", "0.51821285", "0.5167931...
0.6287097
0
Query the status of a room location.
public int queryRooms(int id, String location) throws RemoteException, DeadlockException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void updateRoomStatus(long roomId, int status);", "void updateRoomStatus(String username, long roomId, int status);", "public String getRoomStatus() {\n if (isOccupied()) {\r\n return \"Occupied\";\r\n } else {\r\n return \"Unoccupied\";\r\n }\r\n }", "public sta...
[ "0.60632837", "0.60573286", "0.59960186", "0.5797419", "0.57888216", "0.5788664", "0.5712843", "0.5524824", "0.5512283", "0.5490994", "0.54600185", "0.5419787", "0.53786576", "0.53786576", "0.5353328", "0.5341708", "0.5330004", "0.52903825", "0.52887255", "0.52639836", "0.525...
0.6869743
0
Query the customer reservations.
public String queryCustomerInfo(int id, int customerID) throws RemoteException, DeadlockException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void searchCustomerReservations(Connection connection, int CID) throws SQLException {\n\n ResultSet rs = null;\n String sql = \"SELECT res_num FROM Reservation WHERE c_ID = ?\";\n PreparedStatement pStmt = connection.prepareStatement(sql);\n pStmt.clearParameters();\n\n setCID(CID);\n pStm...
[ "0.6743", "0.65801394", "0.65606153", "0.6233871", "0.62190443", "0.62180215", "0.6069235", "0.5937591", "0.591809", "0.58955836", "0.5891299", "0.587348", "0.5816912", "0.5808499", "0.57247865", "0.5696089", "0.56602865", "0.5623657", "0.55914", "0.55597144", "0.5544846", ...
0.49205533
96
Query the status of a flight.
public int queryFlightPrice(int id, int flightNumber) throws RemoteException, DeadlockException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int queryFlight(int id, int flightNumber)\n throws RemoteException;", "public int queryFlight(int id, int flightNumber)\n throws RemoteException, DeadlockException;", "@Query(\"FROM Flight WHERE flightState=true\")\r\n\tpublic List<Flight> viewAll();", "boolean hasFlightdetails()...
[ "0.67765236", "0.6640912", "0.6602291", "0.61633474", "0.6159774", "0.60403264", "0.58924955", "0.5794461", "0.5782831", "0.573731", "0.5691261", "0.5565946", "0.55498475", "0.5536452", "0.5486643", "0.5451817", "0.54438525", "0.54082704", "0.5399881", "0.53990537", "0.536632...
0.5662424
11
Query the status of a car location.
public int queryCarsPrice(int id, String location) throws RemoteException, DeadlockException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int queryCars(int id, String location)\n throws RemoteException, DeadlockException;", "public static JSONObject locationAvailability(String city,String location) throws Exception{\n\t\tJSONObject jsonObject = new JSONObject();\n\t\tBoolean isLocationAvailable = false;\n\t\tConnection connection...
[ "0.6287097", "0.58823293", "0.57301164", "0.5713345", "0.5708709", "0.5693218", "0.564201", "0.56285065", "0.5583861", "0.55773497", "0.5529222", "0.5498725", "0.5307083", "0.5306998", "0.53039616", "0.5252768", "0.5220952", "0.51976293", "0.5192122", "0.51821285", "0.5167931...
0.5496748
12
Query the status of a room location.
public int queryRoomsPrice(int id, String location) throws RemoteException, DeadlockException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int queryRooms(int id, String location)\n throws RemoteException, DeadlockException;", "void updateRoomStatus(long roomId, int status);", "void updateRoomStatus(String username, long roomId, int status);", "public String getRoomStatus() {\n if (isOccupied()) {\r\n return \...
[ "0.6869743", "0.60632837", "0.60573286", "0.59960186", "0.5797419", "0.57888216", "0.5788664", "0.5524824", "0.5512283", "0.5490994", "0.54600185", "0.5419787", "0.53786576", "0.53786576", "0.5353328", "0.5341708", "0.5330004", "0.52903825", "0.52887255", "0.52639836", "0.525...
0.5712843
7
Reserve a seat on this flight.
public boolean reserveFlight(int id, int customerID, int flightNumber) throws RemoteException, DeadlockException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void reserveSeat(String visitorName, String seatNumber) {\n\t}", "public void holdSeat() {\n String seatNo = this.getSeatNo();\n this.setStatus(Status.HOLD);\n this.setHold(true);\n //call the db or service to hold the seat\n }", "String reserveSeats(String seatHoldId, Str...
[ "0.74678105", "0.6998124", "0.68775743", "0.6815063", "0.6589081", "0.63454425", "0.62608135", "0.62375575", "0.6223382", "0.61896956", "0.6129534", "0.61061186", "0.6071368", "0.60454243", "0.6025419", "0.5997252", "0.5974218", "0.595975", "0.5883453", "0.5803326", "0.579770...
0.59995526
15
Reserve a car at this location.
public boolean reserveCar(int id, int customerID, String location) throws RemoteException, DeadlockException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void locateParkedCar() {\n\t\tthis.generalRequest(LocalRequestType.LOCATE);\n\t}", "private void doReserve() {\n pickParkingLot();\n pickParkingSpot();\n pickTime();\n pickDuration();\n int amount = pickedparkinglot.getPrice() * pickedduration;\n if (pickedAccount...
[ "0.65894264", "0.654366", "0.60753113", "0.5868112", "0.58324546", "0.57772815", "0.5685907", "0.5684854", "0.56684285", "0.5651796", "0.5430229", "0.53681767", "0.5363183", "0.5289798", "0.528127", "0.52777326", "0.5265365", "0.52537036", "0.5245781", "0.522356", "0.52204686...
0.7518842
0
Reserve a room at this location.
public boolean reserveRoom(int id, int customerID, String location) throws RemoteException, DeadlockException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic ErrorCode reserveRoom(\r\n\t\t\tString guestID, String hotelName, RoomType roomType, SimpleDate checkInDate, SimpleDate checkOutDate,\r\n\t\t\tlong resID) {\n\t\tErrorAndLogMsg m = clientProxy.reserveHotel(\r\n\t\t\t\tguestID, hotelName, roomType, checkInDate, checkOutDate, \r\n\t\t\t\t(int)...
[ "0.6294665", "0.6133814", "0.59296227", "0.5928454", "0.5908962", "0.57437265", "0.5741694", "0.56050825", "0.56043977", "0.5599736", "0.5597987", "0.55976385", "0.55727947", "0.55262923", "0.5481982", "0.54755455", "0.5461025", "0.544584", "0.54457015", "0.5440638", "0.54404...
0.7340159
0
Reserve a bundle for the trip.
public boolean bundle(int id, int customerID, Vector<Integer> flightNumbers, String location, boolean car, boolean room) throws RemoteException, DeadlockException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void doReserve() {\n pickParkingLot();\n pickParkingSpot();\n pickTime();\n pickDuration();\n int amount = pickedparkinglot.getPrice() * pickedduration;\n if (pickedAccount.getBalance() >= amount) {\n currentReservation = new Reservation(pickedparkingspo...
[ "0.51809484", "0.5180366", "0.51675427", "0.5166245", "0.49633443", "0.4948573", "0.49390432", "0.49041253", "0.48937014", "0.48930296", "0.48722842", "0.48609263", "0.4852872", "0.48442015", "0.48015463", "0.47773454", "0.47621801", "0.47197342", "0.4713924", "0.47096482", "...
0.49766102
4
Convenience for probing the resource manager.
public String getName() throws RemoteException, DeadlockException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private ResourceManager() {}", "public ICodeBaseEntry lookupResource(String resourceName) throws ResourceNotFoundException;", "public ResourceManager getResourceManager ()\n {\n return _rsrcmgr;\n }", "public CwmResourceLocator createCwmResourceLocator();", "@SuppressWarnings(\"unu...
[ "0.5971199", "0.54667413", "0.535097", "0.5200726", "0.5194656", "0.5099826", "0.5091798", "0.50432813", "0.4969342", "0.49526006", "0.49460572", "0.49345273", "0.4908553", "0.49005923", "0.4893341", "0.48882204", "0.48665532", "0.48649004", "0.48503435", "0.48352948", "0.483...
0.0
-1
the group number in the regex matcher for the port The constructor taking a string presentation of the endpoint. The endpoint must be of the pattern 'http(s)://host:port', where host can be an IP, a name
public HttpEndpoint( String theEndpoint ) { this( theEndpoint, true ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Builder port(int port);", "Builder setPort(String port);", "private String createURLWithPort(String uri) {\n\t\treturn HOST + port + uri;\n\t}", "public int getPort()\n {\n\t\treturn url.getPort();\n }", "public Builder setPort(\n String value) {\n if (value == null) {\n throw new ...
[ "0.61612135", "0.5897361", "0.5844291", "0.580285", "0.57577085", "0.57558185", "0.57553023", "0.57319236", "0.5672411", "0.56496143", "0.5619632", "0.56069976", "0.558119", "0.5556443", "0.55518293", "0.55286115", "0.55104625", "0.55104625", "0.5509976", "0.5506151", "0.5495...
0.5605526
12
The constructor taking a string presentation of the endpoint. The endpoint must be of the pattern 'http(s)://host:port', where host can be an IP, a name or ''. '' can only be used if isStrict is set to false.
public HttpEndpoint( String theEndpoint, boolean isStrict ) { Preconditions.checkArgument( !Strings.isNullOrEmpty( theEndpoint ), "must have a valid endpoint string" ); Matcher matcher; if( isStrict ) { matcher = HttpEndpoint.STRICT_ENDPOINT_PATTERN.matcher( theEndpoint ); Preconditions.checkArgument( matcher.matches( ), "the endpoint, '%s', must be of the pattern: 'http(s)://host:port', where host can be an IP, a name", theEndpoint ); } else { matcher = HttpEndpoint.LAX_ENDPOINT_PATTERN.matcher( theEndpoint ); Preconditions.checkArgument( matcher.matches( ), "the endpoint, '%s', must be of the pattern: 'http(s)://host:port', where host can be an IP, a name or '*'", theEndpoint ); } scheme = matcher.group( SCHEME_GROUP ); host = matcher.group( HOST_GROUP ); try { port = Integer.parseInt( matcher.group( PORT_GROUP ) ); } catch( NumberFormatException e ) { throw new IllegalArgumentException( String.format( "invalid port in the endpoint definition: %s ", theEndpoint ), e ); } stringForm = String.format( "%s://%s:%d", scheme, host, port ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public HttpEndpoint( String theEndpoint ) {\n\t\tthis( theEndpoint, true );\n\t}", "void setEndpoint(String endpoint);", "public Builder setApiEndpoint(java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n apiEndpoint_ = value;\n bitField0_ |= 0x0...
[ "0.7344364", "0.60115004", "0.598863", "0.5912093", "0.5778252", "0.57553524", "0.5615686", "0.5595331", "0.5587843", "0.55430263", "0.5534455", "0.5484928", "0.5431354", "0.53401", "0.5301562", "0.5292697", "0.52748805", "0.52407545", "0.5240561", "0.52335465", "0.5208233", ...
0.7608475
0
Indicates whether this endpoint is considered secure, meaning communicates over SSL.
public boolean isSecure( ) { return scheme.equals( "https" ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isSecure() {\n return secure;\n }", "@Override\n public boolean isSecure() {\n return secure;\n }", "public boolean isSecure() {\n return m_Secure;\n }", "public boolean getSecure()\n\t{\n\t\treturn this.secure;\n\t}", "public boolean isSecure() {\n return f...
[ "0.80193335", "0.79032826", "0.7732269", "0.76578134", "0.7600648", "0.7600648", "0.75745386", "0.75141805", "0.73705095", "0.73705095", "0.7369876", "0.7326571", "0.7198559", "0.7182141", "0.7147818", "0.7138524", "0.70017713", "0.6886836", "0.6795839", "0.6630216", "0.66214...
0.8158694
0
Returns the scheme used by the endpoint. This can be http or https.
public String getScheme( ) { return scheme; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getScheme() {\n return scheme;\n }", "public String getScheme() {\n return scheme;\n }", "public String getScheme() {\n return scheme;\n }", "@Override\r\n public String getScheme() {\r\n return scheme;\r\n }", "public java.lang.Short getUriScheme() ...
[ "0.77274644", "0.77274644", "0.77274644", "0.7531604", "0.74214005", "0.73864037", "0.7358218", "0.73493636", "0.73467237", "0.73048836", "0.72722536", "0.71795416", "0.71329075", "0.70992374", "0.70118505", "0.7009652", "0.70084107", "0.68922204", "0.68043566", "0.6749411", ...
0.76570123
3
The host the endpoint is meant to be bound to. This can be either an IP address or '' meaning all network interfaces.
public String getHost( ) { return host; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getHost();", "java.lang.String getHost();", "public InetAddress getHost();", "public String getHost();", "public String getHost();", "public String getHost() {\n return messageProcessor.getIpAddress().getHostAddress();\n }", "Host getHost();", "public String getHost() {\n ...
[ "0.71797854", "0.71797854", "0.710003", "0.7022336", "0.7022336", "0.70162123", "0.70005345", "0.6922316", "0.6922316", "0.69216156", "0.69216156", "0.69171935", "0.691508", "0.69042367", "0.6899002", "0.6899002", "0.6899002", "0.6899002", "0.6899002", "0.6899002", "0.6842568...
0.6700876
34
The TCP port the endpoint is meant to be bound to.
public int getPort( ) { return port; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getPort() {\n/* 122 */ return ((TCPEndpoint)this.ep).getPort();\n/* */ }", "public int getPort();", "public int getPort();", "public int getPort();", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\...
[ "0.82806665", "0.79324627", "0.79324627", "0.79324627", "0.7847483", "0.7847483", "0.7847483", "0.7847483", "0.782428", "0.782428", "0.7795009", "0.7795009", "0.7795009", "0.7795009", "0.7795009", "0.7795009", "0.7789232", "0.77734566", "0.7762848", "0.7749465", "0.7749465", ...
0.7354569
100
Returns the string version of the http endpoint.
@Override public String toString() { return stringForm; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String endpoint();", "public String getEndpointAsString() {\r\n\t\tString host;\r\n\r\n\t\ttry {\r\n\t\t\thost = InetAddress.getByName(m_hostString).toString();\r\n\t\t} catch (UnknownHostException e) {\r\n\t\t\thost = m_hostString;\r\n\t\t}\r\n\r\n\t\treturn host + \":\" + m_port;\r\n\t}", "public java.lang.S...
[ "0.76125693", "0.73089164", "0.7235745", "0.7148302", "0.7071348", "0.69130415", "0.68214536", "0.6499102", "0.6462062", "0.64507556", "0.6411086", "0.6344625", "0.6296717", "0.62672013", "0.6259315", "0.6253813", "0.6239264", "0.6239264", "0.61472106", "0.61434704", "0.61201...
0.0
-1
Instantiates a new Item.
public Item(String description) { this.description = description; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Item(){}", "public Item() {}", "public Item createItem() {\n if(pickUpImplementation == null)\n {\n pickUpImplementation = new DefaultPickUp();\n }\n\n if(lookImplementation == null)\n {\n lookImplementation = new Defau...
[ "0.7855635", "0.78519803", "0.7678773", "0.75282425", "0.75089157", "0.75089157", "0.7455305", "0.7455305", "0.7450667", "0.7348299", "0.7265468", "0.72351015", "0.7211739", "0.71594363", "0.7058987", "0.7043305", "0.70417017", "0.7025871", "0.6982876", "0.69733816", "0.69285...
0.643182
52
Parse date time local date time.
public static LocalDateTime parseDateTime(String input) { if (input.contains("Weekly")) { WeeklyFlag = true; input = input.replace("Weekly",""); } LocalDateTime dateTime = null; ArrayList<String> patterns = getPatterns(false); for (String pattern : patterns) { if (dateTime == null) { try { dateTime = LocalDateTime.parse(input.trim(), DateTimeFormatter.ofPattern(pattern)); } catch (Exception e) { e.addSuppressed(new CommandException()); // do nothing basically. } } else { break; } } if (dateTime == null) { patterns = getPatterns(true); for (String datePattern : patterns) { if (dateTime == null) { try { dateTime = LocalDate.parse(input.trim(), DateTimeFormatter.ofPattern(datePattern)).atStartOfDay(); } catch (Exception e) { e.addSuppressed(new CommandException()); // do nothing basically. } } else { break; } } } return dateTime; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private LocalDateTime parseDate(String timeStr) throws DateTimeParseException {\n return LocalDateTime.parse(timeStr, formatter);\n }", "private LocalDateTime parseDate(String s) {\n String[] splitDate = s.split(\" \", 2);\n // Split day, month, year\n String[] splitDateElements = ...
[ "0.7244133", "0.71307474", "0.6794065", "0.6554806", "0.65404725", "0.6397114", "0.6277231", "0.60328734", "0.5846406", "0.58419675", "0.56852734", "0.56571496", "0.56530404", "0.56383663", "0.55894876", "0.5586772", "0.5574569", "0.5573542", "0.55719316", "0.55517936", "0.55...
0.5504727
23
Sets date time using LocalDatetime.
protected void setDateTime(LocalDateTime date) { updateDateTime(date); //isWeekly = true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setDatetime(LocalDateTime datetime){\n this.datetime = datetime;\n }", "public void setDate(LocalDateTime date) {\n this.date = date;\n }", "public void setDateTime(java.util.Calendar param) {\n this.localDateTime = param;\n }", "public void setDate(java.util...
[ "0.75862974", "0.72337055", "0.71224535", "0.7083625", "0.6606395", "0.6552793", "0.64723545", "0.6420136", "0.6315423", "0.6291738", "0.6230243", "0.6224627", "0.61514574", "0.6149969", "0.61496955", "0.6148643", "0.60730946", "0.6069605", "0.60680467", "0.60661906", "0.6059...
0.70628685
4
Gets date time string.
protected String getDateTimeString(String input) { String result; DateTimeFormatter datePattern = DateTimeFormatter.ofPattern("MMM dd yyyy"); if (dateTime == null) { result = input; } else { String date = getDate().format(datePattern); String time = getTime().toString(); result = date + Constants.SPACE + time; } return result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String getTimeString() {\n\t\treturn getTimeString(time);\n\t}", "public static String getDateTime() {\n\t\tString sDateTime=\"\";\n\t\ttry {\n\t\t\tSimpleDateFormat sdfDate = new SimpleDateFormat(\"dd-MM-yyyy\");\n\t\t\tSimpleDateFormat sdfTime = new SimpleDateFormat(\"HH:mm:ss\");\n\t\t\tDate now...
[ "0.80121297", "0.78954536", "0.78706634", "0.7846263", "0.77534956", "0.7724447", "0.77130294", "0.76892316", "0.76892316", "0.7622702", "0.7600781", "0.7592373", "0.7553873", "0.7552179", "0.7518189", "0.7515868", "0.7491106", "0.7460204", "0.7457076", "0.7437314", "0.737773...
0.0
-1
TODO Autogenerated method stub
@Override public Object getValue(String key) { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void putValue(String key, Object value) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void mousePressed(MouseEvent e) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void mouseReleased(MouseEvent e) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void mouseEntered(MouseEvent e) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void mouseExited(MouseEvent e) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void valueChanged(TreeSelectionEvent e) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
private ArrayList coursesTaught; default constructor
public Teacher() { // coursesTaught = new ArrayList<Course>(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public College()\r\n {\r\n students = new ArrayList<Student>();\r\n }", "public CSCourses() {\n courseList = new LinkedList<Course>(); \n numOfCourses = 0;\n }", "public Course()\n\t{\n\t\tstudents = new Student[30];\n\t\tnumStudents = 0;\n\t}", "public ArrayList getCourses();", "public...
[ "0.7265462", "0.72041386", "0.70419127", "0.68792343", "0.6857639", "0.68347496", "0.6714239", "0.6668491", "0.6602704", "0.66002285", "0.66002285", "0.65787554", "0.65662116", "0.65330505", "0.65305686", "0.65305686", "0.650454", "0.65039235", "0.6502354", "0.6491321", "0.64...
0.8134572
0
I hope you know this method is used when deploying to server :Heroku
public static void main(String[] args) { //type “psvm + tab” to autocreate this // directing the server to immediate files it should access. Just like index staticFileLocation("/public"); // routes as per their handlebars templates. Make sure to read and understand what they do get("/", (req, res) -> { Map<String, Object> model = new HashMap<>(); return new ModelAndView(model, "index.hbs"); }, new HandlebarsTemplateEngine()); get("/animalnew", (request, response) -> { Map<String, Object> model = new HashMap<>(); return new ModelAndView(model, "animalForm.hbs"); }, new HandlebarsTemplateEngine()); get("/endangerednew", (request, response) -> { Map<String, Object> model = new HashMap<>(); return modelAndView(model,"endangeredForm.hbs"); }, new HandlebarsTemplateEngine()); get("/sightingsnew", (request, response) -> { Map<String, Object> model = new HashMap<>(); return modelAndView(model,"sightingsForm.hbs"); }, new HandlebarsTemplateEngine()); get("/animals", (request, response) -> { Map<String, Object> model = new HashMap<>(); List peter = Endangered.relative_All(); System.out.println(peter.get(0)); model.put("endangered", peter); return modelAndView(model, "endangered.hbs"); }, new HandlebarsTemplateEngine()); get("/sightings", (request, response) -> { Map<String, Object> model = new HashMap<>(); return modelAndView(model, "sightings.hbs"); }, new HandlebarsTemplateEngine()); get("/saved", (request, response) -> { Map<String, Object> model = new HashMap<>(); List sightings = Sightings.retrieveFromSightings(); model.put("sightings", sightings); return new ModelAndView(model,"sight.hbs"); }, new HandlebarsTemplateEngine()); get("/newanimal", (request, response) -> { Map<String, Object> model = new HashMap<>(); List animal = Animal.relative_All(); model.put("animals", animal); return new ModelAndView(model, "wildlife.hbs"); }, new HandlebarsTemplateEngine()); get("/animals/:id/edit", (request, response) -> { Map<String, Object> model = new HashMap<String, Object>(); model.put("animal", Animal.find(Integer.parseInt(request.params(":id")))); return new ModelAndView(model, "editForm.hbs"); }, new HandlebarsTemplateEngine()); get("/animals/:id/delete", (request, response) -> { Map<String, Object> model = new HashMap<String, Object>(); Animal.find(Integer.parseInt(request.params(":id"))).delete(); response.redirect("/animals"); return null; }, new HandlebarsTemplateEngine()); post("/animals/:id/edit", (request, response) -> { Map<String, Object> model = new HashMap<String, Object>(); int id = Integer.parseInt(request.params(":id")); String name = request.queryParams("name"); Animal animal = Animal.find(id); animal.setName(name); animal.update(); return new ModelAndView(model, "ess.hbs"); }, new HandlebarsTemplateEngine()); post("/succ", (req, res) -> { //new Map<String, Object> model = new HashMap<>(); String animalname = req.queryParams("animalname"); String rangername = req.queryParams("ranger"); String location = req.queryParams("location"); Sightings sightings = new Sightings(animalname,rangername,location); sightings.save(); model.put("sightings", sightings); return modelAndView(model, "succ.hbs"); }, new HandlebarsTemplateEngine()); //post methods post("/success", (req, res) -> { Map<String, Object> model = new HashMap<>(); String name = req.queryParams("name"); String health = req.queryParams("health"); String age = req.queryParams("age"); Endangered endangered = new Endangered(name, health, age); endangered.save(); System.out.println("Please enter all input fields."); return new ModelAndView(model,"success.hbs"); }, new HandlebarsTemplateEngine()); post("/wildlife", (req, res) -> { Map<String, Object> model = new HashMap<>(); String name = req.queryParams("name"); Animal animal = new Animal(name); animal.save(); return new ModelAndView(model,"ess.hbs"); }, new HandlebarsTemplateEngine()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static int getHerokuAssignedPort() {\n return 4567;\n }", "@Override\n\tpublic void preServe() {\n\n\t}", "private void initialDeploy() {\n }", "protected void onPreCreateApplication() {\n\n\t}", "protected void onFirstUse() {}", "@Override\n public String deploy(String applicatio...
[ "0.5951361", "0.56370246", "0.555585", "0.5354559", "0.5304012", "0.5217516", "0.5164173", "0.516378", "0.51559275", "0.50989276", "0.504949", "0.5039707", "0.50009495", "0.4992775", "0.49905664", "0.49812487", "0.49800372", "0.49709612", "0.49524778", "0.49456155", "0.493838...
0.0
-1
Gets the output that it has generated from received SAX events as a string.
public String getOutput() { return output.toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String getOutputString() {\n \tStringBuilder ret = new StringBuilder();\r\n \tCalendar cal = Calendar.getInstance();\r\n \t\r\n \tExportEventLineView eventLine;\r\n \tEventType eventType;\r\n \t\r\n \tint count = _exportEventLines.getChildCount();\r\n \tfor (int i = 0; i < count; i+...
[ "0.7149847", "0.6581618", "0.6548731", "0.6489485", "0.64849776", "0.6375671", "0.63059795", "0.62808794", "0.6182462", "0.61579245", "0.6074694", "0.6049625", "0.6039142", "0.60264313", "0.6026087", "0.59987974", "0.5968844", "0.59574187", "0.59519845", "0.5937409", "0.59316...
0.6559846
2
This method is specialized to customize the format of the request
protected StringBuffer getGatewayRequest(PaymentDetailsIf pd, List<NameValueIf> ccParmList) { // Create the message from the parameters in the PaymentDetails object StringBuffer sb = new StringBuffer(); for (int i = 0; i < pd.getParameters().length; i++) { NameValueIf nv = pd.getParameters()[i]; if (i > 0) { sb.append("&"); } String value = cleanValue(nv.getValue()); sb.append(nv.getName()); sb.append("[" + value.length() + "]"); sb.append("="); sb.append(value); } // Add the credit card parameters for (Iterator<NameValueIf> iter = ccParmList.iterator(); iter.hasNext();) { NameValueIf nv = iter.next(); sb.append("&"); String value = cleanValue(nv.getValue()); sb.append(nv.getName()); sb.append("[" + value.length() + "]"); sb.append("="); sb.append(value); } if (log.isDebugEnabled()) { log.debug("GatewayRequest = \n" + RegExpUtils.maskCreditCard(sb.toString())); } return sb; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public String toString()\n {\n return BasicLineFormatter.DEFAULT.formatRequestLine(null, this).toString();\n }", "@Override\r\n\tprotected String requestText() {\n\t\tGuardarSustentoRequest guardarSustentoRequest = new GuardarSustentoRequest();\r\n\t\tguardarSustentoRequest.setCodigoA...
[ "0.62190825", "0.60350436", "0.60343087", "0.6006943", "0.59984607", "0.5923415", "0.5913317", "0.57639563", "0.5694777", "0.5561642", "0.5512911", "0.5504899", "0.5487235", "0.5472212", "0.5447513", "0.54301274", "0.54157007", "0.53980815", "0.5386786", "0.53805655", "0.5377...
0.0
-1
Payflow Pro returns a RESULT code which we translate here to a descriptive String.
private String getRespDesc(String _code) { int resultCode = -1; try { resultCode = Integer.valueOf(_code); } catch (NumberFormatException e) { // just in case the code isn't a number return "Format of RESULT code unexpected"; } if (resultCode < 0) { return "Communication error"; } String ret = "unknown"; switch (resultCode) { case 0: ret = "Approved"; break; case 1: ret = "User authentication failed"; break; case 2: ret = "Invalid tender type"; break; case 3: ret = "Invalid transaction type"; break; case 4: ret = "Invalid amount format"; break; case 5: ret = "Invalid merchant information"; break; case 6: ret = "Invalid or unsupported currency code"; break; case 7: ret = "Field format error"; break; case 8: ret = "Not a transaction server"; break; case 9: ret = "Too many parameters or invalid stream"; break; case 10: ret = "Too many line items"; break; case 11: ret = "Client time-out waiting for response"; break; case 12: ret = "Declined"; break; case 13: ret = "Referral"; break; case 19: ret = "Original transaction ID not found"; break; case 20: ret = "Cannot find the customer reference number"; break; case 22: ret = "Invalid ABA number"; break; case 23: ret = "Invalid account number"; break; case 24: ret = "Invalid expiration date"; break; case 25: ret = "Invalid Host Mapping"; break; case 26: ret = "Invalid vendor account"; break; case 27: ret = "Insufficient partner permissions"; break; case 28: ret = "Insufficient user permissions"; break; case 29: ret = "Invalid XML document"; break; case 30: ret = "Duplicate transaction"; break; case 31: ret = "Error in adding the recurring profile"; break; case 32: ret = "Error in modifying the recurring profile"; break; case 33: ret = "Error in canceling the recurring profile"; break; case 34: ret = "Error in forcing the recurring profile"; break; case 35: ret = "Error in reactivating the recurring profile"; break; case 36: ret = "OLTP Transaction failed"; break; case 37: ret = "Invalid recurring profile ID"; break; case 50: ret = "Insufficient funds available in account"; break; case 51: ret = "Exceeds per transaction limit"; break; case 99: ret = "General error. See RESPMSG."; break; case 100: ret = "Transaction type not supported by host"; break; case 101: ret = "Time-out value too small"; break; case 102: ret = "Processor not available"; break; case 103: ret = "Error reading response from host"; break; case 104: ret = "Timeout waiting for processor response"; break; case 105: ret = "Credit error"; break; case 106: ret = "Host not available"; break; case 107: ret = "Duplicate suppression time-out"; break; case 108: ret = "Void error"; break; case 109: ret = "Time-out waiting for host response"; break; case 110: ret = "Referenced auth (against order) Error"; break; case 111: ret = "Capture error"; break; case 112: ret = "Failed AVS check"; break; case 113: ret = "Merchant sale exceeds the sales cap"; break; case 114: ret = "Card Security Code (CSC) Mismatch."; break; case 115: ret = "System busy, try again later"; break; case 116: ret = "VPS Internal error"; break; case 117: ret = "Failed merchant rule check"; break; case 118: ret = "Invalid keywords found in string fields"; break; case 120: ret = "Attempt to reference a failed transaction"; break; case 121: ret = "Not enabled for feature"; break; case 122: ret = "Merchant sale exceeds the credit cap"; break; case 125: ret = "Declined by filters"; break; case 126: ret = "Authorized but triggered a Fraud Filter"; break; case 127: ret = "Not processed by filters"; break; case 128: ret = "Declined by merchant"; break; case 132: ret = "Card has not been submitted for update"; break; case 133: ret = "Data mismatch in HTTP retry request"; break; case 150: ret = "Issuing bank timed out"; break; case 151: ret = "Issuing bank unavailable"; break; case 201: ret = "Order error"; break; case 1000: ret = "Generic host error"; break; default: break; } return ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getResultCode();", "int getResultCode();", "int getResultCode();", "int getResultCode();", "int getResultCode();", "public int getResultCode();", "protocol.Result.ResultCode getResultCode();", "public String getResultCode() {\n return resultCode;\n }", "public int getResult() {return ...
[ "0.6822134", "0.6822134", "0.6822134", "0.6822134", "0.6822134", "0.68194973", "0.67715216", "0.6758684", "0.6750723", "0.6725856", "0.64649826", "0.64539284", "0.64476216", "0.6424509", "0.63920546", "0.6388266", "0.636118", "0.63455653", "0.63455653", "0.63445485", "0.63445...
0.654271
10
Inflate the layout for this fragment
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view =inflater.inflate(R.layout.fragment_home, container, false); name=view.findViewById(R.id.tv_name_home); list=view.findViewById(R.id.btnHomefragement); return view; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main_allinfo, container, false);\n }", "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup...
[ "0.6739604", "0.67235583", "0.6721706", "0.6698254", "0.6691869", "0.6687986", "0.66869223", "0.6684548", "0.66766286", "0.6674615", "0.66654444", "0.66654384", "0.6664403", "0.66596216", "0.6653321", "0.6647136", "0.66423255", "0.66388357", "0.6637491", "0.6634193", "0.66251...
0.0
-1
`status: Not Mapped` coredatatypereference: BIAN::DataTypesLibrary::CoreDataTypes::ISO20022andUNCEFACT::Identifier generalinfo: Reference to a Party State instance retrieve service call
public String getPartyStateRetrieveActionTaskReference() { return partyStateRetrieveActionTaskReference; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.expedia.www.packagefinder.database.exppackage.ExpPackageProtos.flight getFlightdetails();", "public abstract int getState() throws RcsServiceException;", "@Override\n public String getICEState()\n {\n return null;\n }", "lightpay.lnd.grpc.NewAddressRequest.AddressType getType();", "priv...
[ "0.5604284", "0.56014663", "0.55726975", "0.5295132", "0.5279318", "0.52684605", "0.521469", "0.5212561", "0.5212255", "0.52112", "0.5203722", "0.5190565", "0.51529807", "0.51493204", "0.5124315", "0.51214206", "0.5109007", "0.5091415", "0.5066604", "0.5066604", "0.5060304", ...
0.0
-1
`status: Not Mapped` coredatatypereference: BIAN::DataTypesLibrary::CoreDataTypes::UNCEFACT::Binary generalinfo: The retrieve service call consolidated processing record
public Object getPartyStateRetrieveActionTaskRecord() { return partyStateRetrieveActionTaskRecord; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override public java.util.Map getExtra(int status) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\njava.util.Map _result;\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeInt(status);\nmRemote.transact(S...
[ "0.5657097", "0.56410223", "0.56182724", "0.55450124", "0.5506299", "0.54547757", "0.54245836", "0.5335357", "0.5312598", "0.5301669", "0.5278916", "0.52692604", "0.52507263", "0.52391887", "0.52190703", "0.5213839", "0.5196011", "0.51957786", "0.5179706", "0.51680696", "0.51...
0.0
-1
`status: Not Mapped` coredatatypereference: BIAN::DataTypesLibrary::CoreDataTypes::UNCEFACT::Text generalinfo: Details of the retrieve action service response (lists returned reports)
public String getPartyStateRetrieveActionResponse() { return partyStateRetrieveActionResponse; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "edu.usfca.cs.dfs.StorageMessages.ListResponse getListResponse();", "com.google.search.now.wire.feed.ResponseProto.Response getResponse();", "com.google.search.now.wire.feed.ResponseProto.Response getResponse();", "public String getPerformanceAnalysisRetrieveActionResponse() {\n return performanceAnalysisR...
[ "0.6063137", "0.60441995", "0.60441995", "0.57228947", "0.5693486", "0.56455094", "0.56062126", "0.56053257", "0.56018704", "0.5533563", "0.5524044", "0.5499201", "0.54885334", "0.5482708", "0.5439534", "0.5410064", "0.5408837", "0.5384942", "0.5383944", "0.53551084", "0.5345...
0.0
-1
TODO Autogenerated method stub
protected void selectAll(JTextField source) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
clear list before addding items
@Override public void onDataChange(@NonNull DataSnapshot snapshot) { productsList.clear(); for (DataSnapshot ds: snapshot.getChildren()){ ModelProduct modelProduct = ds.getValue(ModelProduct.class); productsList.add(modelProduct); } //setup adapter adapterHomework = new AdapterHomework(HomeworkActivity.this,productsList); //set adapter homeRv.setAdapter(adapterHomework); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void clear(){\n\n \tlist = new ArrayList();\n\n }", "public void clearItems(){\n items.clear();\n }", "public void clear(){\n this.items.clear();\n }", "public void clear() {\n\t\tlists.clear();\n\t}", "public void reset() {\n this.list.clear();\n }", "public ...
[ "0.77541834", "0.769926", "0.76428336", "0.75990075", "0.75498927", "0.7454829", "0.7444197", "0.7385344", "0.7376983", "0.73674184", "0.73665506", "0.7362699", "0.7361954", "0.7334387", "0.73299813", "0.7287102", "0.71877825", "0.717928", "0.7174683", "0.7170517", "0.7137841...
0.0
-1
TODO Autogenerated method stub
@Override protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { try{ //接受注册数据 String username = request.getParameter("username"); String nickname = request.getParameter("nickname"); String pwd = request.getParameter("pwd"); String confirmPwd = request.getParameter("confirmPwd"); //调用biz UserBiz userBiz = new UserBizImpl(); userBiz.regist(username, nickname, pwd, confirmPwd); request.setAttribute("user", nickname); //request.getRequestDispatcher("/login.jsp"); response.sendRedirect("/LoginDemo1/login.jsp"); }catch (Exception e){ e.printStackTrace(); //跳转到注册页面 request.getRequestDispatcher("/register.jsp"); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Read every line from input
public void map(String line, ImoocContext context);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void read() {\n try {\n pw = new PrintWriter(System.out, true);\n br = new BufferedReader(new InputStreamReader(System.in));\n input = br.readLine();\n while (input != null) {\n CM.processCommand(input, pw, true);\n input = br.readLine();\n }\n } catch (IOExcepti...
[ "0.6770418", "0.67090917", "0.638579", "0.63189584", "0.6290299", "0.624005", "0.6210692", "0.61629033", "0.61441755", "0.61267775", "0.61263615", "0.6098974", "0.60730815", "0.60689795", "0.6012839", "0.5981591", "0.59815323", "0.5980698", "0.5972265", "0.5952785", "0.594913...
0.0
-1
TODO Autogenerated method stub
@Override protected void onResume() { super.onResume(); init2(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Creates a repository ready for use in testing.
public Repository createRepository(String fileServerName, String displayName, String folderSystemName, String repoName, String fileDatabasePath, String defaultFolderDispalyName) throws LocationAlreadyExistsException { // create the file server fileServer = fileServerService.createFileServer(fileServerName); fileServer.setId(1l); // create the file database DefaultFileDatabaseInfo fileDatabaseInfo = new DefaultFileDatabaseInfo(fileServer.getId(), displayName, folderSystemName, fileDatabasePath, defaultFolderDispalyName, "uniqueFolderName"); FileDatabase fileDatabase = fileServerService.createFileDatabase(fileDatabaseInfo); // create the repository repository = repositoryService.createRepository(repoName, fileDatabase); repository.setId(1l); return repository; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "TRepo createRepo();", "SourceBuilder createRepository();", "@Test\n public void testInitialiseNewGitRepo() throws Exception {\n moveToTempTestDirectory(\"test-project-initialise\", \"pom.xml\");\n\n final File rootFolder = getFolder().getRoot();\n assertTrue(rootFolder.exists());\n\n ...
[ "0.75039756", "0.69733644", "0.69491905", "0.68212867", "0.6749105", "0.66821307", "0.66049707", "0.6594423", "0.6481688", "0.6386393", "0.6380588", "0.6375168", "0.6328274", "0.6318212", "0.6316739", "0.62618977", "0.61906487", "0.61800593", "0.61606824", "0.61329854", "0.61...
0.5481943
58
Delete the repository and related information that was created for testing.
public void cleanUpRepository() { // delete the repository repositoryService.deleteRepository(repository); // delete the file server fileServerService.deleteFileServer(fileServer); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testGetAndDeleteRepos() throws IOException, DuplicateRepoNameException, RepositoryNotFoundException {\n assertFalse(containsRepo(ConfigDatabase.instance().getRepos(), \"test-repo-name1\"));\n\n ConfigDatabase.instance().addRepo(testRepo1);\n assertTrue(containsRepo(Confi...
[ "0.7085513", "0.7071725", "0.7059713", "0.7042493", "0.70076656", "0.69795656", "0.6937587", "0.68572783", "0.6855626", "0.68276876", "0.682359", "0.67347497", "0.6661769", "0.65961635", "0.6588273", "0.65882045", "0.65774477", "0.65389746", "0.65042025", "0.646269", "0.64448...
0.7306982
0
ListView Clicked item index
@Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) { int itemPosition = position; // ListView Clicked item value String itemValue = (String) listView.getItemAtPosition(position); // Show Alert Toast.makeText(getApplicationContext(), "Position :" + itemPosition + " ListItem : " + itemValue, Toast.LENGTH_LONG) .show(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void onItemClick(int position);", "public void onItemClick(View view, int position);", "@Override\n public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) {\n\n Intent intent = new Intent(MainActivity.this, ImageActivity.class);\n intent.putExtra(\"index\", i...
[ "0.7279279", "0.72405237", "0.71664447", "0.71438044", "0.7133834", "0.7110673", "0.71055347", "0.7104801", "0.7103004", "0.70707655", "0.70497495", "0.70497495", "0.70439893", "0.7032804", "0.7021206", "0.70159334", "0.6988654", "0.6982371", "0.6959986", "0.6955696", "0.6905...
0.71318424
5
Default constructor, must define npc
public AB2FccSwitchMap() { npc[0] = 3; npc[1] = 1; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ActorNPC() {\r\n }", "public static NPC createNPC(){\n\t\treturn new NPC();\n\t}", "defaultConstructor(){}", "public ItsNatImpl()\r\n {\r\n }", "public God() {}", "public SimOI() {\n super();\n }", "private Node() {\n\n }", "public Node() {\r\n\t}", "public Node() {...
[ "0.69944304", "0.6730424", "0.6644302", "0.6495532", "0.6474793", "0.64741385", "0.6458162", "0.6457418", "0.6457418", "0.6447737", "0.64376044", "0.64228064", "0.6407198", "0.64050585", "0.6404134", "0.6401107", "0.6392387", "0.638698", "0.63612634", "0.63607967", "0.6352927...
0.0
-1
Constructor to create the two lattices for this switch.
public void generate() { // For this system, there are two particles per cell: int nc = size[0][0]*size[0][1]*size[0][2]; n = 3*nc; // The AB2 Lattice: AB2Lattice ab2 = new AB2Lattice(); ab2.setSizeInCells(size[0][0],size[0][1],size[0][2]); // Stick them in the latt member: latt = new VectorD3[2][]; latt[0] = new VectorD3[n]; System.arraycopy(ab2.getLattice(0),0,latt[0], 0, nc); System.arraycopy(ab2.getLattice(1),0,latt[0], nc, 2*nc); latt_name[0] = "AB2"; ab2.saveAsWRL("initAB2"); // Build the A and B lattices, A first, then B second: // The seperate A and B2 lattices FaceCentredCubicABCLattice fcc = new FaceCentredCubicABCLattice(); // Create the new system at the new size: Ntp = n-nc; fcc.setSizeInCells(size[1][0],size[1][1],size[1][2]); // Copy the two FCC lattices into the 1th phase: latt[1] = new VectorD3[n]; latt_name[1] = "FCC"; System.arraycopy(fcc.getLattice(), 0, latt[1], 0, n); /* Define distances between neighbouring atoms in the same stacking plane * taking advantage of the fact that both lattices have the same Unit Cell: */ double[] c_uc = new double[3]; c_uc = ab2.getUnitCell(); uc.x = c_uc[0]; uc.y = c_uc[1]; uc.z = c_uc[2]; // Put the lattices in the class members, for later use: lats[0] = (Lattice)ab2; lats[1] = (Lattice)fcc; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public P1toL_CB2() {\n addSequential(new DriveMM(197.77));\n addSequential(new TurnMM(90), 2);\n addSequential(new DriveToTargetAuto());\n }", "private void createSwitches() {\n \t\tswitches = new Point[4];\n \t\tswitches[0] = new Point(centreMin, centreMin);\n \t\tswitches[1] = new Point(centreM...
[ "0.5983883", "0.588368", "0.55878687", "0.54733765", "0.54428506", "0.52982754", "0.529208", "0.52825785", "0.5279537", "0.525891", "0.52574897", "0.5156051", "0.51353973", "0.5123962", "0.5077799", "0.5062002", "0.5060313", "0.5052656", "0.5051701", "0.5031741", "0.50317127"...
0.0
-1
Inflate the menu; this adds items to the action bar if it is present.
@Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.main, menu); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {...
[ "0.724751", "0.72030395", "0.71962166", "0.71781456", "0.71080285", "0.70414597", "0.7039569", "0.70127094", "0.7010955", "0.69814765", "0.69462436", "0.6940127", "0.69346195", "0.6918375", "0.6918375", "0.6892324", "0.688513", "0.687655", "0.68764484", "0.68626994", "0.68626...
0.0
-1
/ this has to take in the array list
public static boolean writeToTextFile(String fname, //write to txt file - ArrayList<Cats> datapulled) { try { PrintWriter pw = new PrintWriter(new BufferedWriter(new FileWriter(fname))); for (Cats m: datapulled) { pw.println(m); } pw.close(); return true; } catch (Exception ex) { return false; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void displayArrays(ArrayList list){}", "void mo9148a(int i, ArrayList<C0889x> arrayList);", "private <T> void populateArrayFromList(T[] arr, ArrayList<T> arrayList) {\n\t\tSystem.out.println(\"Array size \" + arr.length);\n\t\tSystem.out.println(\"ArrayList size \" + arrayList.size());\n\t\tfor (int i ...
[ "0.6335621", "0.6222691", "0.61863977", "0.5919937", "0.5847591", "0.58279705", "0.57258046", "0.5723445", "0.57147866", "0.5709319", "0.57007635", "0.56883466", "0.5682143", "0.56800646", "0.56755614", "0.56714976", "0.5654113", "0.562955", "0.56263155", "0.5616489", "0.5607...
0.0
-1
String encodedRequestHex = "800000000000202020230210";
public static void depositTest() { String encodedRequestHex = "20000000000020202020"; String encodedIsdHex = "2088260186b49c479c0010c3853981e64aace3f0e05dbfa994558774e000c0008061a804e0c4e78d93760e4c63780b70296008a10010090006639a567649df90bbc639a56a539df90af6639a56b5f9df9067c639a56bb09df9009c639a56c369df8dc500800042c021420020120010c734acec93bf22248c734ad5e93bf22158c734ad9e33bf21a8cc734adb253bf20fc0c734adb5b3bf20138c734adc9d3bf1b940100008580648400404000018e695924277e462d18e6958ee677e4ff20200008b01090800808000031cd2b1644efc8c5a31cd2b1064efca00c04000116029210010100000639a560e59df9188e639a560299df93ff00800022c062420020080000c734abe713bf23168c734abd653bf26904100005f9f8584e4a32800030d40800000802022a00368036800810d0016401640"; DatagramSocket socket = null; try { socket = new DatagramSocket(selfPort); System.out.println("OBU - Started socket with port " + selfPort); } catch (SocketException e) { System.out.println("OBU - Error creating socket with port " + selfPort); e.printStackTrace(); } byte[] encodedRequestByte = null; byte[] encodedIsdByte = null; try { encodedRequestByte = Hex.decodeHex(encodedRequestHex.toCharArray()); encodedIsdByte = Hex.decodeHex(encodedIsdHex.toCharArray()); } catch (DecoderException e) { System.out.println("OBU - Error decoding hex string into bytes"); e.printStackTrace(); } DatagramPacket reqPacket = new DatagramPacket(encodedRequestByte, encodedRequestByte.length, new InetSocketAddress(odeIp, odePort)); System.out.println("OBU - Printing Service Request in hex: \n" + encodedRequestHex); System.out.println("\nOBU - Sending Service Request to ODE - Ip: " + odeIp + " Port: " + odePort); try { socket.send(reqPacket); } catch (IOException e) { System.out.println("OBU - Error Sending Service Request to ODE"); e.printStackTrace(); } byte[] buffer = new byte[BUFFER_SIZE]; System.out.println("\nOBU - Waiting for Service Response from ODE..."); DatagramPacket resPacket = new DatagramPacket(buffer, buffer.length); try { socket.receive(resPacket); byte[] actualPacket = Arrays.copyOf(resPacket.getData(), resPacket.getLength()); System.out.println("OBU - Received Service Response from ODE"); System.out.println("OBU - Printing Service Response in hex: \n" + Hex.encodeHexString(actualPacket)); } catch (IOException e) { System.out.println("\nOBU - Error Receiving Service Response from ODE"); e.printStackTrace(); } DatagramPacket isdPacket = new DatagramPacket(encodedIsdByte, encodedIsdByte.length, new InetSocketAddress(odeIp, odePort)); try { socket.send(isdPacket); System.out.println("\nOBU - Printing ISD in hex: \n" + encodedIsdHex); System.out.println("\nOBU - Sent ISD to ODE - Ip: " + odeIp + " Port: " + odePort); } catch (IOException e) { System.out.println("OBU - Error Sending ISD to ODE"); e.printStackTrace(); } if (socket != null) { socket.close(); System.out.println("OBU - Closed socket with port " + selfPort); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void request1() {\n final byte[] requestBytes = request1.marshal(2);\n final String encodedRequest = Hex.toHexString(requestBytes);\n\n assertEquals(\n \"0500000310000000680000000200000068000000000009000000000032daf234b77c86409d29efe60d32668300000000000000020000020...
[ "0.69307196", "0.6897052", "0.63087857", "0.61820734", "0.61566633", "0.61495686", "0.61190504", "0.60572726", "0.60257655", "0.6016492", "0.6010608", "0.599752", "0.5959772", "0.59458053", "0.5944889", "0.5909025", "0.58982766", "0.58942735", "0.58876145", "0.5872354", "0.57...
0.0
-1
TODO: create the window here, and upload it to the context
@Override public void preInitialise(Context rootContext) { this.window = new GlfwWindow("ChunkWorld", 1350, 900, false, true, false); rootContext.put(IWindow.class, window); window.init(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void createPopupWindow() {\r\n \t//\r\n }", "private JFrame buildWindow() {\n frame = WindowFactory.mainFrame()\n .title(\"VISNode\")\n .menu(VISNode.get().getActions().buildMenuBar())\n .size(1024, 768)\n .maximized()\n ...
[ "0.72146106", "0.7020091", "0.69677347", "0.6905856", "0.68883884", "0.68644917", "0.6701237", "0.6697376", "0.6662158", "0.65671223", "0.6524668", "0.6497685", "0.64954543", "0.6491671", "0.64908016", "0.64738095", "0.64680284", "0.64483064", "0.63969076", "0.63851523", "0.6...
0.0
-1
Check to see if we need to request a shutdown
@Override public void preUpdate(GameState currentState) { if (window.isCloseRequested()) engine.shutdown(); if (glUtils != null) { glUtils.color(0.1960784314f, 0.3921568627f, 0.6588235294f, 1.0f); glUtils.clear(true, true); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean isShutdownGraceful();", "boolean isShutdown();", "@Override\n\tpublic boolean isShutdown() {\n\t\treturn false;\n\t}", "public boolean isShuttingDown() {\n return myShutdown.get();\n }", "public boolean isShuttingDown() {\n return shuttingDown;\n }", "public boolean isShutdownSuppor...
[ "0.7729184", "0.7452155", "0.72701037", "0.71770924", "0.7110721", "0.7020819", "0.7019577", "0.7015505", "0.6974254", "0.68240154", "0.66675854", "0.6659772", "0.64732754", "0.6454501", "0.6446503", "0.6390439", "0.63644177", "0.63458735", "0.6344534", "0.63336354", "0.63331...
0.0
-1
We want to update the window here
@Override public void postUpdate(GameState currentState) { window.process(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updateDetailWindow();", "private String updateWindow()\n\t{\n \t return String.format(\"Batt: %d Alt: %d Hdg: %d Rdy: %b Track: %b Id: %d\", drone.getBattery(), drone.getHeight(), \n \t\t\tdrone.getHeading(), drone.isFlying(), trackMarker, markerId);\n\t}", "public void updateMenuWindow(...
[ "0.7334108", "0.72649086", "0.72326785", "0.71335894", "0.70609206", "0.7013267", "0.69965583", "0.697706", "0.6975345", "0.69519395", "0.6923336", "0.686653", "0.68518186", "0.68224865", "0.68043226", "0.6798596", "0.6792238", "0.67793524", "0.6766947", "0.67477393", "0.6699...
0.0
-1
Establece el ID del usuario
public void setUsuarioID(int usuarioID) { this.usuarioID = usuarioID; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getId_usuario() {\n\treturn id_usuario;\n }", "public int getIduser() {\n return iduser;\n }", "public int getIdUser() {\n return idUser;\n }", "public int getIdUser() {\n return idUser;\n }", "public String getId_usuario() {\n return id_usuario;\n }", ...
[ "0.7763231", "0.7750149", "0.7692157", "0.7692157", "0.764193", "0.7629606", "0.7582685", "0.7561685", "0.75585353", "0.75497174", "0.7535663", "0.7493061", "0.74927574", "0.74927574", "0.74213874", "0.7403944", "0.739108", "0.72796625", "0.72660327", "0.72610736", "0.7255605...
0.7247885
21
Obtiene la referencia del Usuario
public String getUsuario() { return usuario; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.String getReferenciado();", "public String getUserURI() {\n return host + userResource;\n }", "public String getUsuario() {\r\n return Usuario;\r\n }", "public void setReferenciado(java.lang.String referenciado);", "@Override\n\tprotected String url() {\n\t\treturn \"us...
[ "0.64017093", "0.6314603", "0.62976426", "0.617021", "0.61592907", "0.6140004", "0.6105173", "0.6024913", "0.5986536", "0.5974139", "0.5956425", "0.5956425", "0.5956425", "0.587599", "0.5864552", "0.5829183", "0.5821585", "0.5800559", "0.5776035", "0.57754314", "0.5774664", ...
0.6036532
8
Establece la referencia del usuario
public void setUsuario(String usuario) { this.usuario = usuario; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setReferenciado(java.lang.String referenciado);", "public java.lang.String getReferenciado();", "@Override\n\tprotected String url() {\n\t\treturn \"user\";\n\t}", "public void resetReferenciado();", "public String getUserURI() {\n return host + userResource;\n }", "public synchroni...
[ "0.7055336", "0.68393916", "0.61265564", "0.5964257", "0.59491515", "0.59014934", "0.5849053", "0.5722784", "0.5679252", "0.56600523", "0.56479055", "0.5610772", "0.5600999", "0.5580308", "0.55503047", "0.5528386", "0.55257785", "0.5507306", "0.5497409", "0.54890573", "0.5481...
0.5624949
12
Establece la referencia de la password del usuario
public void setPassword(String password) { this.password = password; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getUserPassword();", "String getPassword();", "String getPassword();", "String getPassword();", "String getPassword();", "String getPassword();", "String getPassword();", "String getPassword();", "String getPassword();", "String getPassword();", "java.lang.String getPassword();", "java...
[ "0.6915376", "0.68109834", "0.68109834", "0.68109834", "0.68109834", "0.68109834", "0.68109834", "0.68109834", "0.68109834", "0.68109834", "0.67553216", "0.67553216", "0.67553216", "0.67553216", "0.67553216", "0.67553216", "0.67553216", "0.67382926", "0.6720897", "0.67176455", ...
0.0
-1
Obtiene la referencia del estadoID del usuario
public int getEstado() { return estadoID; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setEstado(int estado) {\r\n this.estadoID = estado;\r\n }", "public int getId_usuario() {\n\treturn id_usuario;\n }", "public String getId_usuario() {\n return id_usuario;\n }", "public void setUsuarioID(int usuarioID) {\r\n this.usuarioID = usuarioID;\r\n }", "...
[ "0.5929719", "0.5709214", "0.56780434", "0.5633485", "0.56302476", "0.5549681", "0.553494", "0.553494", "0.55212384", "0.5520754", "0.5492274", "0.5492274", "0.5474656", "0.54566836", "0.5421044", "0.5416158", "0.5380522", "0.53742075", "0.5361943", "0.53434116", "0.5341468",...
0.577811
1
Establece la referencia del estadoID del usuario
public void setEstado(int estado) { this.estadoID = estado; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setReferenciado(java.lang.String referenciado);", "public java.lang.String getReferenciado();", "public int getReferencia() {\n return referencia;\n }", "public int getEstado() {\r\n return estadoID;\r\n }", "public void setReferencia(int value) {\n this.referencia = ...
[ "0.5828265", "0.58015186", "0.5681643", "0.5634488", "0.562118", "0.55166006", "0.54414123", "0.53808254", "0.5366093", "0.529804", "0.52776545", "0.52668554", "0.52068937", "0.51745987", "0.51745987", "0.5164925", "0.5146526", "0.51115066", "0.5094399", "0.5085222", "0.50749...
0.60400605
0
CONSTRUCTORS The default constructor. Sysuptime is 0. This simply indicates when this object was created.
public Timestamp() { crtime = System.currentTimeMillis() ; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Timestamp(long uptime) {\n sysUpTime = uptime ;\n crtime = System.currentTimeMillis() ;\n }", "public Timestamp(long uptime, long when) {\n sysUpTime = uptime ;\n crtime = when ;\n }", "public SystemInfo() {\r\n\t}", "public abstract long getUptime();", "public Syst...
[ "0.7145213", "0.6749966", "0.6338856", "0.6255685", "0.6243442", "0.6171862", "0.6063125", "0.6062945", "0.60304505", "0.5982314", "0.5971128", "0.5958381", "0.5949489", "0.593617", "0.5914458", "0.58699584", "0.5868209", "0.58310974", "0.58275014", "0.5815881", "0.5792233", ...
0.5802402
20
Creates a TimeStamp object using the user parameters.
public Timestamp(long uptime, long when) { sysUpTime = uptime ; crtime = when ; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCreateTime(LocalDateTime timestamp) \n {\n createTime = timestamp;\n }", "public TimeStamp(){\n\t\tdateTime = LocalDateTime.now();\n\t}", "public Timestamp() {}", "public Timestamp() {\n makeNow();\n }", "public static String createTimeStamp(){\n return new Simp...
[ "0.65532255", "0.6533378", "0.63359034", "0.6278612", "0.6211717", "0.61383957", "0.6132077", "0.61108017", "0.6080182", "0.6076893", "0.6056407", "0.5868349", "0.5859505", "0.58286345", "0.5821062", "0.5819527", "0.5802085", "0.57971656", "0.57560027", "0.57142514", "0.56981...
0.5611662
33
Creates a TimeStamp object using the user parameters.
public Timestamp(long uptime) { sysUpTime = uptime ; crtime = System.currentTimeMillis() ; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCreateTime(LocalDateTime timestamp) \n {\n createTime = timestamp;\n }", "public TimeStamp(){\n\t\tdateTime = LocalDateTime.now();\n\t}", "public Timestamp() {}", "public Timestamp() {\n makeNow();\n }", "public static String createTimeStamp(){\n return new Simp...
[ "0.65532255", "0.6533378", "0.63359034", "0.6278612", "0.6211717", "0.61383957", "0.6132077", "0.61108017", "0.6080182", "0.6076893", "0.6056407", "0.5868349", "0.5859505", "0.58286345", "0.5821062", "0.5819527", "0.5802085", "0.57971656", "0.57560027", "0.57142514", "0.56981...
0.56285644
24
GETTER/SETTER Gets the SnmpTimeticks object corresponding to the TimeStamp object.
final public synchronized SnmpTimeticks getTimeTicks() { if (uptimeCache == null) uptimeCache = new SnmpTimeticks((int)sysUpTime) ; return uptimeCache ; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final long getTicks() {\n return time;\n }", "public int getTicks()\r\n\t{\r\n\t\treturn m_ticks;\r\n\t}", "public StockTicks getTicks() {\n if (getTicks == null)\n getTicks = new StockTicks(jsBase + \".ticks()\");\n\n return getTicks;\n }", "public StockDateTime ...
[ "0.65210074", "0.6429406", "0.61313426", "0.6110575", "0.6042004", "0.603421", "0.60123533", "0.5957542", "0.593049", "0.5730369", "0.5727988", "0.5727988", "0.57148385", "0.5700601", "0.56858146", "0.5654773", "0.56529105", "0.5561511", "0.55430865", "0.5518533", "0.5504872"...
0.6559279
0
Gets the time (in hundredths of a second) since the network management portion of the system was last reinitialized.
final public long getSysUpTime() { return sysUpTime ; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private long getSystemTime() {\n ThreadMXBean bean = ManagementFactory.getThreadMXBean();\n return bean.isCurrentThreadCpuTimeSupported() ? (bean.getCurrentThreadCpuTime() - bean.getCurrentThreadUserTime()) : 0L;\n }", "public static long getSystemTime( ) {\n ThreadMXBean bean = Managemen...
[ "0.7538756", "0.7444993", "0.73132575", "0.7221306", "0.72151315", "0.71845144", "0.71084756", "0.70610654", "0.70565283", "0.70511794", "0.70061654", "0.69587165", "0.6950618", "0.6950089", "0.68812627", "0.6881134", "0.6863359", "0.68533564", "0.6842617", "0.6831786", "0.68...
0.6695275
30
Gets the current date.
final public synchronized Date getDate() { return new Date(crtime) ; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String getCurrentDate()\n\t{\n\t\treturn getDate(new Date());\n\t}", "public String getCurrentDate() {\n return currentDate;\n }", "public static Date getCurrentDate() {\n return new Date();\n }", "public Date getCurrentDate() {\n\t\treturn new Date();\n\t}", "public Date getCur...
[ "0.8636544", "0.8527615", "0.84903693", "0.84037805", "0.8381908", "0.8280866", "0.8219255", "0.8217863", "0.8178995", "0.8093207", "0.8057365", "0.7984842", "0.7969598", "0.79478383", "0.7874085", "0.7874085", "0.7854995", "0.7825999", "0.77995557", "0.7739135", "0.77240855"...
0.709974
58
Gets the current date.
final public long getDateTime() { return crtime ; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String getCurrentDate()\n\t{\n\t\treturn getDate(new Date());\n\t}", "public String getCurrentDate() {\n return currentDate;\n }", "public static Date getCurrentDate() {\n return new Date();\n }", "public Date getCurrentDate() {\n\t\treturn new Date();\n\t}", "public Date getCur...
[ "0.8636544", "0.8527615", "0.84903693", "0.84037805", "0.8381908", "0.8280866", "0.8219255", "0.8217863", "0.8178995", "0.8093207", "0.8057365", "0.7984842", "0.7969598", "0.79478383", "0.7874085", "0.7874085", "0.7854995", "0.7825999", "0.77995557", "0.7739135", "0.77240855"...
0.0
-1
Returns a String representation of the TimeStamp object.
final public String toString() { StringBuffer buf = new StringBuffer() ; buf.append("{SysUpTime = " + SnmpTimeticks.printTimeTicks(sysUpTime)) ; buf.append("} {Timestamp = " + getDate().toString() + "}") ; return buf.toString() ; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getTimestamp();", "java.lang.String getTimestamp();", "public String getTimeStamp() {\n return new SimpleDateFormat(\"dd.MM.yyyy HH.mm.ss\").format(new Date());\n }", "public static String getTimestamp() {\n\t\tCalendar cal = Calendar.getInstance();\n\t\t//define the format of time...
[ "0.766469", "0.766469", "0.7521099", "0.7501972", "0.74894047", "0.74574333", "0.741462", "0.741462", "0.73939794", "0.7357482", "0.73380655", "0.73380655", "0.7336772", "0.7333464", "0.7317904", "0.7289046", "0.72861594", "0.72861594", "0.72677165", "0.7265991", "0.7247418",...
0.6826397
42
Called when the activity is first created.
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_photo_capture); // Here, we are making a folder named picFolder to store // pics taken by the camera using this application. final String dir = Environment.getExternalStorageDirectory().toString(); // File newdir = new File(dir); // newdir.mkdirs(); Button capture = (Button) findViewById(R.id.btnCapture); capture.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); try { startActivityForResult(takePictureIntent, 9999); } catch (ActivityNotFoundException e) { // display error state to the user } } }); checkPermission(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t\tinit();\n\t}", "@Override\r\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\r\n\t}", "@Override\n\tpublic void onActivit...
[ "0.791686", "0.77270156", "0.7693263", "0.7693263", "0.7693263", "0.7693263", "0.7693263", "0.7693263", "0.7637394", "0.7637394", "0.7629958", "0.76189965", "0.76189965", "0.7543775", "0.7540053", "0.7540053", "0.7539505", "0.75269467", "0.75147736", "0.7509639", "0.7500879",...
0.0
-1
Start listening for phone state changes.
public void registerListener() { mPhone.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE | PhoneStateListener.LISTEN_SIGNAL_STRENGTHS | PhoneStateListener.LISTEN_CALL_STATE | PhoneStateListener.LISTEN_DATA_CONNECTION_STATE | PhoneStateListener.LISTEN_DATA_ACTIVITY | PhoneStateListener.LISTEN_CARRIER_NETWORK_CHANGE); mContext.getContentResolver().registerContentObserver(Global.getUriFor(Global.MOBILE_DATA), true, mObserver); mContext.getContentResolver().registerContentObserver(Global.getUriFor( Global.MOBILE_DATA + mSubscriptionInfo.getSubscriptionId()), true, mObserver); /* SPRD: only show one sim icon after many time hotplug for bug 672530. @{ */ if (mIsRegImsChange) {// SPRD: Bug 806908 add For VoWiFi icon Log.d(mTag, "registerListener ,mIsVoLteBoard: " + mIsVoLteBoard + " address: " + super.toString()); IntentFilter filter = new IntentFilter(); filter.addAction(ImsManager.ACTION_IMS_SERVICE_UP); filter.addAction(ImsManager.ACTION_IMS_SERVICE_DOWN); mContext.registerReceiver(mImsIntentReceiver, filter); // SPRD: modify for bug723743 mIsImsReceiverRegistered = true; tryRegisterImsListener(); } /* @} */ // SPRD: modify for bug693456 mContext.registerReceiver(mModemStateChangeReciver, new IntentFilter(ACTION_MODEM_CHANGE)); // SPRD: modify for bug723743 mIsModemReciverRegistered = true; /* SPRD: Dual volte signalStrength display for bug 666045. @{ */ refreshDualVoLTEListener(); IntentFilter intentFilter = new IntentFilter(); intentFilter.addAction(TelephonyIntents.ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED); intentFilter.addAction(TelephonyIntents.ACTION_SIM_STATE_CHANGED); mContext.registerReceiver(mReceiver, intentFilter); /* @} */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void initPhoneStateListener() {\n Log.m26i(TAG, \"initPhoneStateListener\");\n TelephonyManager telephonyManager = this.mTelephonyManager;\n if (telephonyManager != null) {\n telephonyManager.listen(this.mPhoneStateListener, 0);\n }\n }", "public void startListeni...
[ "0.75460464", "0.6905897", "0.6679704", "0.654479", "0.649551", "0.6461419", "0.63574684", "0.63506824", "0.6335965", "0.6266218", "0.6264383", "0.61897373", "0.61491305", "0.60886985", "0.60749006", "0.60741645", "0.60554945", "0.6053024", "0.5969077", "0.5962219", "0.594116...
0.54376173
79
Stop listening for phone state changes.
public void unregisterListener() { mPhone.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); /* SPRD: Bug 697839 add For VOLTE and VoWiFi icon. @{ */ try { if (mIsImsListenerRegistered) { mIsImsListenerRegistered = false; if (mIImsServiceEx != null) { mIImsServiceEx.unregisterforImsRegisterStateChanged(mImsUtListenerExBinder); } } /* SPRD: modify for bug723743 @{ */ if (mIsImsReceiverRegistered) { mContext.unregisterReceiver(mImsIntentReceiver); mIsImsReceiverRegistered = false; } if (mIsModemReciverRegistered) { mContext.unregisterReceiver(mModemStateChangeReciver); mIsModemReciverRegistered = false; } /* @} */ } catch (RemoteException e) { Log.e(mTag, "RemoteException: " + e); } /* @} */ mContext.getContentResolver().unregisterContentObserver(mObserver); /* SPRD: Dual volte signalStrength display for bug 666045. @{ */ if (mDualVoLTEListener != null) { mPhone.listen(mDualVoLTEListener, PhoneStateListener.LISTEN_NONE); } mContext.unregisterReceiver(mReceiver); /* @} */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void stopListening()\n {\n if (listening) {\n sensorManager.cancelTriggerSensor(listener, motion);\n listening = false;\n }\n }", "public void stopListening();", "private void stopListening() {\n if (DEBUG) Log.d(TAG, \"--- Sensor \" + getEmulatorFrie...
[ "0.72801614", "0.7200829", "0.7181541", "0.69864374", "0.69485533", "0.6856868", "0.6822125", "0.68044955", "0.6779649", "0.67376006", "0.67143524", "0.6649935", "0.663648", "0.66360027", "0.6569488", "0.64444923", "0.6431281", "0.64230335", "0.6360297", "0.63554186", "0.6300...
0.71100324
3
During a carrier change, roaming indications need to be supressed.
private boolean isRoaming() { if (isCarrierNetworkChangeActive()) { return false; } if (isCdma() && mServiceState != null) { final int iconMode = mServiceState.getCdmaEriIconMode(); return mServiceState.getCdmaEriIconIndex() != EriInfo.ROAMING_INDICATOR_OFF && (iconMode == EriInfo.ROAMING_ICON_MODE_NORMAL || iconMode == EriInfo.ROAMING_ICON_MODE_FLASH); } else { return mServiceState != null && mServiceState.getRoaming(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void checkIfCarrierIsLost (int c) {\n\t\tif (noCarrier[noCarrierIndex] == c)\n\t\t\t++noCarrierIndex;\n\t\telse\n\t\t\tnoCarrierIndex = 0;\n\t\t\n\t\tif (noCarrierIndex >= noCarrier.length) {\n\t\t\tstate = STATE_DISCONNECTED;\n\t\t}\n\t}", "private void handleAirplaneModeChanged() {\n callbacksRe...
[ "0.53654236", "0.53511494", "0.53200233", "0.5315963", "0.53156656", "0.53121793", "0.5311482", "0.52998215", "0.5263775", "0.5190868", "0.5189734", "0.5189734", "0.5154802", "0.5153316", "0.5150391", "0.5140047", "0.5138259", "0.51322055", "0.51123804", "0.5103255", "0.51032...
0.0
-1
Updates the network's name based on incoming spn and plmn.
void updateNetworkName(boolean showSpn, String spn, String dataSpn, boolean showPlmn, String plmn) { if (CHATTY) { Log.d("CarrierLabel", "updateNetworkName showSpn=" + showSpn + " spn=" + spn + " dataSpn=" + dataSpn + " showPlmn=" + showPlmn + " plmn=" + plmn); } StringBuilder str = new StringBuilder(); StringBuilder strData = new StringBuilder(); if (showPlmn && plmn != null) { str.append(plmn); strData.append(plmn); } if (showSpn && spn != null) { if (str.length() != 0) { str.append(mNetworkNameSeparator); } str.append(spn); } if (str.length() != 0) { mCurrentState.networkName = str.toString(); } else { mCurrentState.networkName = mNetworkNameDefault; } if (showSpn && dataSpn != null) { if (strData.length() != 0) { strData.append(mNetworkNameSeparator); } strData.append(dataSpn); } if (strData.length() != 0) { mCurrentState.networkNameData = strData.toString(); } else { mCurrentState.networkNameData = mNetworkNameDefault; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setName(String n) {\r\n\t\tthis.name = n;\r\n\t}", "public void setName (String n) {\n name = n;\n }", "public void setName (String n){\n\t\tname = n;\n\t}", "public void setName(String n) {\r\n name = n;\r\n }", "public void setName(String n) {\n this.name = n;\n }", "publi...
[ "0.6020028", "0.5994435", "0.59758306", "0.5927394", "0.5888508", "0.5803017", "0.5769632", "0.57617486", "0.5701822", "0.5690764", "0.56620336", "0.56476194", "0.5629448", "0.557757", "0.5553565", "0.5533767", "0.55139786", "0.5513149", "0.5507452", "0.5443886", "0.54209477"...
0.76712847
0
Updates the current state based on mServiceState, mSignalStrength, mDataNetType, mDataState, and mSimState. It should be called any time one of these is updated. This will call listeners if necessary.
private final void updateTelephony() { if (DEBUG) { Log.d(mTag, "updateTelephonySignalStrength: hasService=" + hasService() + " ss=" + mSignalStrength); } if (mEnableRefreshServiceState && mEnableRefreshSignalStrengths) { mCurrentState.connected = hasService() && mSignalStrength != null; if (mCurrentState.connected) { if (!mSignalStrength.isGsm() && mConfig.alwaysShowCdmaRssi) { mCurrentState.level = mSignalStrength.getCdmaLevel(); } else { mCurrentState.level = mSignalStrength.getLevel(); } } } if (mEnableRefreshDataConnectionState) { if (mNetworkToIconLookup.indexOfKey(mDataNetType) >= 0) { mCurrentState.iconGroup = mNetworkToIconLookup.get(mDataNetType); } else { mCurrentState.iconGroup = mDefaultIcons; } } mCurrentState.dataConnected = mCurrentState.connected && mDataState == TelephonyManager.DATA_CONNECTED; mCurrentState.roaming = isRoaming(); if (isCarrierNetworkChangeActive()) { mCurrentState.iconGroup = TelephonyIcons.CARRIER_NETWORK_CHANGE; // SPRD: FEATURE_ALWAYS_SHOW_RAT_ICON - bug691130 & bug 833682. } else if (!mConfig.alwaysShowRAT && isDataDisabled() && mConfig.showDataDisable) { mCurrentState.iconGroup = TelephonyIcons.DATA_DISABLED; } if (isEmergencyOnly() != mCurrentState.isEmergency) { mCurrentState.isEmergency = isEmergencyOnly(); mNetworkController.recalculateEmergency(); } // Fill in the network name if we think we have it. if (mEnableRefreshServiceState) { if (mCurrentState.networkName == mNetworkNameDefault && mServiceState != null && !TextUtils.isEmpty(mServiceState.getOperatorAlphaShort())) { mCurrentState.networkName = mServiceState.getOperatorAlphaShort(); } } notifyListenersIfNecessary(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void broadcastState() {\n StringBuilder sb = new StringBuilder();\n sb.append(MSG_STATE);\n\n if(mService.isTransmitterMode()) {\n sb.append(\" t \");\n }\n else {\n sb.append(\" r \");\n }\n\n sb.append(mService.getVADThreshold());\n ...
[ "0.5743717", "0.56763935", "0.56538373", "0.54788953", "0.5455849", "0.54484236", "0.54309237", "0.5427922", "0.54000694", "0.53976", "0.5333158", "0.5332112", "0.5314381", "0.5311911", "0.5299628", "0.5294293", "0.5276949", "0.52731556", "0.52656764", "0.52600235", "0.525616...
0.77689743
0
layout.setLocation(pp, GeometryUtil.scale(newCoord, 1.0 / layoutSpecificScale));
@Override public void setCoord(PuertoPosition pp, Point2D newCoord) { layout.setLocation(pp, newCoord); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void layoutSwingComponents( double scale ) {\n// Component[] components = component.getComponents();\n// for( int i = 0; i < components.length; i++ ) {\n// Component component = components[i];\n// Point origLocation = (Point)componentOrgLocationsMap.get( ...
[ "0.65478957", "0.6532827", "0.61247575", "0.60551095", "0.60217905", "0.59945136", "0.59129524", "0.5859049", "0.5843386", "0.5814245", "0.58112025", "0.5801023", "0.57963353", "0.5771278", "0.57224464", "0.5676934", "0.566456", "0.56385076", "0.56382143", "0.5634377", "0.561...
0.7236185
0
create a new graph instead of modifying old one to avoid concurrency problems with previous relaxationRunner that might still be running
@Override public void recalculate(Dimension size) { graph = new SparseMultigraph<PuertoPosition, Integer>(); nodePositions = new HashMap<PuertoPosition, PuertoPosition>(); edges = new HashMap<Pair<PuertoPosition>, Integer>(); edgeNumber = 0; for (Figure f : figures) addFigureToGraph(f); // recreate layout for changed graph //layout = new SpringLayout<PuertoPosition, Integer>(graph); try { layout = layoutType.getConstructor(Graph.class).newInstance(graph); } catch (Exception e) { throw new RuntimeException(e); } //layout = new KKLayout<PuertoPosition, Integer>(graph); layout.setSize(new Dimension((int) (size.width * layoutSpecificScale), (int) (size.height * layoutSpecificScale))); layout.initialize(); notifyPlacementChangeListeners(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void createGraphForDistributedSingleLoad();", "void createGraphForSingleLoad();", "public void buildGraph() {\n //System.err.println(\"Build Graph \"+this);\n if (node instanceof eu.mihosoft.ext.j3d.com.sun.j3d.scenegraph.io.SceneGraphIO)\n ((eu.mihosoft.ext.j3d.com.sun.j3d.sce...
[ "0.6637383", "0.63949287", "0.63222635", "0.63000447", "0.6238665", "0.6063109", "0.6043107", "0.5990183", "0.59535134", "0.5944306", "0.5933785", "0.5912549", "0.58974063", "0.5867042", "0.58578193", "0.5814212", "0.58132654", "0.578192", "0.57664275", "0.5746966", "0.574198...
0.0
-1
Register customer to portal.
@RequestMapping(value = "/register/customer", method = RequestMethod.POST) public AjaxResponseDTO registerCustomerToPortal(@RequestBody UserDTO user) throws Exception { LOG.info("Registartion process initiated for a customer name:" + user.getName() + " and with email:" + user.getEmailAddress()); AjaxResponseDTO responseDTO = new AjaxResponseDTO(); try { user.setAccountVerified(null); user.setToken(this.getToken()); if(StringUtils.isNotBlank(user.getPassword())) { user.setPassword(passwordEncoder.encode(user.getPassword())); } UserDTO response = userFacade.create(user); responseDTO.setData(response); // to send email to user after registration emailFacade.sendLTONotificationEmailVerfication(response.getName(), response.getEmailAddress(), response.getToken()); LOG.info("Registration Email sent successfully to the user with email: " + user.getEmailAddress()); LOG.info("Registartion process completed for a customer name:" + user.getName() + " and with email:" + user.getEmailAddress() + " and userId is:" + user.getId()); } catch (NonUniqueResultException nue) { LOG.info("User Name already exist: " + user.getUserName()); AjaxErrorDTO errorDTO = new AjaxErrorDTO(); errorDTO.setErrorCode(ControllerConstants.ErrorCodes.BAD_REQUEST); errorDTO.setErrorMessage(ControllerConstants.ErrorMessages.USER_ALREADY_EXIST); responseDTO.setError(errorDTO); } return responseDTO; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void register(Customer c) {\n\t\tUser.customers.add(c);\n\t}", "public void register(Customer customer) {\n\t\tcustomerDao.register(customer);\r\n\t}", "public static void CreateCustomer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void createCustomer(Customer customer) throws Exception {\n\t\tConnec...
[ "0.73150176", "0.69245803", "0.6776936", "0.66250384", "0.6604068", "0.65388745", "0.65279895", "0.6499239", "0.6455907", "0.638943", "0.63873696", "0.6380334", "0.63557047", "0.6305803", "0.63005006", "0.6266759", "0.6264503", "0.6205487", "0.6151673", "0.6148354", "0.614694...
0.6563367
5
TODO Autogenerated method stub
private String getToken() { String numbers = "0123456789"; Random rndm_method = new Random(); String OTP = ""; for (int i = 0; i < 4; i++) { OTP = OTP+numbers.charAt(rndm_method.nextInt(numbers.length())); } return OTP; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Customer contact message mail service.
@RequestMapping(value = "/contact/us", method = RequestMethod.POST) public AjaxResponseDTO contactUs(@RequestBody UserDTO user) throws Exception { LOG.info("Contact us details of:" + user.getName() + " and with email:" + user.getEmailAddress()); AjaxResponseDTO responseDTO = new AjaxResponseDTO(); try { // to send email to user after registration emailFacade.sendContactUsMail(user.getUserName(), user.getEmailAddress(), user.getSummary()); LOG.info("contact us Email sent successfully to the user with email: " + user.getEmailAddress()); responseDTO.setData("success"); } catch (NonUniqueResultException nue) { LOG.info("User details Error: " + user.getUserName()); AjaxErrorDTO errorDTO = new AjaxErrorDTO(); errorDTO.setErrorCode(ControllerConstants.ErrorCodes.BAD_REQUEST); errorDTO.setErrorMessage(ControllerConstants.ErrorMessages.USER_NOT_FOUND); responseDTO.setError(errorDTO); } return responseDTO; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void notifyCustomer(String message) {}", "public void mailPromo(String fname, String customerEmail, String promo, double discount){\n\t Properties props = makeProps();\r\n\t \r\n\t final String username = \"cinema4050@gmail.com\";\r\n\t final String password = \"movie4050\";\r\n\t ...
[ "0.67160285", "0.6429325", "0.63279927", "0.62715507", "0.6238527", "0.62263566", "0.61947644", "0.61503434", "0.6121761", "0.6110906", "0.6106112", "0.61024094", "0.6069949", "0.6037065", "0.6000678", "0.59958154", "0.5978146", "0.59635943", "0.59493613", "0.59292674", "0.59...
0.0
-1
=========================================================== Constructors =========================================================== =========================================================== Getter & Setter =========================================================== =========================================================== Methods for/from SuperClass ===========================================================
@Override protected void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); BusProvider.register(this); findViews(); init(); getData(); //customizeActionBar(); loadContact(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Constructor() {\r\n\t\t \r\n\t }", "public ConStructorInheritance(){\r\n\t\t\r\n\t\tSystem.out.println(\"Parent Class Constructor\");\r\n\t\t\r\n\t\t\r\n\t}", "public SuperProduct() {\n\t\tsuper();\n\t}", "public Constructor(){\n\t\t\n\t}", "public Supercar() {\r\n\t\t\r\n\t}", "public Parent() {\n ...
[ "0.7271604", "0.713476", "0.6908681", "0.6825488", "0.67909664", "0.6774326", "0.66411686", "0.66362524", "0.66287404", "0.6612823", "0.6602991", "0.65997803", "0.6599651", "0.6577746", "0.65772396", "0.65384597", "0.65373224", "0.6519998", "0.65154535", "0.6514412", "0.65117...
0.0
-1
=========================================================== Click Listeners ===========================================================
@Override public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case android.R.id.home: finish(); return true; } return super.onOptionsItemSelected(item); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n...
[ "0.776107", "0.776107", "0.776107", "0.776107", "0.776107", "0.776107", "0.776107", "0.776107", "0.776107", "0.776107", "0.776107", "0.7753719", "0.7727066", "0.7727066", "0.771931", "0.77166384", "0.77155083", "0.7713102", "0.7712339", "0.77108294", "0.76873446", "0.768395...
0.0
-1
=========================================================== Other Listeners, methods for/from Interfaces ===========================================================
@Subscribe public void onEventReceived(Contact contact) { mContact = contact; openViewLayout(mContact); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface Listener {}", "public interface IEvenListener {\n}", "public interface Listener {\n}", "public interface Listener {\n}", "public interface OnBaseUIListener {\n}", "@Override\r\n\tprotected void listeners() {\n\t\t\r\n\t}", "@Override\n\tpublic void getListener(){\n\t}", "public inter...
[ "0.7662138", "0.76537883", "0.7383913", "0.7383913", "0.7120348", "0.70442384", "0.7018292", "0.6968684", "0.69567895", "0.69194865", "0.6913888", "0.6909487", "0.69092095", "0.690449", "0.68726265", "0.68598133", "0.684043", "0.6838001", "0.68259925", "0.682223", "0.6816252"...
0.0
-1
Renvoi une nouvelle instance de l'aide en ligne
public AideEnLigne(IHM ihm) { super(ihm, "Aide en ligne"); top.add(previous,BorderLayout.WEST); top.add(next,BorderLayout.EAST); previous.setEnabled(false); next.setEnabled(false); previous.addActionListener(pL); next.addActionListener(nL); this.add(top,BorderLayout.NORTH); Dimension d = Toolkit.getDefaultToolkit().getScreenSize(); try { editorPane = new JEditorPane(); editorPane.setEditable(false); editorPane.addHyperlinkListener(this); editorPane.setPage(new URL("file:./lib/Help/index.html")); JScrollPane jsp = new JScrollPane(editorPane); this.add(jsp); } catch (IOException ex) { } editorPane.setPreferredSize(new Dimension((int)(d.width*0.7),(int)(d.height*0.7))); this.editorPane.addKeyListener(new clavListener(this)); this.pack(); this.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE); this.setIconImage(Toolkit.getDefaultToolkit().createImage("./lib/Icons/jaint.png"));//modification de l'icone sous windows this.setLocation((d.width-this.getWidth())/2, (d.height-this.getHeight())/2); //this.setAlwaysOnTop(true); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void annuler(){\r\n try {\r\n viewEtudiantInscripEcheance = new ViewEtudiantInscriptionEcheance();\r\n echeance_etudiant = new EcoEcheanceEtudiant(); \r\n \r\n } catch (Exception e) {\r\n System.err.println(\"Erreur capturée : \"+e);\r\n ...
[ "0.6542713", "0.6485604", "0.6426517", "0.6359823", "0.6340663", "0.6317148", "0.6268578", "0.6244631", "0.62067807", "0.6122408", "0.6118543", "0.6083362", "0.6078027", "0.6078027", "0.6078027", "0.6078027", "0.6065588", "0.60644215", "0.6045617", "0.60427827", "0.60272044",...
0.0
-1
public List getByEmailId(String emailId);
public EventDetails getByEventName(String eventName);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic List getByEmail(String email) throws DAOException {\n\t\treturn null;\n\t}", "public User getUser(String emailId);", "public User getUserByEmail(String email);", "public User getUserByEmail(String email);", "public User get(String emailID);", "List<Email> selectByExample(EmailCriteria...
[ "0.7809453", "0.77861", "0.76573986", "0.76573986", "0.7588078", "0.75669616", "0.7481608", "0.74799323", "0.7419542", "0.7316201", "0.72713363", "0.7230809", "0.7217358", "0.7193734", "0.71619326", "0.7149819", "0.71310776", "0.7128718", "0.7122285", "0.7122285", "0.7122285"...
0.0
-1
TODO: Add classes to the view
private void onClassesFound(List<UMDClass> classes) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void view() {\n\t\t\n\t}", "@Override\n\tprotected void initView() {\n\t\t\n\t}", "@Override\n\tprotected void initView() {\n\t\t\n\t}", "@Override\n\tprotected void initView()\n\t{\n\n\t}", "@Override\r\n\tprotected void initView() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void init...
[ "0.70999116", "0.69887453", "0.69887453", "0.6872332", "0.6809396", "0.6809396", "0.67835176", "0.6592212", "0.6592212", "0.65300435", "0.65000474", "0.64692324", "0.64378107", "0.64378107", "0.64301777", "0.6411725", "0.6368221", "0.6326937", "0.63038635", "0.62926894", "0.6...
0.0
-1
TODO Autogenerated method stub
@Override public void onNothingSelected(AdapterView<?> arg0) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Tests the constructors of 'Fraction'.
@Test public void testConstructors(){ assertTrue("Didn't intialize correctly", new Fraction().toString().equals("1/1")); assertTrue("Didn't intialize correctly",new Fraction(4,3).toString().equals("4/3")); assertFalse("Didn't intialize correctly",new Fraction(0,0).toString().equals("0/0")); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Fraction()\n {\n }", "public Fraction(Fraction fraction) {\n if (fraction == null) {\n throw new PizzaException(\"fraction can't be null\");\n } else {\n this.NUMERATOR = fraction.NUMERATOR;\n this.DENOMINATOR = fraction.DENOMINATOR;\n }\n }"...
[ "0.7287747", "0.705006", "0.70412433", "0.67538005", "0.66860604", "0.66412306", "0.66230875", "0.65835696", "0.6520299", "0.6469461", "0.6426535", "0.63904196", "0.63764143", "0.63691014", "0.6310603", "0.6276215", "0.62093365", "0.6191539", "0.6179736", "0.6161163", "0.6103...
0.83608484
0
Tests the "addTo" method in 'Fraction'.
@Test public void testAddTo() { Fraction testFrac1 = new Fraction(5,15); testFrac1.addTo(new Fraction(20,15)); assertTrue("Didn't add the fractions correctly",testFrac1.toString().equals("25/15")); testFrac1.addTo(new Fraction()); assertTrue("Didn't add the fractions correctly",testFrac1.toString().equals("40/15")); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n\tpublic void testAdd(){\n\t\t\n\t\tFraction testFrac1 = new Fraction();\n\t\t\n\t\tassertTrue(\"Didn't add correctly\",testFrac1.add(new Fraction(25,15)).toString().equals(new Fraction(40,15).toString()));\n\t}", "@Test\n\tpublic void addTest() {\n\t\t\n\t\tFraction expected = new Fraction(120, 200);\n\t...
[ "0.7968344", "0.6995506", "0.69840014", "0.69802594", "0.6355934", "0.62385905", "0.602008", "0.60076815", "0.59004647", "0.58864176", "0.5850593", "0.5821244", "0.5791897", "0.57748324", "0.576853", "0.5742562", "0.5712183", "0.5676842", "0.567455", "0.56546605", "0.56400836...
0.8533173
0
Tests the "add" method in 'Fraction'.
@Test public void testAdd(){ Fraction testFrac1 = new Fraction(); assertTrue("Didn't add correctly",testFrac1.add(new Fraction(25,15)).toString().equals(new Fraction(40,15).toString())); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n\tpublic void addTest() {\n\t\t\n\t\tFraction expected = new Fraction(120, 200);\n\t\tFraction actual = x.add(y);\n\t\t\n\t\tassertEquals(expected.getNumerator(), actual.getNumerator());\n\t\tassertEquals(expected.getDenominator(), actual.getDenominator());\n\t\tassertEquals(expected.toString(), actual.toSt...
[ "0.81128174", "0.76202035", "0.73610413", "0.7228945", "0.7223207", "0.71636504", "0.6988145", "0.6870644", "0.68592614", "0.6790613", "0.67193556", "0.66835886", "0.6679238", "0.6657645", "0.6581272", "0.65227014", "0.65151", "0.6446938", "0.6444036", "0.64217013", "0.639780...
0.84020114
0
System.out.println("run()"); // debug run()
public void run() { isRunningTime = true; coolDownTime.put(target, coolDownTime.get(target) - 1); if(coolDownTime.get(target) <= 0) { coolDownTime.remove(target); target.sendMessage(DwD + ChatColor.GOLD + "Your Dark Cloud cooldown has expired."); isRunningTime = false; taskCoolDownToCancel.cancel(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "default void run() {\n\t\tSystem.out.println(\"run\");\r\n\t}", "@Override\n\tpublic void run() {\n\t\tLog.i(tag, \"run\");\n\t}", "public static void run(){}", "@Override\r\n\tpublic void run() {\n\t\tSystem.out.println(\"i am runing\");\r\n\t}", "@Override\n public void run() {\n ...
[ "0.85457516", "0.77895725", "0.7668105", "0.766145", "0.7556977", "0.745043", "0.74458694", "0.7424162", "0.7424162", "0.7424162", "0.7424162", "0.7242964", "0.7219908", "0.71984667", "0.71662694", "0.7163814", "0.7161218", "0.7157292", "0.7157292", "0.7157292", "0.7157292", ...
0.0
-1
Construct a new primitive object with Value
public DataPrimitive(String value) { super(); if (value == null) { this.value = ""; } else { this.value = value; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Value(){}", "public Value() {}", "ObjectValue createObjectValue();", "protected Value(Value v) {\n flags = v.flags;\n num = v.num;\n str = v.str;\n object_labels = v.object_labels;\n getters = v.getters;\n setters = v.setters;\n excluded_strings = v.exc...
[ "0.7505319", "0.74791646", "0.73534185", "0.71273214", "0.7032956", "0.7032956", "0.6934448", "0.6896649", "0.67672116", "0.6755493", "0.67201245", "0.6646843", "0.6641307", "0.66225654", "0.6607824", "0.6607824", "0.6569066", "0.6566614", "0.65519327", "0.6520429", "0.651397...
0.6142085
39
Construct a new primitive object with toString(Value)
public DataPrimitive(int value) { super(); this.value = Integer.toString(value); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "StringValue createStringValue();", "StringValue createStringValue();", "StringValue createStringValue();", "StringValue createStringValue();", "public final String getPrimitiveStringValue() {\r\n return (String) (value = value.toString());\r\n }", "public DataPrimitive(String value) {\n\t\tsupe...
[ "0.6446217", "0.6446217", "0.6446217", "0.6446217", "0.6407902", "0.6296372", "0.6251341", "0.61857945", "0.6183109", "0.61768246", "0.6118085", "0.6110502", "0.6103409", "0.60989064", "0.60886616", "0.60885817", "0.60632646", "0.60512465", "0.6019849", "0.6019849", "0.601984...
0.597787
47
Construct a new primitive object with toString(Value)
public DataPrimitive(double value) { super(); this.value = Double.toString(value); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "StringValue createStringValue();", "StringValue createStringValue();", "StringValue createStringValue();", "StringValue createStringValue();", "public final String getPrimitiveStringValue() {\r\n return (String) (value = value.toString());\r\n }", "public DataPrimitive(String value) {\n\t\tsupe...
[ "0.6446186", "0.6446186", "0.6446186", "0.6446186", "0.640789", "0.62964123", "0.6251304", "0.6185825", "0.6183141", "0.61768323", "0.61180633", "0.6110524", "0.6103432", "0.6098912", "0.6088658", "0.6088607", "0.606329", "0.60512644", "0.6019841", "0.6019841", "0.6019841", ...
0.0
-1