Index
All Classes and Interfaces|All Packages
A
- addEntry(String, String) - Method in class com.iu.javadatastructureslab.services.ArrayMapService
-
Adds or updates a key/value entry.
- addOrder(Order) - Method in class com.iu.javadatastructureslab.services.ShopQueueService
-
Adds a new order to the queue with priority handling.
- addOrder(String, String, String, int) - Method in class com.iu.javadatastructureslab.controller.ShopQueueController
-
Adds a new order to the queue.
- addToArrayMap(String, String) - Method in class com.iu.javadatastructureslab.controller.ArrayMapController
-
Adds a key/value entry to the ArrayMap.
- addToQueue(String, String, int) - Method in class com.iu.javadatastructureslab.controller.QueueController
-
Adds a customer to the queue.
- applyTemplate(String, String, String, String) - Method in class com.iu.javadatastructureslab.services.StringManipulationService
-
Applies the message template with placeholders.
- arrayMap(Model) - Method in class com.iu.javadatastructureslab.controller.ArrayMapController
-
Renders the ArrayMap view with current entries and size metadata.
- ArrayMap<Key,
Value> - Class in com.iu.javadatastructureslab.datastructures -
Simple hash map implementation backed by an array of buckets.
- ArrayMap() - Constructor for class com.iu.javadatastructureslab.datastructures.ArrayMap
-
Creates an empty ArrayMap with the default capacity.
- ArrayMapController - Class in com.iu.javadatastructureslab.controller
-
Handles requests for the ArrayMap demo page.
- ArrayMapController() - Constructor for class com.iu.javadatastructureslab.controller.ArrayMapController
- ArrayMapService - Class in com.iu.javadatastructureslab.services
-
Service facade for the
ArrayMapdemo. - ArrayMapService() - Constructor for class com.iu.javadatastructureslab.services.ArrayMapService
B
- Booking - Class in com.iu.javadatastructureslab.model
-
Represents a restaurant booking request.
- Booking(String, String, String, int) - Constructor for class com.iu.javadatastructureslab.model.Booking
-
Creates a booking record.
- buildCustomerFromInput(String, String, String, String, String) - Method in class com.iu.javadatastructureslab.services.WrapperService
-
Builds a customer from form inputs and parsed wrapper values.
- buildReservationMessage(Booking) - Method in class com.iu.javadatastructureslab.services.StringManipulationService
-
Builds a reservation confirmation message from a booking object.
- buildReservationMessage(String, String, String, int) - Method in class com.iu.javadatastructureslab.services.StringManipulationService
-
Builds a reservation confirmation message from raw input values.
- buildSampleCustomer() - Method in class com.iu.javadatastructureslab.services.WrapperService
-
Creates a sample customer for initial page render.
- buildWrapperDemo(Customer) - Method in class com.iu.javadatastructureslab.services.WrapperService
-
Builds wrapper demo values using customer fields only.
- buildWrapperDemo(Customer, String, String, String) - Method in class com.iu.javadatastructureslab.services.WrapperService
-
Builds wrapper demo values from a customer and raw inputs.
C
- CANCELLED - Enum constant in enum class com.iu.javadatastructureslab.model.Order.OrderStatus
- cancelOrder(int) - Method in class com.iu.javadatastructureslab.controller.ShopQueueController
-
Cancels an order by id.
- cancelOrder(int) - Method in class com.iu.javadatastructureslab.services.ShopQueueService
-
Cancels an order by id and removes it from the queue if present.
- capacity() - Method in class com.iu.javadatastructureslab.datastructures.ArrayMap
-
Returns the current bucket array length.
- capitalizeFirstLetter(String) - Method in class com.iu.javadatastructureslab.services.StringManipulationService
-
Capitalizes the first letter of the provided string.
- clear() - Method in class com.iu.javadatastructureslab.services.QueueService
-
Clears all elements from the queue.
- clearQueue() - Method in class com.iu.javadatastructureslab.controller.QueueController
-
Clears all customers from the queue.
- com.iu.javadatastructureslab - package com.iu.javadatastructureslab
- com.iu.javadatastructureslab.controller - package com.iu.javadatastructureslab.controller
-
Spring MVC controllers that handle routing and view rendering for the lab demos.
- com.iu.javadatastructureslab.datastructures - package com.iu.javadatastructureslab.datastructures
-
Custom data structure implementations used in the lab exercises.
- com.iu.javadatastructureslab.model - package com.iu.javadatastructureslab.model
-
Domain models used by the demo controllers and services.
- com.iu.javadatastructureslab.services - package com.iu.javadatastructureslab.services
-
Service layer components that encapsulate demo logic and computations.
- COMPLETED - Enum constant in enum class com.iu.javadatastructureslab.model.Order.OrderStatus
- completeOrder(int) - Method in class com.iu.javadatastructureslab.controller.ShopQueueController
-
Completes an order by id.
- completeOrder(int) - Method in class com.iu.javadatastructureslab.services.ShopQueueService
-
Completes an order by id and stores it in the completed list.
- containsKey(Key) - Method in class com.iu.javadatastructureslab.datastructures.ArrayMap
-
Returns true if the map contains a key-value pair with the given key.
- Customer - Class in com.iu.javadatastructureslab.model
-
Represents a customer used in wrapper class demonstrations.
- Customer(String, Integer, String, Double, Boolean) - Constructor for class com.iu.javadatastructureslab.model.Customer
-
Creates a customer record.
D
- dequeue() - Method in class com.iu.javadatastructureslab.services.QueueService
-
Removes and returns the first element in the queue.
E
- enqueue(T, int) - Method in class com.iu.javadatastructureslab.services.QueueService
-
Adds an item to the queue, placing priority items at the front.
- Entry<Key,
Value> - Class in com.iu.javadatastructureslab.datastructures -
Represents a key/value pair stored in ArrayMap.
- Entry(Key, Value) - Constructor for class com.iu.javadatastructureslab.datastructures.Entry
-
Creates a new entry with the given key and value.
- entryList() - Method in class com.iu.javadatastructureslab.datastructures.ArrayMap
-
Returns a list of all entries in the map.
F
- formatCustomerName(String) - Method in class com.iu.javadatastructureslab.services.StringManipulationService
-
Formats a customer name to title case.
- formatDate(String) - Method in class com.iu.javadatastructureslab.services.StringManipulationService
-
Formats the date string for display.
- formatTableNumber(int) - Method in class com.iu.javadatastructureslab.services.StringManipulationService
-
Formats a table number for display.
- formatTime(String) - Method in class com.iu.javadatastructureslab.services.StringManipulationService
-
Formats the time string into HH:mm format when possible.
G
- generateReservationMessage(String, int, String, String, Model) - Method in class com.iu.javadatastructureslab.controller.StringController
-
Generates a reservation message from form input.
- generateWrapperDemo(String, String, String, String, String, Model) - Method in class com.iu.javadatastructureslab.controller.WrapperController
-
Generates wrapper demo data from form input.
- get(Key) - Method in class com.iu.javadatastructureslab.datastructures.ArrayMap
-
Retrieves the value for the given key.
- getAge() - Method in class com.iu.javadatastructureslab.model.Customer
-
Returns the customer age.
- getAllOrders() - Method in class com.iu.javadatastructureslab.services.ShopQueueService
-
Returns the queue containing all pending orders.
- getArrivalTime() - Method in class com.iu.javadatastructureslab.model.QueueCustomer
-
Returns the arrival time.
- getBalance() - Method in class com.iu.javadatastructureslab.model.Customer
-
Returns the account balance.
- getBookingDate() - Method in class com.iu.javadatastructureslab.model.Booking
-
Returns the booking date.
- getBookingTime() - Method in class com.iu.javadatastructureslab.model.Booking
-
Returns the booking time.
- getCapacity() - Method in class com.iu.javadatastructureslab.services.ArrayMapService
-
Returns the current bucket capacity.
- getCompletedOrders() - Method in class com.iu.javadatastructureslab.services.ShopQueueService
-
Returns the list of recently completed orders.
- getCurrentProcessingOrder() - Method in class com.iu.javadatastructureslab.services.ShopQueueService
-
Returns the currently processing order.
- getCustomerName() - Method in class com.iu.javadatastructureslab.model.Booking
-
Returns the customer name.
- getCustomerName() - Method in class com.iu.javadatastructureslab.model.Order
-
Returns the customer name.
- getEmail() - Method in class com.iu.javadatastructureslab.model.Customer
-
Returns the customer email address.
- getEntries() - Method in class com.iu.javadatastructureslab.services.ArrayMapService
-
Returns all stored entries.
- getKey() - Method in class com.iu.javadatastructureslab.datastructures.Entry
-
Returns the entry key.
- getMap() - Method in class com.iu.javadatastructureslab.services.ArrayMapService
-
Exposes the underlying map instance.
- getName() - Method in class com.iu.javadatastructureslab.model.Customer
-
Returns the customer name.
- getName() - Method in class com.iu.javadatastructureslab.model.QueueCustomer
-
Returns the customer name.
- getOrderDate() - Method in class com.iu.javadatastructureslab.model.Order
-
Returns the order date/time.
- getOrderId() - Method in class com.iu.javadatastructureslab.model.Order
-
Returns the order identifier.
- getPriority() - Method in class com.iu.javadatastructureslab.model.Order
-
Returns the order priority.
- getPriority() - Method in class com.iu.javadatastructureslab.model.QueueCustomer
-
Returns the priority level.
- getProductName() - Method in class com.iu.javadatastructureslab.model.Order
-
Returns the product name.
- getProjectStats() - Method in class com.iu.javadatastructureslab.services.ProjectStatsService
-
Returns cached project statistics, recomputing when the cache expires.
- getQueue() - Method in class com.iu.javadatastructureslab.services.QueueService
-
Returns the underlying queue instance.
- getQueueNumber() - Method in class com.iu.javadatastructureslab.model.QueueCustomer
-
Returns the queue number.
- getSize() - Method in class com.iu.javadatastructureslab.services.ArrayMapService
-
Returns the number of stored entries.
- getStatus() - Method in class com.iu.javadatastructureslab.model.Order
-
Returns the current order status.
- getTableNumber() - Method in class com.iu.javadatastructureslab.model.Booking
-
Returns the table number.
- getTotalAmount() - Method in class com.iu.javadatastructureslab.model.Order
-
Returns the order total amount.
- getUsedMethods() - Method in class com.iu.javadatastructureslab.services.StringManipulationService
-
Returns the list of string methods highlighted in the demo.
- getValue() - Method in class com.iu.javadatastructureslab.datastructures.Entry
-
Returns the entry value.
H
- home(Model) - Method in class com.iu.javadatastructureslab.controller.HomeController
-
Renders the home page with dynamic stats.
- HomeController - Class in com.iu.javadatastructureslab.controller
-
Serves the landing page with project statistics.
- HomeController(ProjectStatsService) - Constructor for class com.iu.javadatastructureslab.controller.HomeController
-
Creates the controller with the stats service.
I
- isActive() - Method in class com.iu.javadatastructureslab.model.Customer
-
Returns the active flag.
J
- JavaDataStructuresLabApplication - Class in com.iu.javadatastructureslab
-
Application entry point for the Java Data Structures Lab demo.
- JavaDataStructuresLabApplication() - Constructor for class com.iu.javadatastructureslab.JavaDataStructuresLabApplication
- javadoc() - Method in class com.iu.javadatastructureslab.controller.JavadocController
- JavadocController - Class in com.iu.javadatastructureslab.controller
- JavadocController() - Constructor for class com.iu.javadatastructureslab.controller.JavadocController
M
- main(String[]) - Static method in class com.iu.javadatastructureslab.JavaDataStructuresLabApplication
-
Boots the Spring application.
N
- NORMAL - Enum constant in enum class com.iu.javadatastructureslab.model.Order.PriorityOrder
- normalizeWhitespace(String) - Method in class com.iu.javadatastructureslab.services.StringManipulationService
-
Normalizes repeated whitespace to single spaces.
O
- Order - Class in com.iu.javadatastructureslab.model
-
Represents a shop order used in the queue simulation.
- Order(int, String, String, Order.PriorityOrder, Order.OrderStatus, LocalDateTime, double) - Constructor for class com.iu.javadatastructureslab.model.Order
-
Creates an order instance.
- Order.OrderStatus - Enum Class in com.iu.javadatastructureslab.model
-
Status values for the order lifecycle.
- Order.PriorityOrder - Enum Class in com.iu.javadatastructureslab.model
-
Priority levels for incoming orders.
P
- peekNextOrder() - Method in class com.iu.javadatastructureslab.controller.ShopQueueController
-
Peeks at the next order in the queue without removal.
- peekNextOrder() - Method in class com.iu.javadatastructureslab.services.ShopQueueService
-
Peeks at the next order without removing it.
- PENDING - Enum constant in enum class com.iu.javadatastructureslab.model.Order.OrderStatus
- PRIORITY - Enum constant in enum class com.iu.javadatastructureslab.model.Order.PriorityOrder
- PROCESSING - Enum constant in enum class com.iu.javadatastructureslab.model.Order.OrderStatus
- processNextOrder() - Method in class com.iu.javadatastructureslab.controller.ShopQueueController
-
Processes the next order in the queue.
- processNextOrder() - Method in class com.iu.javadatastructureslab.services.ShopQueueService
-
Dequeues and marks the next order as processing.
- ProjectStatsService - Class in com.iu.javadatastructureslab.services
-
Computes summary statistics by scanning the project source tree.
- ProjectStatsService() - Constructor for class com.iu.javadatastructureslab.services.ProjectStatsService
- put(Key, Value) - Method in class com.iu.javadatastructureslab.datastructures.ArrayMap
-
Associates the given value with the provided key.
Q
- queue(Model) - Method in class com.iu.javadatastructureslab.controller.QueueController
-
Renders the queue view with current queue statistics.
- QueueController - Class in com.iu.javadatastructureslab.controller
-
Handles the restaurant queue demo endpoints.
- QueueController() - Constructor for class com.iu.javadatastructureslab.controller.QueueController
- QueueCustomer - Class in com.iu.javadatastructureslab.model
-
Represents a customer waiting in the restaurant queue.
- QueueCustomer(String, String, int, int) - Constructor for class com.iu.javadatastructureslab.model.QueueCustomer
-
Creates a queued customer record.
- QueueService<T> - Class in com.iu.javadatastructureslab.services
-
Simple priority-aware queue wrapper for demo purposes.
- QueueService() - Constructor for class com.iu.javadatastructureslab.services.QueueService
R
- remove(Key) - Method in class com.iu.javadatastructureslab.datastructures.ArrayMap
-
Removes the key-value pair associated with the given key.
- removeEntry(String) - Method in class com.iu.javadatastructureslab.services.ArrayMapService
-
Removes an entry by key.
- removeFromArrayMap(String) - Method in class com.iu.javadatastructureslab.controller.ArrayMapController
-
Removes an entry from the ArrayMap by key.
- removeFromQueue() - Method in class com.iu.javadatastructureslab.controller.QueueController
-
Removes the next customer from the queue.
- reverseString(String) - Method in class com.iu.javadatastructureslab.services.StringManipulationService
-
Reverses the provided string.
S
- sanitizeInput(String) - Method in class com.iu.javadatastructureslab.services.StringManipulationService
-
Strips unwanted characters from input values.
- setArrivalTime(String) - Method in class com.iu.javadatastructureslab.model.QueueCustomer
-
Updates the arrival time.
- setKey(Key) - Method in class com.iu.javadatastructureslab.datastructures.Entry
-
Updates the key for this entry.
- setName(String) - Method in class com.iu.javadatastructureslab.model.QueueCustomer
-
Updates the customer name.
- setPriority(int) - Method in class com.iu.javadatastructureslab.model.QueueCustomer
-
Updates the priority level.
- setQueueNumber(int) - Method in class com.iu.javadatastructureslab.model.QueueCustomer
-
Updates the queue number.
- setStatus(Order.OrderStatus) - Method in class com.iu.javadatastructureslab.model.Order
-
Updates the order status.
- setValue(Value) - Method in class com.iu.javadatastructureslab.datastructures.Entry
-
Updates the value for this entry.
- shopQueue(Model) - Method in class com.iu.javadatastructureslab.controller.ShopQueueController
-
Renders the shop queue view and exposes queue metrics.
- ShopQueueController - Class in com.iu.javadatastructureslab.controller
-
Handles order queue simulation endpoints for the shop demo.
- ShopQueueController() - Constructor for class com.iu.javadatastructureslab.controller.ShopQueueController
- ShopQueueService - Class in com.iu.javadatastructureslab.services
-
Service for managing a priority-aware queue of shop orders.
- ShopQueueService() - Constructor for class com.iu.javadatastructureslab.services.ShopQueueService
- size() - Method in class com.iu.javadatastructureslab.datastructures.ArrayMap
-
Returns the number of stored entries.
- string(Model) - Method in class com.iu.javadatastructureslab.controller.StringController
-
Renders the string manipulation view.
- StringController - Class in com.iu.javadatastructureslab.controller
-
Handles string manipulation demo requests.
- StringController() - Constructor for class com.iu.javadatastructureslab.controller.StringController
- StringManipulationService - Class in com.iu.javadatastructureslab.services
-
Utility service showcasing Java string manipulation techniques.
- StringManipulationService() - Constructor for class com.iu.javadatastructureslab.services.StringManipulationService
T
- toLowerCase(String) - Method in class com.iu.javadatastructureslab.services.StringManipulationService
-
Lowercases the input string.
- toString() - Method in class com.iu.javadatastructureslab.datastructures.Entry
-
Returns a string representation of the entry.
- toUpperCase(String) - Method in class com.iu.javadatastructureslab.services.StringManipulationService
-
Uppercases the input string.
V
- valueOf(String) - Static method in enum class com.iu.javadatastructureslab.model.Order.OrderStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.iu.javadatastructureslab.model.Order.PriorityOrder
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.iu.javadatastructureslab.model.Order.OrderStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.iu.javadatastructureslab.model.Order.PriorityOrder
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VIP - Enum constant in enum class com.iu.javadatastructureslab.model.Order.PriorityOrder
W
- WrapperController - Class in com.iu.javadatastructureslab.controller
-
Handles wrapper class demonstration requests.
- WrapperController() - Constructor for class com.iu.javadatastructureslab.controller.WrapperController
- wrappers(Model) - Method in class com.iu.javadatastructureslab.controller.WrapperController
-
Renders the wrapper demo with a default sample customer.
- WrapperService - Class in com.iu.javadatastructureslab.services
-
Builds demo data showcasing Java wrapper classes.
- WrapperService() - Constructor for class com.iu.javadatastructureslab.services.WrapperService
All Classes and Interfaces|All Packages