Jump to content
View in the app

A better way to browse. Learn more.

RuneSuite RSPS Development

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

  • 3 weeks later...
  • Replies 43
  • Views 5.1k
  • Created
  • Last Reply

Top Posters In This Topic

  • 4 months later...
  • 2 weeks later...
  • 2 weeks later...
  • 3 months later...
  • 1 month later...
comment_91858

Assuming your source is compatable with Java 13 you could use enhanced Switch as shown below and if your using java 17 LTS you could move to using Switch Expressions they are very beautiful even more so if you are using Arrays with named types.

Fun fact for anyone that is Beginner to Intermediate with the Java Programming Language did you know that Switch Cases are typically faster once compiled into byte code assuming you are using java conventions and using a modern JVM similar to Java 17.

Just using one or two if statements will be faster than using Switch or Switch Expressions but if you look at  most Server Applications they are riddled with if statements paired with ugly outdated and depressingly complex for a simple task.

 

Meet Easier

This is the hidden content, please

 

 

The First Part

This is the hidden content, please

This assumes you have added anything useful yet here is the first switch statement

This is the hidden content, please

yes this works just fine but its freaking ugly also not using break; or return; on each case also slows down the byte code optimizations as it skips and moves threw each case.

 

  • 2 months later...

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.