anchor
stringlengths
10
14.3k
positive
stringlengths
10
14.9k
public static void removeAllNumbersGreaterThan10(Set<Integer> set) { Iterator<Integer> iterator = set.iterator(); while (iterator.hasNext()) { Integer integer = iterator.next(); if (integer.intValue() > 10) { iterator.remove(); } } }
write your code here
@Inject public AppControllerImpl(PlaceController placeController, EventBus eventBus, PlaceHistoryHandler placeHistoryHandler, AppLayout appLayout, ActivityManagerInitializer activityManagerInitializer) { this.placeController = placeController; this.placeHistoryHandler = placeHistoryHandler; this.appPanelView = a...
All parameters are injected by GIN
@Override public Set<RepairKit> getRepairKits(Board board) { return board.getElements(RepairKit.class); }
Return a set containing all repair kits on board.
public int[] getDamage(){ return shipDamage; }
Takes no arguments and returns an array containing the states of each block of the ship
public SingleUploader() { this(null); }
If no status gadget is provided, it uses a basic one.
public Long getTwomerchant() { return twomerchant; }
This method was generated by MyBatis Generator. This method returns the value of the database column t_mp_num.twoMerchant
@SuppressWarnings("unchecked") protected Map<String, List<PageViewVO>> processUserFavorites(ModuleVO mod) throws ActionException { log.debug("processUserFavorites..."); Map<String, List<PageViewVO>> pageMap = initializePageMap(); if (mod.getErrorCondition()) return pageMap; List<FavoriteVO> favs = (List<F...
Parses a user's favorites into a map of page views keyed by section (e.g. MARKET, COMPANY, etc.).
String title();
The title property is a short plain text description of the RESTful API. The value SHOULD be suitable for use as a title for the contained user documentation.
entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder();
.DownloadRequest downloadRequest = 12;
@Override public void onClick(View v) { }
TODO Autogenerated method stub
private TextView getTextView(String content) { TextView textView = new TextView(this.getContext()); textView.setEms(30); textView.setTextColor(getResources().getColor(R.color.ldstools_black)); if(content != null && !content.isEmpty()) { textView.setText(content); } ...
/ Generic TextView creation.
public final void mo3957e() { this.f1313w = true; }
/ renamed from: e
@Override public void onError(DialogError e) { }
No special processing if dialog has been canceled
void deleteUser(int id) throws DataAccessException;
Deletes a User from the data store.
public boolean equals(Object object) { /* 326 */ if (object == null) { /* 327 */ return false; /* */ } /* 329 */ if (object == this) { /* 330 */ return true; /* */ } /* 332 */ if (object instanceof DefaultTimeline) { /* 333 */ return true; /* */...
/ / / / / / / / / / /
public ReceivingSpace planToRemoveGoodsListWithGoodsAllocation(ReceivingSpace receivingSpace, String goodsAllocationId, Map<String,Object> options)throws Exception;
disconnect ReceivingSpace with goods_allocation in Goods
public static String function_2(String question) { //int first_par = 0; //int second_par = question.indexOf(")"); //int third_par = question.indexOf("(", second_par); String function_2 = question.substring(find_par(2,question)+1,find_par(3,question)); return function_2; }
/// returns the trig function of the equation purely for walk through
public Buyer(String username, String password, String firstName, String lastName, String emailAddress, String phoneNumber) { super(username, password, firstName, lastName, emailAddress, phoneNumber); this.role = 1; credit = 10000; ProgramManager.getProgramManagerInstance().addAccountToLi...
The HashMap is productId to count
public M csmiPlaceNull(){if(this.get("csmiPlaceNot")==null)this.put("csmiPlaceNot", "");this.put("csmiPlace", null);return this;}
and csmi_place is null
long getConsumedWorkUnits();
Returns the total number of consumed work units by the engine instance at hand since the engine's last deployment.
@Test void processListOfPlates() throws Exception { String request = "[" + "{\"name\": \"Ensalada\", \"ingredients\": [" + createIngredient("Calabaza", 100) + "," + createIngredient("Cebolla", 70) + "]}," + "{\"name\": \"Hamburguesa\", \"ingredients\": [" + createIngredient...
d) Optional: Generar endpoint para recibir un listo de platos y devolver el listado procesado.
private void setExpires(long value) { bitField0_ |= 0x00000004; expires_ = value; }
Timestamp; when this request should be considered invalid optional uint64 expires = 4;
Car readCar(String plateNo) throws CarNotFoundException;
Read a single car based on the plate number.
void visitComment(MappedElementKind targetKind, String comment);
Comment for the specified element (last contentvisited or any parent).
@java.lang.Override public boolean hasFdset() { return fdset_ != null; }
The file descriptor set used to generate this result. .google.protobuf.FileDescriptorSet fdset = 5 [json_name = "fdset"];
public void displayInput() { scan = new Scanner(System.in); boolean exit = false; while (!exit) { System.out.println("\n1.Display Product"); System.out.println("2.Buy Product"); System.out.println("3.Cart"); System.out.println("4.Exit"); System.out.println("Enter Your Choice:-"); choice = getVal...
Display the main menu
public void onClick(DialogInterface dialog, int id) { }
User cancelled the dialog
@Override public void update(int n, int n2) { void mouseY; void mouseX; super.update((int)mouseX, (int)mouseY); float[] hsb = Color.RGBtoHSB(this.setting.getValue().getRed(), this.setting.getValue().getGreen(), this.setting.getValue().getBlue(), null); double difference = Mat...
/ WARNING void declaration
String getVersion();
Returns the value of the 'Version' attribute. If the meaning of the 'Version' attribute isn't clear, there really should be more of a description here...
default void listServices( com.google.cloud.servicedirectory.v1beta1.ListServicesRequest request, io.grpc.stub.StreamObserver<com.google.cloud.servicedirectory.v1beta1.ListServicesResponse> responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getListServi...
Lists all services belonging to a namespace.
public NuxeoConnector getNuxeoInstance() { if(this.nuxeoConnector==null) { nuxeoConnector = new NuxeoConnector(); } return this.nuxeoConnector; }
Only creates one NuxeoConnector instance and returns it.
public int lengthOfLongestSubstring(String s) { int l=s.length(),len=0,r=0; HashMap<Character,Integer> h=new HashMap<Character,Integer>(); for(int i=0;i<l;) { char c=s.charAt(i); if(h.containsKey(c)) { i=h.get(c)+1; // we should restart and clear the hash...
Start typing your Java solution below DO NOT write main() function
public double getTotalCellularityPercentage() { return totalCellularityPercentage; }
Returns the total cellularity percentage.
@Test public void testPlayer_getBoldStrategyCard_numeric_colorBeatsNumber() { player2 = new Player("Player Two", true); player2.setHand(strategyHand.getAllCards()); // pick a cpc that could return two possible options // and assert that the higher value card comes back ...
tempt algorithm with higher cards (strategy hand has both wild and wd4)
@Test public void testResetAndCanRetry() { assertTrue(rc.attempt()); assertTrue(rc.attempt()); assertTrue(rc.attempt()); rc.reset(); assertTrue(rc.attempt()); assertTrue(rc.attempt()); assertTrue(rc.attempt()); assertFalse(rc.attempt()); asser...
The same RequestContext is used throughout the processing, and retries need to be reset once successfully connected so that any earlier (successful) recoveries are not considered when performing any new future recoveries. This test ensures that a reset clears the retry counter and that we can attempt retries again up t...
@ApiOperation("新增一个会场") @PostMapping("/insertOnePlace") public ResultResponse insertOnePlace(@ApiParam("place对象") @RequestBody VoPlace voPlace){ Object data = null; StringBuilder message = new StringBuilder("新增会场"); try { data = placeService.insertOnePlace(voPlace); }...
System.out.println("voPlace = " + voPlace);
public void setRTLParams() { ViewGroup.LayoutParams layoutParams = this.mSkipView.getLayoutParams(); if (layoutParams instanceof RelativeLayout.LayoutParams) { RelativeLayout.LayoutParams layoutParams2 = (RelativeLayout.LayoutParams) layoutParams; layoutParams2.removeRule(20); ...
/ access modifiers changed from: packageprivate
public T caseDataType(DataType object) { return null; }
Returns the result of interpreting the object as an instance of 'Data Type'. This implementation returns null; returning a nonnull result will terminate the switch.
public void mo38284b(C7998s sVar) { this.f27044g = sVar; }
/ renamed from: b
public long toTimelineValue(long millisecond) { return millisecond; }
/ / / / / / / 235
public double getZScore(K keyToCheck) { V winRateDataForKey = this.winRateData.get(keyToCheck); double p1 = winRateDataForKey.getWinRate(); double n1 = winRateDataForKey.playedCount; double p2 = (this.totalWinCount - winRateDataForKey.winCount) / (this.totalPlayedCount - winRateDataFor...
Determines a ZScore for the specific key's win rate compared to the overall win rate Test from:
public A mo9868b() { return this.f2527b; }
/ renamed from: b
public Document(String title, CopyOnWriteArrayList<String> docModel, String location, int id) { this.docModel = docModel; this.name = title; this.location = location; this.id = id; /* Starts up command listener for document */ Thread t = new Thread(new Runnable() { @Override public voi...
Constructor that makes document with Document Model docModel and Title title.
static public void extractFromCSVRefFile(String file_path) throws Exception { DataExtractor de = new DataExtractor(); File commitFile = new File(file_path); BufferedReader reader = new BufferedReader(new FileReader(commitFile)); String line = ""; List<String> commit_ids = new ArrayList<String>(); wh...
Main method used to import dataset from CVS files: the file must contain: feature name;commitId; The program then takes each commit and extract the feature oriented changes from it and stores everything into the Neo4J database.
public int getTotalCustomers() { return totalCustomers; }
getTotalCustomers() Gets the total customers and returns.
public static QuadricRobustEstimator create(List<Point3D> points, RobustEstimatorMethod method) { switch (method) { case LMedS: return new LMedSQuadricRobustEstimator(points); case MSAC: return new MSACQuadricRobustEstimator(points); ...
Creates a quadric robust estimator based on 3D point samples and using provided points and robust estimator method.
public Record query(final PlayerType p_type, final int p_queryDate) throws RemoteException { for(int x= 0; x <= 100; x++) { records [x][1] = query(PlayerType.LEADER, x); records [x][2] = query(PlayerType.FOLLOWER, x); } return null; }
this returns the record for a specified day, this method stores all the records in the array
public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int num = scanner.nextInt(); int i; int result = 1; for (i = 1; i <= num; i++) { result = result * i; if (i == num) { System.out.println(result); } } }
TODO Autogenerated method stub
public void disablePlayerAttacking(final Player p) { p.sendMessage(ChatColor.GRAY + "You cannot attack for 10 seconds."); final Listener l = new Listener() { @EventHandler public void onPlayerDamage(EntityDamageByEntityEvent e) { if (e.getDamager() instanceof Player && e.getEntity() instanceof Player) { ...
Disables a player from attacking for 10 seconds
static boolean hasArrayTwoCandidates(int A[], int arr_size, int sum) { int l, r; /* Sort the elements */ Arrays.sort(A); /* Now look for the two candidates in the sorted array*/ l = 0; r = arr_size-1; while (l < r) { if(A[l] + A[r] == sum) return true; else if(A[l] + A...
Function to check if array has 2 elements whose sum is equal to the given value
public void removeFramesWithValue(Slot slot, Facet facet, boolean isTemplate) throws SQLException { trace("removeFramesWithValue", slot, facet); String command = "DELETE FROM " + _tableName + " WHERE " + SLOT + "= ? AND " + FACET + "= ? AND " + IS_TEMPLATE + "= ?"; PreparedStatement stmt = _stat...
Log.enter(this, "removeFramesWithValue", slot, facet, new Boolean(isTemplate));
public void purchase(double shares, double pricePerShare) { this.totalShares += shares; super.addCost(shares * pricePerShare); }
records purchase of the given shares at the given price
public Optional<Tag> capturedFrom() { return this.from.get(); }
Get captured `from` argument.
public MasonGeometry getGeometry() {return agentLocation;}
It returns the geometry representing agent location
public void validate_the_Postcode_of_Billing_Address_in_Customer_Tab(String Postcode)throws Exception { VerifyElementPresent(Desktop_XPATH_Verify_Customer_Page_BillingAddress.replaceAll("M_Header", "Billing Address").replaceAll("M_Category", "Postcode").replaceAll("M_InnerText", Postcode), "Postcode of Billing Addres...
Validation Functions Description : To validate the Postcode of Billing Address in Customer Tab Coded by :Raja Created Data:05 Oct 2016 Last Modified Date:05 Oct 2016 Modified By:Raja Parameter:Postcode
public void setUserId(int userId) { this.userId = userId; }
Sets the user id.
private int getRandomMaterialColor(String typeColor) { int returnColor = Color.GRAY; int arrayId = getResources().getIdentifier("mdcolor_" + typeColor, "array", getContext().getPackageName()); if (arrayId != 0) { TypedArray colors = getResources().obtainTypedArray(arrayId); ...
/ Choose a random Color
public Builder clearMemo() { copyOnWrite(); instance.clearMemo(); return this; }
Humanreadable message for the merchant optional string memo = 4;
protected AbstractMetadata(final boolean pStandardFormatSupported, final String pNativeFormatName, final String pNativeFormatClassName, final String[] pExtraFormatNames, final String[] pExtraFormatClassNames) { super(pStandardFormatSupported, pNative...
TODO: Move to core...
interface Literals { /** * The meta object literal for the '{@link com.devoxx2012.xtext.demo1.demo1.impl.ModelImpl <em>Model</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see com.devoxx2012.xtext.demo1.demo1.impl.ModelImpl * @see com.devoxx2012.xtext.demo1.demo1.impl....
Defines literals for the meta objects that represent each class, each feature of each class, each enum, and each data type
public boolean isEndState(int i) { for (int k = 0; k < endStates.length; k++) if (endStates[k] == i) return true; return false; }
TODO convert this to binary search
protected void addInstagramDetailPage(Panel middleTable, List<Data> instagrams) { int i = 0; HorizontalPanel hp = new HorizontalPanel(); for (Data data : instagrams) { //thumbnails VerticalPanel vp = new VerticalPanel(); if (i % 3 == 0) { hp = ...
int k = i%j;
public VirtualPet getPet(String name) { return shelterPets.get(name); }
Method to return a pet from the map by name
@Override // com.meizu.cloud.pushsdk.handler.p750a.C6687c /* renamed from: c */ public void mo42880b(MessageV3 messageV3) { C6777d.m40835b(mo42881c(), messageV3.getUploadDataPackageName(), messageV3.getDeviceId(), messageV3.getTaskId(), messageV3.getSeqId(), messageV3.getPushTimestamp(), messageV3.getDe...
/ access modifiers changed from: protected
public MapView(int height, int width) { stats = new FieldStats(); colors = new LinkedHashMap<>(); setTitle("Map Environment Viewer"); stepLabel = new JLabel(STEP_PREFIX, JLabel.CENTER); infoLabel = new JLabel(" ", JLabel.CENTER); population = new JLabel(POPULATION_P...
Create a view of the given width and height.
@Override public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) { }
String[] languages = getResources().getStringArray(R.array.languages);
public static JSplitPane buildContentPane() { final String pw = "Escherichia_coli_K12/superpathway_of_leucine-_valine-_and_isoleucine_biosynthesis";//b3"; final String graphFile = pw + ".grp"; viz = GraphVisHandler.getImageByType(System.getProperty("user.dir") + "/..", graphFile, true, pw, 400, 400, ...
System.setProperty("java.awt.headless","true"); ConfigFile.init(); String pw = "Escherichia_coli_K12/superpathway_of_threonine_metabolism"; / final String pw = "Escherichia_coli_K12/b"; final String graphFile = pw + ".grp"; viz = GraphVisHandler.getImageByType(System.getProperty("user.dir") + "/..", graphFile, true, pw...
private int getSelectedResourceTypes(IResource[] resources) { int types = 0; for (IResource resource : resources) { types |= resource.getType(); } return types; }
Returns a bitmask containing the types of resources in the selection.
default public double pdf(double... x) { return pdf(DenseVector.toDenseVec(x)); }
Returns the probability of a given vector from this distribution. By definition, the probability will always be in the range [0, 1].
public final boolean mo31287b(Context context, String str, Hashtable hashtable, TJConnectListener tJConnectListener) { this.f13976a.lock(); if (tJConnectListener != null) { try { this.f13982g.addLast(C5087fn.m17200a(tJConnectListener, TJConnectListener.class)); } ...
/ renamed from: b
private static boolean validateBoolean(Map.Entry<String, CheckState> entry) { String prop = System.getProperty(entry.getKey()); if (entry.getValue().isOptional && prop == null) { return true; } return Boolean.TRUE.toString().equals(prop) || Boolean.FALSE.toString().equals(pro...
Validates a given property path as Boolean
@Override protected void findViewById() { mIndicator = (SimpleViewPagerIndicator) findViewById(R.id.id_stickynavlayout_indicator); mViewPager = (ViewPager) findViewById(R.id.id_stickynavlayout_viewpager); stickyNavLayout = (StickyNavLayout) findViewById(R.id.stickynavlayout); iv_user_logo = (ImageVie...
TODO Autogenerated method stub
public static void main(String[] args) { for(int count = 1 ; count <=3 ; ++count) { System.out.print(count+"★★★★");//요자리 요거 대신에 13~15행의 내용?? System.out.println(); } for( int col = 1; col <=4 ; col++ ) { System.out.print('★'); } Syste...
TODO Autogenerated method stub
public static int getNumberOfServices(CounterDetailVO counterDetails) { Session session = HibernateConfig.getSessionFactory().getCurrentSession(); Transaction txn = session.beginTransaction(); Query query = session.createQuery(HQLConstants.DB_QUERY_GET_NUMBER_OF_SERVICES); query.setInteger("envId", counterDetai...
Get the Number of Services Running
protected int sumColumn(Label l){ int sum = 0; int colIx = resolveIndex(l); //iterate all cells in the column for(int i = 0;i<size();i++){ Integer cell = matrix.get(i).get(colIx); sum+=cell; } return sum; }
Computes the sum of all frequencies in a specified column
@Raw protected void setSuperWorld(World world) throws IllegalArgumentException{ if(world == null || isValidSuperWorld(world)) this.superWorld = world; else throw new IllegalArgumentException("Isn't a valid world @setSuperWorld()"); }
Set the superWorld of an entity to the given world.
public VcmsDiscussion findByA_A_Last(java.lang.String articleId, boolean approved, com.liferay.portal.kernel.util.OrderByComparator<VcmsDiscussion> orderByComparator) throws NoSuchVcmsDiscussionException;
Returns the last vcms discussion in the ordered set where articleId = &63; and approved = &63;.
public PutObjectResult upload(MultipartFile multipartFile, String uploadKey) throws IOException { InputStream inputStream = multipartFile.getInputStream(); ObjectMetadata metadata = new ObjectMetadata(); metadata.setContentLength(multipartFile.getSize()); metadata.setContentType(multipa...
Converts a multipartfile into an input stream for s3 and uploads to s3. Also forms the minimum amount of metadata for the s3 object.
@Override public void initialize(URL url, ResourceBundle rb) { try { cmbBookPublisherIdAdd.getItems().setAll(ChoiceBoxes.PublisherIdChoice()); cmbBookAuthorIdAdd.getItems().setAll(ChoiceBoxes.AuthorIdChoice()); cmdBookGenreIdAdd.getItems().setAll(ChoiceBoxes.GenreIdChoic...
Initializes the controller class.
public Automato equalAFN2AFD(Automato a){ Automato r = a; Estado morto = new Estado("morto"); r.addEstado(morto); r.addTransicao(morto,morto,'0'); r.addTransicao(morto,morto,'1'); Iterator<Estado> it = r.getQ().iterator(); while(it.hasNext()){ Estado e = it.next(); if (r.findAll(e, '0').isEmpty()){ ...
/ metodo: Equivalencia AFN para AFD objetivo: Criar o Automato AFD equivalente
void log(HandlerInput input, String message) { System.out.printf("[%s] [%s] : %s]\n", input.getRequestEnvelope().getRequest().getRequestId().toString(), new Date(), message); }
Logs debug messages in an easier to search way You can also use system.out, but it'll be harder to work with
public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); long[] ar = new long[n]; for(int ar_r=0; ar_r<n; ar_r++){ ar[ar_r] = in.nextLong(); } double[] result = findPlusMinus(n, ar); System.out...
/ Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution.
public void act() { if(worldTimer == 1) { if(wildPokemon) { textInfoBox.displayText("Wild " + enemyPokemon.getName() + " appeared!", true, false); } else { textInfoBox.displayText("Enemy trainer sen...
The act method of the world. Does the following: Shows intro text. Shows outro text. Goes back to GameWorld at the end of a battle.
@Override protected void onListItemClick(ListView list, View view, int position, long id){ // Start the selected Activity Intent intent = new Intent(this, activities[position]); startActivity(intent); }
Called whenever one of the list items is clicked.
@Test @SmallTest public void testReadFromJsonString() throws Throwable { final String jsonObjectString = "{'crash-local-id':'123456abc','crash-capture-time':1234567890," + "'crash-keys':{'app-package-name':'org.test.package'}}"; CrashInfo parsed = CrashInfo.readF...
Test compitability with old JSON format.
@SuppressWarnings("unchecked") @Test void shouldThrowExceptionWhenGivenEntriesIsEmpty() { DefaultValidator<Target> validator = new DefaultValidator<>(Target.class); assertThrows(IllegalArgumentException.class, () -> validator.ruleForMap(Target::getMap).doesNotContain(new MapEntry[0])); }
TODO: not sure this is appropriate
public JRibbonAction(String text, Icon icon) { super(text, icon); }
Constructs with the specified initial text and icon.
public Point getPacmanPosition() { throw new RuntimeException("Not Implemented"); }
returns the position where the pacman needs to be positioned
private void renderSlider(double min, double max, double value, EventHandler eventHandler) { unmountSlider(); buildSlider(min, max, value); slider.addEventHandler(MouseEvent.MOUSE_RELEASED, eventHandler); mountSlider(); }
A generic method for rendering sliders with an event on mouse release
private void postRefreshing(final boolean refreshing) { // Check if layout is not null and then add or remove the refresh icon according to the parameter if (mSwipeRefreshLayout != null) mSwipeRefreshLayout.post(new Runnable() { @Override public void run() { ...
Method responsible for control the refresh icon
public static void main(String[] args) { int[] arr = {2,6}; for (int i = 0; i < arr.length; i++) { int[] arrNew = null; for (int j = 1; j < 100; j++) { arrNew[j] = arr[i] *j ; } } }
/ algo 1. find the multiples of numbers in first array
public static CartFragment newInstance(String param1, String param2) { CartFragment fragment = new CartFragment(); Bundle args = new Bundle(); args.putString(ARG_PARAM1, param1); args.putString(ARG_PARAM2, param2); fragment.setArguments(args); return fragment; }
Use this factory method to create a new instance of this fragment using the provided parameters.
public void setParallaxValue(final float pParallaxValueX, final float pParallaxValueY) { this.mParallaxValueX = pParallaxValueX; this.mParallaxValueY = pParallaxValueY; }
=========================================================== Getter & Setter ===========================================================
public void createNotificationChannel() { //Instantiate the NotificationManager mNotifyManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); //Notification Channel constructed NotificationChannel notificationChannel = new NotificationChannel(PRIMARY_CHANNEL_ID, "Si...
Channel is called onCreate()
public static void main(String[] args) { ProvaCollezioni pc = new ProvaCollezioni(); pc.spesa.add("latte"); pc.spesa.add("pane"); pc.spesa.add("biscotti"); pc.spesa.add("olio"); pc.spesa.add("biscotti"); System.out.println(pc.spesa.size()); for (String voce : pc.spesa) { pc.spesaFiltrata...
set (no duplicati) ordinato (Comparable)
@Override public String toString() { return "Visitor{" + "period=" + period + '}'; }
This method returns all values of object as string
private void runDeleteReport() { showDialog(DIALOG_CONFIRM_DELETE_REPORT_ID); }
Launches confirmation dialog asking is user really wants to delete the report, then deletes it if user confirms
public void setId(Integer id) { this.id = id; }
This method was generated by MyBatis Generator. This method sets the value of the database column t_company_recommend.id
public DbFileIterator iterator(TransactionId tid) { System.out.println("numPages is " + numPages); return new TupleIter(numPages); }
see DbFile.java for javadocs
public static URL buildMovieDbQueryURL(@MovieDisplayMode int displayMode) { String chosenURLBasedOnSortBy = ""; switch (displayMode) { case MovieDisplayMode.MOST_POPULAR: chosenURLBasedOnSortBy = MOVIEDB_API_MOSTPOPULAR_URL; break; case MovieDispl...
This decides how the result will be sorted.