Lines Matching defs:type

45  * @param <K> Selection key type. @see {@link StorageStrategy} for supported types.
392 throw new RuntimeException("Invalid corner type.");
493 * The type of this coordinate, which is one of AFTER_LAST_ITEM, BEFORE_FIRST_ITEM,
496 public final int type;
499 * The limits before the coordinate; only populated when type == WITHIN_LIMITS or type ==
505 * The limits after the coordinate; only populated when type == BETWEEN_TWO_ITEMS.
509 // Limits of the first known item; only populated when type == BEFORE_FIRST_ITEM.
511 // Limits of the last known item; only populated when type == AFTER_LAST_ITEM.
515 * @param limitsList The sorted limits list for the coordinate type. If this
525 this.type = WITHIN_LIMITS;
528 this.type = BEFORE_FIRST_ITEM;
533 this.type = WITHIN_LIMITS;
536 this.type = AFTER_LAST_ITEM;
543 this.type = WITHIN_LIMITS;
546 this.type = BETWEEN_TWO_ITEMS;
554 if (type == BEFORE_FIRST_ITEM) {
556 } else if (type == AFTER_LAST_ITEM) {
558 } else if (type == BETWEEN_TWO_ITEMS) {
699 switch (coordinate.type) {
728 if (pointerCoordinate.type == RelativeCoordinate.BEFORE_FIRST_ITEM
729 && originCoordinate.type == RelativeCoordinate.BEFORE_FIRST_ITEM) {
733 if (pointerCoordinate.type == RelativeCoordinate.AFTER_LAST_ITEM
734 && originCoordinate.type == RelativeCoordinate.AFTER_LAST_ITEM) {
738 if (pointerCoordinate.type == RelativeCoordinate.BETWEEN_TWO_ITEMS
739 && originCoordinate.type == RelativeCoordinate.BETWEEN_TWO_ITEMS
754 * @param <K> Selection key type. @see {@link StorageStrategy} for supported types.